Indicates whether there is an ongoing operation to wait for.
let waiting = false;
Handles the event of navigating to a specific order ID.
Parameters:
None
function go_to_id() {
// ... Function code ...
}
Handles the event of loading the next set of 100 orders.
Parameters:
None
function next_100() {
// ... Function code ...
}
Handles the event of loading the previous set of 100 orders.
Parameters:
None
function prev_100() {
// ... Function code ...
}
Loads the provided list of orders into the HTML.
Parameters:
orders
(Array): The list of orders to be displayed.
function load_orders(orders) {
// ... Function code ...
}
Handles the event of editing an order.
Parameters:
None
function edit_order() {
// ... Function code ...
}
Handles the event of deleting an order.
Parameters:
None
function delete_order() {
// ... Function code ...
}
Formats a date string into a more human-readable format.
Parameters:
dateString
(string): The date string to format.
function formatDateString(dateString) {
// ... Function code ...
}