mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
19 lines
499 B
TypeScript
19 lines
499 B
TypeScript
import { Inject, Service } from 'typedi';
|
|
import { Exportable } from '../Export/Exportable';
|
|
import { TaxRatesApplication } from './TaxRatesApplication';
|
|
|
|
@Service()
|
|
export class TaxRatesExportable extends Exportable {
|
|
@Inject()
|
|
private taxRatesApplication: TaxRatesApplication;
|
|
|
|
/**
|
|
* Retrieves the accounts data to exportable sheet.
|
|
* @param {number} tenantId
|
|
* @returns
|
|
*/
|
|
public exportable(tenantId: number) {
|
|
return this.taxRatesApplication.getTaxRates(tenantId);
|
|
}
|
|
}
|