# Functions
No description provided by the author
AddMaterial returns a HTTP handler function to add a new material to the database.
CalculateMaterialCost returns a HTTP handler function to calculate the cost of a material entry.
CancelOrder returns a HTTP handler function to cancel an order.
DeleteCategory returns a HTTP handler function to delete a Category from the database.
No description provided by the author
DeleteEntry returns a HTTP handler function to delete an entry in the material database.
No description provided by the author
DeleteOrder an http handler to delete an order resource.
DeleteProduct returns a HTTP handler function to delete a product from the database.
EditMaterial returns a HTTP handler function to edit an existing material in the database.
FinishOrder returns a HTTP handler function to finish an order.
GetAvailableLanguages reads available language files in the /assets/core/languages folder it reads the language code and name from the file and returns json response of available installed langs.
GetCategories returns a HTTP handler function to retrieve a list of Categories from the database.
No description provided by the author
No description provided by the author
GetLanguage is an http handler that receives a lang code like "en" or "ar" and reads the related language pack json file and return it as response.
No description provided by the author
GetMaterials returns a HTTP handler function to retrieve a list of materials from the database.
GetOrder returns a HTTP handler function to retrieve an order.
GetOrders returns a HTTP handler function to retrieve a list of orders.
GetProduct gets a single product from the db.
GetProducts returns a HTTP handler function to retrieve a list of products from the database.
GetRecipeAvailability returns a HTTP handler function to check the availability of multiple recipes.
GetRecipeTree returns a HTTP handler function to retrieve a recipe tree.
GetSalesPerDay returns a HTTP handler function to retrieve sales data per day.
GetSettings is an http get handlers that just returns the settings object from the db.
GetUnpaidOrders returns a HTTP handler function to get all unpaid orders.
HandleNotificationsWsRequest returns a HTTP handler function to handle WebSocket requests.
InesrtNewProduct returns a HTTP handler function to insert a new product in the database.
InsertCategory returns a HTTP handler function to insert a Category into the database.
Payorder returns a HTTP handler function to pay an unpaid order.
No description provided by the author
No description provided by the author
PushMaterialEntry returns a HTTP handler function to add a new entry to a material in the database.
StartOrder returns a HTTP handler function to start an order.
SubmitOrder returns a HTTP handler function to submit an order.
UpdateCategory returns a HTTP handler function to update a Category in the database.
No description provided by the author
UpdateProduct returns a HTTP handler function to update a product in the database.
No description provided by the author
UpdateSettings is a post request handler that updates the settings in the database send a models.Settings directory to body to use it.
# Structs
No description provided by the author
No description provided by the author