feat (orders): add guard if parents are done, cant create child

This commit is contained in:
dpurbosakti
2025-09-22 13:00:23 +07:00
parent 6304d8f02a
commit 37da1ee418
18 changed files with 365 additions and 3 deletions

No files matched your search

@@ -37,7 +37,7 @@ func createItem(input *e.CreateDto, event *pl.Event, tx *gorm.DB) error {
itemCreate := ei.CreateDto{
Code: pu.AddPrefix("mcuSub-", input.Code),
Name: input.Name,
ItemGroup_Code: ero.ITGCMCU,
ItemGroup_Code: ero.ITGCMCUSub,
// Uom_Code: &input.Uom_Code,
// Infra_Id: input.Infra_Id,
}