- 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.
16 lines
655 B
SQL
16 lines
655 B
SQL
-- ============================================================================
|
|
-- Migration 014: Add e-conomic customer number to tmodule_customers
|
|
-- ============================================================================
|
|
|
|
-- Add e-conomic customer number field
|
|
ALTER TABLE tmodule_customers
|
|
ADD COLUMN IF NOT EXISTS economic_customer_number INTEGER;
|
|
|
|
-- Add index for lookups
|
|
CREATE INDEX IF NOT EXISTS idx_tmodule_customers_economic
|
|
ON tmodule_customers(economic_customer_number);
|
|
|
|
-- Add comment
|
|
COMMENT ON COLUMN tmodule_customers.economic_customer_number IS
|
|
'e-conomic customer number for invoice export. Synced from vTiger cf_854 field.';
|