feat: Assign default PDF template automatically

This commit is contained in:
Ahmed Bouhuolia
2024-10-02 18:18:57 +02:00
parent cbc60b3c73
commit b23112bc92
30 changed files with 501 additions and 46 deletions

View File

@@ -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,
};
}
}