mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for P&L report
This commit is contained in:
parent
2c59c766aa
commit
164d466369
@ -82,9 +82,9 @@ class ProfitAndLossReport extends AbstractReport
|
||||
if ($subgroup == 'type') {
|
||||
$dimension = trans('texts.expense');
|
||||
} else {
|
||||
$dimension = $this->getDimension($payment);
|
||||
$dimension = $this->getDimension($expense);
|
||||
}
|
||||
$this->addChartData($dimension, $payment->expense_date, $expense->amountWithTax());
|
||||
$this->addChartData($dimension, $expense->expense_date, $expense->amountWithTax());
|
||||
}
|
||||
|
||||
//$this->addToTotals($client->currency_id, 'paid', $payment ? $payment->getCompletedAmount() : 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user