1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Do not show deleted invoices

This commit is contained in:
David Bomba 2021-05-11 22:03:44 +10:00
parent 10cffc3db0
commit 899784cf45
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -5,7 +5,6 @@
<meta name="stripe-account-id" content="{{ $gateway->company_gateway->getConfigField('account_id') }}">
<meta name="stripe-secret" content="{{ $intent->client_secret }}">
<meta name="only-authorization" content="">
<meta name="client-postal-code" content="{{ $client->postal_code ?? '' }}">
@endsection