diff --git a/app/Http/Livewire/SubscriptionInvoicesTable.php b/app/Http/Livewire/SubscriptionInvoicesTable.php deleted file mode 100644 index 4c5a56355fca..000000000000 --- a/app/Http/Livewire/SubscriptionInvoicesTable.php +++ /dev/null @@ -1,40 +0,0 @@ -where('client_id', auth('contact')->user()->client->id) - ->whereNotNull('subscription_id') - ->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc') - ->where('balance', '=', 0) - ->paginate($this->per_page); - - return render('components.livewire.subscriptions-invoices-table', [ - 'invoices' => $query, - ]); - } -} diff --git a/resources/views/portal/ninja2020/components/livewire/subscriptions-invoices-table.blade.php b/resources/views/portal/ninja2020/components/livewire/subscriptions-invoices-table.blade.php deleted file mode 100644 index 5e821756fea7..000000000000 --- a/resources/views/portal/ninja2020/components/livewire/subscriptions-invoices-table.blade.php +++ /dev/null @@ -1,83 +0,0 @@ -
-

- One-time payments -

- -
-
- - -
-
-
-
- - - - - - - - - - - @forelse($invoices as $invoice) - - - - - - - @empty - - - - @endforelse - -
-

- {{ ctrans('texts.subscription') }} -

-
-

- {{ ctrans('texts.invoice') }} -

-
-

- {{ ctrans('texts.amount') }} -

-
-

- {{ ctrans('texts.date') }} -

-
- {{ $invoice->subscription->name }} - - - {{ $invoice->number }} - - - {{ App\Utils\Number::formatMoney($invoice->amount, $invoice->client) }} - - {{ $invoice->formatDate($invoice->date, $invoice->client->date_format()) }} -
- {{ ctrans('texts.no_results') }} -
-
-
- -
- @if($invoices->total() > 0) - - @endif - {{ $invoices->links('portal/ninja2020/vendor/pagination') }} -
-
diff --git a/resources/views/portal/ninja2020/components/livewire/subscriptions-recurring-invoices-table.blade.php b/resources/views/portal/ninja2020/components/livewire/subscriptions-recurring-invoices-table.blade.php index a34534abd86e..d09928a13366 100644 --- a/resources/views/portal/ninja2020/components/livewire/subscriptions-recurring-invoices-table.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/subscriptions-recurring-invoices-table.blade.php @@ -1,9 +1,5 @@
-

- Subscriptions -

- -
+