Working on gateway fees
This commit is contained in:
parent
fb09a38efa
commit
4e7050206d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue