Set up billing profile

This commit is contained in:
Peter Papp
2021-05-06 09:15:37 +02:00
parent 070a3aaba4
commit 69deafeda0
13 changed files with 553 additions and 43 deletions

View File

@@ -30,6 +30,9 @@ class UserResource extends JsonResource
'created_at_formatted' => format_date($this->created_at, '%d. %B. %Y'),
'created_at' => $this->created_at,
'updated_at' => $this->updated_at,
// OasisDrive
'has_billing_profile' => $this->invoiceProfile ? true : false,
],
'relationships' => [
'settings' => [