Documentation ¶
Index ¶
- type SalesController
- func (controller *SalesController) HandleCreateSale(c *fiber.Ctx) (appUtil.PaginateResponse, error)
- func (controller *SalesController) HandleDeleteSale(c *fiber.Ctx) (appUtil.PaginateResponse, error)
- func (controller *SalesController) HandleFindAllSaleItems(c *fiber.Ctx) (appUtil.PaginateResponse, error)
- func (controller *SalesController) HandleFindAllSales(c *fiber.Ctx) (appUtil.PaginateResponse, error)
- func (controller *SalesController) HandleFindSaleByID(c *fiber.Ctx) (appUtil.PaginateResponse, error)
- func (controller *SalesController) HandleGetProductQuantitySoldVariation(c *fiber.Ctx) (appUtil.PaginateResponse, error)
- func (controller *SalesController) HandleGetSaleProductsSummary(c *fiber.Ctx) (appUtil.PaginateResponse, error)
- func (controller *SalesController) HandleGetTotalValueSoldVariation(c *fiber.Ctx) (appUtil.PaginateResponse, error)
- func (controller *SalesController) HandleGetTotalValuesSold(c *fiber.Ctx) (appUtil.PaginateResponse, error)
- func (controller *SalesController) HandleUpdateSale(c *fiber.Ctx) (appUtil.PaginateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SalesController ¶
type SalesController struct {
// contains filtered or unexported fields
}
func InitSalesController ¶
func InitSalesController(salesService *saleService.SaleService) *SalesController
func (*SalesController) HandleCreateSale ¶
func (controller *SalesController) HandleCreateSale(c *fiber.Ctx) (appUtil.PaginateResponse, error)
func (*SalesController) HandleDeleteSale ¶
func (controller *SalesController) HandleDeleteSale(c *fiber.Ctx) (appUtil.PaginateResponse, error)
func (*SalesController) HandleFindAllSaleItems ¶
func (controller *SalesController) HandleFindAllSaleItems(c *fiber.Ctx) (appUtil.PaginateResponse, error)
func (*SalesController) HandleFindAllSales ¶
func (controller *SalesController) HandleFindAllSales(c *fiber.Ctx) (appUtil.PaginateResponse, error)
func (*SalesController) HandleFindSaleByID ¶
func (controller *SalesController) HandleFindSaleByID(c *fiber.Ctx) (appUtil.PaginateResponse, error)
func (*SalesController) HandleGetProductQuantitySoldVariation ¶
func (controller *SalesController) HandleGetProductQuantitySoldVariation(c *fiber.Ctx) (appUtil.PaginateResponse, error)
func (*SalesController) HandleGetSaleProductsSummary ¶
func (controller *SalesController) HandleGetSaleProductsSummary(c *fiber.Ctx) (appUtil.PaginateResponse, error)
func (*SalesController) HandleGetTotalValueSoldVariation ¶
func (controller *SalesController) HandleGetTotalValueSoldVariation(c *fiber.Ctx) (appUtil.PaginateResponse, error)
func (*SalesController) HandleGetTotalValuesSold ¶
func (controller *SalesController) HandleGetTotalValuesSold(c *fiber.Ctx) (appUtil.PaginateResponse, error)
func (*SalesController) HandleUpdateSale ¶
func (controller *SalesController) HandleUpdateSale(c *fiber.Ctx) (appUtil.PaginateResponse, error)
Click to show internal directories.
Click to hide internal directories.