mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Added silent flag to test invoices
This commit is contained in:
parent
528ab00901
commit
5a6445f808
@ -50,7 +50,8 @@ class PublicClientController extends BaseController
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Input::has('phantomjs') && !Session::has($invitationKey) && (!Auth::check() || Auth::user()->account_id != $invoice->account_id)) {
|
if (!Input::has('phantomjs') && !Input::has('silent') && !Session::has($invitationKey)
|
||||||
|
&& (!Auth::check() || Auth::user()->account_id != $invoice->account_id)) {
|
||||||
if ($invoice->is_quote) {
|
if ($invoice->is_quote) {
|
||||||
event(new QuoteInvitationWasViewed($invoice, $invitation));
|
event(new QuoteInvitationWasViewed($invoice, $invitation));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user