mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
feat: closed sale receipt status.
feat: approve and reject sale estimate. feat: initial receipts, invoices, estimates and bills views.
This commit is contained in:
@@ -14,6 +14,6 @@ export default class ViewRepository extends TenantRepository {
|
||||
* Retrieve all views of the given resource id.
|
||||
*/
|
||||
allByResource(resourceModel: string, withRelations?) {
|
||||
return super.find({ resource_mode: resourceModel }, withRelations);
|
||||
return super.find({ resource_model: resourceModel }, withRelations);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user