- Implemented a new HTML page for managing customer time pricing with Bootstrap styling. - Added navigation and responsive design elements. - Integrated JavaScript for loading customer data, editing rates, and handling modals for time entries and order creation. - Included theme toggle functionality and statistics display for customer rates. - Enhanced user experience with toast notifications for actions performed. docs: Create e-conomic Write Mode guide - Added comprehensive documentation for exporting approved time entries to e-conomic as draft orders. - Detailed safety flags for write operations, including read-only and dry-run modes. - Provided activation steps, error handling, and best practices for using the e-conomic integration. migrations: Add user_company field to contacts and e-conomic customer number to customers - Created migration to add user_company field to contacts for better organization tracking. - Added e-conomic customer number field to tmodule_customers for invoice export synchronization.
12 lines
408 B
SQL
12 lines
408 B
SQL
-- Migration 014: Add user_company field to contacts
|
|
-- Adds company/organization field to contact records
|
|
|
|
ALTER TABLE contacts
|
|
ADD COLUMN IF NOT EXISTS user_company VARCHAR(255);
|
|
|
|
-- Add index for searching by company
|
|
CREATE INDEX IF NOT EXISTS idx_contacts_user_company ON contacts(user_company);
|
|
|
|
-- Add comment
|
|
COMMENT ON COLUMN contacts.user_company IS 'Company/organization name from vTiger contact';
|