This commit is contained in:
denisdulici
2019-01-10 12:19:21 +03:00
parent ef86989367
commit bc86edf4a6
5 changed files with 66 additions and 69 deletions

View File

@ -120,7 +120,7 @@ class TaxSummary extends Controller
private function setAmount(&$items, &$totals, $rows, $type, $date_field)
{
foreach ($rows as $row) {
if ($row->getTable() == 'bill_payments' || $row->getTable() == 'invoice_payments') {
if (($row->getTable() == 'bill_payments') || ($row->getTable() == 'invoice_payments')) {
$type_row = $row->$type;
$row->category_id = $type_row->category_id;