diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index fc0ee77d..91150071 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -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;