feat: tax rates crud service

This commit is contained in:
Ahmed Bouhuolia
2023-08-11 16:00:39 +02:00
parent 04d134806b
commit d6f56568a3
12 changed files with 189 additions and 50 deletions

View File

@@ -7,9 +7,9 @@ export class GetTaxRatesService {
private tenancy: HasTenancyService;
/**
*
* Retrieves the tax rates list.
* @param {number} tenantId
* @returns
* @returns {Promise<ITaxRate[]>}
*/
public async getTaxRates(tenantId: number) {
const { TaxRate } = this.tenancy.models(tenantId);