diff --git a/app/Jobs/Client/GenerateStatementData.php b/app/Jobs/Client/GenerateStatementData.php index da73f28e44..9eb6c635ad 100644 --- a/app/Jobs/Client/GenerateStatementData.php +++ b/app/Jobs/Client/GenerateStatementData.php @@ -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); diff --git a/resources/assets/js/pdf.pdfmake.js b/resources/assets/js/pdf.pdfmake.js index 08c8f3d620..16f18f9584 100644 --- a/resources/assets/js/pdf.pdfmake.js +++ b/resources/assets/js/pdf.pdfmake.js @@ -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']}, ]); }