mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat: rewrite repositories with base entity repository class.
feat: sales and purchases status. feat: sales and purchases auto-increment number. fix: settings find query with extra columns.
This commit is contained in:
@@ -7,9 +7,9 @@ export default class SettingsStore extends MetableStoreDB {
|
||||
* Constructor method.
|
||||
* @param {number} tenantId
|
||||
*/
|
||||
constructor(knex: Knex) {
|
||||
constructor(repository) {
|
||||
super();
|
||||
this.setExtraColumns(['group']);
|
||||
this.setModel(Setting.bindKnex(knex));
|
||||
this.setRepository(repository);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user