mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for portal - hide deleted invoice from payment view
This commit is contained in:
parent
02dc297efb
commit
ba68682ced
@ -60,7 +60,7 @@ class InvoiceController extends Controller
|
||||
$invitation->markViewed();
|
||||
|
||||
event(new InvitationWasViewed($invoice, $invitation, $invoice->company, Ninja::eventVars()));
|
||||
event(new InvoiceWasViewed($invitation, $invitation->company, Ninja::eventVars()));
|
||||
event(new InvoiceWasViewed($invitation, $invoice->company, Ninja::eventVars()));
|
||||
}
|
||||
|
||||
$data = [
|
||||
|
@ -123,7 +123,7 @@
|
||||
<div>
|
||||
<dl>
|
||||
@foreach($payment->invoices as $invoice)
|
||||
@if(!$invoice->is_proforma)
|
||||
@if(!$invoice->is_proforma && !$invoice->is_deleted)
|
||||
<div class="px-4 py-5 bg-white sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6">
|
||||
<dt class="text-sm font-medium leading-5 text-gray-500">
|
||||
{{ ctrans('texts.invoice_number') }}
|
||||
|
Loading…
Reference in New Issue
Block a user