mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
Merge branch 'feat/BE/Sprint-8' into 'dev/hafizh'
# Conflicts: # internal/route/route.go # internal/utils/constant.go
This commit is contained in:
@@ -408,60 +408,15 @@ type DocumentType string
|
|||||||
type DocumentableType string
|
type DocumentableType string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
DocumentTypeTransfer DocumentType = "STOCK_TRANSFER_DOCUMENT"
|
DocumentTypeTransfer DocumentType = "STOCK_TRANSFER_DOCUMENT"
|
||||||
DocumentTypeExpense DocumentType = "EXPENSE_DOCUMENT"
|
DocumentTypeExpense DocumentType = "EXPENSE_DOCUMENT"
|
||||||
DocumentTypeExpenseRealization DocumentType = "EXPENSE_REALIZATION_DOCUMENT"
|
DocumentTypeExpenseRealization DocumentType = "EXPENSE_REALIZATION_DOCUMENT"
|
||||||
|
|
||||||
DocumentableTypeTransfer DocumentableType = "STOCK_TRANSFER"
|
DocumentableTypeTransfer DocumentableType = "STOCK_TRANSFER"
|
||||||
DocumentableTypeExpense DocumentableType = "EXPENSE"
|
DocumentableTypeExpense DocumentableType = "EXPENSE"
|
||||||
DocumentableTypeExpenseRealization DocumentableType = "EXPENSE_REALIZATION"
|
DocumentableTypeExpenseRealization DocumentableType = "EXPENSE_REALIZATION"
|
||||||
)
|
)
|
||||||
|
|
||||||
// -------------------------------------------------------------------
|
|
||||||
// Payment Approval
|
|
||||||
// -------------------------------------------------------------------
|
|
||||||
|
|
||||||
const (
|
|
||||||
ApprovalWorkflowPayment approvalutils.ApprovalWorkflowKey = approvalutils.ApprovalWorkflowKey("PAYMENTS")
|
|
||||||
PaymentStepPengajuan approvalutils.ApprovalStep = 1
|
|
||||||
PaymentStepDisetujui approvalutils.ApprovalStep = 2
|
|
||||||
)
|
|
||||||
|
|
||||||
var PaymentApprovalSteps = map[approvalutils.ApprovalStep]string{
|
|
||||||
PaymentStepPengajuan: "Pengajuan",
|
|
||||||
PaymentStepDisetujui: "Disetujui",
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------
|
|
||||||
// Inisial Balance Approval
|
|
||||||
// -------------------------------------------------------------------
|
|
||||||
|
|
||||||
const (
|
|
||||||
ApprovalWorkflowInitial approvalutils.ApprovalWorkflowKey = approvalutils.ApprovalWorkflowKey("INITIAL_BALANCES")
|
|
||||||
InitialStepPengajuan approvalutils.ApprovalStep = 1
|
|
||||||
InitialStepDisetujui approvalutils.ApprovalStep = 2
|
|
||||||
)
|
|
||||||
|
|
||||||
var InitialApprovalSteps = map[approvalutils.ApprovalStep]string{
|
|
||||||
InitialStepPengajuan: "Pengajuan",
|
|
||||||
InitialStepDisetujui: "Disetujui",
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------
|
|
||||||
// Injection Approval
|
|
||||||
// -------------------------------------------------------------------
|
|
||||||
|
|
||||||
const (
|
|
||||||
ApprovalWorkflowInjection approvalutils.ApprovalWorkflowKey = approvalutils.ApprovalWorkflowKey("INJECTIONS")
|
|
||||||
InjectionStepPengajuan approvalutils.ApprovalStep = 1
|
|
||||||
InjectionStepDisetujui approvalutils.ApprovalStep = 2
|
|
||||||
)
|
|
||||||
|
|
||||||
var InjectionApprovalSteps = map[approvalutils.ApprovalStep]string{
|
|
||||||
InjectionStepPengajuan: "Pengajuan",
|
|
||||||
InjectionStepDisetujui: "Disetujui",
|
|
||||||
}
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
// Validators
|
// Validators
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user