'title' => ts('Account Relationship'),
])
->addValues(['label', 'name', 'value', 'description'], [
- [ts('Income Account is'), 'Income Account is', 1, ts('Income Account is'), 'is_default' => 1],
- [ts('Credit/Contra Revenue Account is'), 'Credit/Contra Revenue Account is', 2, ts('Credit/Contra Revenue Account is')],
- [ts('Accounts Receivable Account is'), 'Accounts Receivable Account is', 3, ts('Accounts Receivable Account is')],
- [ts('Credit Liability Account is'), 'Credit Liability Account is', 4, ts('Credit Liability Account is'), 'is_active' => 0],
- [ts('Expense Account is'), 'Expense Account is', 5, ts('Expense Account is')],
- [ts('Asset Account is'), 'Asset Account is', 6, ts('Asset Account is')],
- [ts('Cost of Sales Account is'), 'Cost of Sales Account is', 7, ts('Cost of Sales Account is')],
- [ts('Premiums Inventory Account is'), 'Premiums Inventory Account is', 8, ts('Premiums Inventory Account is')],
- [ts('Discounts Account is'), 'Discounts Account is', 9, ts('Discounts Account is')],
- [ts('Sales Tax Account is'), 'Sales Tax Account is', 10, ts('Sales Tax Account is')],
- [ts('Chargeback Account is'), 'Chargeback Account is', 11, ts('Chargeback Account is')],
- [ts('Deferred Revenue Account is'), 'Deferred Revenue Account is', 12, ts('Deferred Revenue Account is')],
+ // TODO: Shouldn't we have ts() for these descriptions?
+ [ts('Income Account is'), 'Income Account is', 1, 'Income Account is', 'is_default' => 1],
+ [ts('Credit/Contra Revenue Account is'), 'Credit/Contra Revenue Account is', 2, 'Credit/Contra Revenue Account is'],
+ [ts('Accounts Receivable Account is'), 'Accounts Receivable Account is', 3, 'Accounts Receivable Account is'],
+ [ts('Credit Liability Account is'), 'Credit Liability Account is', 4, 'Credit Liability Account is', 'is_active' => 0],
+ [ts('Expense Account is'), 'Expense Account is', 5, 'Expense Account is'],
+ [ts('Asset Account is'), 'Asset Account is', 6, 'Asset Account is'],
+ [ts('Cost of Sales Account is'), 'Cost of Sales Account is', 7, 'Cost of Sales Account is'],
+ [ts('Premiums Inventory Account is'), 'Premiums Inventory Account is', 8, 'Premiums Inventory Account is'],
+ [ts('Discounts Account is'), 'Discounts Account is', 9, 'Discounts Account is'],
+ [ts('Sales Tax Account is'), 'Sales Tax Account is', 10, 'Sales Tax Account is'],
+ [ts('Chargeback Account is'), 'Chargeback Account is', 11, 'Chargeback Account is'],
+ [ts('Deferred Revenue Account is'), 'Deferred Revenue Account is', 12, 'Deferred Revenue Account is'],
])
->addDefaults([
'component_id' => 2,
[ts('Reminder Sent'), 'Reminder Sent', '40', '40', 'filter' => '1', 'is_reserved' => '1', 'description' => ''],
// Activity Types for Financial Transactions Batch
- [ts('Export Accounting Batch'), 'Export Accounting Batch', '41', '41', 'filter' => '1', 'description' => ts('Export Accounting Batch'), 'is_reserved' => '1', 'component_id' => '2'],
- [ts('Create Batch'), 'Create Batch', '42', '42', 'filter' => '1', 'description' => ts('Create Batch'), 'is_reserved' => '1', 'component_id' => '2'],
- [ts('Edit Batch'), 'Edit Batch', '43', '43', 'filter' => '1', 'description' => ts('Edit Batch'), 'is_reserved' => '1', 'component_id' => '2'],
+ // TODO: Shouldn't we have ts() for these descriptions?
+ [ts('Export Accounting Batch'), 'Export Accounting Batch', '41', '41', 'filter' => '1', 'description' => 'Export Accounting Batch', 'is_reserved' => '1', 'component_id' => '2'],
+ [ts('Create Batch'), 'Create Batch', '42', '42', 'filter' => '1', 'description' => 'Create Batch', 'is_reserved' => '1', 'component_id' => '2'],
+ [ts('Edit Batch'), 'Edit Batch', '43', '43', 'filter' => '1', 'description' => 'Edit Batch', 'is_reserved' => '1', 'component_id' => '2'],
// new sms options
[ts('SMS delivery'), 'SMS delivery', '44', '44', 'filter' => '1', 'description' => ts('SMS delivery'), 'is_reserved' => '1'],
'is_locked' => 1,
])
->addValues(['label', 'name', 'value', 'description'], [
- [ts('Manual Batch'), 'Manual Batch', 1, ts('Manual Batch'), 'is_reserved' => 1, 'component_id' => 2],
- [ts('Automatic Batch'), 'Automatic Batch', 2, ts('Automatic Batch'), 'is_reserved' => 1, 'component_id' => 2],
+ // TODO: Shouldn't we have ts() for these descriptions?
+ [ts('Manual Batch'), 'Manual Batch', 1, 'Manual Batch', 'is_reserved' => 1, 'component_id' => 2],
+ [ts('Automatic Batch'), 'Automatic Batch', 2, 'Automatic Batch', 'is_reserved' => 1, 'component_id' => 2],
]);
'is_locked' => 1,
])
->addValues(['label', 'name', 'value', 'weight', 'description'], [
- [ts('Paid'), 'Paid', 1, 1, ts('Paid'), 'is_reserved' => 1, 'component_id' => 2],
- [ts('Unpaid'), 'Unpaid', 3, 1, ts('Unpaid'), 'is_reserved' => 1, 'component_id' => 2],
- [ts('Partially paid'), 'Partially paid', 2, 2, ts('Partially paid'), 'is_reserved' => 1, 'component_id' => 2],
+ // TODO: Shouldn't we have ts() for these descriptions?
+ [ts('Paid'), 'Paid', 1, 1, 'Paid', 'is_reserved' => 1, 'component_id' => 2],
+ [ts('Unpaid'), 'Unpaid', 3, 1, 'Unpaid', 'is_reserved' => 1, 'component_id' => 2],
+ [ts('Partially paid'), 'Partially paid', 2, 2, 'Partially paid', 'is_reserved' => 1, 'component_id' => 2],
]);