diff --git a/app/Http/Controllers/ClientPortal/InvoiceController.php b/app/Http/Controllers/ClientPortal/InvoiceController.php index b7ced5d34948..5de70e21a1f7 100644 --- a/app/Http/Controllers/ClientPortal/InvoiceController.php +++ b/app/Http/Controllers/ClientPortal/InvoiceController.php @@ -123,7 +123,8 @@ class InvoiceController extends Controller //format totals $formatted_total = Number::formatMoney($total, auth()->user()->client); - $payment_methods = auth()->user()->client->service()->getPaymentMethods($total); +// $payment_methods = auth()->user()->client->service()->getPaymentMethods($total); + $payment_methods = auth()->user()->client->getPaymentMethods($total); $data = [ 'settings' => auth()->user()->client->getMergedSettings(), diff --git a/app/Http/Livewire/RequiredClientInfo.php b/app/Http/Livewire/RequiredClientInfo.php index e57ed1229745..b0296b0b9da1 100644 --- a/app/Http/Livewire/RequiredClientInfo.php +++ b/app/Http/Livewire/RequiredClientInfo.php @@ -65,6 +65,8 @@ class RequiredClientInfo extends Component public $show_form = false; + public function mount() {} + public function handleSubmit(array $data): bool { $rules = [];