Added silent flag to test invoices
This commit is contained in:
parent
528ab00901
commit
5a6445f808
1 changed files with 2 additions and 1 deletions
|
|
@ -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) {
|
||||
event(new QuoteInvitationWasViewed($invoice, $invitation));
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue