feat: seed customers and vendors views.

This commit is contained in:
a.bouhuolia
2020-12-21 14:07:58 +02:00
parent 2cd6553075
commit 1f76c08262
6 changed files with 179 additions and 2 deletions

View File

@@ -69,7 +69,6 @@ export default class CustomersService {
}
private transformContactToCustomer(contactModel: IContact) {
console.log(contactModel);
return {
...omit(contactModel.toJSON(), ['contactService', 'contactType']),
customerType: contactModel.contactType,