create topping and material page

This commit is contained in:
thanawat saiyota 2026-06-11 16:25:27 +07:00
parent 4ca8b3b270
commit bd239cf71b
9 changed files with 2606 additions and 57 deletions

View file

@ -18,6 +18,29 @@ export function requestCatalogs(country: string): boolean {
});
}
export function requestPriceSlots(country: string): boolean {
return sendCommandRequest('sheet', {
country: country,
param: 'priceslot'
});
}
export function updatePriceSlot(
country: string,
content: {
slot: number;
name: string;
description: string;
products: { product_code: string; price: number | null; row_index?: number }[];
}
): boolean {
return sendCommandRequest('sheet', {
country: country,
content: content,
param: 'update/priceslot'
});
}
export function enterRoom(country: string, catalog: string): boolean {
return sendCommandRequest('sheet', {
country: country,