feat: issues in bills and payments made

This commit is contained in:
Ahmed Bouhuolia
2020-10-24 14:49:32 +02:00
parent e8aa4b5d73
commit b91c452101
6 changed files with 67 additions and 47 deletions

View File

@@ -64,7 +64,7 @@ export default class Bill extends TenantModel {
to: 'items_entries.referenceId',
},
filter(builder) {
builder.where('reference_type', 'SaleReceipt');
builder.where('reference_type', 'Bill');
},
},
};