mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +01:00
Fin aging fields for statements
This commit is contained in:
parent
9070dfe55b
commit
89a243f88c
@ -151,7 +151,7 @@ class GenerateStatementData
|
||||
$item->product_key = $ageGroups['age_group_0'];
|
||||
$item->notes = $ageGroups['age_group_30'];
|
||||
$item->custom_value1 = $ageGroups['age_group_60'];
|
||||
$item->custom_value1 = $ageGroups['age_group_90'];
|
||||
$item->custom_value2 = $ageGroups['age_group_90'];
|
||||
$item->cost = $ageGroups['age_group_120'];
|
||||
$item->invoice_item_type_id = 4;
|
||||
$data->push($item);
|
||||
|
@ -596,7 +596,7 @@ NINJA.statementAging = function(invoice) {
|
||||
{text: formatMoneyInvoice(item.product_key, invoice), style:['subtotals', 'odd', 'firstColumn']},
|
||||
{text: formatMoneyInvoice(item.notes, invoice), style:['subtotals', 'odd']},
|
||||
{text: formatMoneyInvoice(item.custom_value1, invoice), style:['subtotals', 'odd']},
|
||||
{text: formatMoneyInvoice(item.custom_value1, invoice), style:['subtotals', 'odd']},
|
||||
{text: formatMoneyInvoice(item.custom_value2, invoice), style:['subtotals', 'odd']},
|
||||
{text: formatMoneyInvoice(item.cost, invoice), style:['subtotals', 'odd', 'lastColumn']},
|
||||
]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user