feat[BE-127]: Createing transfer laying create one, approvals, get one, get all, update, delete, but Still unfinished

This commit is contained in:
aguhh18
2025-11-05 08:56:18 +07:00
parent 3a5c49c511
commit 1ee97b91a5
13 changed files with 928 additions and 74 deletions
+16
View File
@@ -176,6 +176,22 @@ var ProjectFlockKandangApprovalSteps = map[approvalutils.ApprovalStep]string{
ProjectFlockKandangStepDisetujui: "Disetujui",
}
// -------------------------------------------------------------------
// Transfer To laying Approval
// -------------------------------------------------------------------
const (
ApprovalWorkflowTransferToLaying approvalutils.ApprovalWorkflowKey = approvalutils.ApprovalWorkflowKey("TRANSFER_TO_LAYINGS")
TransferToLayingStepPengajuan approvalutils.ApprovalStep = 1
TransferToLayingStepDisetujui approvalutils.ApprovalStep = 2
)
var TransferToLayingApprovalSteps = map[approvalutils.ApprovalStep]string{
TransferToLayingStepPengajuan: "Pengajuan",
TransferToLayingStepDisetujui: "Disetujui",
}
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// Validators
// -------------------------------------------------------------------