refactor: add type QuotationStatus

This commit is contained in:
Thanaphon Frappet 2024-10-28 08:52:25 +07:00
parent 26ada83f93
commit b74a8d1a09

View file

@ -2,6 +2,16 @@ import { CustomerType } from '../customer/types';
import { District, Province, SubDistrict } from '../address';
import { CreatedBy, Status, UpdatedBy } from '../types';
export type QuotationStatus =
| 'Issued'
| 'Accepted'
| 'Invoice'
| 'PaymentPending'
| 'PaymentInProcess'
| 'PaymentSuccess'
| 'ProcessComplete'
| 'Canceled';
export type CustomerBranchRelation = {
district: District;
province: Province;
@ -327,6 +337,7 @@ export type QuotationPayload = {
workName: string;
status?: Status;
remark?: string;
quotationStatus?: QuotationStatus;
};
export type EmployeeWorker = {