mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
feat: Assign default PDF template automatically
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { Service } from 'typedi';
|
||||
import { ISaleInvocieState } from '@/interfaces';
|
||||
|
||||
@Service()
|
||||
export class GetSaleInvoiceState {
|
||||
/**
|
||||
*
|
||||
* @param {Number} saleInvoiceId -
|
||||
* @return {Promise<ISaleInvoice>}
|
||||
*/
|
||||
public async getSaleInvoiceState(
|
||||
tenantId: number
|
||||
): Promise<ISaleInvocieState> {
|
||||
return {
|
||||
defaultTemplateId: 1,
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user