mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Do not show deleted invoices
This commit is contained in:
parent
10cffc3db0
commit
899784cf45
@ -38,7 +38,8 @@ class InvoicesTable extends Component
|
|||||||
$local_status = [];
|
$local_status = [];
|
||||||
|
|
||||||
$query = Invoice::query()
|
$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)) {
|
if (in_array('paid', $this->status)) {
|
||||||
$local_status[] = Invoice::STATUS_PAID;
|
$local_status[] = Invoice::STATUS_PAID;
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
<meta name="stripe-account-id" content="{{ $gateway->company_gateway->getConfigField('account_id') }}">
|
<meta name="stripe-account-id" content="{{ $gateway->company_gateway->getConfigField('account_id') }}">
|
||||||
<meta name="stripe-secret" content="{{ $intent->client_secret }}">
|
<meta name="stripe-secret" content="{{ $intent->client_secret }}">
|
||||||
<meta name="only-authorization" content="">
|
<meta name="only-authorization" content="">
|
||||||
|
|
||||||
<meta name="client-postal-code" content="{{ $client->postal_code ?? '' }}">
|
<meta name="client-postal-code" content="{{ $client->postal_code ?? '' }}">
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user