mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
Feat[BE-261,265]: add category request body on create on
This commit is contained in:
@@ -82,6 +82,7 @@ func (u *ExpenseController) CreateOne(c *fiber.Ctx) error {
|
||||
req := new(validation.Create)
|
||||
|
||||
req.TransactionDate = c.FormValue("transaction_date")
|
||||
req.Category = c.FormValue("category")
|
||||
|
||||
supplierID, err := strconv.ParseUint(c.FormValue("supplier_id"), 10, 64)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user