mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 19:11:01 -04:00
Prevent phantomjs from clearing gateway fee
This commit is contained in:
parent
7f8fbbda64
commit
fa6f8d0e82
@ -68,7 +68,10 @@ class ClientPortalController extends BaseController
|
||||
}
|
||||
|
||||
$account->loadLocalizationSettings($client);
|
||||
$this->invoiceRepo->clearGatewayFee($invoice);
|
||||
|
||||
if (! Input::has('phantomjs')) {
|
||||
$this->invoiceRepo->clearGatewayFee($invoice);
|
||||
}
|
||||
|
||||
if (! Input::has('phantomjs') && ! session('silent:' . $client->id) && ! Session::has($invitation->invitation_key)
|
||||
&& (! Auth::check() || Auth::user()->account_id != $invoice->account_id)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user