1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-19 16:01:34 +02:00

Fix for statements

This commit is contained in:
Hillel Coren 2018-08-30 09:54:20 +03:00
parent 0dce4fc843
commit 1010385f4c

View File

@ -124,6 +124,7 @@ class GenerateStatementData
$item->custom_value2 = $payment->present()->payment_type;
$item->cost = $payment->getCompletedAmount();
$item->invoice_item_type_id = 3;
$item->notes = $payment->transaction_reference ?: ' ';
$data->push($item);
}