mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
fix: sale invoice relation with customer.
This commit is contained in:
@@ -85,7 +85,7 @@ export default class SaleInvoice extends TenantModel {
|
||||
to: 'contacts.id',
|
||||
},
|
||||
filter(query) {
|
||||
query.where('contact_type', 'Customer');
|
||||
query.where('contact_service', 'Customer');
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user