mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 09:04:34 -04:00
Minor fixes for get Payment methods
This commit is contained in:
parent
7d4e24fab3
commit
23d6a69573
@ -79,7 +79,6 @@ class InvoiceController extends Controller
|
|||||||
if ($request->query('mode') === 'fullscreen') {
|
if ($request->query('mode') === 'fullscreen') {
|
||||||
return render('invoices.show-fullscreen', $data);
|
return render('invoices.show-fullscreen', $data);
|
||||||
}
|
}
|
||||||
// $request->fullUrlWithQuery(['q' => null]);
|
|
||||||
return $this->render('invoices.show', $data);
|
return $this->render('invoices.show', $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ class PayNowDropdown extends Component
|
|||||||
|
|
||||||
$this->total = $total;
|
$this->total = $total;
|
||||||
|
|
||||||
$this->methods = auth()->user()->client->service()->getPaymentMethods($total);
|
$this->methods = auth()->guard('contact')->user()->client->service()->getPaymentMethods($total);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function render()
|
public function render()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user