mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:44:29 -04:00
Refactor for livewire
This commit is contained in:
parent
843229d9b5
commit
a88ef592de
@ -23,13 +23,11 @@ class PayNowDropdown extends Component
|
||||
|
||||
public $company;
|
||||
|
||||
public function mount(int $total)
|
||||
public function mount()
|
||||
{
|
||||
MultiDB::setDb($this->company->db);
|
||||
|
||||
$this->total = $total;
|
||||
|
||||
$this->methods = auth()->guard('contact')->user()->client->service()->getPaymentMethods($total);
|
||||
$this->methods = auth()->guard('contact')->user()->client->service()->getPaymentMethods($this->total);
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
Loading…
x
Reference in New Issue
Block a user