mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:17:30 -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 $company;
|
||||||
|
|
||||||
public function mount(int $total)
|
public function mount()
|
||||||
{
|
{
|
||||||
MultiDB::setDb($this->company->db);
|
MultiDB::setDb($this->company->db);
|
||||||
|
|
||||||
$this->total = $total;
|
$this->methods = auth()->guard('contact')->user()->client->service()->getPaymentMethods($this->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