refactor: add type QuotationStatus
This commit is contained in:
parent
26ada83f93
commit
b74a8d1a09
1 changed files with 11 additions and 0 deletions
|
|
@ -2,6 +2,16 @@ import { CustomerType } from '../customer/types';
|
||||||
import { District, Province, SubDistrict } from '../address';
|
import { District, Province, SubDistrict } from '../address';
|
||||||
import { CreatedBy, Status, UpdatedBy } from '../types';
|
import { CreatedBy, Status, UpdatedBy } from '../types';
|
||||||
|
|
||||||
|
export type QuotationStatus =
|
||||||
|
| 'Issued'
|
||||||
|
| 'Accepted'
|
||||||
|
| 'Invoice'
|
||||||
|
| 'PaymentPending'
|
||||||
|
| 'PaymentInProcess'
|
||||||
|
| 'PaymentSuccess'
|
||||||
|
| 'ProcessComplete'
|
||||||
|
| 'Canceled';
|
||||||
|
|
||||||
export type CustomerBranchRelation = {
|
export type CustomerBranchRelation = {
|
||||||
district: District;
|
district: District;
|
||||||
province: Province;
|
province: Province;
|
||||||
|
|
@ -327,6 +337,7 @@ export type QuotationPayload = {
|
||||||
workName: string;
|
workName: string;
|
||||||
status?: Status;
|
status?: Status;
|
||||||
remark?: string;
|
remark?: string;
|
||||||
|
quotationStatus?: QuotationStatus;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type EmployeeWorker = {
|
export type EmployeeWorker = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue