mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Working on gateway fees
This commit is contained in:
parent
fb09a38efa
commit
4e7050206d
@ -1021,7 +1021,7 @@ class InvoiceRepository extends BaseRepository
|
||||
if ($location == FEE_LOCATION_ITEM) {
|
||||
// todo
|
||||
} else {
|
||||
if ($invoice->$location > 0) {
|
||||
if ($invoice->$location != 0) {
|
||||
$data = $invoice->toArray();
|
||||
$data[$location] = 0;
|
||||
$invoice = $this->save($data, $invoice);
|
||||
|
Loading…
Reference in New Issue
Block a user