diff --git a/app/Repositories/BaseRepository.php b/app/Repositories/BaseRepository.php index 110567910c..46a5df9d84 100644 --- a/app/Repositories/BaseRepository.php +++ b/app/Repositories/BaseRepository.php @@ -292,9 +292,6 @@ class BaseRepository if (($state['finished_amount'] != $state['starting_amount']) && ($model->status_id != Invoice::STATUS_DRAFT)) { - //14-09-2022 log when we make changes to the invoice balance. - nlog("Adjustment - {$model->number} - " .$state['finished_amount']. " - " . $state['starting_amount']); - $model->service()->updateStatus()->save(); $model->client->service()->updateBalance(($state['finished_amount'] - $state['starting_amount']))->save(); $model->ledger()->updateInvoiceBalance(($state['finished_amount'] - $state['starting_amount']), "Update adjustment for invoice {$model->number}"); diff --git a/resources/views/portal/ninja2020/components/livewire/billing-portal-purchasev2.blade.php b/resources/views/portal/ninja2020/components/livewire/billing-portal-purchasev2.blade.php index 91a1a6ba55..4f66491104 100644 --- a/resources/views/portal/ninja2020/components/livewire/billing-portal-purchasev2.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/billing-portal-purchasev2.blade.php @@ -3,7 +3,7 @@