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 @@
{{ $subscription->company->present()->name }} -

+

{{ $subscription->name }}

@@ -38,7 +38,7 @@
  • @if(filter_var($product->custom_value1, FILTER_VALIDATE_URL))
    - +
    @endif
    @@ -82,7 +82,7 @@
  • @if(filter_var($product->custom_value1, FILTER_VALIDATE_URL))
    - +
    @endif
    @@ -109,7 +109,7 @@ @if(!empty($subscription->optional_recurring_product_ids) || !empty($subscription->optional_product_ids))
    -

    Optional products

    +

    {{ ctrans('texts.optional_products') }}

    @endif
    @@ -121,7 +121,7 @@
  • @if(filter_var($product->custom_value1, FILTER_VALIDATE_URL))
    - +
    @endif
    @@ -162,7 +162,7 @@
  • @if(filter_var($product->custom_value1, FILTER_VALIDATE_URL))
    - +
    @endif
    @@ -210,7 +210,7 @@ @foreach($bundle->toArray() as $item)
    {{$item['product']}} x {{$item['qty']}} - {{ $item['price'] }} + {{ $item['price'] }}
    @endforeach @@ -234,7 +234,7 @@ @endif -
    +
    @if($discount)
    {{ ctrans('texts.subtotal') }} @@ -316,7 +316,7 @@
    @error("email") @enderror