mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
wip
This commit is contained in:
parent
908678cdc4
commit
b9bea02b68
@ -57,9 +57,8 @@ class BillingPortalPurchase extends Component
|
||||
|
||||
$this->steps['existing_user'] = false;
|
||||
|
||||
$this
|
||||
->createBlankClient()
|
||||
->getPaymentMethods();
|
||||
$contact = $this->createBlankClient();
|
||||
$this->getPaymentMethods($contact);
|
||||
}
|
||||
|
||||
protected function createBlankClient()
|
||||
@ -77,7 +76,7 @@ class BillingPortalPurchase extends Component
|
||||
|
||||
// dd($response->toArray());
|
||||
|
||||
return $this;
|
||||
return ClientContact::where('email', $this->email)->first();
|
||||
}
|
||||
|
||||
protected function getPaymentMethods(ClientContact $contact): self
|
||||
|
Loading…
Reference in New Issue
Block a user