refactor: change to enum instead
This commit is contained in:
parent
2f0e61ecb1
commit
0c694dee5d
1 changed files with 19 additions and 17 deletions
|
|
@ -5,24 +5,26 @@ import { Invoice } from '../payment/types';
|
|||
import { Employee } from '../employee/types';
|
||||
import { WorkflowTemplate } from '../workflow-template/types';
|
||||
|
||||
export type PayCondition =
|
||||
| 'Full'
|
||||
| 'Split'
|
||||
| 'SplitCustom'
|
||||
| 'BillFull'
|
||||
| 'BillSplit'
|
||||
| 'BillSplitCustom';
|
||||
export enum PayCondition {
|
||||
Full = 'Full',
|
||||
Split = 'Split',
|
||||
SplitCustom = 'SplitCustom',
|
||||
BillFull = 'BillFull',
|
||||
BillSplit = 'BillSplit',
|
||||
BillSplitCustom = 'BillSplitCustom',
|
||||
}
|
||||
|
||||
export type QuotationStatus =
|
||||
| 'Issued'
|
||||
| 'Accepted'
|
||||
| 'Expired'
|
||||
| 'Invoice'
|
||||
| 'PaymentPending'
|
||||
| 'PaymentInProcess'
|
||||
| 'PaymentSuccess'
|
||||
| 'ProcessComplete'
|
||||
| 'Canceled';
|
||||
export enum QuotationStatus {
|
||||
Issued = 'Issued',
|
||||
Accepted = 'Accepted',
|
||||
Expired = 'Expired',
|
||||
Invoice = 'Invoice',
|
||||
PaymentPending = 'PaymentPending',
|
||||
PaymentInProcess = 'PaymentInProcess',
|
||||
PaymentSuccess = 'PaymentSuccess',
|
||||
ProcessComplete = 'ProcessComplete',
|
||||
Canceled = 'Canceled',
|
||||
}
|
||||
|
||||
export type CustomerBranchRelation = {
|
||||
district: District;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue