mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Refactor required-client-info component instantiation in rff.blade.php
This commit is contained in:
parent
aac43793b5
commit
7d4588d3b5
@ -10,13 +10,6 @@
|
||||
@endif
|
||||
|
||||
<div>
|
||||
@livewire('required-client-info', [
|
||||
'fields' => method_exists($gateway, 'getClientRequiredFields') ? $gateway->getClientRequiredFields() : [],
|
||||
'contact' => auth()->guard('contact')->user(),
|
||||
'countries' => $countries,
|
||||
'company' => $company,
|
||||
'company_gateway_id' => $gateway->company_gateway ? $gateway->company_gateway->id : $gateway->id,
|
||||
'form_only' => true
|
||||
])
|
||||
@livewire('required-client-info', ['db' => $company->db, 'fields' => method_exists($gateway, 'getClientRequiredFields') ? $gateway->getClientRequiredFields() : [], 'contact_id' => auth()->guard('contact')->user()->id, 'countries' => $countries, 'company_id' => $company->id, 'company_gateway_id' => $gateway->company_gateway ? $gateway->company_gateway->id : $gateway->id, 'form_only' => true])>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user