mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-24 07:15:43 +00:00
FIX[BE]: fixing transfer to laying and implement correct fifo stock
This commit is contained in:
+2
-2
@@ -84,7 +84,7 @@ func (u *TransferLayingController) CreateOne(c *fiber.Ctx) error {
|
||||
req := new(validation.Create)
|
||||
|
||||
if err := c.BodyParser(req); err != nil {
|
||||
return fiber.NewError(fiber.StatusBadRequest, "Invalid request body")
|
||||
return fiber.NewError(fiber.StatusBadRequest, "Format permintaan tidak valid")
|
||||
}
|
||||
|
||||
result, err := u.TransferLayingService.CreateOne(c, req)
|
||||
@@ -96,7 +96,7 @@ func (u *TransferLayingController) CreateOne(c *fiber.Ctx) error {
|
||||
JSON(response.Success{
|
||||
Code: fiber.StatusCreated,
|
||||
Status: "success",
|
||||
Message: "Create transferLaying successfully",
|
||||
Message: "Berhasil membuat transfer laying",
|
||||
Data: dto.ToTransferLayingListDTO(*result),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user