fix: payment receive model relation with customer.

This commit is contained in:
Ahmed Bouhuolia
2020-11-07 17:15:06 +02:00
parent c080155fe0
commit b9c2d99eac
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ export default class PaymentReceive extends TenantModel {
to: 'contacts.id',
},
filter(query) {
query.where('contact_type', 'Customer');
query.where('contact_service', 'customer');
}
},