mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
fix: sale invoices payment amount once invoice created, edited or deleted.
This commit is contained in:
@@ -34,7 +34,7 @@ export default class SaleReceipt extends TenantModel {
|
||||
to: 'contacts.id',
|
||||
},
|
||||
filter(query) {
|
||||
query.where('contact_type', 'Customer');
|
||||
query.where('contact_service', 'customer');
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user