added invoice/bill category to customer/vendor summary page
This commit is contained in:
parent
334e4fb933
commit
654bd509bd
@ -64,9 +64,7 @@ class Vendors extends Controller
|
||||
$payments = 0;
|
||||
|
||||
foreach ($item->payments as $payment) {
|
||||
$payment->category = new \stdClass();
|
||||
$payment->category->id = 0;
|
||||
$payment->category->name = trans_choice('general.bills', 2);
|
||||
$payment->category = $item->category;
|
||||
|
||||
$bill_payments[] = $payment;
|
||||
|
||||
|
@ -64,9 +64,7 @@ class Customers extends Controller
|
||||
$payments = 0;
|
||||
|
||||
foreach ($item->payments as $payment) {
|
||||
$payment->category = new \stdClass();
|
||||
$payment->category->id = 0;
|
||||
$payment->category->name = trans_choice('general.invoices', 2);
|
||||
$payment->category = $item->category;
|
||||
|
||||
$invoice_payments[] = $payment;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user