diff --git a/app/Http/Controllers/ClientPortal/InvoiceController.php b/app/Http/Controllers/ClientPortal/InvoiceController.php index 84e305021579..67c5b0103cbb 100644 --- a/app/Http/Controllers/ClientPortal/InvoiceController.php +++ b/app/Http/Controllers/ClientPortal/InvoiceController.php @@ -79,7 +79,6 @@ class InvoiceController extends Controller if ($request->query('mode') === 'fullscreen') { return render('invoices.show-fullscreen', $data); } - // $request->fullUrlWithQuery(['q' => null]); return $this->render('invoices.show', $data); } diff --git a/app/Http/Livewire/PayNowDropdown.php b/app/Http/Livewire/PayNowDropdown.php index 8f54bd292162..c96ba3f9a5e8 100644 --- a/app/Http/Livewire/PayNowDropdown.php +++ b/app/Http/Livewire/PayNowDropdown.php @@ -29,7 +29,7 @@ class PayNowDropdown extends Component $this->total = $total; - $this->methods = auth()->user()->client->service()->getPaymentMethods($total); + $this->methods = auth()->guard('contact')->user()->client->service()->getPaymentMethods($total); } public function render()