mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 05:37:33 -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); |         $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) |         if (! Input::has('phantomjs') && ! session('silent:' . $client->id) && ! Session::has($invitation->invitation_key) | ||||||
|             && (! Auth::check() || Auth::user()->account_id != $invoice->account_id)) { |             && (! Auth::check() || Auth::user()->account_id != $invoice->account_id)) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user