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