tin-spa 20.3.5 → 20.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2856,6 +2856,7 @@ class AccountingService {
2856
2856
  { name: 'description', type: 'text', required: true, alias: 'Description', span: true }, // Changed: Description field (backend will populate for Product/Service)
2857
2857
  { name: 'quantity', type: 'number', required: true, defaultValue: 1 },
2858
2858
  { name: 'unitPrice', type: 'money', alias: 'Unit Price', required: true }, // Changed: Unit price field (backend will populate for Product/Service)
2859
+ { name: 'poNumber', type: 'text', alias: 'PO Number', hint: 'Purchase Order Number' }, // Added: PO Number for invoice bundling
2859
2860
  ],
2860
2861
  loadAction: { url: 'invoiceitems/id/{invoiceItemID}' },
2861
2862
  heroField: 'invoiceItemID',
@@ -2890,6 +2891,7 @@ class AccountingService {
2890
2891
  columns: [
2891
2892
  { name: 'invoiceItemID', type: 'number', alias: 'ID', hiddenCondition: () => true },
2892
2893
  { name: 'description', type: 'text', alias: 'Description' },
2894
+ { name: 'poNumber', type: 'text', alias: 'PO#' }, // Added: Purchase Order Number column
2893
2895
  { name: 'quantity', type: 'number', alias: 'Qty' },
2894
2896
  { name: 'unitPrice', type: 'money', alias: 'Unit Price' },
2895
2897
  { name: 'amount', type: 'money', alias: 'Amount' }
@@ -3946,9 +3948,9 @@ class InventoryService {
3946
3948
  includeAudit: true,
3947
3949
  fields: [
3948
3950
  { name: 'name', type: 'text', required: true, alias: 'Service Name' },
3951
+ { name: 'isActive', type: 'checkbox', alias: 'Active', defaultValue: true },
3949
3952
  { name: 'description', type: 'text', alias: 'Description' },
3950
3953
  { name: 'unitPrice', type: 'money', required: true, alias: 'Unit Price' },
3951
- { name: 'isActive', type: 'checkbox', alias: 'Active', defaultValue: true }
3952
3954
  ],
3953
3955
  loadAction: { url: 'serviceitems/id' },
3954
3956
  heroField: 'serviceItemID'