Working on gateway fees
This commit is contained in:
parent
0ddd4479b7
commit
beb25e8dee
1 changed files with 1 additions and 1 deletions
|
|
@ -1025,7 +1025,7 @@ class InvoiceRepository extends BaseRepository
|
|||
if ($location == FEE_LOCATION_ITEM) {
|
||||
// todo
|
||||
} else {
|
||||
if ($invoice->$field > 0) {
|
||||
if ($invoice->$location > 0) {
|
||||
$data = $invoice->toArray();
|
||||
$data[$location] = 0;
|
||||
$invoice = $this->save($data, $invoice);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue