diff --git a/app/Http/Livewire/InvoicesTable.php b/app/Http/Livewire/InvoicesTable.php index ac09810afe4a..783c832df58a 100644 --- a/app/Http/Livewire/InvoicesTable.php +++ b/app/Http/Livewire/InvoicesTable.php @@ -38,7 +38,8 @@ class InvoicesTable extends Component $local_status = []; $query = Invoice::query() - ->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc'); + ->orderBy($this->sort_field, $this->sort_asc ? 'asc' : 'desc') + ->where('is_deleted', false); if (in_array('paid', $this->status)) { $local_status[] = Invoice::STATUS_PAID; diff --git a/resources/views/portal/ninja2020/gateways/stripe/credit_card/pay.blade.php b/resources/views/portal/ninja2020/gateways/stripe/credit_card/pay.blade.php index bd8eb2b0afdb..a815df0c6201 100644 --- a/resources/views/portal/ninja2020/gateways/stripe/credit_card/pay.blade.php +++ b/resources/views/portal/ninja2020/gateways/stripe/credit_card/pay.blade.php @@ -5,7 +5,6 @@ - @endsection