mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-11 15:34:21 -04:00
Merge pull request #669 from turbo124/master
Add send_invoice boolean in contact transformer
This commit is contained in:
commit
97e2e6ebae
@ -19,6 +19,7 @@ class ContactTransformer extends EntityTransformer
|
|||||||
'phone' => $contact->phone,
|
'phone' => $contact->phone,
|
||||||
'last_login' => $contact->last_login,
|
'last_login' => $contact->last_login,
|
||||||
'account_key' => $this->account->account_key,
|
'account_key' => $this->account->account_key,
|
||||||
|
'send_invoice' => (bool) $contact->send_invoice,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user