Ukrycie opcji wzywania kelnera
This commit is contained in:
@@ -293,6 +293,7 @@
|
||||
orders[orderId] = {
|
||||
number: orderId,
|
||||
stolik: item.NazwaStolika || item.StolikID,
|
||||
stolikId: item.StolikID,
|
||||
time: item.DataDodania,
|
||||
groups: {}
|
||||
};
|
||||
@@ -327,7 +328,8 @@
|
||||
|
||||
sortedOrders.forEach(order => {
|
||||
const timeStr = new Date(order.time).toLocaleTimeString([], {hour: '2-digit', minute:'2-digit'});
|
||||
const stolikText = order.stolik ? `STOLIK: ${order.stolik}` : 'BRAK STOLIKA';
|
||||
const stolikLink = order.stolikId ? `<a href="../app.html?h=${order.stolikId}" target="_blank" style="color: var(--accent); text-decoration: underline;">STOLIK: ${order.stolik}</a>` : `STOLIK: ${order.stolik}`;
|
||||
const stolikText = order.stolik ? stolikLink : 'BRAK STOLIKA';
|
||||
|
||||
let itemsHtml = '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user