Files
bigcapital/packages/server-nest/src/modules/Branches/BranchesSettings.ts
2024-12-21 15:07:01 +02:00

24 lines
601 B
TypeScript

import { Injectable } from '@nestjs/common';
@Injectable()
export class BranchesSettingsService {
/**
* Marks multi-branches as activated.
*/
public markMultiBranchesAsActivated = () => {
// const settings = this.tenancy.settings(tenantId);
// settings.set({ group: 'features', key: Features.BRANCHES, value: 1 });
};
/**
* Retrieves whether multi-branches is active.
*/
public isMultiBranchesActive = () => {
// const settings = this.tenancy.settings(tenantId);
// return settings.get({ group: 'features', key: Features.BRANCHES });
return false;
};
}