diff options
Diffstat (limited to 'invoice/router.go')
-rw-r--r-- | invoice/router.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/invoice/router.go b/invoice/router.go index 290eacb..febd8fd 100644 --- a/invoice/router.go +++ b/invoice/router.go @@ -32,5 +32,9 @@ func Routes(route *gin.RouterGroup) { g.GET("/:id/item", handleGetInvoiceItems) g.POST("/:id/item", addItem) g.DELETE("/item/:id", removeItem) + g.GET("/:id/custom", handleGetInvoiceCustomFields) + g.POST("/:id/custom", addCustomField) + g.DELETE("/custom/:id", removeCustomField) + //g.PUT("/custom/:id", editCustomField) } } |