@harbortouch/skytab-analytics-report-utils 0.19.1 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-7NXZJEGU.js +3340 -0
- package/dist/exporters/exportBuilder.cjs +3503 -0
- package/dist/exporters/exportBuilder.d.cts +56 -0
- package/dist/exporters/exportBuilder.d.ts +56 -0
- package/dist/exporters/exportBuilder.js +246 -0
- package/dist/index.cjs +144 -9
- package/dist/index.d.cts +5 -1249
- package/dist/index.d.ts +5 -1249
- package/dist/index.js +39 -3160
- package/dist/report-BOL9p86o.d.cts +1291 -0
- package/dist/report-BOL9p86o.d.ts +1291 -0
- package/package.json +7 -1
|
@@ -0,0 +1,3340 @@
|
|
|
1
|
+
// src/reports/salesByItemDetail.ts
|
|
2
|
+
var FIELDS = {
|
|
3
|
+
businessDate: { type: "date", columnKey: "date", filteringAvailable: false },
|
|
4
|
+
ticketClosedAt: { type: "string", columnKey: "ticketClosed", filteringAvailable: false },
|
|
5
|
+
hourId: { type: "number", columnKey: "hour", filteringAvailable: false },
|
|
6
|
+
daypartName: { type: "string", columnKey: "daypart", filteringAvailable: false },
|
|
7
|
+
locationId: { type: "number", columnKey: "locationId", filteringAvailable: false },
|
|
8
|
+
locationName: { type: "string", columnKey: "locationName", filteringAvailable: false },
|
|
9
|
+
departmentName: { type: "string", columnKey: "department", filteringAvailable: false },
|
|
10
|
+
itemName: { type: "string", columnKey: "itemName", filteringAvailable: false },
|
|
11
|
+
revenueCenterName: { type: "string", columnKey: "revenueCenter", filteringAvailable: false },
|
|
12
|
+
revenueClassName: { type: "string", columnKey: "revenueClass", filteringAvailable: false },
|
|
13
|
+
salesAmountGross: { type: "money", columnKey: "grossSales" },
|
|
14
|
+
itemsQuantity: { type: "number", columnKey: "quantity" },
|
|
15
|
+
transactionId: { type: "string", columnKey: "ticketNumber", filteringAvailable: false },
|
|
16
|
+
guestsCount: { type: "number", columnKey: "guestCount" },
|
|
17
|
+
employeeName: { type: "string", columnKey: "employeeName", filteringAvailable: false },
|
|
18
|
+
orderTypeName: { type: "string", columnKey: "orderType", filteringAvailable: false },
|
|
19
|
+
salesType: { type: "string", columnKey: "salePaymentType", filteringAvailable: false },
|
|
20
|
+
itemPrice: { type: "money", columnKey: "itemPrice" }
|
|
21
|
+
};
|
|
22
|
+
var SALES_BY_ITEM_DETAIL_AVAILABLE_COLUMNS = [
|
|
23
|
+
"businessDate",
|
|
24
|
+
"ticketClosedAt",
|
|
25
|
+
"hourId",
|
|
26
|
+
"daypartName",
|
|
27
|
+
"locationId",
|
|
28
|
+
"locationName",
|
|
29
|
+
"departmentName",
|
|
30
|
+
"itemName",
|
|
31
|
+
"revenueCenterName",
|
|
32
|
+
"revenueClassName",
|
|
33
|
+
"salesAmountGross",
|
|
34
|
+
"itemsQuantity",
|
|
35
|
+
"transactionId",
|
|
36
|
+
"guestsCount",
|
|
37
|
+
"employeeName",
|
|
38
|
+
"orderTypeName",
|
|
39
|
+
"salesType",
|
|
40
|
+
"itemPrice"
|
|
41
|
+
];
|
|
42
|
+
var salesByItemDetailConfig = {
|
|
43
|
+
fields: FIELDS,
|
|
44
|
+
availableColumns: SALES_BY_ITEM_DETAIL_AVAILABLE_COLUMNS,
|
|
45
|
+
defaultVisibleColumns: SALES_BY_ITEM_DETAIL_AVAILABLE_COLUMNS,
|
|
46
|
+
hasFooter: false
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
// src/reports/constants.ts
|
|
50
|
+
var FIRST_COLUMN_WIDTH = 240;
|
|
51
|
+
|
|
52
|
+
// src/reports/salesSummary.ts
|
|
53
|
+
var FIELDS2 = {
|
|
54
|
+
groupById: { type: "number" },
|
|
55
|
+
groupByName: { type: "string", size: FIRST_COLUMN_WIDTH },
|
|
56
|
+
salesAmountNet: { type: "money", columnKey: "netSales" },
|
|
57
|
+
salesVarLW: { type: "money", columnKey: "salesVarLw" },
|
|
58
|
+
salesVarLY: { type: "money", columnKey: "salesVarLy" },
|
|
59
|
+
salesVarLWPct: {
|
|
60
|
+
type: "percent",
|
|
61
|
+
columnKey: "salesVarLwPct",
|
|
62
|
+
footerCalculation: {
|
|
63
|
+
type: "variancePercent",
|
|
64
|
+
numeratorField: "salesVarLW",
|
|
65
|
+
denominatorField: "salesAmountNet"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
salesVarLYPct: {
|
|
69
|
+
type: "percent",
|
|
70
|
+
columnKey: "salesVarLyPct",
|
|
71
|
+
footerCalculation: {
|
|
72
|
+
type: "variancePercent",
|
|
73
|
+
numeratorField: "salesVarLY",
|
|
74
|
+
denominatorField: "salesAmountNet"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
salesAmountNetLastWeek: { type: "money" },
|
|
78
|
+
salesAmountNetLastYear: { type: "money" },
|
|
79
|
+
salesAmountGross: { type: "money" },
|
|
80
|
+
salesAmountGrossLastWeek: { type: "money" },
|
|
81
|
+
salesAmountGrossLastYear: { type: "money" },
|
|
82
|
+
ticketsCount: { type: "number" },
|
|
83
|
+
ticketsCountLastWeek: { type: "number" },
|
|
84
|
+
ticketsCountLastYear: { type: "number" },
|
|
85
|
+
guestsCount: { type: "number", columnKey: "guestCount" },
|
|
86
|
+
guestsVarLW: { type: "number", columnKey: "guestsVarLw" },
|
|
87
|
+
guestsVarLY: { type: "number", columnKey: "guestsVarLy" },
|
|
88
|
+
guestsVarLWPct: {
|
|
89
|
+
type: "percent",
|
|
90
|
+
columnKey: "guestsVarLwPct",
|
|
91
|
+
footerCalculation: {
|
|
92
|
+
type: "variancePercent",
|
|
93
|
+
numeratorField: "guestsVarLW",
|
|
94
|
+
denominatorField: "guestsCount"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
guestsVarLYPct: {
|
|
98
|
+
type: "percent",
|
|
99
|
+
columnKey: "guestsVarLyPct",
|
|
100
|
+
footerCalculation: {
|
|
101
|
+
type: "variancePercent",
|
|
102
|
+
numeratorField: "guestsVarLY",
|
|
103
|
+
denominatorField: "guestsCount"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
guestsCountLastWeek: { type: "number" },
|
|
107
|
+
guestsCountLastYear: { type: "number" },
|
|
108
|
+
salesPerGuestTY: {
|
|
109
|
+
type: "money",
|
|
110
|
+
columnKey: "salesPerGuest",
|
|
111
|
+
footerCalculation: {
|
|
112
|
+
type: "average",
|
|
113
|
+
numeratorField: "salesAmountNet",
|
|
114
|
+
denominatorField: "guestsCount"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
salesPerGuestLW: {
|
|
118
|
+
type: "money",
|
|
119
|
+
columnKey: "salesPerGuestLw",
|
|
120
|
+
footerCalculation: {
|
|
121
|
+
type: "quotientOfDifferences",
|
|
122
|
+
numeratorField: "salesAmountNet",
|
|
123
|
+
numeratorAdjustField: "salesVarLW",
|
|
124
|
+
denominatorField: "guestsCount",
|
|
125
|
+
denominatorAdjustField: "guestsVarLW"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
salesPerGuestLY: {
|
|
129
|
+
type: "money",
|
|
130
|
+
columnKey: "salesPerGuestLy",
|
|
131
|
+
footerCalculation: {
|
|
132
|
+
type: "quotientOfDifferences",
|
|
133
|
+
numeratorField: "salesAmountNet",
|
|
134
|
+
numeratorAdjustField: "salesVarLY",
|
|
135
|
+
denominatorField: "guestsCount",
|
|
136
|
+
denominatorAdjustField: "guestsVarLY"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
var COLUMN_GROUPS = [
|
|
141
|
+
{
|
|
142
|
+
id: "sales",
|
|
143
|
+
headerTranslationKey: "table.groups.sales",
|
|
144
|
+
baseFields: ["salesAmountNet"],
|
|
145
|
+
lastWeekFields: ["salesVarLW", "salesVarLWPct"],
|
|
146
|
+
lastYearFields: ["salesVarLY", "salesVarLYPct"]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
id: "guests",
|
|
150
|
+
headerTranslationKey: "table.groups.guests",
|
|
151
|
+
baseFields: ["guestsCount"],
|
|
152
|
+
lastWeekFields: ["guestsVarLW", "guestsVarLWPct"],
|
|
153
|
+
lastYearFields: ["guestsVarLY", "guestsVarLYPct"]
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
id: "salesPerGuest",
|
|
157
|
+
headerTranslationKey: "table.groups.sales-per-guest",
|
|
158
|
+
baseFields: ["salesPerGuestTY"],
|
|
159
|
+
lastWeekFields: ["salesPerGuestLW"],
|
|
160
|
+
lastYearFields: ["salesPerGuestLY"]
|
|
161
|
+
}
|
|
162
|
+
];
|
|
163
|
+
var SALES_SUMMARY_AVAILABLE_COLUMNS = [
|
|
164
|
+
"salesAmountNet",
|
|
165
|
+
"salesVarLW",
|
|
166
|
+
"salesVarLWPct",
|
|
167
|
+
"salesVarLY",
|
|
168
|
+
"salesVarLYPct",
|
|
169
|
+
"guestsCount",
|
|
170
|
+
"guestsVarLW",
|
|
171
|
+
"guestsVarLWPct",
|
|
172
|
+
"guestsVarLY",
|
|
173
|
+
"guestsVarLYPct",
|
|
174
|
+
"salesPerGuestTY",
|
|
175
|
+
"salesPerGuestLW",
|
|
176
|
+
"salesPerGuestLY"
|
|
177
|
+
];
|
|
178
|
+
var SALES_SUMMARY_DEFAULT_VISIBLE_COLUMNS = ["salesAmountNet", "guestsCount", "salesPerGuestTY"];
|
|
179
|
+
var salesSummaryConfig = {
|
|
180
|
+
fields: FIELDS2,
|
|
181
|
+
availableColumns: SALES_SUMMARY_AVAILABLE_COLUMNS,
|
|
182
|
+
defaultVisibleColumns: SALES_SUMMARY_DEFAULT_VISIBLE_COLUMNS,
|
|
183
|
+
columnGroups: COLUMN_GROUPS,
|
|
184
|
+
hasFooter: true
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
// src/reports/ticketSummary.ts
|
|
188
|
+
var FIELDS3 = {
|
|
189
|
+
ticketId: { type: "string" },
|
|
190
|
+
locationId: { type: "number" },
|
|
191
|
+
orderName: { type: "string" },
|
|
192
|
+
revenueCenterName: { type: "string", columnKey: "revenueCenter" },
|
|
193
|
+
daypartName: { type: "string", columnKey: "daypart" },
|
|
194
|
+
inclusiveTaxesAmount: {
|
|
195
|
+
type: "money",
|
|
196
|
+
columnKey: "inclusiveTax",
|
|
197
|
+
footerCalculation: { type: "sum" }
|
|
198
|
+
},
|
|
199
|
+
locationName: { type: "string", size: 240, columnKey: "locationName" },
|
|
200
|
+
orderNumber: { type: "number", columnKey: "ticketNumber", footerCalculation: { type: "none" } },
|
|
201
|
+
businessDate: { type: "date", columnKey: "date" },
|
|
202
|
+
ticketOpenedAt: { type: "time", columnKey: "ticketOpen" },
|
|
203
|
+
ticketClosedAt: { type: "time", columnKey: "ticketClosed" },
|
|
204
|
+
ticketTime: { type: "number", columnKey: "timeOpenMins", enableSorting: false },
|
|
205
|
+
ticketSubtotal: {
|
|
206
|
+
type: "money",
|
|
207
|
+
columnKey: "subtotal",
|
|
208
|
+
footerCalculation: { type: "sum" }
|
|
209
|
+
},
|
|
210
|
+
discountsAmount: {
|
|
211
|
+
type: "money",
|
|
212
|
+
columnKey: "discountAmount",
|
|
213
|
+
footerCalculation: { type: "sum" }
|
|
214
|
+
},
|
|
215
|
+
surchargesAmount: {
|
|
216
|
+
type: "money",
|
|
217
|
+
columnKey: "ticketFee",
|
|
218
|
+
footerCalculation: { type: "sum" }
|
|
219
|
+
},
|
|
220
|
+
taxesAmount: {
|
|
221
|
+
type: "money",
|
|
222
|
+
columnKey: "taxCollected",
|
|
223
|
+
footerCalculation: { type: "sum" }
|
|
224
|
+
},
|
|
225
|
+
ticketGrandTotal: {
|
|
226
|
+
type: "money",
|
|
227
|
+
columnKey: "grandTotal",
|
|
228
|
+
footerCalculation: { type: "sum" }
|
|
229
|
+
},
|
|
230
|
+
gratuitiesAmount: {
|
|
231
|
+
type: "money",
|
|
232
|
+
columnKey: "autoGratuity",
|
|
233
|
+
footerCalculation: { type: "sum" }
|
|
234
|
+
},
|
|
235
|
+
tipAmount: {
|
|
236
|
+
type: "money",
|
|
237
|
+
columnKey: "tips",
|
|
238
|
+
footerCalculation: { type: "sum" }
|
|
239
|
+
},
|
|
240
|
+
paymentsAmount: {
|
|
241
|
+
type: "money",
|
|
242
|
+
columnKey: "totalCollected",
|
|
243
|
+
footerCalculation: { type: "sum" }
|
|
244
|
+
},
|
|
245
|
+
paymentTypeName: { type: "string", columnKey: "paymentType" },
|
|
246
|
+
guestsCount: {
|
|
247
|
+
type: "number",
|
|
248
|
+
columnKey: "guestCount",
|
|
249
|
+
footerCalculation: { type: "sum" }
|
|
250
|
+
},
|
|
251
|
+
employeeName: { type: "string", columnKey: "employeeName" },
|
|
252
|
+
orderTypeName: { type: "string", columnKey: "orderType" }
|
|
253
|
+
};
|
|
254
|
+
var TICKET_SUMMARY_AVAILABLE_COLUMNS = [
|
|
255
|
+
"locationName",
|
|
256
|
+
"businessDate",
|
|
257
|
+
"ticketOpenedAt",
|
|
258
|
+
"ticketClosedAt",
|
|
259
|
+
"ticketTime",
|
|
260
|
+
"ticketSubtotal",
|
|
261
|
+
"discountsAmount",
|
|
262
|
+
"surchargesAmount",
|
|
263
|
+
"taxesAmount",
|
|
264
|
+
"ticketGrandTotal",
|
|
265
|
+
"gratuitiesAmount",
|
|
266
|
+
"tipAmount",
|
|
267
|
+
"paymentsAmount",
|
|
268
|
+
"paymentTypeName",
|
|
269
|
+
"guestsCount",
|
|
270
|
+
"employeeName",
|
|
271
|
+
"orderTypeName"
|
|
272
|
+
];
|
|
273
|
+
var ticketSummaryConfig = {
|
|
274
|
+
fields: FIELDS3,
|
|
275
|
+
availableColumns: TICKET_SUMMARY_AVAILABLE_COLUMNS,
|
|
276
|
+
defaultVisibleColumns: TICKET_SUMMARY_AVAILABLE_COLUMNS,
|
|
277
|
+
hasFooter: true
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
// src/reports/ticketLive.ts
|
|
281
|
+
var FIELDS4 = {
|
|
282
|
+
locationName: { type: "string", columnKey: "locationName" },
|
|
283
|
+
orderNumber: {
|
|
284
|
+
type: "number",
|
|
285
|
+
columnKey: "ticketNumber",
|
|
286
|
+
footerCalculation: { type: "none" }
|
|
287
|
+
},
|
|
288
|
+
dateOpen: { type: "string", columnKey: "date" },
|
|
289
|
+
timeOpen: { type: "string", columnKey: "ticketOpen" },
|
|
290
|
+
dateClose: { type: "string", columnKey: "dateClose" },
|
|
291
|
+
timeClose: { type: "string", columnKey: "ticketClosed" },
|
|
292
|
+
durationMinutes: { type: "number", columnKey: "timeOpenMins" },
|
|
293
|
+
subtotal: { type: "money", columnKey: "subtotal" },
|
|
294
|
+
discountTotal: { type: "money", columnKey: "discountAmount" },
|
|
295
|
+
surchargeTotal: { type: "money", columnKey: "ticketFee" },
|
|
296
|
+
taxTotal: { type: "money", columnKey: "taxCollected" },
|
|
297
|
+
grandTotal: { type: "money", columnKey: "grandTotal" },
|
|
298
|
+
gratuityTotal: { type: "money", columnKey: "autoGratuity" },
|
|
299
|
+
totalTips: { type: "money", columnKey: "totalTips" },
|
|
300
|
+
paymentsReceived: { type: "money", columnKey: "totalCollected" },
|
|
301
|
+
paymentTypeName: { type: "string", columnKey: "paymentType" },
|
|
302
|
+
guestCount: {
|
|
303
|
+
type: "number",
|
|
304
|
+
columnKey: "guestCount",
|
|
305
|
+
footerCalculation: { type: "sum" }
|
|
306
|
+
},
|
|
307
|
+
customerName: { type: "string", columnKey: "customerName" },
|
|
308
|
+
employeeName: { type: "string", columnKey: "employeeName" },
|
|
309
|
+
orderType: { type: "string", columnKey: "orderType" }
|
|
310
|
+
};
|
|
311
|
+
var TICKET_LIVE_AVAILABLE_COLUMNS = [
|
|
312
|
+
"locationName",
|
|
313
|
+
"orderNumber",
|
|
314
|
+
"dateOpen",
|
|
315
|
+
"timeOpen",
|
|
316
|
+
"timeClose",
|
|
317
|
+
"durationMinutes",
|
|
318
|
+
"subtotal",
|
|
319
|
+
"discountTotal",
|
|
320
|
+
"surchargeTotal",
|
|
321
|
+
"taxTotal",
|
|
322
|
+
"grandTotal",
|
|
323
|
+
"gratuityTotal",
|
|
324
|
+
"totalTips",
|
|
325
|
+
"paymentsReceived",
|
|
326
|
+
"paymentTypeName",
|
|
327
|
+
"guestCount",
|
|
328
|
+
"employeeName",
|
|
329
|
+
"orderType"
|
|
330
|
+
];
|
|
331
|
+
var ticketLiveConfig = {
|
|
332
|
+
fields: FIELDS4,
|
|
333
|
+
availableColumns: TICKET_LIVE_AVAILABLE_COLUMNS,
|
|
334
|
+
defaultVisibleColumns: TICKET_LIVE_AVAILABLE_COLUMNS,
|
|
335
|
+
hasFooter: true
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
// src/reports/productMix.ts
|
|
339
|
+
var FIELDS5 = {
|
|
340
|
+
groupById: { type: "string" },
|
|
341
|
+
groupByName: { type: "string", size: FIRST_COLUMN_WIDTH },
|
|
342
|
+
salesAmountGross: { type: "money", columnKey: "grossSales" },
|
|
343
|
+
discountsAmount: { type: "money", columnKey: "discountAmount" },
|
|
344
|
+
inclusiveTaxesAmount: { type: "money", columnKey: "inclusiveTax" },
|
|
345
|
+
salesAmountNet: { type: "money", columnKey: "netSales" },
|
|
346
|
+
itemsQuantity: { type: "fixedNumber", columnKey: "quantity" },
|
|
347
|
+
avgPrice: {
|
|
348
|
+
type: "money",
|
|
349
|
+
columnKey: "averageGrossPrice",
|
|
350
|
+
footerCalculation: {
|
|
351
|
+
type: "average",
|
|
352
|
+
numeratorField: "salesAmountGross",
|
|
353
|
+
denominatorField: "itemsQuantity"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
salesMixPct: { type: "percent", columnKey: "salesMixByPct" }
|
|
357
|
+
};
|
|
358
|
+
var PRODUCT_MIX_AVAILABLE_COLUMNS = [
|
|
359
|
+
"salesAmountGross",
|
|
360
|
+
"itemsQuantity",
|
|
361
|
+
"avgPrice",
|
|
362
|
+
"discountsAmount",
|
|
363
|
+
"inclusiveTaxesAmount",
|
|
364
|
+
"salesAmountNet",
|
|
365
|
+
"salesMixPct"
|
|
366
|
+
];
|
|
367
|
+
var productMixConfig = {
|
|
368
|
+
fields: FIELDS5,
|
|
369
|
+
availableColumns: PRODUCT_MIX_AVAILABLE_COLUMNS,
|
|
370
|
+
defaultVisibleColumns: PRODUCT_MIX_AVAILABLE_COLUMNS,
|
|
371
|
+
chartFields: PRODUCT_MIX_AVAILABLE_COLUMNS,
|
|
372
|
+
hasFooter: true
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
// src/reports/modifierMix.ts
|
|
376
|
+
var FIELDS6 = {
|
|
377
|
+
groupById: { type: "string", filteringAvailable: false },
|
|
378
|
+
groupByName: { type: "string", size: FIRST_COLUMN_WIDTH, filteringAvailable: false },
|
|
379
|
+
groupById2: { type: "string", filteringAvailable: false },
|
|
380
|
+
groupByName2: { type: "string", size: FIRST_COLUMN_WIDTH, filteringAvailable: false },
|
|
381
|
+
modifiersSales: { type: "money", columnKey: "totalModifierSales" },
|
|
382
|
+
modifiersQuantity: { type: "number", columnKey: "modifierQuantity" },
|
|
383
|
+
itemsQuantity: {
|
|
384
|
+
type: "number",
|
|
385
|
+
columnKey: "quantity",
|
|
386
|
+
filteringAvailable: false
|
|
387
|
+
},
|
|
388
|
+
avgGross: {
|
|
389
|
+
type: "money",
|
|
390
|
+
columnKey: "averageGrossPrice",
|
|
391
|
+
footerCalculation: {
|
|
392
|
+
type: "average",
|
|
393
|
+
numeratorField: "modifiersSales",
|
|
394
|
+
denominatorField: "modifiersQuantity"
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
attachRate: {
|
|
398
|
+
type: "percent",
|
|
399
|
+
columnKey: "attachRate",
|
|
400
|
+
footerCalculation: {
|
|
401
|
+
type: "average",
|
|
402
|
+
numeratorField: "modifiersQuantity",
|
|
403
|
+
denominatorField: "itemsQuantity"
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
modifiersSalesComp: { type: "money", filteringAvailable: false },
|
|
407
|
+
modifiersQuantityComp: { type: "number", filteringAvailable: false },
|
|
408
|
+
itemsQuantityComp: { type: "number", filteringAvailable: false },
|
|
409
|
+
attachRateComp: { type: "percent", filteringAvailable: false },
|
|
410
|
+
modifiersSalesVar: { type: "money", filteringAvailable: false },
|
|
411
|
+
modifiersSalesVarPct: {
|
|
412
|
+
type: "percent",
|
|
413
|
+
filteringAvailable: false,
|
|
414
|
+
footerCalculation: {
|
|
415
|
+
type: "percentChange",
|
|
416
|
+
numeratorField: "modifiersSales",
|
|
417
|
+
denominatorField: "modifiersSalesComp"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
modifiersQuantityVar: { type: "number", filteringAvailable: false },
|
|
421
|
+
modifiersQuantityVarPct: {
|
|
422
|
+
type: "percent",
|
|
423
|
+
filteringAvailable: false,
|
|
424
|
+
footerCalculation: {
|
|
425
|
+
type: "percentChange",
|
|
426
|
+
numeratorField: "modifiersQuantity",
|
|
427
|
+
denominatorField: "modifiersQuantityComp"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
attachRateVar: { type: "percent", filteringAvailable: false },
|
|
431
|
+
attachRateVarPct: {
|
|
432
|
+
type: "percent",
|
|
433
|
+
filteringAvailable: false,
|
|
434
|
+
footerCalculation: {
|
|
435
|
+
type: "percentChange",
|
|
436
|
+
numeratorField: "attachRate",
|
|
437
|
+
denominatorField: "attachRateComp"
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
};
|
|
441
|
+
var MODIFIER_MIX_AVAILABLE_COLUMNS = ["modifiersSales", "modifiersQuantity", "avgGross"];
|
|
442
|
+
var modifierMixConfig = {
|
|
443
|
+
fields: FIELDS6,
|
|
444
|
+
availableColumns: MODIFIER_MIX_AVAILABLE_COLUMNS,
|
|
445
|
+
defaultVisibleColumns: MODIFIER_MIX_AVAILABLE_COLUMNS,
|
|
446
|
+
hasFooter: true
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
// src/reports/itemTax.ts
|
|
450
|
+
var FIELDS7 = {
|
|
451
|
+
locationId: { type: "number", filteringAvailable: false },
|
|
452
|
+
taxIsFlat: { type: "boolean", filteringAvailable: false },
|
|
453
|
+
merchantId: { type: "string", columnKey: "locationMid", filteringAvailable: false },
|
|
454
|
+
locationName: { type: "string", columnKey: "locationName", filteringAvailable: false },
|
|
455
|
+
locationCity: { type: "string", columnKey: "locationCity", filteringAvailable: false },
|
|
456
|
+
locationState: { type: "string", columnKey: "locationState", filteringAvailable: false },
|
|
457
|
+
itemName: { type: "string", columnKey: "itemName", filteringAvailable: false },
|
|
458
|
+
itemPrice: { type: "money", columnKey: "itemPrice" },
|
|
459
|
+
departmentName: { type: "string", columnKey: "department", filteringAvailable: false },
|
|
460
|
+
revenueClassName: { type: "string", columnKey: "revenueClass", filteringAvailable: false },
|
|
461
|
+
orderTypeName: { type: "string", columnKey: "orderType", filteringAvailable: false },
|
|
462
|
+
taxName: { type: "string", columnKey: "taxName", filteringAvailable: false },
|
|
463
|
+
taxValue: { type: "money", columnKey: "taxableSales" },
|
|
464
|
+
taxRate: {
|
|
465
|
+
type: "conditional",
|
|
466
|
+
columnKey: "taxRate",
|
|
467
|
+
conditionalConfiguration: {
|
|
468
|
+
conditionalField: "taxIsFlat",
|
|
469
|
+
conditionalFormat: (field) => {
|
|
470
|
+
return field ? "money" : "percent";
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
recordsCount: { type: "number", columnKey: "quantity" },
|
|
475
|
+
taxableSales: { type: "money", columnKey: "taxableSales" },
|
|
476
|
+
totalCollected: { type: "money", columnKey: "totalCollected" },
|
|
477
|
+
itemTax: { type: "money", columnKey: "taxCollected" },
|
|
478
|
+
taxCollected: { type: "money", columnKey: "taxCollected" }
|
|
479
|
+
};
|
|
480
|
+
var ITEM_TAX_AVAILABLE_COLUMNS = [
|
|
481
|
+
"merchantId",
|
|
482
|
+
"locationName",
|
|
483
|
+
"locationCity",
|
|
484
|
+
"locationState",
|
|
485
|
+
"itemName",
|
|
486
|
+
"departmentName",
|
|
487
|
+
"revenueClassName",
|
|
488
|
+
"orderTypeName",
|
|
489
|
+
"recordsCount",
|
|
490
|
+
"itemPrice",
|
|
491
|
+
"taxName",
|
|
492
|
+
"taxRate",
|
|
493
|
+
"taxableSales",
|
|
494
|
+
"taxCollected"
|
|
495
|
+
];
|
|
496
|
+
var itemTaxConfig = {
|
|
497
|
+
fields: FIELDS7,
|
|
498
|
+
availableColumns: ITEM_TAX_AVAILABLE_COLUMNS,
|
|
499
|
+
defaultVisibleColumns: ITEM_TAX_AVAILABLE_COLUMNS,
|
|
500
|
+
hasFooter: false
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
// src/reports/employeeTimecard.ts
|
|
504
|
+
var EMPLOYEE_NAME_WIDTH = 220;
|
|
505
|
+
var STATUS_WIDTH = 140;
|
|
506
|
+
var LOOKUP_WIDTH = 160;
|
|
507
|
+
var PAYROLL_WIDTH = 160;
|
|
508
|
+
var JOB_WIDTH = 200;
|
|
509
|
+
var FIELDS8 = {
|
|
510
|
+
locationId: {
|
|
511
|
+
type: "number",
|
|
512
|
+
enableSorting: false,
|
|
513
|
+
filteringAvailable: false
|
|
514
|
+
},
|
|
515
|
+
locationName: {
|
|
516
|
+
type: "string",
|
|
517
|
+
size: FIRST_COLUMN_WIDTH,
|
|
518
|
+
columnKey: "locationName"
|
|
519
|
+
},
|
|
520
|
+
businessDate: {
|
|
521
|
+
type: "date",
|
|
522
|
+
columnKey: "date"
|
|
523
|
+
},
|
|
524
|
+
employeeName: {
|
|
525
|
+
type: "string",
|
|
526
|
+
size: EMPLOYEE_NAME_WIDTH,
|
|
527
|
+
columnKey: "employeeName"
|
|
528
|
+
},
|
|
529
|
+
isActive: {
|
|
530
|
+
type: "string",
|
|
531
|
+
size: STATUS_WIDTH,
|
|
532
|
+
columnKey: "status",
|
|
533
|
+
enableSorting: false,
|
|
534
|
+
filteringAvailable: false
|
|
535
|
+
},
|
|
536
|
+
lookup: {
|
|
537
|
+
type: "string",
|
|
538
|
+
size: LOOKUP_WIDTH,
|
|
539
|
+
columnKey: "employeeId"
|
|
540
|
+
},
|
|
541
|
+
payrollCode: {
|
|
542
|
+
type: "string",
|
|
543
|
+
size: PAYROLL_WIDTH,
|
|
544
|
+
columnKey: "payrollId"
|
|
545
|
+
},
|
|
546
|
+
jobName: {
|
|
547
|
+
type: "string",
|
|
548
|
+
size: JOB_WIDTH,
|
|
549
|
+
columnKey: "employeeJob"
|
|
550
|
+
},
|
|
551
|
+
isBreak: {
|
|
552
|
+
type: "string",
|
|
553
|
+
enableSorting: false,
|
|
554
|
+
filteringAvailable: false
|
|
555
|
+
},
|
|
556
|
+
startTime: {
|
|
557
|
+
type: "string",
|
|
558
|
+
columnKey: "clockInTime"
|
|
559
|
+
},
|
|
560
|
+
endTime: {
|
|
561
|
+
type: "string",
|
|
562
|
+
columnKey: "clockOutTime"
|
|
563
|
+
},
|
|
564
|
+
shiftHours: {
|
|
565
|
+
type: "fixedNumber",
|
|
566
|
+
columnKey: "shiftDurationHrs",
|
|
567
|
+
filteringAvailable: false
|
|
568
|
+
}
|
|
569
|
+
};
|
|
570
|
+
var EMPLOYEE_TIMECARD_AVAILABLE_COLUMNS = [
|
|
571
|
+
"locationName",
|
|
572
|
+
"businessDate",
|
|
573
|
+
"isActive",
|
|
574
|
+
"lookup",
|
|
575
|
+
"payrollCode",
|
|
576
|
+
"jobName",
|
|
577
|
+
"startTime",
|
|
578
|
+
"endTime",
|
|
579
|
+
"shiftHours"
|
|
580
|
+
];
|
|
581
|
+
var employeeTimecardConfig = {
|
|
582
|
+
fields: FIELDS8,
|
|
583
|
+
availableColumns: EMPLOYEE_TIMECARD_AVAILABLE_COLUMNS,
|
|
584
|
+
defaultVisibleColumns: EMPLOYEE_TIMECARD_AVAILABLE_COLUMNS,
|
|
585
|
+
hasFooter: true
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
// src/reports/employeeTip.ts
|
|
589
|
+
var FIELDS9 = {
|
|
590
|
+
employeeName: { type: "string", size: 220, columnKey: "employeeName" },
|
|
591
|
+
empId: { type: "string", size: 160, columnKey: "employeeId" },
|
|
592
|
+
payrollId: { type: "string", size: 160, columnKey: "payrollId" },
|
|
593
|
+
locationName: { type: "string", size: 220, columnKey: "locationName" },
|
|
594
|
+
status: { type: "string", size: 140, columnKey: "status" },
|
|
595
|
+
grossSales: { type: "money", columnKey: "grossSales", footerCalculation: { type: "sum" } },
|
|
596
|
+
grossCash: { type: "money", columnKey: "grossCashSales", footerCalculation: { type: "sum" } },
|
|
597
|
+
grossCc: { type: "money", columnKey: "grossCreditSales", footerCalculation: { type: "sum" } },
|
|
598
|
+
totalPayments: { type: "money", columnKey: "totalCollected", footerCalculation: { type: "sum" } },
|
|
599
|
+
autoGratuity: { type: "money", columnKey: "autoGratuity", footerCalculation: { type: "sum" } },
|
|
600
|
+
grossTips: { type: "money", columnKey: "grossTips", footerCalculation: { type: "sum" } },
|
|
601
|
+
declaredTips: { type: "money", columnKey: "declaredTips", footerCalculation: { type: "sum" } },
|
|
602
|
+
tipReduction: { type: "money", columnKey: "tipReduction", footerCalculation: { type: "sum" } },
|
|
603
|
+
tipShare: { type: "money", columnKey: "tipShare", footerCalculation: { type: "sum" } },
|
|
604
|
+
netTips: { type: "money", columnKey: "tips", footerCalculation: { type: "sum" } },
|
|
605
|
+
tipPercentage: {
|
|
606
|
+
type: "percent",
|
|
607
|
+
columnKey: "tipPct",
|
|
608
|
+
footerCalculation: { type: "average", numeratorField: "grossTips", denominatorField: "grossSales" }
|
|
609
|
+
}
|
|
610
|
+
};
|
|
611
|
+
var AVAILABLE_COLUMNS = [
|
|
612
|
+
"employeeName",
|
|
613
|
+
"empId",
|
|
614
|
+
"payrollId",
|
|
615
|
+
"locationName",
|
|
616
|
+
"status",
|
|
617
|
+
"grossSales",
|
|
618
|
+
"grossCash",
|
|
619
|
+
"grossCc",
|
|
620
|
+
"totalPayments",
|
|
621
|
+
"autoGratuity",
|
|
622
|
+
"grossTips",
|
|
623
|
+
"declaredTips",
|
|
624
|
+
"tipReduction",
|
|
625
|
+
"tipShare",
|
|
626
|
+
"netTips",
|
|
627
|
+
"tipPercentage"
|
|
628
|
+
];
|
|
629
|
+
var employeeTipConfig = {
|
|
630
|
+
fields: FIELDS9,
|
|
631
|
+
availableColumns: AVAILABLE_COLUMNS,
|
|
632
|
+
defaultVisibleColumns: AVAILABLE_COLUMNS,
|
|
633
|
+
hasFooter: true
|
|
634
|
+
};
|
|
635
|
+
|
|
636
|
+
// src/reports/dailySales.ts
|
|
637
|
+
var FIELDS10 = {
|
|
638
|
+
groupById: { type: "string" },
|
|
639
|
+
groupByName: { type: "string", size: FIRST_COLUMN_WIDTH },
|
|
640
|
+
itemsQuantity: { type: "number", columnKey: "quantity" },
|
|
641
|
+
salesAmountGross: { type: "money", columnKey: "grossSales" },
|
|
642
|
+
discountsAmount: { type: "money", columnKey: "discountAmount" },
|
|
643
|
+
inclusiveTaxesAmount: { type: "money", columnKey: "inclusiveTax" },
|
|
644
|
+
salesAmountNet: { type: "money", columnKey: "netSales" },
|
|
645
|
+
salesMixPct: { type: "percent", columnKey: "salesMixByPct" }
|
|
646
|
+
};
|
|
647
|
+
var DAILY_SALES_AVAILABLE_COLUMNS = [
|
|
648
|
+
"itemsQuantity",
|
|
649
|
+
"salesAmountGross",
|
|
650
|
+
"discountsAmount",
|
|
651
|
+
"inclusiveTaxesAmount",
|
|
652
|
+
"salesAmountNet",
|
|
653
|
+
"salesMixPct"
|
|
654
|
+
];
|
|
655
|
+
var dailySalesConfig = {
|
|
656
|
+
fields: FIELDS10,
|
|
657
|
+
availableColumns: DAILY_SALES_AVAILABLE_COLUMNS,
|
|
658
|
+
defaultVisibleColumns: DAILY_SALES_AVAILABLE_COLUMNS,
|
|
659
|
+
hasFooter: true,
|
|
660
|
+
dataAccessKey: "salesByRevClass",
|
|
661
|
+
sectionName: "common.report-section.revenue-class",
|
|
662
|
+
extraFooterRowsKey: "salesByRevClassFooter"
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
// src/reports/dailySalesCache.ts
|
|
666
|
+
var FIELDS11 = {
|
|
667
|
+
name: { type: "string", columnKey: "type", size: FIRST_COLUMN_WIDTH },
|
|
668
|
+
amount: { type: "money", columnKey: "paymentsAmount", footerCalculation: { type: "sum" } }
|
|
669
|
+
};
|
|
670
|
+
var dailySalesCacheConfig = {
|
|
671
|
+
fields: FIELDS11,
|
|
672
|
+
availableColumns: ["name", "amount"],
|
|
673
|
+
defaultVisibleColumns: ["name", "amount"],
|
|
674
|
+
hasFooter: true,
|
|
675
|
+
dataAccessKey: "cashPayments",
|
|
676
|
+
sectionName: "common.report-section.cash"
|
|
677
|
+
};
|
|
678
|
+
|
|
679
|
+
// src/reports/dailySalesDiscounts.ts
|
|
680
|
+
var FIELDS12 = {
|
|
681
|
+
discountName: { type: "string", columnKey: "discountName", size: FIRST_COLUMN_WIDTH },
|
|
682
|
+
ticketCount: { type: "number", columnKey: "ticketCount", footerCalculation: { type: "sum" } },
|
|
683
|
+
itemCount: { type: "number", columnKey: "itemCount", footerCalculation: { type: "sum" } },
|
|
684
|
+
discountsAmount: { type: "money", columnKey: "discountAmount", footerCalculation: { type: "sum" } }
|
|
685
|
+
};
|
|
686
|
+
var DAILY_SALES_DISCOUNTS_AVAILABLE_COLUMNS = [
|
|
687
|
+
"discountName",
|
|
688
|
+
"ticketCount",
|
|
689
|
+
"itemCount",
|
|
690
|
+
"discountsAmount"
|
|
691
|
+
];
|
|
692
|
+
var dailySalesDiscountsConfig = {
|
|
693
|
+
fields: FIELDS12,
|
|
694
|
+
availableColumns: DAILY_SALES_DISCOUNTS_AVAILABLE_COLUMNS,
|
|
695
|
+
defaultVisibleColumns: DAILY_SALES_DISCOUNTS_AVAILABLE_COLUMNS,
|
|
696
|
+
hasFooter: true,
|
|
697
|
+
dataAccessKey: "discounts",
|
|
698
|
+
sectionName: "common.report-section.discounts"
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
// src/reports/dailySalesPayments.ts
|
|
702
|
+
var FIELDS13 = {
|
|
703
|
+
paymentTypeName: { type: "string", size: FIRST_COLUMN_WIDTH },
|
|
704
|
+
paymentsCount: { type: "number", columnKey: "paymentsCount", footerCalculation: { type: "sum" } },
|
|
705
|
+
paymentsAmount: { type: "money", columnKey: "paymentsAmount", footerCalculation: { type: "sum" } },
|
|
706
|
+
tipsAmount: { type: "money", columnKey: "tips", footerCalculation: { type: "sum" } },
|
|
707
|
+
totalSales: { type: "money", columnKey: "paymentsTotal", footerCalculation: { type: "sum" } }
|
|
708
|
+
};
|
|
709
|
+
var DAILY_SALES_PAYMENTS_AVAILABLE_COLUMNS = [
|
|
710
|
+
"paymentTypeName",
|
|
711
|
+
"paymentsCount",
|
|
712
|
+
"paymentsAmount",
|
|
713
|
+
"tipsAmount",
|
|
714
|
+
"totalSales"
|
|
715
|
+
];
|
|
716
|
+
var dailySalesPaymentsConfig = {
|
|
717
|
+
fields: FIELDS13,
|
|
718
|
+
availableColumns: DAILY_SALES_PAYMENTS_AVAILABLE_COLUMNS,
|
|
719
|
+
defaultVisibleColumns: DAILY_SALES_PAYMENTS_AVAILABLE_COLUMNS,
|
|
720
|
+
hasFooter: true,
|
|
721
|
+
dataAccessKey: "payments",
|
|
722
|
+
sectionName: "common.report-section.payments"
|
|
723
|
+
};
|
|
724
|
+
|
|
725
|
+
// src/reports/dailySalesRefundsVoids.ts
|
|
726
|
+
var FIELDS14 = {
|
|
727
|
+
description: { type: "string", columnKey: "refundVoidDescription", size: FIRST_COLUMN_WIDTH },
|
|
728
|
+
count: { type: "number", columnKey: "refundVoidCount", footerCalculation: { type: "sum" } },
|
|
729
|
+
amount: { type: "money", columnKey: "refundVoidAmount", footerCalculation: { type: "sum" } },
|
|
730
|
+
pctSales: { type: "percent", columnKey: "refundVoidPctSales", footerCalculation: { type: "sum" } }
|
|
731
|
+
};
|
|
732
|
+
var DAILY_SALES_REFUNDS_VOIDS_AVAILABLE_COLUMNS = [
|
|
733
|
+
"description",
|
|
734
|
+
"count",
|
|
735
|
+
"amount",
|
|
736
|
+
"pctSales"
|
|
737
|
+
];
|
|
738
|
+
var dailySalesRefundsVoidsConfig = {
|
|
739
|
+
fields: FIELDS14,
|
|
740
|
+
availableColumns: DAILY_SALES_REFUNDS_VOIDS_AVAILABLE_COLUMNS,
|
|
741
|
+
defaultVisibleColumns: DAILY_SALES_REFUNDS_VOIDS_AVAILABLE_COLUMNS,
|
|
742
|
+
hasFooter: true,
|
|
743
|
+
dataAccessKey: "refundsVoids",
|
|
744
|
+
sectionName: "common.report-section.refunds-voids"
|
|
745
|
+
};
|
|
746
|
+
|
|
747
|
+
// src/reports/dailySalesTaxes.ts
|
|
748
|
+
var FIELDS15 = {
|
|
749
|
+
taxName: { type: "string", columnKey: "taxName", size: FIRST_COLUMN_WIDTH },
|
|
750
|
+
taxableSales: { type: "money", columnKey: "taxableSales", footerCalculation: { type: "none" } },
|
|
751
|
+
taxesAmount: { type: "money", columnKey: "taxCollected", footerCalculation: { type: "sum" } },
|
|
752
|
+
exemptSales: { type: "money", columnKey: "exemptSales", footerCalculation: { type: "sum" } }
|
|
753
|
+
};
|
|
754
|
+
var DAILY_SALES_TAXES_AVAILABLE_COLUMNS = [
|
|
755
|
+
"taxName",
|
|
756
|
+
"taxableSales",
|
|
757
|
+
"taxesAmount",
|
|
758
|
+
"exemptSales"
|
|
759
|
+
];
|
|
760
|
+
var dailySalesTaxesConfig = {
|
|
761
|
+
fields: FIELDS15,
|
|
762
|
+
availableColumns: DAILY_SALES_TAXES_AVAILABLE_COLUMNS,
|
|
763
|
+
defaultVisibleColumns: DAILY_SALES_TAXES_AVAILABLE_COLUMNS,
|
|
764
|
+
hasFooter: true,
|
|
765
|
+
dataAccessKey: "taxes",
|
|
766
|
+
sectionName: "common.report-section.taxes"
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
// src/reports/dailySalesTrends.ts
|
|
770
|
+
var FIELDS16 = {
|
|
771
|
+
groupById: { type: "string" },
|
|
772
|
+
groupByName: { type: "string", size: FIRST_COLUMN_WIDTH },
|
|
773
|
+
salesAmountNet: { type: "money", columnKey: "netSales" },
|
|
774
|
+
ticketsCount: { type: "number", columnKey: "tickets" },
|
|
775
|
+
guestsCount: { type: "number", columnKey: "guests" },
|
|
776
|
+
ticketAvg: {
|
|
777
|
+
type: "money",
|
|
778
|
+
columnKey: "ticketAverage",
|
|
779
|
+
footerCalculation: {
|
|
780
|
+
type: "average",
|
|
781
|
+
numeratorField: "salesAmountNet",
|
|
782
|
+
denominatorField: "ticketsCount"
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
guestAvg: {
|
|
786
|
+
type: "money",
|
|
787
|
+
columnKey: "guestAverage",
|
|
788
|
+
footerCalculation: {
|
|
789
|
+
type: "average",
|
|
790
|
+
numeratorField: "salesAmountNet",
|
|
791
|
+
denominatorField: "guestsCount"
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
};
|
|
795
|
+
var DAILY_SALES_TRENDS_AVAILABLE_COLUMNS = [
|
|
796
|
+
"ticketsCount",
|
|
797
|
+
"guestsCount",
|
|
798
|
+
"ticketAvg",
|
|
799
|
+
"guestAvg",
|
|
800
|
+
"salesAmountNet"
|
|
801
|
+
];
|
|
802
|
+
var dailySalesTrendsConfig = {
|
|
803
|
+
fields: FIELDS16,
|
|
804
|
+
availableColumns: DAILY_SALES_TRENDS_AVAILABLE_COLUMNS,
|
|
805
|
+
defaultVisibleColumns: DAILY_SALES_TRENDS_AVAILABLE_COLUMNS,
|
|
806
|
+
hasFooter: true,
|
|
807
|
+
dataAccessKey: "trendsByDayPart",
|
|
808
|
+
sectionName: "common.report-section.sales-by-day-part",
|
|
809
|
+
totalsLabel: "common.report-section.trends-footer.total-sales",
|
|
810
|
+
extraFooterFields: ["salesAmountNet"]
|
|
811
|
+
};
|
|
812
|
+
var dailySalesTrendsOrderTypeConfig = {
|
|
813
|
+
fields: FIELDS16,
|
|
814
|
+
availableColumns: DAILY_SALES_TRENDS_AVAILABLE_COLUMNS,
|
|
815
|
+
defaultVisibleColumns: DAILY_SALES_TRENDS_AVAILABLE_COLUMNS,
|
|
816
|
+
hasFooter: true,
|
|
817
|
+
dataAccessKey: "trendsByOrderType",
|
|
818
|
+
sectionName: "common.report-section.sales-by-order-type",
|
|
819
|
+
totalsLabel: "common.report-section.trends-footer.total-sales",
|
|
820
|
+
extraFooterFields: ["salesAmountNet"]
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
// src/report.ts
|
|
824
|
+
var Report = {
|
|
825
|
+
TICKET_LIVE: "ticket-live",
|
|
826
|
+
TICKET_ANALYTICS: "ticket-analytics",
|
|
827
|
+
SALES_SUMMARY: "sales-summary",
|
|
828
|
+
PRODUCT_MIX: "product-mix",
|
|
829
|
+
MODIFIER_MIX: "modifier-mix",
|
|
830
|
+
ITEM_TAX: "item-tax",
|
|
831
|
+
EMPLOYEE_TIMECARD: "employee-timecard",
|
|
832
|
+
EMPLOYEE_TIP: "employee-tip",
|
|
833
|
+
SALES_BY_ITEM: "sales-by-item",
|
|
834
|
+
DAILY_SALES: "daily-sales",
|
|
835
|
+
DAILY_SALES_LIVE: "daily-sales-live"
|
|
836
|
+
};
|
|
837
|
+
var DAILY_SALES_SECTION_CONFIGS = [
|
|
838
|
+
dailySalesConfig,
|
|
839
|
+
dailySalesPaymentsConfig,
|
|
840
|
+
dailySalesCacheConfig,
|
|
841
|
+
dailySalesTaxesConfig,
|
|
842
|
+
dailySalesRefundsVoidsConfig,
|
|
843
|
+
dailySalesDiscountsConfig,
|
|
844
|
+
dailySalesTrendsConfig,
|
|
845
|
+
dailySalesTrendsOrderTypeConfig
|
|
846
|
+
];
|
|
847
|
+
var REPORT_CONFIG_MAP = {
|
|
848
|
+
"sales-summary": salesSummaryConfig,
|
|
849
|
+
"ticket-analytics": ticketSummaryConfig,
|
|
850
|
+
"ticket-live": ticketLiveConfig,
|
|
851
|
+
"product-mix": productMixConfig,
|
|
852
|
+
"modifier-mix": modifierMixConfig,
|
|
853
|
+
"item-tax": itemTaxConfig,
|
|
854
|
+
"employee-timecard": employeeTimecardConfig,
|
|
855
|
+
"employee-tip": employeeTipConfig,
|
|
856
|
+
"sales-by-item": salesByItemDetailConfig,
|
|
857
|
+
"daily-sales": DAILY_SALES_SECTION_CONFIGS,
|
|
858
|
+
"daily-sales-live": DAILY_SALES_SECTION_CONFIGS
|
|
859
|
+
};
|
|
860
|
+
var REPORT_DEFAULT_NAME_MAP = {
|
|
861
|
+
"sales-summary": "Sales",
|
|
862
|
+
"ticket-analytics": "Tickets",
|
|
863
|
+
"ticket-live": "Tickets Live",
|
|
864
|
+
"product-mix": "Product Mix",
|
|
865
|
+
"modifier-mix": "Modifier Mix",
|
|
866
|
+
"item-tax": "Sales Tax by Item",
|
|
867
|
+
"employee-timecard": "Employee Timecard",
|
|
868
|
+
"employee-tip": "Employee Tip",
|
|
869
|
+
"sales-by-item": "Sales by Item",
|
|
870
|
+
"daily-sales": "Daily Sales",
|
|
871
|
+
"daily-sales-live": "Daily Sales Live"
|
|
872
|
+
};
|
|
873
|
+
var getReportConfig = (reportType) => REPORT_CONFIG_MAP[reportType];
|
|
874
|
+
var getReportExportFileName = ({
|
|
875
|
+
reportType,
|
|
876
|
+
startDate,
|
|
877
|
+
endDate,
|
|
878
|
+
format
|
|
879
|
+
}) => {
|
|
880
|
+
const formatDate2 = (date) => {
|
|
881
|
+
return [
|
|
882
|
+
date.getFullYear(),
|
|
883
|
+
String(date.getMonth() + 1).padStart(2, "0"),
|
|
884
|
+
String(date.getDate()).padStart(2, "0")
|
|
885
|
+
].join("-");
|
|
886
|
+
};
|
|
887
|
+
const filename = REPORT_DEFAULT_NAME_MAP[reportType].replace(/\s+/g, "_") ?? "Report";
|
|
888
|
+
return `${filename}_${formatDate2(startDate)}_to_${formatDate2(endDate)}.${format}`.toLocaleLowerCase();
|
|
889
|
+
};
|
|
890
|
+
|
|
891
|
+
// src/columns/index.ts
|
|
892
|
+
var COLUMN_REGISTRY = {
|
|
893
|
+
fifteenMinInterval: {
|
|
894
|
+
titleKey: "common.report-col.fifteen-min-interval",
|
|
895
|
+
shortTitleKey: "common.report-col.fifteen-min-interval.short",
|
|
896
|
+
infoTextKey: "common.report-col.fifteen-min-interval.info"
|
|
897
|
+
},
|
|
898
|
+
adjustedTips: {
|
|
899
|
+
titleKey: "common.report-col.adjusted-tips",
|
|
900
|
+
shortTitleKey: "common.report-col.adjusted-tips.short",
|
|
901
|
+
infoTextKey: "common.report-col.adjusted-tips.info"
|
|
902
|
+
},
|
|
903
|
+
advantageProgram: {
|
|
904
|
+
titleKey: "common.report-col.advantage-program",
|
|
905
|
+
shortTitleKey: "common.report-col.advantage-program.short",
|
|
906
|
+
infoTextKey: "common.report-col.advantage-program.info"
|
|
907
|
+
},
|
|
908
|
+
amex: {
|
|
909
|
+
titleKey: "common.report-col.amex",
|
|
910
|
+
shortTitleKey: "common.report-col.amex.short",
|
|
911
|
+
infoTextKey: "common.report-col.amex.info"
|
|
912
|
+
},
|
|
913
|
+
amexReturns: {
|
|
914
|
+
titleKey: "common.report-col.amex-returns",
|
|
915
|
+
shortTitleKey: "common.report-col.amex-returns.short",
|
|
916
|
+
infoTextKey: "common.report-col.amex-returns.info"
|
|
917
|
+
},
|
|
918
|
+
attachRate: {
|
|
919
|
+
titleKey: "common.report-col.attach-rate",
|
|
920
|
+
shortTitleKey: "common.report-col.attach-rate.short",
|
|
921
|
+
infoTextKey: "common.report-col.attach-rate.info"
|
|
922
|
+
},
|
|
923
|
+
autoGratuity: {
|
|
924
|
+
titleKey: "common.report-col.auto-gratuity",
|
|
925
|
+
shortTitleKey: "common.report-col.auto-gratuity.short",
|
|
926
|
+
infoTextKey: "common.report-col.auto-gratuity.info"
|
|
927
|
+
},
|
|
928
|
+
averageGrossPrice: {
|
|
929
|
+
titleKey: "common.report-col.average-gross-price",
|
|
930
|
+
shortTitleKey: "common.report-col.average-gross-price.short",
|
|
931
|
+
infoTextKey: "common.report-col.average-gross-price.info"
|
|
932
|
+
},
|
|
933
|
+
bankFees: {
|
|
934
|
+
titleKey: "common.report-col.bank-fees",
|
|
935
|
+
shortTitleKey: "common.report-col.bank-fees.short",
|
|
936
|
+
infoTextKey: "common.report-col.bank-fees.info"
|
|
937
|
+
},
|
|
938
|
+
batchAmount: {
|
|
939
|
+
titleKey: "common.report-col.batch-amount",
|
|
940
|
+
shortTitleKey: "common.report-col.batch-amount.short",
|
|
941
|
+
infoTextKey: "common.report-col.batch-amount.info"
|
|
942
|
+
},
|
|
943
|
+
batchDate: {
|
|
944
|
+
titleKey: "common.report-col.batch-date",
|
|
945
|
+
shortTitleKey: "common.report-col.batch-date.short",
|
|
946
|
+
infoTextKey: "common.report-col.batch-date.info"
|
|
947
|
+
},
|
|
948
|
+
batchNumber: {
|
|
949
|
+
titleKey: "common.report-col.batch-number",
|
|
950
|
+
shortTitleKey: "common.report-col.batch-number.short",
|
|
951
|
+
infoTextKey: "common.report-col.batch-number.info"
|
|
952
|
+
},
|
|
953
|
+
clockInTime: {
|
|
954
|
+
titleKey: "common.report-col.clock-in-time",
|
|
955
|
+
shortTitleKey: "common.report-col.clock-in-time.short",
|
|
956
|
+
infoTextKey: "common.report-col.clock-in-time.info"
|
|
957
|
+
},
|
|
958
|
+
clockOutTime: {
|
|
959
|
+
titleKey: "common.report-col.clock-out-time",
|
|
960
|
+
shortTitleKey: "common.report-col.clock-out-time.short",
|
|
961
|
+
infoTextKey: "common.report-col.clock-out-time.info"
|
|
962
|
+
},
|
|
963
|
+
country: {
|
|
964
|
+
titleKey: "common.report-col.country",
|
|
965
|
+
shortTitleKey: "common.report-col.country.short",
|
|
966
|
+
infoTextKey: "common.report-col.country.info"
|
|
967
|
+
},
|
|
968
|
+
customerName: {
|
|
969
|
+
titleKey: "common.report-col.customer-name",
|
|
970
|
+
shortTitleKey: "common.report-col.customer-name.short",
|
|
971
|
+
infoTextKey: "common.report-col.customer-name.info"
|
|
972
|
+
},
|
|
973
|
+
date: {
|
|
974
|
+
titleKey: "common.report-col.date",
|
|
975
|
+
shortTitleKey: "common.report-col.date.short",
|
|
976
|
+
infoTextKey: "common.report-col.date.info"
|
|
977
|
+
},
|
|
978
|
+
dateClose: {
|
|
979
|
+
titleKey: "common.report-col.date-close",
|
|
980
|
+
shortTitleKey: "common.report-col.date-close.short",
|
|
981
|
+
infoTextKey: "common.report-col.date-close.info"
|
|
982
|
+
},
|
|
983
|
+
daypart: {
|
|
984
|
+
titleKey: "common.report-col.daypart",
|
|
985
|
+
shortTitleKey: "common.report-col.daypart.short",
|
|
986
|
+
infoTextKey: "common.report-col.daypart.info"
|
|
987
|
+
},
|
|
988
|
+
debit: {
|
|
989
|
+
titleKey: "common.report-col.debit",
|
|
990
|
+
shortTitleKey: "common.report-col.debit.short",
|
|
991
|
+
infoTextKey: "common.report-col.debit.info"
|
|
992
|
+
},
|
|
993
|
+
debitReturns: {
|
|
994
|
+
titleKey: "common.report-col.debit-returns",
|
|
995
|
+
shortTitleKey: "common.report-col.debit-returns.short",
|
|
996
|
+
infoTextKey: "common.report-col.debit-returns.info"
|
|
997
|
+
},
|
|
998
|
+
declaredTips: {
|
|
999
|
+
titleKey: "common.report-col.declared-tips",
|
|
1000
|
+
shortTitleKey: "common.report-col.declared-tips.short",
|
|
1001
|
+
infoTextKey: "common.report-col.declared-tips.info"
|
|
1002
|
+
},
|
|
1003
|
+
department: {
|
|
1004
|
+
titleKey: "common.report-col.department",
|
|
1005
|
+
shortTitleKey: "common.report-col.department.short",
|
|
1006
|
+
infoTextKey: "common.report-col.department.info"
|
|
1007
|
+
},
|
|
1008
|
+
depositCurrency: {
|
|
1009
|
+
titleKey: "common.report-col.deposit-currency",
|
|
1010
|
+
shortTitleKey: "common.report-col.deposit-currency.short",
|
|
1011
|
+
infoTextKey: "common.report-col.deposit-currency.info"
|
|
1012
|
+
},
|
|
1013
|
+
depositDate: {
|
|
1014
|
+
titleKey: "common.report-col.deposit-date",
|
|
1015
|
+
shortTitleKey: "common.report-col.deposit-date.short",
|
|
1016
|
+
infoTextKey: "common.report-col.deposit-date.info"
|
|
1017
|
+
},
|
|
1018
|
+
discountAmount: {
|
|
1019
|
+
titleKey: "common.report-col.discount-amount",
|
|
1020
|
+
shortTitleKey: "common.report-col.discount-amount.short",
|
|
1021
|
+
infoTextKey: "common.report-col.discount-amount.info"
|
|
1022
|
+
},
|
|
1023
|
+
discountCount: {
|
|
1024
|
+
titleKey: "common.report-col.discount-count",
|
|
1025
|
+
shortTitleKey: "common.report-col.discount-count.short",
|
|
1026
|
+
infoTextKey: "common.report-col.discount-count.info"
|
|
1027
|
+
},
|
|
1028
|
+
ticketCount: {
|
|
1029
|
+
titleKey: "common.report-col.ticket-count",
|
|
1030
|
+
shortTitleKey: "common.report-col.ticket-count.short",
|
|
1031
|
+
infoTextKey: "common.report-col.ticket-count.info"
|
|
1032
|
+
},
|
|
1033
|
+
itemCount: {
|
|
1034
|
+
titleKey: "common.report-col.item-count",
|
|
1035
|
+
shortTitleKey: "common.report-col.item-count.short",
|
|
1036
|
+
infoTextKey: "common.report-col.item-count.info"
|
|
1037
|
+
},
|
|
1038
|
+
discover: {
|
|
1039
|
+
titleKey: "common.report-col.discover",
|
|
1040
|
+
shortTitleKey: "common.report-col.discover.short",
|
|
1041
|
+
infoTextKey: "common.report-col.discover.info"
|
|
1042
|
+
},
|
|
1043
|
+
discoverReturns: {
|
|
1044
|
+
titleKey: "common.report-col.discover-returns",
|
|
1045
|
+
shortTitleKey: "common.report-col.discover-returns.short",
|
|
1046
|
+
infoTextKey: "common.report-col.discover-returns.info"
|
|
1047
|
+
},
|
|
1048
|
+
ebt: {
|
|
1049
|
+
titleKey: "common.report-col.ebt",
|
|
1050
|
+
shortTitleKey: "common.report-col.ebt.short",
|
|
1051
|
+
infoTextKey: "common.report-col.ebt.info"
|
|
1052
|
+
},
|
|
1053
|
+
ebtReturns: {
|
|
1054
|
+
titleKey: "common.report-col.ebt-returns",
|
|
1055
|
+
shortTitleKey: "common.report-col.ebt-returns.short",
|
|
1056
|
+
infoTextKey: "common.report-col.ebt-returns.info"
|
|
1057
|
+
},
|
|
1058
|
+
employeeId: {
|
|
1059
|
+
titleKey: "common.report-col.employee-id",
|
|
1060
|
+
shortTitleKey: "common.report-col.employee-id.short",
|
|
1061
|
+
infoTextKey: "common.report-col.employee-id.info"
|
|
1062
|
+
},
|
|
1063
|
+
employeeJob: {
|
|
1064
|
+
titleKey: "common.report-col.employee-job",
|
|
1065
|
+
shortTitleKey: "common.report-col.employee-job.short",
|
|
1066
|
+
infoTextKey: "common.report-col.employee-job.info"
|
|
1067
|
+
},
|
|
1068
|
+
employeeName: {
|
|
1069
|
+
titleKey: "common.report-col.employee-name",
|
|
1070
|
+
shortTitleKey: "common.report-col.employee-name.short",
|
|
1071
|
+
infoTextKey: "common.report-col.employee-name.info"
|
|
1072
|
+
},
|
|
1073
|
+
exemptTaxes: {
|
|
1074
|
+
titleKey: "common.report-col.exempt-taxes",
|
|
1075
|
+
shortTitleKey: "common.report-col.exempt-taxes.short",
|
|
1076
|
+
infoTextKey: "common.report-col.exempt-taxes.info"
|
|
1077
|
+
},
|
|
1078
|
+
exemptSales: {
|
|
1079
|
+
titleKey: "common.report-col.exempt-sales",
|
|
1080
|
+
shortTitleKey: "common.report-col.exempt-sales.short",
|
|
1081
|
+
infoTextKey: "common.report-col.exempt-sales.info"
|
|
1082
|
+
},
|
|
1083
|
+
grandTotal: {
|
|
1084
|
+
titleKey: "common.report-col.grand-total",
|
|
1085
|
+
shortTitleKey: "common.report-col.grand-total.short",
|
|
1086
|
+
infoTextKey: "common.report-col.grand-total.info"
|
|
1087
|
+
},
|
|
1088
|
+
grossCashSales: {
|
|
1089
|
+
titleKey: "common.report-col.gross-cash-sales",
|
|
1090
|
+
shortTitleKey: "common.report-col.gross-cash-sales.short",
|
|
1091
|
+
infoTextKey: "common.report-col.gross-cash-sales.info"
|
|
1092
|
+
},
|
|
1093
|
+
grossCashTips: {
|
|
1094
|
+
titleKey: "common.report-col.gross-cash-tips",
|
|
1095
|
+
shortTitleKey: "common.report-col.gross-cash-tips.short",
|
|
1096
|
+
infoTextKey: "common.report-col.gross-cash-tips.info"
|
|
1097
|
+
},
|
|
1098
|
+
grossCreditCardTips: {
|
|
1099
|
+
titleKey: "common.report-col.gross-credit-card-tips",
|
|
1100
|
+
shortTitleKey: "common.report-col.gross-credit-card-tips.short",
|
|
1101
|
+
infoTextKey: "common.report-col.gross-credit-card-tips.info"
|
|
1102
|
+
},
|
|
1103
|
+
grossCreditSales: {
|
|
1104
|
+
titleKey: "common.report-col.gross-credit-sales",
|
|
1105
|
+
shortTitleKey: "common.report-col.gross-credit-sales.short",
|
|
1106
|
+
infoTextKey: "common.report-col.gross-credit-sales.info"
|
|
1107
|
+
},
|
|
1108
|
+
grossSales: {
|
|
1109
|
+
titleKey: "common.report-col.gross-sales",
|
|
1110
|
+
shortTitleKey: "common.report-col.gross-sales.short",
|
|
1111
|
+
infoTextKey: "common.report-col.gross-sales.info"
|
|
1112
|
+
},
|
|
1113
|
+
grossTips: {
|
|
1114
|
+
titleKey: "common.report-col.gross-tips",
|
|
1115
|
+
shortTitleKey: "common.report-col.gross-tips.short",
|
|
1116
|
+
infoTextKey: "common.report-col.gross-tips.info"
|
|
1117
|
+
},
|
|
1118
|
+
guestCount: {
|
|
1119
|
+
titleKey: "common.report-col.guest-count",
|
|
1120
|
+
shortTitleKey: "common.report-col.guest-count.short",
|
|
1121
|
+
infoTextKey: "common.report-col.guest-count.info"
|
|
1122
|
+
},
|
|
1123
|
+
guestsVarLw: {
|
|
1124
|
+
titleKey: "common.report-col.guests-var-lw",
|
|
1125
|
+
shortTitleKey: "common.report-col.guests-var-lw.short",
|
|
1126
|
+
infoTextKey: "common.report-col.guests-var-lw.info"
|
|
1127
|
+
},
|
|
1128
|
+
guestsVarLwPct: {
|
|
1129
|
+
titleKey: "common.report-col.guests-var-lw-pct",
|
|
1130
|
+
shortTitleKey: "common.report-col.guests-var-lw-pct.short",
|
|
1131
|
+
infoTextKey: "common.report-col.guests-var-lw-pct.info"
|
|
1132
|
+
},
|
|
1133
|
+
guestsVarLy: {
|
|
1134
|
+
titleKey: "common.report-col.guests-var-ly",
|
|
1135
|
+
shortTitleKey: "common.report-col.guests-var-ly.short",
|
|
1136
|
+
infoTextKey: "common.report-col.guests-var-ly.info"
|
|
1137
|
+
},
|
|
1138
|
+
guestsVarLyPct: {
|
|
1139
|
+
titleKey: "common.report-col.guests-var-ly-pct",
|
|
1140
|
+
shortTitleKey: "common.report-col.guests-var-ly-pct.short",
|
|
1141
|
+
infoTextKey: "common.report-col.guests-var-ly-pct.info"
|
|
1142
|
+
},
|
|
1143
|
+
hour: {
|
|
1144
|
+
titleKey: "common.report-col.hour",
|
|
1145
|
+
shortTitleKey: "common.report-col.hour.short",
|
|
1146
|
+
infoTextKey: "common.report-col.hour.info"
|
|
1147
|
+
},
|
|
1148
|
+
hoursWorked: {
|
|
1149
|
+
titleKey: "common.report-col.hours-worked",
|
|
1150
|
+
shortTitleKey: "common.report-col.hours-worked.short",
|
|
1151
|
+
infoTextKey: "common.report-col.hours-worked.info"
|
|
1152
|
+
},
|
|
1153
|
+
inclusiveTax: {
|
|
1154
|
+
titleKey: "common.report-col.inclusive-tax",
|
|
1155
|
+
shortTitleKey: "common.report-col.inclusive-tax.short",
|
|
1156
|
+
infoTextKey: "common.report-col.inclusive-tax.info"
|
|
1157
|
+
},
|
|
1158
|
+
itemName: {
|
|
1159
|
+
titleKey: "common.report-col.item-name",
|
|
1160
|
+
shortTitleKey: "common.report-col.item-name.short",
|
|
1161
|
+
infoTextKey: "common.report-col.item-name.info"
|
|
1162
|
+
},
|
|
1163
|
+
itemPrice: {
|
|
1164
|
+
titleKey: "common.report-col.item-price",
|
|
1165
|
+
shortTitleKey: "common.report-col.item-price.short",
|
|
1166
|
+
infoTextKey: "common.report-col.item-price.info"
|
|
1167
|
+
},
|
|
1168
|
+
itemQuantity: {
|
|
1169
|
+
titleKey: "common.report-col.item-quantity",
|
|
1170
|
+
shortTitleKey: "common.report-col.item-quantity.short",
|
|
1171
|
+
infoTextKey: "common.report-col.item-quantity.info"
|
|
1172
|
+
},
|
|
1173
|
+
locationCity: {
|
|
1174
|
+
titleKey: "common.report-col.location-city",
|
|
1175
|
+
shortTitleKey: "common.report-col.location-city.short",
|
|
1176
|
+
infoTextKey: "common.report-col.location-city.info"
|
|
1177
|
+
},
|
|
1178
|
+
locationId: {
|
|
1179
|
+
titleKey: "common.report-col.location-id",
|
|
1180
|
+
shortTitleKey: "common.report-col.location-id.short",
|
|
1181
|
+
infoTextKey: "common.report-col.location-id.info"
|
|
1182
|
+
},
|
|
1183
|
+
locationMid: {
|
|
1184
|
+
titleKey: "common.report-col.location-mid",
|
|
1185
|
+
shortTitleKey: "common.report-col.location-mid.short",
|
|
1186
|
+
infoTextKey: "common.report-col.location-mid.info"
|
|
1187
|
+
},
|
|
1188
|
+
locationName: {
|
|
1189
|
+
titleKey: "common.report-col.location-name",
|
|
1190
|
+
shortTitleKey: "common.report-col.location-name.short",
|
|
1191
|
+
infoTextKey: "common.report-col.location-name.info"
|
|
1192
|
+
},
|
|
1193
|
+
locationState: {
|
|
1194
|
+
titleKey: "common.report-col.location-state",
|
|
1195
|
+
shortTitleKey: "common.report-col.location-state.short",
|
|
1196
|
+
infoTextKey: "common.report-col.location-state.info"
|
|
1197
|
+
},
|
|
1198
|
+
mastercard: {
|
|
1199
|
+
titleKey: "common.report-col.mastercard",
|
|
1200
|
+
shortTitleKey: "common.report-col.mastercard.short",
|
|
1201
|
+
infoTextKey: "common.report-col.mastercard.info"
|
|
1202
|
+
},
|
|
1203
|
+
mcReturns: {
|
|
1204
|
+
titleKey: "common.report-col.mc-returns",
|
|
1205
|
+
shortTitleKey: "common.report-col.mc-returns.short",
|
|
1206
|
+
infoTextKey: "common.report-col.mc-returns.info"
|
|
1207
|
+
},
|
|
1208
|
+
modifierName: {
|
|
1209
|
+
titleKey: "common.report-col.modifier-name",
|
|
1210
|
+
shortTitleKey: "common.report-col.modifier-name.short",
|
|
1211
|
+
infoTextKey: "common.report-col.modifier-name.info"
|
|
1212
|
+
},
|
|
1213
|
+
modifierPrice: {
|
|
1214
|
+
titleKey: "common.report-col.modifier-price",
|
|
1215
|
+
shortTitleKey: "common.report-col.modifier-price.short",
|
|
1216
|
+
infoTextKey: "common.report-col.modifier-price.info"
|
|
1217
|
+
},
|
|
1218
|
+
modifierQuantity: {
|
|
1219
|
+
titleKey: "common.report-col.modifier-quantity",
|
|
1220
|
+
shortTitleKey: "common.report-col.modifier-quantity.short",
|
|
1221
|
+
infoTextKey: "common.report-col.modifier-quantity.info"
|
|
1222
|
+
},
|
|
1223
|
+
netSales: {
|
|
1224
|
+
titleKey: "common.report-col.net-sales",
|
|
1225
|
+
shortTitleKey: "common.report-col.net-sales.short",
|
|
1226
|
+
infoTextKey: "common.report-col.net-sales.info"
|
|
1227
|
+
},
|
|
1228
|
+
netTaxCollected: {
|
|
1229
|
+
titleKey: "common.report-col.net-tax-collected",
|
|
1230
|
+
shortTitleKey: "common.report-col.net-tax-collected.short",
|
|
1231
|
+
infoTextKey: "common.report-col.net-tax-collected.info"
|
|
1232
|
+
},
|
|
1233
|
+
netTips: {
|
|
1234
|
+
titleKey: "common.report-col.net-tips",
|
|
1235
|
+
shortTitleKey: "common.report-col.net-tips.short",
|
|
1236
|
+
infoTextKey: "common.report-col.net-tips.info"
|
|
1237
|
+
},
|
|
1238
|
+
numberOfGuests: {
|
|
1239
|
+
titleKey: "common.report-col.number-of-guests",
|
|
1240
|
+
shortTitleKey: "common.report-col.number-of-guests.short",
|
|
1241
|
+
infoTextKey: "common.report-col.number-of-guests.info"
|
|
1242
|
+
},
|
|
1243
|
+
orderType: {
|
|
1244
|
+
titleKey: "common.report-col.order-type",
|
|
1245
|
+
shortTitleKey: "common.report-col.order-type.short",
|
|
1246
|
+
infoTextKey: "common.report-col.order-type.info"
|
|
1247
|
+
},
|
|
1248
|
+
paymentType: {
|
|
1249
|
+
titleKey: "common.report-col.payment-type",
|
|
1250
|
+
shortTitleKey: "common.report-col.payment-type.short",
|
|
1251
|
+
infoTextKey: "common.report-col.payment-type.info"
|
|
1252
|
+
},
|
|
1253
|
+
payrollId: {
|
|
1254
|
+
titleKey: "common.report-col.payroll-id",
|
|
1255
|
+
shortTitleKey: "common.report-col.payroll-id.short",
|
|
1256
|
+
infoTextKey: "common.report-col.payroll-id.info"
|
|
1257
|
+
},
|
|
1258
|
+
quantity: {
|
|
1259
|
+
titleKey: "common.report-col.quantity",
|
|
1260
|
+
shortTitleKey: "common.report-col.quantity.short",
|
|
1261
|
+
infoTextKey: "common.report-col.quantity.info"
|
|
1262
|
+
},
|
|
1263
|
+
referenceNumber: {
|
|
1264
|
+
titleKey: "common.report-col.reference-number",
|
|
1265
|
+
shortTitleKey: "common.report-col.reference-number.short",
|
|
1266
|
+
infoTextKey: "common.report-col.reference-number.info"
|
|
1267
|
+
},
|
|
1268
|
+
refundAmount: {
|
|
1269
|
+
titleKey: "common.report-col.refund-amount",
|
|
1270
|
+
shortTitleKey: "common.report-col.refund-amount.short",
|
|
1271
|
+
infoTextKey: "common.report-col.refund-amount.info"
|
|
1272
|
+
},
|
|
1273
|
+
refundedTaxAmount: {
|
|
1274
|
+
titleKey: "common.report-col.refunded-tax-amount",
|
|
1275
|
+
shortTitleKey: "common.report-col.refunded-tax-amount.short",
|
|
1276
|
+
infoTextKey: "common.report-col.refunded-tax-amount.info"
|
|
1277
|
+
},
|
|
1278
|
+
revenueCenter: {
|
|
1279
|
+
titleKey: "common.report-col.revenue-center",
|
|
1280
|
+
shortTitleKey: "common.report-col.revenue-center.short",
|
|
1281
|
+
infoTextKey: "common.report-col.revenue-center.info"
|
|
1282
|
+
},
|
|
1283
|
+
revenueClass: {
|
|
1284
|
+
titleKey: "common.report-col.revenue-class",
|
|
1285
|
+
shortTitleKey: "common.report-col.revenue-class.short",
|
|
1286
|
+
infoTextKey: "common.report-col.revenue-class.info"
|
|
1287
|
+
},
|
|
1288
|
+
salesVarLw: {
|
|
1289
|
+
titleKey: "common.report-col.sales-var-lw",
|
|
1290
|
+
shortTitleKey: "common.report-col.sales-var-lw.short",
|
|
1291
|
+
infoTextKey: "common.report-col.sales-var-lw.info"
|
|
1292
|
+
},
|
|
1293
|
+
salesVarLwPct: {
|
|
1294
|
+
titleKey: "common.report-col.sales-var-lw-pct",
|
|
1295
|
+
shortTitleKey: "common.report-col.sales-var-lw-pct.short",
|
|
1296
|
+
infoTextKey: "common.report-col.sales-var-lw-pct.info"
|
|
1297
|
+
},
|
|
1298
|
+
salesVarLy: {
|
|
1299
|
+
titleKey: "common.report-col.sales-var-ly",
|
|
1300
|
+
shortTitleKey: "common.report-col.sales-var-ly.short",
|
|
1301
|
+
infoTextKey: "common.report-col.sales-var-ly.info"
|
|
1302
|
+
},
|
|
1303
|
+
salesVarLyPct: {
|
|
1304
|
+
titleKey: "common.report-col.sales-var-ly-pct",
|
|
1305
|
+
shortTitleKey: "common.report-col.sales-var-ly-pct.short",
|
|
1306
|
+
infoTextKey: "common.report-col.sales-var-ly-pct.info"
|
|
1307
|
+
},
|
|
1308
|
+
salesMixByPct: {
|
|
1309
|
+
titleKey: "common.report-col.sales-mix-by-pct",
|
|
1310
|
+
shortTitleKey: "common.report-col.sales-mix-by-pct.short",
|
|
1311
|
+
infoTextKey: "common.report-col.sales-mix-by-pct.info"
|
|
1312
|
+
},
|
|
1313
|
+
salesPerGuest: {
|
|
1314
|
+
titleKey: "common.report-col.sales-per-guest",
|
|
1315
|
+
shortTitleKey: "common.report-col.sales-per-guest.short",
|
|
1316
|
+
infoTextKey: "common.report-col.sales-per-guest.info"
|
|
1317
|
+
},
|
|
1318
|
+
salesPerGuestLw: {
|
|
1319
|
+
titleKey: "common.report-col.sales-per-guest-lw",
|
|
1320
|
+
shortTitleKey: "common.report-col.sales-per-guest-lw.short",
|
|
1321
|
+
infoTextKey: "common.report-col.sales-per-guest-lw.info"
|
|
1322
|
+
},
|
|
1323
|
+
salesPerGuestLy: {
|
|
1324
|
+
titleKey: "common.report-col.sales-per-guest-ly",
|
|
1325
|
+
shortTitleKey: "common.report-col.sales-per-guest-ly.short",
|
|
1326
|
+
infoTextKey: "common.report-col.sales-per-guest-ly.info"
|
|
1327
|
+
},
|
|
1328
|
+
scheduledShiftEnd: {
|
|
1329
|
+
titleKey: "common.report-col.scheduled-shift-end",
|
|
1330
|
+
shortTitleKey: "common.report-col.scheduled-shift-end.short",
|
|
1331
|
+
infoTextKey: "common.report-col.scheduled-shift-end.info"
|
|
1332
|
+
},
|
|
1333
|
+
scheduledShiftStart: {
|
|
1334
|
+
titleKey: "common.report-col.scheduled-shift-start",
|
|
1335
|
+
shortTitleKey: "common.report-col.scheduled-shift-start.short",
|
|
1336
|
+
infoTextKey: "common.report-col.scheduled-shift-start.info"
|
|
1337
|
+
},
|
|
1338
|
+
settlementBatchDate: {
|
|
1339
|
+
titleKey: "common.report-col.settlement-batch-date",
|
|
1340
|
+
shortTitleKey: "common.report-col.settlement-batch-date.short",
|
|
1341
|
+
infoTextKey: "common.report-col.settlement-batch-date.info"
|
|
1342
|
+
},
|
|
1343
|
+
shiftDurationHrs: {
|
|
1344
|
+
titleKey: "common.report-col.shift-duration-hrs",
|
|
1345
|
+
shortTitleKey: "common.report-col.shift-duration-hrs.short",
|
|
1346
|
+
infoTextKey: "common.report-col.shift-duration-hrs.info"
|
|
1347
|
+
},
|
|
1348
|
+
salePaymentType: {
|
|
1349
|
+
titleKey: "common.report-col.sale-payment-type",
|
|
1350
|
+
shortTitleKey: "common.report-col.sale-payment-type.short",
|
|
1351
|
+
infoTextKey: "common.report-col.sale-payment-type.info"
|
|
1352
|
+
},
|
|
1353
|
+
status: {
|
|
1354
|
+
titleKey: "common.report-col.status",
|
|
1355
|
+
shortTitleKey: "common.report-col.status.short",
|
|
1356
|
+
infoTextKey: "common.report-col.status.info"
|
|
1357
|
+
},
|
|
1358
|
+
lastModified: {
|
|
1359
|
+
titleKey: "common.report-col.last-modified",
|
|
1360
|
+
shortTitleKey: "common.report-col.last-modified.short",
|
|
1361
|
+
infoTextKey: "common.report-col.last-modified.info"
|
|
1362
|
+
},
|
|
1363
|
+
subtotal: {
|
|
1364
|
+
titleKey: "common.report-col.subtotal",
|
|
1365
|
+
shortTitleKey: "common.report-col.subtotal.short",
|
|
1366
|
+
infoTextKey: "common.report-col.subtotal.info"
|
|
1367
|
+
},
|
|
1368
|
+
taxCollected: {
|
|
1369
|
+
titleKey: "common.report-col.tax-collected",
|
|
1370
|
+
shortTitleKey: "common.report-col.tax-collected.short",
|
|
1371
|
+
infoTextKey: "common.report-col.tax-collected.info"
|
|
1372
|
+
},
|
|
1373
|
+
taxName: {
|
|
1374
|
+
titleKey: "common.report-col.tax-name",
|
|
1375
|
+
shortTitleKey: "common.report-col.tax-name.short",
|
|
1376
|
+
infoTextKey: "common.report-col.tax-name.info"
|
|
1377
|
+
},
|
|
1378
|
+
taxRate: {
|
|
1379
|
+
titleKey: "common.report-col.tax-rate",
|
|
1380
|
+
shortTitleKey: "common.report-col.tax-rate.short",
|
|
1381
|
+
infoTextKey: "common.report-col.tax-rate.info"
|
|
1382
|
+
},
|
|
1383
|
+
taxableSales: {
|
|
1384
|
+
titleKey: "common.report-col.taxable-sales",
|
|
1385
|
+
shortTitleKey: "common.report-col.taxable-sales.short",
|
|
1386
|
+
infoTextKey: "common.report-col.taxable-sales.info"
|
|
1387
|
+
},
|
|
1388
|
+
ticketClosed: {
|
|
1389
|
+
titleKey: "common.report-col.ticket-closed",
|
|
1390
|
+
shortTitleKey: "common.report-col.ticket-closed.short",
|
|
1391
|
+
infoTextKey: "common.report-col.ticket-closed.info"
|
|
1392
|
+
},
|
|
1393
|
+
ticketFee: {
|
|
1394
|
+
titleKey: "common.report-col.ticket-fee",
|
|
1395
|
+
shortTitleKey: "common.report-col.ticket-fee.short",
|
|
1396
|
+
infoTextKey: "common.report-col.ticket-fee.info"
|
|
1397
|
+
},
|
|
1398
|
+
ticketNumber: {
|
|
1399
|
+
titleKey: "common.report-col.ticket-number",
|
|
1400
|
+
shortTitleKey: "common.report-col.ticket-number.short",
|
|
1401
|
+
infoTextKey: "common.report-col.ticket-number.info"
|
|
1402
|
+
},
|
|
1403
|
+
ticketOpen: {
|
|
1404
|
+
titleKey: "common.report-col.ticket-open",
|
|
1405
|
+
shortTitleKey: "common.report-col.ticket-open.short",
|
|
1406
|
+
infoTextKey: "common.report-col.ticket-open.info"
|
|
1407
|
+
},
|
|
1408
|
+
ticketTotal: {
|
|
1409
|
+
titleKey: "common.report-col.ticket-total",
|
|
1410
|
+
shortTitleKey: "common.report-col.ticket-total.short",
|
|
1411
|
+
infoTextKey: "common.report-col.ticket-total.info"
|
|
1412
|
+
},
|
|
1413
|
+
timeOpenMins: {
|
|
1414
|
+
titleKey: "common.report-col.time-open-mins",
|
|
1415
|
+
shortTitleKey: "common.report-col.time-open-mins.short",
|
|
1416
|
+
infoTextKey: "common.report-col.time-open-mins.info"
|
|
1417
|
+
},
|
|
1418
|
+
tipPct: {
|
|
1419
|
+
titleKey: "common.report-col.tip-pct",
|
|
1420
|
+
shortTitleKey: "common.report-col.tip-pct.short",
|
|
1421
|
+
infoTextKey: "common.report-col.tip-pct.info"
|
|
1422
|
+
},
|
|
1423
|
+
tipReduction: {
|
|
1424
|
+
titleKey: "common.report-col.tip-reduction",
|
|
1425
|
+
shortTitleKey: "common.report-col.tip-reduction.short",
|
|
1426
|
+
infoTextKey: "common.report-col.tip-reduction.info"
|
|
1427
|
+
},
|
|
1428
|
+
tipShare: {
|
|
1429
|
+
titleKey: "common.report-col.tip-share",
|
|
1430
|
+
shortTitleKey: "common.report-col.tip-share.short",
|
|
1431
|
+
infoTextKey: "common.report-col.tip-share.info"
|
|
1432
|
+
},
|
|
1433
|
+
tips: {
|
|
1434
|
+
titleKey: "common.report-col.tips",
|
|
1435
|
+
shortTitleKey: "common.report-col.tips.short",
|
|
1436
|
+
infoTextKey: "common.report-col.tips.info"
|
|
1437
|
+
},
|
|
1438
|
+
tipsPerHour: {
|
|
1439
|
+
titleKey: "common.report-col.tips-per-hour",
|
|
1440
|
+
shortTitleKey: "common.report-col.tips-per-hour.short",
|
|
1441
|
+
infoTextKey: "common.report-col.tips-per-hour.info"
|
|
1442
|
+
},
|
|
1443
|
+
totalCollected: {
|
|
1444
|
+
titleKey: "common.report-col.total-collected",
|
|
1445
|
+
shortTitleKey: "common.report-col.total-collected.short",
|
|
1446
|
+
infoTextKey: "common.report-col.total-collected.info"
|
|
1447
|
+
},
|
|
1448
|
+
totalItemSales: {
|
|
1449
|
+
titleKey: "common.report-col.total-item-sales",
|
|
1450
|
+
shortTitleKey: "common.report-col.total-item-sales.short",
|
|
1451
|
+
infoTextKey: "common.report-col.total-item-sales.info"
|
|
1452
|
+
},
|
|
1453
|
+
totalModifierSales: {
|
|
1454
|
+
titleKey: "common.report-col.total-modifier-sales",
|
|
1455
|
+
shortTitleKey: "common.report-col.total-modifier-sales.short",
|
|
1456
|
+
infoTextKey: "common.report-col.total-modifier-sales.info"
|
|
1457
|
+
},
|
|
1458
|
+
totalModifierSalesComp: {
|
|
1459
|
+
titleKey: "common.report-col.total-modifier-sales-comp",
|
|
1460
|
+
shortTitleKey: "common.report-col.total-modifier-sales-comp.short",
|
|
1461
|
+
infoTextKey: "common.report-col.total-modifier-sales-comp.info"
|
|
1462
|
+
},
|
|
1463
|
+
totalModifierSalesVar: {
|
|
1464
|
+
titleKey: "common.report-col.total-modifier-sales-var",
|
|
1465
|
+
shortTitleKey: "common.report-col.total-modifier-sales-var.short",
|
|
1466
|
+
infoTextKey: "common.report-col.total-modifier-sales-var.info"
|
|
1467
|
+
},
|
|
1468
|
+
totalModifierSalesVarPct: {
|
|
1469
|
+
titleKey: "common.report-col.total-modifier-sales-var-pct",
|
|
1470
|
+
shortTitleKey: "common.report-col.total-modifier-sales-var-pct.short",
|
|
1471
|
+
infoTextKey: "common.report-col.total-modifier-sales-var-pct.info"
|
|
1472
|
+
},
|
|
1473
|
+
modifierQuantityComp: {
|
|
1474
|
+
titleKey: "common.report-col.modifier-quantity-comp",
|
|
1475
|
+
shortTitleKey: "common.report-col.modifier-quantity-comp.short",
|
|
1476
|
+
infoTextKey: "common.report-col.modifier-quantity-comp.info"
|
|
1477
|
+
},
|
|
1478
|
+
modifierQuantityVar: {
|
|
1479
|
+
titleKey: "common.report-col.modifier-quantity-var",
|
|
1480
|
+
shortTitleKey: "common.report-col.modifier-quantity-var.short",
|
|
1481
|
+
infoTextKey: "common.report-col.modifier-quantity-var.info"
|
|
1482
|
+
},
|
|
1483
|
+
modifierQuantityVarPct: {
|
|
1484
|
+
titleKey: "common.report-col.modifier-quantity-var-pct",
|
|
1485
|
+
shortTitleKey: "common.report-col.modifier-quantity-var-pct.short",
|
|
1486
|
+
infoTextKey: "common.report-col.modifier-quantity-var-pct.info"
|
|
1487
|
+
},
|
|
1488
|
+
itemQuantityComp: {
|
|
1489
|
+
titleKey: "common.report-col.item-quantity-comp",
|
|
1490
|
+
shortTitleKey: "common.report-col.item-quantity-comp.short",
|
|
1491
|
+
infoTextKey: "common.report-col.item-quantity-comp.info"
|
|
1492
|
+
},
|
|
1493
|
+
attachRateComp: {
|
|
1494
|
+
titleKey: "common.report-col.attach-rate-comp",
|
|
1495
|
+
shortTitleKey: "common.report-col.attach-rate-comp.short",
|
|
1496
|
+
infoTextKey: "common.report-col.attach-rate-comp.info"
|
|
1497
|
+
},
|
|
1498
|
+
attachRateVar: {
|
|
1499
|
+
titleKey: "common.report-col.attach-rate-var",
|
|
1500
|
+
shortTitleKey: "common.report-col.attach-rate-var.short",
|
|
1501
|
+
infoTextKey: "common.report-col.attach-rate-var.info"
|
|
1502
|
+
},
|
|
1503
|
+
attachRateVarPct: {
|
|
1504
|
+
titleKey: "common.report-col.attach-rate-var-pct",
|
|
1505
|
+
shortTitleKey: "common.report-col.attach-rate-var-pct.short",
|
|
1506
|
+
infoTextKey: "common.report-col.attach-rate-var-pct.info"
|
|
1507
|
+
},
|
|
1508
|
+
totalReturns: {
|
|
1509
|
+
titleKey: "common.report-col.total-returns",
|
|
1510
|
+
shortTitleKey: "common.report-col.total-returns.short",
|
|
1511
|
+
infoTextKey: "common.report-col.total-returns.info"
|
|
1512
|
+
},
|
|
1513
|
+
totalSales: {
|
|
1514
|
+
titleKey: "common.report-col.total-sales",
|
|
1515
|
+
shortTitleKey: "common.report-col.total-sales.short",
|
|
1516
|
+
infoTextKey: "common.report-col.total-sales.info"
|
|
1517
|
+
},
|
|
1518
|
+
totalTips: {
|
|
1519
|
+
titleKey: "common.report-col.total-tips",
|
|
1520
|
+
shortTitleKey: "common.report-col.total-tips.short",
|
|
1521
|
+
infoTextKey: "common.report-col.total-tips.info"
|
|
1522
|
+
},
|
|
1523
|
+
transactionDate: {
|
|
1524
|
+
titleKey: "common.report-col.transaction-date",
|
|
1525
|
+
shortTitleKey: "common.report-col.transaction-date.short",
|
|
1526
|
+
infoTextKey: "common.report-col.transaction-date.info"
|
|
1527
|
+
},
|
|
1528
|
+
transactionType: {
|
|
1529
|
+
titleKey: "common.report-col.transaction-type",
|
|
1530
|
+
shortTitleKey: "common.report-col.transaction-type.short",
|
|
1531
|
+
infoTextKey: "common.report-col.transaction-type.info"
|
|
1532
|
+
},
|
|
1533
|
+
untaxedSales: {
|
|
1534
|
+
titleKey: "common.report-col.untaxed-sales",
|
|
1535
|
+
shortTitleKey: "common.report-col.untaxed-sales.short",
|
|
1536
|
+
infoTextKey: "common.report-col.untaxed-sales.info"
|
|
1537
|
+
},
|
|
1538
|
+
visa: {
|
|
1539
|
+
titleKey: "common.report-col.visa",
|
|
1540
|
+
shortTitleKey: "common.report-col.visa.short",
|
|
1541
|
+
infoTextKey: "common.report-col.visa.info"
|
|
1542
|
+
},
|
|
1543
|
+
visaReturns: {
|
|
1544
|
+
titleKey: "common.report-col.visa-returns",
|
|
1545
|
+
shortTitleKey: "common.report-col.visa-returns.short",
|
|
1546
|
+
infoTextKey: "common.report-col.visa-returns.info"
|
|
1547
|
+
},
|
|
1548
|
+
paymentsCount: {
|
|
1549
|
+
titleKey: "common.report-col.payments-count",
|
|
1550
|
+
shortTitleKey: "common.report-col.payments-count.short",
|
|
1551
|
+
infoTextKey: "common.report-col.payments-count.info"
|
|
1552
|
+
},
|
|
1553
|
+
paymentsAmount: {
|
|
1554
|
+
titleKey: "common.report-col.payments-amount",
|
|
1555
|
+
shortTitleKey: "common.report-col.payments-amount.short",
|
|
1556
|
+
infoTextKey: "common.report-col.payments-amount.info"
|
|
1557
|
+
},
|
|
1558
|
+
paymentsTotal: {
|
|
1559
|
+
titleKey: "common.report-col.payments-total",
|
|
1560
|
+
shortTitleKey: "common.report-col.payments-total.short",
|
|
1561
|
+
infoTextKey: "common.report-col.payments-total.info"
|
|
1562
|
+
},
|
|
1563
|
+
refundVoidDescription: {
|
|
1564
|
+
titleKey: "common.report-col.refund-void-description",
|
|
1565
|
+
shortTitleKey: "common.report-col.refund-void-description.short",
|
|
1566
|
+
infoTextKey: "common.report-col.refund-void-description.info"
|
|
1567
|
+
},
|
|
1568
|
+
refundVoidCount: {
|
|
1569
|
+
titleKey: "common.report-col.refund-void-count",
|
|
1570
|
+
shortTitleKey: "common.report-col.refund-void-count.short",
|
|
1571
|
+
infoTextKey: "common.report-col.refund-void-count.info"
|
|
1572
|
+
},
|
|
1573
|
+
refundVoidAmount: {
|
|
1574
|
+
titleKey: "common.report-col.refund-void-amount",
|
|
1575
|
+
shortTitleKey: "common.report-col.refund-void-amount.short",
|
|
1576
|
+
infoTextKey: "common.report-col.refund-void-amount.info"
|
|
1577
|
+
},
|
|
1578
|
+
refundVoidPctSales: {
|
|
1579
|
+
titleKey: "common.report-col.refund-void-pct-sales",
|
|
1580
|
+
shortTitleKey: "common.report-col.refund-void-pct-sales.short",
|
|
1581
|
+
infoTextKey: "common.report-col.refund-void-pct-sales.info"
|
|
1582
|
+
},
|
|
1583
|
+
discountName: {
|
|
1584
|
+
titleKey: "common.report-col.discount-name",
|
|
1585
|
+
shortTitleKey: "common.report-col.discount-name.short",
|
|
1586
|
+
infoTextKey: "common.report-col.discount-name.info"
|
|
1587
|
+
},
|
|
1588
|
+
tickets: {
|
|
1589
|
+
titleKey: "common.report-col.tickets",
|
|
1590
|
+
shortTitleKey: "common.report-col.tickets.short",
|
|
1591
|
+
infoTextKey: "common.report-col.tickets.info"
|
|
1592
|
+
},
|
|
1593
|
+
guests: {
|
|
1594
|
+
titleKey: "common.report-col.guests",
|
|
1595
|
+
shortTitleKey: "common.report-col.guests.short",
|
|
1596
|
+
infoTextKey: "common.report-col.guests.info"
|
|
1597
|
+
},
|
|
1598
|
+
ticketAverage: {
|
|
1599
|
+
titleKey: "common.report-col.ticket-average",
|
|
1600
|
+
shortTitleKey: "common.report-col.ticket-average.short",
|
|
1601
|
+
infoTextKey: "common.report-col.ticket-average.info"
|
|
1602
|
+
},
|
|
1603
|
+
guestAverage: {
|
|
1604
|
+
titleKey: "common.report-col.guest-average",
|
|
1605
|
+
shortTitleKey: "common.report-col.guest-average.short",
|
|
1606
|
+
infoTextKey: "common.report-col.guest-average.info"
|
|
1607
|
+
},
|
|
1608
|
+
net: {
|
|
1609
|
+
titleKey: "common.report-col.net",
|
|
1610
|
+
shortTitleKey: "common.report-col.net.short",
|
|
1611
|
+
infoTextKey: "common.report-col.net.info"
|
|
1612
|
+
},
|
|
1613
|
+
type: {
|
|
1614
|
+
titleKey: "common.report-col.type",
|
|
1615
|
+
shortTitleKey: "common.report-col.type.short",
|
|
1616
|
+
infoTextKey: "common.report-col.type.info"
|
|
1617
|
+
}
|
|
1618
|
+
};
|
|
1619
|
+
function getColumnMetadata(key) {
|
|
1620
|
+
return COLUMN_REGISTRY[key];
|
|
1621
|
+
}
|
|
1622
|
+
function getColumnExportHeaderLabel(colTitle, groupTitle) {
|
|
1623
|
+
if (groupTitle) {
|
|
1624
|
+
return `${groupTitle}: ${colTitle}`;
|
|
1625
|
+
}
|
|
1626
|
+
return colTitle;
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
// src/totals.ts
|
|
1630
|
+
var sumField = (rows, field) => rows.reduce((acc, row) => acc + (row[field] ?? 0), 0);
|
|
1631
|
+
var calculateFieldTotal = (rows, field, config) => {
|
|
1632
|
+
const { type } = config;
|
|
1633
|
+
if (!type || type === "string" || type === "date" || type === "time" || type === "boolean" || type === "conditional") {
|
|
1634
|
+
return null;
|
|
1635
|
+
}
|
|
1636
|
+
const calc = config.footerCalculation;
|
|
1637
|
+
if (calc?.type === "none") {
|
|
1638
|
+
return null;
|
|
1639
|
+
}
|
|
1640
|
+
if (calc?.type === "count") {
|
|
1641
|
+
return rows.length;
|
|
1642
|
+
}
|
|
1643
|
+
if (!calc || calc.type === "sum") {
|
|
1644
|
+
return config.columnKey || calc?.type === "sum" ? sumField(rows, field) : 0;
|
|
1645
|
+
}
|
|
1646
|
+
const { numeratorField, denominatorField } = calc;
|
|
1647
|
+
if (!numeratorField || !denominatorField) {
|
|
1648
|
+
return 0;
|
|
1649
|
+
}
|
|
1650
|
+
const num = sumField(rows, numeratorField);
|
|
1651
|
+
const den = sumField(rows, denominatorField);
|
|
1652
|
+
if (calc.type === "percentChange") {
|
|
1653
|
+
return den ? (num - den) / den : 0;
|
|
1654
|
+
}
|
|
1655
|
+
if (calc.type === "variancePercent") {
|
|
1656
|
+
const prior = den - num;
|
|
1657
|
+
return prior ? num / prior : 0;
|
|
1658
|
+
}
|
|
1659
|
+
if (calc.type === "average") {
|
|
1660
|
+
return den > 0 ? num / den : 0;
|
|
1661
|
+
}
|
|
1662
|
+
if (calc.type === "quotientOfDifferences") {
|
|
1663
|
+
const { numeratorAdjustField, denominatorAdjustField } = calc;
|
|
1664
|
+
const numAdj = numeratorAdjustField ? sumField(rows, numeratorAdjustField) : 0;
|
|
1665
|
+
const denAdj = denominatorAdjustField ? sumField(rows, denominatorAdjustField) : 0;
|
|
1666
|
+
const effectiveDen = den - denAdj;
|
|
1667
|
+
return effectiveDen !== 0 ? (num - numAdj) / effectiveDen : 0;
|
|
1668
|
+
}
|
|
1669
|
+
return 0;
|
|
1670
|
+
};
|
|
1671
|
+
var calculateReportTotals = (data, fieldConfig, opts) => {
|
|
1672
|
+
const { labelField, label } = opts;
|
|
1673
|
+
const result = {};
|
|
1674
|
+
for (const [field, config] of Object.entries(fieldConfig)) {
|
|
1675
|
+
const total = calculateFieldTotal(data, field, config);
|
|
1676
|
+
result[field] = total ?? "";
|
|
1677
|
+
}
|
|
1678
|
+
result[labelField] = label;
|
|
1679
|
+
return result;
|
|
1680
|
+
};
|
|
1681
|
+
|
|
1682
|
+
// src/translations/en-US.ts
|
|
1683
|
+
var enUS = {
|
|
1684
|
+
"common.report-col.fifteen-min-interval": "15 Min Interval",
|
|
1685
|
+
"common.report-col.fifteen-min-interval.short": "15-Min Int",
|
|
1686
|
+
"common.report-col.fifteen-min-interval.info": "Time window (15 minutes) when the activity occurred",
|
|
1687
|
+
"common.report-col.adjusted-tips": "Adjusted Tips",
|
|
1688
|
+
"common.report-col.adjusted-tips.short": "Adj Tips",
|
|
1689
|
+
"common.report-col.adjusted-tips.info": "Tips that were corrected or modified after the original entry",
|
|
1690
|
+
"common.report-col.advantage-program": "Advantage Program",
|
|
1691
|
+
"common.report-col.advantage-program.short": "Adv Program",
|
|
1692
|
+
"common.report-col.advantage-program.info": "Transaction amount related to advantage program",
|
|
1693
|
+
"common.report-col.amex": "Amex",
|
|
1694
|
+
"common.report-col.amex.short": "Amex",
|
|
1695
|
+
"common.report-col.amex.info": "Total sales processed using American Express cards",
|
|
1696
|
+
"common.report-col.amex-returns": "Amex Returns",
|
|
1697
|
+
"common.report-col.amex-returns.short": "Amex Rtn",
|
|
1698
|
+
"common.report-col.amex-returns.info": "The total value of refunds issued to American Express cardholders",
|
|
1699
|
+
"common.report-col.attach-rate": "Attach Rate",
|
|
1700
|
+
"common.report-col.attach-rate.short": "Attach Rate",
|
|
1701
|
+
"common.report-col.attach-rate.info": "% of orders that include this item or add-on",
|
|
1702
|
+
"common.report-col.auto-gratuity": "Auto Gratuity",
|
|
1703
|
+
"common.report-col.auto-gratuity.short": "Auto Gratuity",
|
|
1704
|
+
"common.report-col.auto-gratuity.info": "Automatically applied gratuity added to a guest check",
|
|
1705
|
+
"common.report-col.average-gross-price": "Average Gross Price",
|
|
1706
|
+
"common.report-col.average-gross-price.short": "Avg Gross",
|
|
1707
|
+
"common.report-col.average-gross-price.info": "Average price charged per item before discounts, tax, or tips",
|
|
1708
|
+
"common.report-col.bank-fees": "Bank Fees",
|
|
1709
|
+
"common.report-col.bank-fees.short": "Bank Fees",
|
|
1710
|
+
"common.report-col.bank-fees.info": "Fees deducted by the bank or processor, including processing, interchange, or service fees",
|
|
1711
|
+
"common.report-col.batch-amount": "Batch Amount",
|
|
1712
|
+
"common.report-col.batch-amount.short": "Batch Amt",
|
|
1713
|
+
"common.report-col.batch-amount.info": "Total amount settled in the closed batch",
|
|
1714
|
+
"common.report-col.batch-date": "Batch Date",
|
|
1715
|
+
"common.report-col.batch-date.short": "Batch Date",
|
|
1716
|
+
"common.report-col.batch-date.info": "Date the batch was settled with the processor",
|
|
1717
|
+
"common.report-col.batch-number": "Batch Number",
|
|
1718
|
+
"common.report-col.batch-number.short": "Batch No",
|
|
1719
|
+
"common.report-col.batch-number.info": "The system-generated number used to track this batch of transactions",
|
|
1720
|
+
"common.report-col.clock-in-time": "Clock-In Time",
|
|
1721
|
+
"common.report-col.clock-in-time.short": "In Time",
|
|
1722
|
+
"common.report-col.clock-in-time.info": "Actual time the employee clocked in",
|
|
1723
|
+
"common.report-col.clock-out-time": "Clock-Out Time",
|
|
1724
|
+
"common.report-col.clock-out-time.short": "Out Time",
|
|
1725
|
+
"common.report-col.clock-out-time.info": "Actual time the employee clocked out",
|
|
1726
|
+
"common.report-col.status": "Status",
|
|
1727
|
+
"common.report-col.status.short": "Status",
|
|
1728
|
+
"common.report-col.status.info": "Timecard status for the shift entry.",
|
|
1729
|
+
"common.report-col.last-modified": "Last Updated/Modified",
|
|
1730
|
+
"common.report-col.last-modified.short": "Last Updated",
|
|
1731
|
+
"common.report-col.last-modified.info": "Timestamp when this timecard entry was last updated or modified.",
|
|
1732
|
+
"common.report-col.country": "Country",
|
|
1733
|
+
"common.report-col.country.short": "Country",
|
|
1734
|
+
"common.report-col.country.info": "Country where the transaction was processed",
|
|
1735
|
+
"common.report-col.customer-name": "Customer Name",
|
|
1736
|
+
"common.report-col.customer-name.short": "Customer",
|
|
1737
|
+
"common.report-col.customer-name.info": "Name of the customer associated with the ticket",
|
|
1738
|
+
"common.report-col.date": "Business Date",
|
|
1739
|
+
"common.report-col.date.short": "Business Date",
|
|
1740
|
+
"common.report-col.date.info": "Date the transaction or sale occurred based on the business date of the Location",
|
|
1741
|
+
"common.report-col.date-close": "Date Close",
|
|
1742
|
+
"common.report-col.date-close.short": "Date Close",
|
|
1743
|
+
"common.report-col.date-close.info": "Date when the ticket was completed and closed",
|
|
1744
|
+
"common.report-col.daypart": "Day Part",
|
|
1745
|
+
"common.report-col.daypart.short": "Day Part",
|
|
1746
|
+
"common.report-col.daypart.info": "Time-of-day category (e.g., Breakfast, Lunch, Dinner)",
|
|
1747
|
+
"common.report-col.debit": "Debit",
|
|
1748
|
+
"common.report-col.debit.short": "Debit",
|
|
1749
|
+
"common.report-col.debit.info": "Total sales paid using debit cards",
|
|
1750
|
+
"common.report-col.debit-returns": "Debit Returns",
|
|
1751
|
+
"common.report-col.debit-returns.short": "Debit Rtn",
|
|
1752
|
+
"common.report-col.debit-returns.info": "Total refunds issued on debit card payments",
|
|
1753
|
+
"common.report-col.declared-tips": "Declared Tips",
|
|
1754
|
+
"common.report-col.declared-tips.short": "Declared Tips",
|
|
1755
|
+
"common.report-col.declared-tips.info": "Tips manually reported by the employee",
|
|
1756
|
+
"common.report-col.department": "Department",
|
|
1757
|
+
"common.report-col.department.short": "Dept",
|
|
1758
|
+
"common.report-col.department.info": "Menu category the item belongs to",
|
|
1759
|
+
"common.report-col.deposit-currency": "Deposit Currency",
|
|
1760
|
+
"common.report-col.deposit-currency.short": "Dep Currency",
|
|
1761
|
+
"common.report-col.deposit-currency.info": "The currency your deposits are paid out in",
|
|
1762
|
+
"common.report-col.deposit-date": "Deposit Date",
|
|
1763
|
+
"common.report-col.deposit-date.short": "Dep Date",
|
|
1764
|
+
"common.report-col.deposit-date.info": "The date money was deposited into your bank account",
|
|
1765
|
+
"common.report-col.discount-amount": "Discount Amount",
|
|
1766
|
+
"common.report-col.discount-amount.short": "Discount Amt",
|
|
1767
|
+
"common.report-col.discount-amount.info": "Total amount taken off sales due to discounts",
|
|
1768
|
+
"common.report-col.discount-count": "Discount Count",
|
|
1769
|
+
"common.report-col.discount-count.short": "Disc Count",
|
|
1770
|
+
"common.report-col.discount-count.info": "Total number of discounts applied to orders",
|
|
1771
|
+
"common.report-col.ticket-count": "Ticket Qty",
|
|
1772
|
+
"common.report-col.ticket-count.short": "Ticket Qty",
|
|
1773
|
+
"common.report-col.ticket-count.info": "Count of distinct tickets with this discount",
|
|
1774
|
+
"common.report-col.item-count": "Item Qty",
|
|
1775
|
+
"common.report-col.item-count.short": "Item Qty",
|
|
1776
|
+
"common.report-col.item-count.info": "Total number of discount line items",
|
|
1777
|
+
"common.report-col.discover": "Discover",
|
|
1778
|
+
"common.report-col.discover.short": "Discover",
|
|
1779
|
+
"common.report-col.discover.info": "Total sales processed using Discover cards",
|
|
1780
|
+
"common.report-col.discover-returns": "Discover Returns",
|
|
1781
|
+
"common.report-col.discover-returns.short": "Discover Rtn",
|
|
1782
|
+
"common.report-col.discover-returns.info": "Total refunds given on Discover card payments",
|
|
1783
|
+
"common.report-col.ebt": "EBT",
|
|
1784
|
+
"common.report-col.ebt.short": "EBT",
|
|
1785
|
+
"common.report-col.ebt.info": "Total payments made using EBT",
|
|
1786
|
+
"common.report-col.ebt-returns": "EBT Returns",
|
|
1787
|
+
"common.report-col.ebt-returns.short": "EBT Returns",
|
|
1788
|
+
"common.report-col.ebt-returns.info": "Total refunds issued for EBT payments",
|
|
1789
|
+
"common.report-col.employee-id": "Employee ID",
|
|
1790
|
+
"common.report-col.employee-id.short": "Emp ID",
|
|
1791
|
+
"common.report-col.employee-id.info": "Employee's assigned ID",
|
|
1792
|
+
"common.report-col.employee-job": "Employee Job",
|
|
1793
|
+
"common.report-col.employee-job.short": "Emp Job",
|
|
1794
|
+
"common.report-col.employee-job.info": "Role the employee is performing during the shift",
|
|
1795
|
+
"common.report-col.employee-name": "Employee Name",
|
|
1796
|
+
"common.report-col.employee-name.short": "Emp Name",
|
|
1797
|
+
"common.report-col.employee-name.info": "Employee associated with the transaction or labor entry",
|
|
1798
|
+
"common.report-col.exempt-taxes": "Exempt Taxes",
|
|
1799
|
+
"common.report-col.exempt-taxes.short": "Exempt Taxes",
|
|
1800
|
+
"common.report-col.exempt-taxes.info": "Tax amount that was exempt",
|
|
1801
|
+
"common.report-col.exempt-sales": "Exempt Sales",
|
|
1802
|
+
"common.report-col.exempt-sales.short": "Exempt Sales",
|
|
1803
|
+
"common.report-col.exempt-sales.info": "Total sales that were exempt from taxation",
|
|
1804
|
+
"common.report-col.grand-total": "Grand Total",
|
|
1805
|
+
"common.report-col.grand-total.short": "Grand Total",
|
|
1806
|
+
"common.report-col.grand-total.info": "Total transaction amount, including items, taxes, fees, and gratuity",
|
|
1807
|
+
"common.report-col.gross-cash-sales": "Gross Cash Sales",
|
|
1808
|
+
"common.report-col.gross-cash-sales.short": "Gross Cash",
|
|
1809
|
+
"common.report-col.gross-cash-sales.info": "Total cash sales before discounts, refunds, taxes, or adjustments",
|
|
1810
|
+
"common.report-col.gross-credit-sales": "Gross Credit Sales",
|
|
1811
|
+
"common.report-col.gross-credit-sales.short": "Gross CC",
|
|
1812
|
+
"common.report-col.gross-credit-sales.info": "Total card sales before discounts, refunds, taxes, or adjustments",
|
|
1813
|
+
"common.report-col.gross-sales": "Gross Sales",
|
|
1814
|
+
"common.report-col.gross-sales.short": "Gross Sales",
|
|
1815
|
+
"common.report-col.gross-sales.info": "Total item sales before refunds, tax, or tips",
|
|
1816
|
+
"common.report-col.gross-tips": "Gross Tips",
|
|
1817
|
+
"common.report-col.gross-tips.short": "Gross Tips",
|
|
1818
|
+
"common.report-col.gross-tips.info": "Total tips before any deductions or sharing",
|
|
1819
|
+
"common.report-col.guest-count": "Guest Count",
|
|
1820
|
+
"common.report-col.guest-count.short": "Guest Count",
|
|
1821
|
+
"common.report-col.guest-count.info": "Total number of guests served",
|
|
1822
|
+
"common.report-col.guests-var-lw": "Guests \xB1 LW",
|
|
1823
|
+
"common.report-col.guests-var-lw.short": "\xB1 LW",
|
|
1824
|
+
"common.report-col.guests-var-lw.info": "Change in guest count compared to last week",
|
|
1825
|
+
"common.report-col.guests-var-lw-pct": "Guests \xB1 LW %",
|
|
1826
|
+
"common.report-col.guests-var-lw-pct.short": "\xB1 LW %",
|
|
1827
|
+
"common.report-col.guests-var-lw-pct.info": "Percentage change in guests compared to last week",
|
|
1828
|
+
"common.report-col.guests-var-ly": "Guests \xB1 LY",
|
|
1829
|
+
"common.report-col.guests-var-ly.short": "\xB1 LY",
|
|
1830
|
+
"common.report-col.guests-var-ly.info": "Change in guest count compared to last year",
|
|
1831
|
+
"common.report-col.guests-var-ly-pct": "Guests \xB1 LY %",
|
|
1832
|
+
"common.report-col.guests-var-ly-pct.short": "\xB1 LY %",
|
|
1833
|
+
"common.report-col.guests-var-ly-pct.info": "Percentage change in guests compared to last year",
|
|
1834
|
+
"common.report-col.hour": "Hour",
|
|
1835
|
+
"common.report-col.hour.short": "Hour",
|
|
1836
|
+
"common.report-col.hour.info": "Hour of the day the activity occurred",
|
|
1837
|
+
"common.report-col.hours-worked": "Hours Worked",
|
|
1838
|
+
"common.report-col.hours-worked.short": "Hrs Worked",
|
|
1839
|
+
"common.report-col.hours-worked.info": "Total hours worked during the selected period",
|
|
1840
|
+
"common.report-col.inclusive-tax": "Inclusive Tax",
|
|
1841
|
+
"common.report-col.inclusive-tax.short": "Inclusive Tax",
|
|
1842
|
+
"common.report-col.inclusive-tax.info": "Tax already included in the item price",
|
|
1843
|
+
"common.report-col.item-name": "Item Name",
|
|
1844
|
+
"common.report-col.item-name.short": "Item Name",
|
|
1845
|
+
"common.report-col.item-name.info": "Item sold in the transaction",
|
|
1846
|
+
"common.report-col.item-price": "Item Price",
|
|
1847
|
+
"common.report-col.item-price.short": "Item Price",
|
|
1848
|
+
"common.report-col.item-price.info": "Price of one item before discounts, taxes, or customizations",
|
|
1849
|
+
"common.report-col.location-city": "Location City",
|
|
1850
|
+
"common.report-col.location-city.short": "City",
|
|
1851
|
+
"common.report-col.location-city.info": "City of the business location",
|
|
1852
|
+
"common.report-col.location-id": "Location ID",
|
|
1853
|
+
"common.report-col.location-id.short": "Loc ID",
|
|
1854
|
+
"common.report-col.location-id.info": "Unique identifier for the business location",
|
|
1855
|
+
"common.report-col.location-mid": "Location MID",
|
|
1856
|
+
"common.report-col.location-mid.short": "MID",
|
|
1857
|
+
"common.report-col.location-mid.info": "Merchant ID tied to the business location",
|
|
1858
|
+
"common.report-col.location-name": "Location Name",
|
|
1859
|
+
"common.report-col.location-name.short": "Location",
|
|
1860
|
+
"common.report-col.location-name.info": "Name of the business location",
|
|
1861
|
+
"common.report-col.location-state": "Location State",
|
|
1862
|
+
"common.report-col.location-state.short": "State",
|
|
1863
|
+
"common.report-col.location-state.info": "State of the business location",
|
|
1864
|
+
"common.report-col.mastercard": "Mastercard",
|
|
1865
|
+
"common.report-col.mastercard.short": "MC",
|
|
1866
|
+
"common.report-col.mastercard.info": "Total sales processed using Mastercard",
|
|
1867
|
+
"common.report-col.mc-returns": "MC Returns",
|
|
1868
|
+
"common.report-col.mc-returns.short": "MC Returns",
|
|
1869
|
+
"common.report-col.mc-returns.info": "Total refunds issued on Mastercard payments",
|
|
1870
|
+
"common.report-col.modifier-name": "Modifier Name",
|
|
1871
|
+
"common.report-col.modifier-name.short": "Mod Name",
|
|
1872
|
+
"common.report-col.modifier-name.info": "The specific option or customization applied to an item",
|
|
1873
|
+
"common.report-col.modifier-price": "Modifier Price",
|
|
1874
|
+
"common.report-col.modifier-price.short": "Mod Price",
|
|
1875
|
+
"common.report-col.modifier-price.info": "Price of one modifier",
|
|
1876
|
+
"common.report-col.modifier-quantity": "Modifier Quantity",
|
|
1877
|
+
"common.report-col.modifier-quantity.short": "Mod Qty",
|
|
1878
|
+
"common.report-col.modifier-quantity.info": "Number of modifiers added to items on the ticket",
|
|
1879
|
+
"common.report-col.item-quantity": "Item Quantity",
|
|
1880
|
+
"common.report-col.item-quantity.short": "Item Qty",
|
|
1881
|
+
"common.report-col.item-quantity.info": "Total quantity of parent items sold",
|
|
1882
|
+
"common.report-col.modifier-quantity-comp": "Mod Qty (Comparison)",
|
|
1883
|
+
"common.report-col.modifier-quantity-comp.short": "Mod Qty (C)",
|
|
1884
|
+
"common.report-col.modifier-quantity-comp.info": "Modifier quantity for comparison period",
|
|
1885
|
+
"common.report-col.item-quantity-comp": "Item Qty (Comparison)",
|
|
1886
|
+
"common.report-col.item-quantity-comp.short": "Item Qty (C)",
|
|
1887
|
+
"common.report-col.item-quantity-comp.info": "Item quantity for comparison period",
|
|
1888
|
+
"common.report-col.attach-rate-comp": "Attach Rate (Comparison)",
|
|
1889
|
+
"common.report-col.attach-rate-comp.short": "Rate (C)",
|
|
1890
|
+
"common.report-col.attach-rate-comp.info": "Attach rate for comparison period",
|
|
1891
|
+
"common.report-col.total-modifier-sales-var": "Mod Sales Variance",
|
|
1892
|
+
"common.report-col.total-modifier-sales-var.short": "Sales Var",
|
|
1893
|
+
"common.report-col.total-modifier-sales-var.info": "Variance in modifier sales vs comparison period",
|
|
1894
|
+
"common.report-col.total-modifier-sales-var-pct": "Mod Sales Var %",
|
|
1895
|
+
"common.report-col.total-modifier-sales-var-pct.short": "Sales %",
|
|
1896
|
+
"common.report-col.total-modifier-sales-var-pct.info": "Percentage variance in modifier sales",
|
|
1897
|
+
"common.report-col.modifier-quantity-var": "Mod Qty Variance",
|
|
1898
|
+
"common.report-col.modifier-quantity-var.short": "Qty Var",
|
|
1899
|
+
"common.report-col.modifier-quantity-var.info": "Variance in modifier quantity vs comparison period",
|
|
1900
|
+
"common.report-col.modifier-quantity-var-pct": "Mod Qty Var %",
|
|
1901
|
+
"common.report-col.modifier-quantity-var-pct.short": "Qty %",
|
|
1902
|
+
"common.report-col.modifier-quantity-var-pct.info": "Percentage variance in modifier quantity",
|
|
1903
|
+
"common.report-col.attach-rate-var": "Attach Rate Variance",
|
|
1904
|
+
"common.report-col.attach-rate-var.short": "Rate Var",
|
|
1905
|
+
"common.report-col.attach-rate-var.info": "Variance in attach rate vs comparison period",
|
|
1906
|
+
"common.report-col.attach-rate-var-pct": "Attach Rate Var %",
|
|
1907
|
+
"common.report-col.attach-rate-var-pct.short": "Rate %",
|
|
1908
|
+
"common.report-col.attach-rate-var-pct.info": "Percentage variance in attach rate",
|
|
1909
|
+
"common.report-col.total-modifier-sales-comp": "Mod Sales (Comparison)",
|
|
1910
|
+
"common.report-col.total-modifier-sales-comp.short": "Mod (C)",
|
|
1911
|
+
"common.report-col.total-modifier-sales-comp.info": "Modifier sales for comparison period",
|
|
1912
|
+
"common.report-col.net-sales": "Net Sales",
|
|
1913
|
+
"common.report-col.net-sales.short": "Net Sales",
|
|
1914
|
+
"common.report-col.net-sales.info": "Sales amount excluding taxes and tips",
|
|
1915
|
+
"common.report-col.net-tax-collected": "Net Tax Collected",
|
|
1916
|
+
"common.report-col.net-tax-collected.short": "Net Tax",
|
|
1917
|
+
"common.report-col.net-tax-collected.info": "Taxes collected after refunds are deducted",
|
|
1918
|
+
"common.report-col.net-tips": "Net Tips",
|
|
1919
|
+
"common.report-col.net-tips.short": "Net Tips",
|
|
1920
|
+
"common.report-col.net-tips.info": "Gross Tips - Tip Reduction + Tip Share + Adjusted Tips",
|
|
1921
|
+
"common.report-col.number-of-guests": "Number of Guests",
|
|
1922
|
+
"common.report-col.number-of-guests.short": "No Guests",
|
|
1923
|
+
"common.report-col.number-of-guests.info": "Number of guests tied to the transaction",
|
|
1924
|
+
"common.report-col.order-type": "Order Type",
|
|
1925
|
+
"common.report-col.order-type.short": "Order Type",
|
|
1926
|
+
"common.report-col.order-type.info": "How the order was placed",
|
|
1927
|
+
"common.report-col.payment-type": "Payment Type",
|
|
1928
|
+
"common.report-col.payment-type.short": "Pay Type",
|
|
1929
|
+
"common.report-col.payment-type.info": "Method used to pay for the transaction (e.g., cash, credit, gift card)",
|
|
1930
|
+
"common.report-col.payroll-id": "Payroll ID",
|
|
1931
|
+
"common.report-col.payroll-id.short": "Payroll ID",
|
|
1932
|
+
"common.report-col.payroll-id.info": "Employee's Payroll ID",
|
|
1933
|
+
"common.report-col.quantity": "Quantity",
|
|
1934
|
+
"common.report-col.quantity.short": "Quantity",
|
|
1935
|
+
"common.report-col.quantity.info": "Number of items sold",
|
|
1936
|
+
"common.report-col.reference-number": "Reference Number",
|
|
1937
|
+
"common.report-col.reference-number.short": "Ref Number",
|
|
1938
|
+
"common.report-col.reference-number.info": "Reference number used to identify this transaction or record",
|
|
1939
|
+
"common.report-col.refund-amount": "Refund Amount",
|
|
1940
|
+
"common.report-col.refund-amount.short": "Refund Amt",
|
|
1941
|
+
"common.report-col.refund-amount.info": "Total amount refunded to customers",
|
|
1942
|
+
"common.report-col.refunded-tax-amount": "Refunded Tax Amount",
|
|
1943
|
+
"common.report-col.refunded-tax-amount.short": "Refunded Tax",
|
|
1944
|
+
"common.report-col.refunded-tax-amount.info": "Tax portion of refunded transactions",
|
|
1945
|
+
"common.report-col.revenue-center": "Revenue Center",
|
|
1946
|
+
"common.report-col.revenue-center.short": "Rev Ctr",
|
|
1947
|
+
"common.report-col.revenue-center.info": "Area where the sale occurred",
|
|
1948
|
+
"common.report-col.revenue-class": "Revenue Class",
|
|
1949
|
+
"common.report-col.revenue-class.short": "Rev Class",
|
|
1950
|
+
"common.report-col.revenue-class.info": "Category used to group similar types of revenue",
|
|
1951
|
+
"common.report-col.sales-var-lw": "Sales \xB1 LW",
|
|
1952
|
+
"common.report-col.sales-var-lw.short": "\xB1 LW",
|
|
1953
|
+
"common.report-col.sales-var-lw.info": "Change in sales compared to last week",
|
|
1954
|
+
"common.report-col.sales-var-lw-pct": "Sales \xB1 LW %",
|
|
1955
|
+
"common.report-col.sales-var-lw-pct.short": "\xB1 LW %",
|
|
1956
|
+
"common.report-col.sales-var-lw-pct.info": "Percentage change in sales compared to last week",
|
|
1957
|
+
"common.report-col.sales-var-ly": "Sales \xB1 LY",
|
|
1958
|
+
"common.report-col.sales-var-ly.short": "\xB1 LY",
|
|
1959
|
+
"common.report-col.sales-var-ly.info": "Change in sales compared to last year",
|
|
1960
|
+
"common.report-col.sales-var-ly-pct": "Sales \xB1 LY %",
|
|
1961
|
+
"common.report-col.sales-var-ly-pct.short": "\xB1 LY %",
|
|
1962
|
+
"common.report-col.sales-var-ly-pct.info": "Percentage change in sales compared to last year",
|
|
1963
|
+
"common.report-col.sales-mix-by-pct": "Sales Mix By %",
|
|
1964
|
+
"common.report-col.sales-mix-by-pct.short": "Sales Mix %",
|
|
1965
|
+
"common.report-col.sales-mix-by-pct.info": "Percentage of total sales contributed by this item or category",
|
|
1966
|
+
"common.report-col.sales-per-guest": "Sales/Guest",
|
|
1967
|
+
"common.report-col.sales-per-guest.short": "Amt/Guest",
|
|
1968
|
+
"common.report-col.sales-per-guest.info": "Average spend per guest",
|
|
1969
|
+
"common.report-col.sales-per-guest-lw": "Sales/Guest LW",
|
|
1970
|
+
"common.report-col.sales-per-guest-lw.short": "Amt/Guest LW",
|
|
1971
|
+
"common.report-col.sales-per-guest-lw.info": "Average spend per guest last week",
|
|
1972
|
+
"common.report-col.sales-per-guest-ly": "Sales/Guest LY",
|
|
1973
|
+
"common.report-col.sales-per-guest-ly.short": "Amt/Guest LY",
|
|
1974
|
+
"common.report-col.sales-per-guest-ly.info": "Average spend per guest last year",
|
|
1975
|
+
"common.report-col.scheduled-shift-end": "Scheduled Shift End",
|
|
1976
|
+
"common.report-col.scheduled-shift-end.short": "Sch Shift End",
|
|
1977
|
+
"common.report-col.scheduled-shift-end.info": "Planned end time of the shift based on the schedule (not actual clock-out)",
|
|
1978
|
+
"common.report-col.scheduled-shift-start": "Scheduled Shift Start",
|
|
1979
|
+
"common.report-col.scheduled-shift-start.short": "Sch Shift Start",
|
|
1980
|
+
"common.report-col.scheduled-shift-start.info": "Planned start time of the shift based on the schedule (not actual clock-in)",
|
|
1981
|
+
"common.report-col.settlement-batch-date": "Settlement (Batch) Date",
|
|
1982
|
+
"common.report-col.settlement-batch-date.short": "Settle Date",
|
|
1983
|
+
"common.report-col.settlement-batch-date.info": "The date this group of transactions was finalized and sent to the bank for settlement",
|
|
1984
|
+
"common.report-col.shift-duration-hrs": "Shift Duration (hrs)",
|
|
1985
|
+
"common.report-col.shift-duration-hrs.short": "Shift (hrs)",
|
|
1986
|
+
"common.report-col.shift-duration-hrs.info": "Shift Duration in Hours",
|
|
1987
|
+
"common.report-col.subtotal": "Subtotal",
|
|
1988
|
+
"common.report-col.subtotal.short": "Subtotal",
|
|
1989
|
+
"common.report-col.subtotal.info": "Total of items before taxes, fees, and gratuity",
|
|
1990
|
+
"common.report-col.tax-collected": "Tax Collected",
|
|
1991
|
+
"common.report-col.tax-collected.short": "Tax",
|
|
1992
|
+
"common.report-col.tax-collected.info": "Total taxes charged to customers",
|
|
1993
|
+
"common.report-col.tax-name": "Tax Name",
|
|
1994
|
+
"common.report-col.tax-name.short": "Tax Name",
|
|
1995
|
+
"common.report-col.tax-name.info": "Name of the applied tax",
|
|
1996
|
+
"common.report-col.tax-rate": "Tax Rate",
|
|
1997
|
+
"common.report-col.tax-rate.short": "Tax Rate",
|
|
1998
|
+
"common.report-col.tax-rate.info": "Flat Rate or Percentage used to calculate the tax",
|
|
1999
|
+
"common.report-col.taxable-sales": "Taxable Sales",
|
|
2000
|
+
"common.report-col.taxable-sales.short": "Taxable Sales",
|
|
2001
|
+
"common.report-col.taxable-sales.info": "Sales subject to tax",
|
|
2002
|
+
"common.report-col.ticket-closed": "Ticket Closed",
|
|
2003
|
+
"common.report-col.ticket-closed.short": "Tkt Closed",
|
|
2004
|
+
"common.report-col.ticket-closed.info": "Time when the ticket was completed and closed. Based on local calendar date",
|
|
2005
|
+
"common.report-col.ticket-fee": "Ticket Fee",
|
|
2006
|
+
"common.report-col.ticket-fee.short": "Tkt Fee",
|
|
2007
|
+
"common.report-col.ticket-fee.info": "Additional fees applied to the ticket",
|
|
2008
|
+
"common.report-col.ticket-number": "Ticket Number",
|
|
2009
|
+
"common.report-col.ticket-number.short": "Tkt Number",
|
|
2010
|
+
"common.report-col.ticket-number.info": "Unique ID used to identify the ticket or transaction",
|
|
2011
|
+
"common.report-col.ticket-open": "Ticket Open",
|
|
2012
|
+
"common.report-col.ticket-open.short": "Tkt Open",
|
|
2013
|
+
"common.report-col.ticket-open.info": "Time when the ticket was opened. Based on local calendar date",
|
|
2014
|
+
"common.report-col.ticket-total": "Ticket Total",
|
|
2015
|
+
"common.report-col.ticket-total.short": "Tkt Total",
|
|
2016
|
+
"common.report-col.ticket-total.info": "Total amount paid by guests, including sales, taxes, and tips",
|
|
2017
|
+
"common.report-col.time-open-mins": "Time Open (Mins)",
|
|
2018
|
+
"common.report-col.time-open-mins.short": "Open (Mins)",
|
|
2019
|
+
"common.report-col.time-open-mins.info": "Minutes between ticket open and close times",
|
|
2020
|
+
"common.report-col.tip-pct": "Tip %",
|
|
2021
|
+
"common.report-col.tip-pct.short": "Tip %",
|
|
2022
|
+
"common.report-col.tip-pct.info": "Tip % (Total Tips \xF7 Sales Amount)",
|
|
2023
|
+
"common.report-col.tip-reduction": "Tip Reduction",
|
|
2024
|
+
"common.report-col.tip-reduction.short": "Tip Reduction",
|
|
2025
|
+
"common.report-col.tip-reduction.info": "Tips removed due to adjustments or policies",
|
|
2026
|
+
"common.report-col.tip-share": "Tip Share",
|
|
2027
|
+
"common.report-col.tip-share.short": "Tip Share",
|
|
2028
|
+
"common.report-col.tip-share.info": "Tips distributed to other employees",
|
|
2029
|
+
"common.report-col.tips": "Tips",
|
|
2030
|
+
"common.report-col.tips.short": "Tips",
|
|
2031
|
+
"common.report-col.tips.info": "Total tips received for the ticket",
|
|
2032
|
+
"common.report-col.tips-per-hour": "Tips per Hour",
|
|
2033
|
+
"common.report-col.tips-per-hour.short": "Tips per Hour",
|
|
2034
|
+
"common.report-col.tips-per-hour.info": "Total Tips / Hours Worked",
|
|
2035
|
+
"common.report-col.total-collected": "Total Collected",
|
|
2036
|
+
"common.report-col.total-collected.short": "Total",
|
|
2037
|
+
"common.report-col.total-collected.info": "Total amount collected, including taxes, fees, and tips",
|
|
2038
|
+
"common.report-col.total-item-sales": "Total Item Sales",
|
|
2039
|
+
"common.report-col.total-item-sales.short": "Item Sales",
|
|
2040
|
+
"common.report-col.total-item-sales.info": "Average item price \xD7 quantity sold. Total value of the items sold",
|
|
2041
|
+
"common.report-col.total-modifier-sales": "Total Modifier Sales",
|
|
2042
|
+
"common.report-col.total-modifier-sales.short": "Mod Sales",
|
|
2043
|
+
"common.report-col.total-modifier-sales.info": "Average modifier price \xD7 quantity sold. Total value of the modifiers sold",
|
|
2044
|
+
"common.report-col.total-returns": "Total Returns",
|
|
2045
|
+
"common.report-col.total-returns.short": "Returns",
|
|
2046
|
+
"common.report-col.total-returns.info": "Total amount refunded to customers",
|
|
2047
|
+
"common.report-col.total-sales": "Total Sales",
|
|
2048
|
+
"common.report-col.total-sales.short": "Sales",
|
|
2049
|
+
"common.report-col.total-sales.info": "Total sales across all tenders before discounts, refunds, taxes, or adjustments",
|
|
2050
|
+
"common.report-col.total-tips": "Total Tips",
|
|
2051
|
+
"common.report-col.total-tips.short": "Tips",
|
|
2052
|
+
"common.report-col.total-tips.info": "All tips received from customers",
|
|
2053
|
+
"common.report-col.transaction-date": "Transaction Date",
|
|
2054
|
+
"common.report-col.transaction-date.short": "Txn Date",
|
|
2055
|
+
"common.report-col.transaction-date.info": "The date the transaction took place",
|
|
2056
|
+
"common.report-col.sale-payment-type": "Payment Type",
|
|
2057
|
+
"common.report-col.sale-payment-type.short": "Payment Type",
|
|
2058
|
+
"common.report-col.sale-payment-type.info": "The payment method used to close the ticket (e.g. Credit, Other)",
|
|
2059
|
+
"common.report-col.transaction-type": "Transaction Type",
|
|
2060
|
+
"common.report-col.transaction-type.short": "Txn Type",
|
|
2061
|
+
"common.report-col.transaction-type.info": "Shows whether this transaction is a sale, refund, or other adjustment",
|
|
2062
|
+
"common.report-col.untaxed-sales": "Untaxed Sales",
|
|
2063
|
+
"common.report-col.untaxed-sales.short": "Non-Tax",
|
|
2064
|
+
"common.report-col.untaxed-sales.info": "Sales not subject to tax",
|
|
2065
|
+
"common.report-col.visa": "Visa",
|
|
2066
|
+
"common.report-col.visa.short": "Visa",
|
|
2067
|
+
"common.report-col.visa.info": "Total sales processed using Visa cards",
|
|
2068
|
+
"common.report-col.visa-returns": "Visa Returns",
|
|
2069
|
+
"common.report-col.visa-returns.short": "Visa Returns",
|
|
2070
|
+
"common.report-col.visa-returns.info": "Total refunds issued on Visa payments",
|
|
2071
|
+
"common.report-col.payments-count": "Payments Count",
|
|
2072
|
+
"common.report-col.payments-count.short": "Qty",
|
|
2073
|
+
"common.report-col.payments-count.info": "Number of payments",
|
|
2074
|
+
"common.report-col.payments-amount": "Payments Amount",
|
|
2075
|
+
"common.report-col.payments-amount.short": "Amount",
|
|
2076
|
+
"common.report-col.payments-amount.info": "Total payment amount",
|
|
2077
|
+
"common.report-col.payments-total": "Payments Total",
|
|
2078
|
+
"common.report-col.payments-total.short": "Total",
|
|
2079
|
+
"common.report-col.payments-total.info": "Total payments including tips",
|
|
2080
|
+
"common.report-col.refund-void-description": "Description",
|
|
2081
|
+
"common.report-col.refund-void-description.short": "Description",
|
|
2082
|
+
"common.report-col.refund-void-description.info": "Type of refund or void",
|
|
2083
|
+
"common.report-col.refund-void-count": "Refund/Void Count",
|
|
2084
|
+
"common.report-col.refund-void-count.short": "Qty",
|
|
2085
|
+
"common.report-col.refund-void-count.info": "Number of refunds or voids",
|
|
2086
|
+
"common.report-col.refund-void-amount": "Refund/Void Amount",
|
|
2087
|
+
"common.report-col.refund-void-amount.short": "Gross",
|
|
2088
|
+
"common.report-col.refund-void-amount.info": "Total amount of refunds or voids",
|
|
2089
|
+
"common.report-col.refund-void-pct-sales": "Refund/Void % of Sales",
|
|
2090
|
+
"common.report-col.refund-void-pct-sales.short": "% of Sale",
|
|
2091
|
+
"common.report-col.refund-void-pct-sales.info": "Percentage of sales represented by refunds or voids",
|
|
2092
|
+
"common.report-col.discount-name": "Discount Type",
|
|
2093
|
+
"common.report-col.discount-name.short": "Discount Type",
|
|
2094
|
+
"common.report-col.discount-name.info": "Name of the discount applied",
|
|
2095
|
+
"common.report-col.tickets": "Tickets",
|
|
2096
|
+
"common.report-col.tickets.short": "Tickets",
|
|
2097
|
+
"common.report-col.tickets.info": "Total number of tickets",
|
|
2098
|
+
"common.report-col.guests": "Guests",
|
|
2099
|
+
"common.report-col.guests.short": "Guests",
|
|
2100
|
+
"common.report-col.guests.info": "Total number of guests",
|
|
2101
|
+
"common.report-col.ticket-average": "Ticket Average",
|
|
2102
|
+
"common.report-col.ticket-average.short": "Tkt Avg",
|
|
2103
|
+
"common.report-col.ticket-average.info": "Average net sales per ticket",
|
|
2104
|
+
"common.report-col.guest-average": "Guest Average",
|
|
2105
|
+
"common.report-col.guest-average.short": "Gst Avg",
|
|
2106
|
+
"common.report-col.guest-average.info": "Average net sales per guest",
|
|
2107
|
+
"common.report-col.net": "Net",
|
|
2108
|
+
"common.report-col.net.short": "Net",
|
|
2109
|
+
"common.report-col.net.info": "Net sales amount",
|
|
2110
|
+
"common.report-col.gross-cash-tips": "Gross Cash Tips",
|
|
2111
|
+
"common.report-col.gross-cash-tips.short": "Gross Cash Tips",
|
|
2112
|
+
"common.report-col.gross-cash-tips.info": "Gross cash tips collected before distribution",
|
|
2113
|
+
"common.report-col.gross-credit-card-tips": "Gross Credit Card Tips",
|
|
2114
|
+
"common.report-col.gross-credit-card-tips.short": "Gross CC Tips",
|
|
2115
|
+
"common.report-col.gross-credit-card-tips.info": "Gross credit card tips before any deductions or redistribution",
|
|
2116
|
+
"common.report-col.type": "Type",
|
|
2117
|
+
"common.report-col.type.short": "Type",
|
|
2118
|
+
"common.report-col.type.info": " ",
|
|
2119
|
+
"common.report-section.revenue-class": "Revenue Class",
|
|
2120
|
+
"common.report-section.payments": "Payments",
|
|
2121
|
+
"common.report-section.cash": "Expected Closeout Cash",
|
|
2122
|
+
"common.report-section.taxes": "Taxes",
|
|
2123
|
+
"common.report-section.refunds-voids": "Refunds & Voids",
|
|
2124
|
+
"common.report-section.discounts": "Discounts",
|
|
2125
|
+
"common.report-section.sales-by-day-part": "Sales by Day Part",
|
|
2126
|
+
"common.report-section.sales-by-order-type": "Sales by Order Type",
|
|
2127
|
+
"common.report-section.cash-row.cash-payments": "Cash Payments",
|
|
2128
|
+
"common.report-section.cash-row.paid-in-outs": "Paid-In/Outs",
|
|
2129
|
+
"common.report-section.cash-row.gratuities-paid-out": "Gratuities Paid Out",
|
|
2130
|
+
"common.report-section.cash-row.cc-tips-paid-out": "CC Tips Paid Out",
|
|
2131
|
+
"common.report-section.trends-footer.total-sales": "Total Sales",
|
|
2132
|
+
"common.report-section.rev-class-footer.tax-total": "Tax Total",
|
|
2133
|
+
"common.report-section.rev-class-footer.gratuities": "Gratuities",
|
|
2134
|
+
"common.report-section.rev-class-footer.balance-payments": "Balance Payments",
|
|
2135
|
+
"common.report-section.rev-class-footer.gift-card-sales": "Gift Card Sales",
|
|
2136
|
+
"common.report-section.rev-class-footer.non-sales-revenue": "Non-Sales Revenue",
|
|
2137
|
+
"common.report-section.rev-class-footer.total-accountable": "Total Accountable",
|
|
2138
|
+
"scheduled-reports.period": "Period",
|
|
2139
|
+
"components.form.field.group-by": "Group By",
|
|
2140
|
+
"components.form.field.last-week": "Compare to Last Week",
|
|
2141
|
+
"components.form.field.last-year": "Compare to Last Year",
|
|
2142
|
+
"common.labels.locations": "Locations",
|
|
2143
|
+
"common.labels.yes": "Yes",
|
|
2144
|
+
// Analytic fields
|
|
2145
|
+
"analytics.field.location_id": "Location",
|
|
2146
|
+
"analytics.field.order_type_id": "Order Types",
|
|
2147
|
+
"analytics.field.revenue_center_id": "Revenue Centers",
|
|
2148
|
+
"analytics.field.revenue_center_id.all": "All Revenue Centers",
|
|
2149
|
+
"analytics.field.hour_id": "Hours",
|
|
2150
|
+
"analytics.field.daypart_id": "Day Parts",
|
|
2151
|
+
"analytics.field.timeslot_id": "15 Mins",
|
|
2152
|
+
"analytics.field.employee_id": "Employees",
|
|
2153
|
+
"analytics.field.payroll_id": "Payroll IDs",
|
|
2154
|
+
"analytics.field.intraday_period_group": "Day Parts",
|
|
2155
|
+
"analytics.field.item_id": "Item",
|
|
2156
|
+
"analytics.field.department_id": "Department",
|
|
2157
|
+
"analytics.field.revenue_class_id": "Revenue Class",
|
|
2158
|
+
"analytics.field.modifier_id": "Modifier",
|
|
2159
|
+
// Common labels
|
|
2160
|
+
"table.total": "Total",
|
|
2161
|
+
"table.groups.sales": "Sales",
|
|
2162
|
+
"table.groups.net-sales": "Net Sales",
|
|
2163
|
+
"table.groups.guests": "Guests",
|
|
2164
|
+
"table.groups.sales-per-guest": "Sales / Guest"
|
|
2165
|
+
};
|
|
2166
|
+
var en_US_default = enUS;
|
|
2167
|
+
|
|
2168
|
+
// src/translations/crowdin/skytab-analytics-report-utils/en-GB.ts
|
|
2169
|
+
var enUS2 = {
|
|
2170
|
+
"common.report-col.fifteen-min-interval": false,
|
|
2171
|
+
"common.report-col.fifteen-min-interval.short": false,
|
|
2172
|
+
"common.report-col.fifteen-min-interval.info": false,
|
|
2173
|
+
"common.report-col.adjusted-tips": false,
|
|
2174
|
+
"common.report-col.adjusted-tips.short": false,
|
|
2175
|
+
"common.report-col.adjusted-tips.info": false,
|
|
2176
|
+
"common.report-col.advantage-program": false,
|
|
2177
|
+
"common.report-col.advantage-program.short": false,
|
|
2178
|
+
"common.report-col.advantage-program.info": false,
|
|
2179
|
+
"common.report-col.amex": false,
|
|
2180
|
+
"common.report-col.amex.short": false,
|
|
2181
|
+
"common.report-col.amex.info": false,
|
|
2182
|
+
"common.report-col.amex-returns": false,
|
|
2183
|
+
"common.report-col.amex-returns.short": false,
|
|
2184
|
+
"common.report-col.amex-returns.info": false,
|
|
2185
|
+
"common.report-col.attach-rate": false,
|
|
2186
|
+
"common.report-col.attach-rate.short": false,
|
|
2187
|
+
"common.report-col.attach-rate.info": false,
|
|
2188
|
+
"common.report-col.auto-gratuity": false,
|
|
2189
|
+
"common.report-col.auto-gratuity.short": false,
|
|
2190
|
+
"common.report-col.auto-gratuity.info": false,
|
|
2191
|
+
"common.report-col.average-gross-price": false,
|
|
2192
|
+
"common.report-col.average-gross-price.short": false,
|
|
2193
|
+
"common.report-col.average-gross-price.info": false,
|
|
2194
|
+
"common.report-col.bank-fees": false,
|
|
2195
|
+
"common.report-col.bank-fees.short": false,
|
|
2196
|
+
"common.report-col.bank-fees.info": false,
|
|
2197
|
+
"common.report-col.batch-amount": false,
|
|
2198
|
+
"common.report-col.batch-amount.short": false,
|
|
2199
|
+
"common.report-col.batch-amount.info": false,
|
|
2200
|
+
"common.report-col.batch-date": false,
|
|
2201
|
+
"common.report-col.batch-date.short": false,
|
|
2202
|
+
"common.report-col.batch-date.info": false,
|
|
2203
|
+
"common.report-col.batch-number": false,
|
|
2204
|
+
"common.report-col.batch-number.short": false,
|
|
2205
|
+
"common.report-col.batch-number.info": false,
|
|
2206
|
+
"common.report-col.clock-in-time": false,
|
|
2207
|
+
"common.report-col.clock-in-time.short": false,
|
|
2208
|
+
"common.report-col.clock-in-time.info": false,
|
|
2209
|
+
"common.report-col.clock-out-time": false,
|
|
2210
|
+
"common.report-col.clock-out-time.short": false,
|
|
2211
|
+
"common.report-col.clock-out-time.info": false,
|
|
2212
|
+
"common.report-col.status": false,
|
|
2213
|
+
"common.report-col.status.short": false,
|
|
2214
|
+
"common.report-col.status.info": false,
|
|
2215
|
+
"common.report-col.last-modified": false,
|
|
2216
|
+
"common.report-col.last-modified.short": false,
|
|
2217
|
+
"common.report-col.last-modified.info": false,
|
|
2218
|
+
"common.report-col.country": false,
|
|
2219
|
+
"common.report-col.country.short": false,
|
|
2220
|
+
"common.report-col.country.info": false,
|
|
2221
|
+
"common.report-col.customer-name": false,
|
|
2222
|
+
"common.report-col.customer-name.short": false,
|
|
2223
|
+
"common.report-col.customer-name.info": false,
|
|
2224
|
+
"common.report-col.date": false,
|
|
2225
|
+
"common.report-col.date.short": false,
|
|
2226
|
+
"common.report-col.date.info": false,
|
|
2227
|
+
"common.report-col.date-close": false,
|
|
2228
|
+
"common.report-col.date-close.short": false,
|
|
2229
|
+
"common.report-col.date-close.info": false,
|
|
2230
|
+
"common.report-col.daypart": false,
|
|
2231
|
+
"common.report-col.daypart.short": false,
|
|
2232
|
+
"common.report-col.daypart.info": false,
|
|
2233
|
+
"common.report-col.debit": false,
|
|
2234
|
+
"common.report-col.debit.short": false,
|
|
2235
|
+
"common.report-col.debit.info": false,
|
|
2236
|
+
"common.report-col.debit-returns": false,
|
|
2237
|
+
"common.report-col.debit-returns.short": false,
|
|
2238
|
+
"common.report-col.debit-returns.info": false,
|
|
2239
|
+
"common.report-col.declared-tips": false,
|
|
2240
|
+
"common.report-col.declared-tips.short": false,
|
|
2241
|
+
"common.report-col.declared-tips.info": false,
|
|
2242
|
+
"common.report-col.department": false,
|
|
2243
|
+
"common.report-col.department.short": false,
|
|
2244
|
+
"common.report-col.department.info": false,
|
|
2245
|
+
"common.report-col.deposit-currency": false,
|
|
2246
|
+
"common.report-col.deposit-currency.short": false,
|
|
2247
|
+
"common.report-col.deposit-currency.info": false,
|
|
2248
|
+
"common.report-col.deposit-date": false,
|
|
2249
|
+
"common.report-col.deposit-date.short": false,
|
|
2250
|
+
"common.report-col.deposit-date.info": false,
|
|
2251
|
+
"common.report-col.discount-amount": false,
|
|
2252
|
+
"common.report-col.discount-amount.short": false,
|
|
2253
|
+
"common.report-col.discount-amount.info": false,
|
|
2254
|
+
"common.report-col.discount-count": false,
|
|
2255
|
+
"common.report-col.discount-count.short": false,
|
|
2256
|
+
"common.report-col.discount-count.info": false,
|
|
2257
|
+
"common.report-col.ticket-count": false,
|
|
2258
|
+
"common.report-col.ticket-count.short": false,
|
|
2259
|
+
"common.report-col.ticket-count.info": false,
|
|
2260
|
+
"common.report-col.item-count": false,
|
|
2261
|
+
"common.report-col.item-count.short": false,
|
|
2262
|
+
"common.report-col.item-count.info": false,
|
|
2263
|
+
"common.report-col.discover": false,
|
|
2264
|
+
"common.report-col.discover.short": false,
|
|
2265
|
+
"common.report-col.discover.info": false,
|
|
2266
|
+
"common.report-col.discover-returns": false,
|
|
2267
|
+
"common.report-col.discover-returns.short": false,
|
|
2268
|
+
"common.report-col.discover-returns.info": false,
|
|
2269
|
+
"common.report-col.ebt": false,
|
|
2270
|
+
"common.report-col.ebt.short": false,
|
|
2271
|
+
"common.report-col.ebt.info": false,
|
|
2272
|
+
"common.report-col.ebt-returns": false,
|
|
2273
|
+
"common.report-col.ebt-returns.short": false,
|
|
2274
|
+
"common.report-col.ebt-returns.info": false,
|
|
2275
|
+
"common.report-col.employee-id": false,
|
|
2276
|
+
"common.report-col.employee-id.short": false,
|
|
2277
|
+
"common.report-col.employee-id.info": false,
|
|
2278
|
+
"common.report-col.employee-job": false,
|
|
2279
|
+
"common.report-col.employee-job.short": false,
|
|
2280
|
+
"common.report-col.employee-job.info": false,
|
|
2281
|
+
"common.report-col.employee-name": false,
|
|
2282
|
+
"common.report-col.employee-name.short": false,
|
|
2283
|
+
"common.report-col.employee-name.info": false,
|
|
2284
|
+
"common.report-col.exempt-taxes": false,
|
|
2285
|
+
"common.report-col.exempt-taxes.short": false,
|
|
2286
|
+
"common.report-col.exempt-taxes.info": false,
|
|
2287
|
+
"common.report-col.exempt-sales": false,
|
|
2288
|
+
"common.report-col.exempt-sales.short": false,
|
|
2289
|
+
"common.report-col.exempt-sales.info": false,
|
|
2290
|
+
"common.report-col.grand-total": false,
|
|
2291
|
+
"common.report-col.grand-total.short": false,
|
|
2292
|
+
"common.report-col.grand-total.info": false,
|
|
2293
|
+
"common.report-col.gross-cash-sales": false,
|
|
2294
|
+
"common.report-col.gross-cash-sales.short": false,
|
|
2295
|
+
"common.report-col.gross-cash-sales.info": false,
|
|
2296
|
+
"common.report-col.gross-credit-sales": false,
|
|
2297
|
+
"common.report-col.gross-credit-sales.short": false,
|
|
2298
|
+
"common.report-col.gross-credit-sales.info": false,
|
|
2299
|
+
"common.report-col.gross-sales": false,
|
|
2300
|
+
"common.report-col.gross-sales.short": false,
|
|
2301
|
+
"common.report-col.gross-sales.info": false,
|
|
2302
|
+
"common.report-col.gross-tips": false,
|
|
2303
|
+
"common.report-col.gross-tips.short": false,
|
|
2304
|
+
"common.report-col.gross-tips.info": false,
|
|
2305
|
+
"common.report-col.guest-count": false,
|
|
2306
|
+
"common.report-col.guest-count.short": false,
|
|
2307
|
+
"common.report-col.guest-count.info": false,
|
|
2308
|
+
"common.report-col.guests-var-lw": false,
|
|
2309
|
+
"common.report-col.guests-var-lw.short": false,
|
|
2310
|
+
"common.report-col.guests-var-lw.info": false,
|
|
2311
|
+
"common.report-col.guests-var-lw-pct": false,
|
|
2312
|
+
"common.report-col.guests-var-lw-pct.short": false,
|
|
2313
|
+
"common.report-col.guests-var-lw-pct.info": false,
|
|
2314
|
+
"common.report-col.guests-var-ly": false,
|
|
2315
|
+
"common.report-col.guests-var-ly.short": false,
|
|
2316
|
+
"common.report-col.guests-var-ly.info": false,
|
|
2317
|
+
"common.report-col.guests-var-ly-pct": false,
|
|
2318
|
+
"common.report-col.guests-var-ly-pct.short": false,
|
|
2319
|
+
"common.report-col.guests-var-ly-pct.info": false,
|
|
2320
|
+
"common.report-col.hour": false,
|
|
2321
|
+
"common.report-col.hour.short": false,
|
|
2322
|
+
"common.report-col.hour.info": false,
|
|
2323
|
+
"common.report-col.hours-worked": false,
|
|
2324
|
+
"common.report-col.hours-worked.short": false,
|
|
2325
|
+
"common.report-col.hours-worked.info": false,
|
|
2326
|
+
"common.report-col.inclusive-tax": false,
|
|
2327
|
+
"common.report-col.inclusive-tax.short": false,
|
|
2328
|
+
"common.report-col.inclusive-tax.info": false,
|
|
2329
|
+
"common.report-col.item-name": false,
|
|
2330
|
+
"common.report-col.item-name.short": false,
|
|
2331
|
+
"common.report-col.item-name.info": false,
|
|
2332
|
+
"common.report-col.item-price": false,
|
|
2333
|
+
"common.report-col.item-price.short": false,
|
|
2334
|
+
"common.report-col.item-price.info": false,
|
|
2335
|
+
"common.report-col.location-city": false,
|
|
2336
|
+
"common.report-col.location-city.short": false,
|
|
2337
|
+
"common.report-col.location-city.info": false,
|
|
2338
|
+
"common.report-col.location-id": false,
|
|
2339
|
+
"common.report-col.location-id.short": false,
|
|
2340
|
+
"common.report-col.location-id.info": false,
|
|
2341
|
+
"common.report-col.location-mid": false,
|
|
2342
|
+
"common.report-col.location-mid.short": false,
|
|
2343
|
+
"common.report-col.location-mid.info": false,
|
|
2344
|
+
"common.report-col.location-name": false,
|
|
2345
|
+
"common.report-col.location-name.short": false,
|
|
2346
|
+
"common.report-col.location-name.info": false,
|
|
2347
|
+
"common.report-col.location-state": false,
|
|
2348
|
+
"common.report-col.location-state.short": false,
|
|
2349
|
+
"common.report-col.location-state.info": false,
|
|
2350
|
+
"common.report-col.mastercard": false,
|
|
2351
|
+
"common.report-col.mastercard.short": false,
|
|
2352
|
+
"common.report-col.mastercard.info": false,
|
|
2353
|
+
"common.report-col.mc-returns": false,
|
|
2354
|
+
"common.report-col.mc-returns.short": false,
|
|
2355
|
+
"common.report-col.mc-returns.info": false,
|
|
2356
|
+
"common.report-col.modifier-name": false,
|
|
2357
|
+
"common.report-col.modifier-name.short": false,
|
|
2358
|
+
"common.report-col.modifier-name.info": false,
|
|
2359
|
+
"common.report-col.modifier-price": false,
|
|
2360
|
+
"common.report-col.modifier-price.short": false,
|
|
2361
|
+
"common.report-col.modifier-price.info": false,
|
|
2362
|
+
"common.report-col.modifier-quantity": false,
|
|
2363
|
+
"common.report-col.modifier-quantity.short": false,
|
|
2364
|
+
"common.report-col.modifier-quantity.info": false,
|
|
2365
|
+
"common.report-col.item-quantity": false,
|
|
2366
|
+
"common.report-col.item-quantity.short": false,
|
|
2367
|
+
"common.report-col.item-quantity.info": false,
|
|
2368
|
+
"common.report-col.modifier-quantity-comp": false,
|
|
2369
|
+
"common.report-col.modifier-quantity-comp.short": false,
|
|
2370
|
+
"common.report-col.modifier-quantity-comp.info": false,
|
|
2371
|
+
"common.report-col.item-quantity-comp": false,
|
|
2372
|
+
"common.report-col.item-quantity-comp.short": false,
|
|
2373
|
+
"common.report-col.item-quantity-comp.info": false,
|
|
2374
|
+
"common.report-col.attach-rate-comp": false,
|
|
2375
|
+
"common.report-col.attach-rate-comp.short": false,
|
|
2376
|
+
"common.report-col.attach-rate-comp.info": false,
|
|
2377
|
+
"common.report-col.total-modifier-sales-var": false,
|
|
2378
|
+
"common.report-col.total-modifier-sales-var.short": false,
|
|
2379
|
+
"common.report-col.total-modifier-sales-var.info": false,
|
|
2380
|
+
"common.report-col.total-modifier-sales-var-pct": false,
|
|
2381
|
+
"common.report-col.total-modifier-sales-var-pct.short": false,
|
|
2382
|
+
"common.report-col.total-modifier-sales-var-pct.info": false,
|
|
2383
|
+
"common.report-col.modifier-quantity-var": false,
|
|
2384
|
+
"common.report-col.modifier-quantity-var.short": false,
|
|
2385
|
+
"common.report-col.modifier-quantity-var.info": false,
|
|
2386
|
+
"common.report-col.modifier-quantity-var-pct": false,
|
|
2387
|
+
"common.report-col.modifier-quantity-var-pct.short": false,
|
|
2388
|
+
"common.report-col.modifier-quantity-var-pct.info": false,
|
|
2389
|
+
"common.report-col.attach-rate-var": false,
|
|
2390
|
+
"common.report-col.attach-rate-var.short": false,
|
|
2391
|
+
"common.report-col.attach-rate-var.info": false,
|
|
2392
|
+
"common.report-col.attach-rate-var-pct": false,
|
|
2393
|
+
"common.report-col.attach-rate-var-pct.short": false,
|
|
2394
|
+
"common.report-col.attach-rate-var-pct.info": false,
|
|
2395
|
+
"common.report-col.total-modifier-sales-comp": false,
|
|
2396
|
+
"common.report-col.total-modifier-sales-comp.short": false,
|
|
2397
|
+
"common.report-col.total-modifier-sales-comp.info": false,
|
|
2398
|
+
"common.report-col.net-sales": false,
|
|
2399
|
+
"common.report-col.net-sales.short": false,
|
|
2400
|
+
"common.report-col.net-sales.info": false,
|
|
2401
|
+
"common.report-col.net-tax-collected": false,
|
|
2402
|
+
"common.report-col.net-tax-collected.short": false,
|
|
2403
|
+
"common.report-col.net-tax-collected.info": false,
|
|
2404
|
+
"common.report-col.net-tips": false,
|
|
2405
|
+
"common.report-col.net-tips.short": false,
|
|
2406
|
+
"common.report-col.net-tips.info": false,
|
|
2407
|
+
"common.report-col.number-of-guests": false,
|
|
2408
|
+
"common.report-col.number-of-guests.short": false,
|
|
2409
|
+
"common.report-col.number-of-guests.info": false,
|
|
2410
|
+
"common.report-col.order-type": false,
|
|
2411
|
+
"common.report-col.order-type.short": false,
|
|
2412
|
+
"common.report-col.order-type.info": false,
|
|
2413
|
+
"common.report-col.payment-type": false,
|
|
2414
|
+
"common.report-col.payment-type.short": false,
|
|
2415
|
+
"common.report-col.payment-type.info": false,
|
|
2416
|
+
"common.report-col.payroll-id": false,
|
|
2417
|
+
"common.report-col.payroll-id.short": false,
|
|
2418
|
+
"common.report-col.payroll-id.info": false,
|
|
2419
|
+
"common.report-col.quantity": false,
|
|
2420
|
+
"common.report-col.quantity.short": false,
|
|
2421
|
+
"common.report-col.quantity.info": false,
|
|
2422
|
+
"common.report-col.reference-number": false,
|
|
2423
|
+
"common.report-col.reference-number.short": false,
|
|
2424
|
+
"common.report-col.reference-number.info": false,
|
|
2425
|
+
"common.report-col.refund-amount": false,
|
|
2426
|
+
"common.report-col.refund-amount.short": false,
|
|
2427
|
+
"common.report-col.refund-amount.info": false,
|
|
2428
|
+
"common.report-col.refunded-tax-amount": false,
|
|
2429
|
+
"common.report-col.refunded-tax-amount.short": false,
|
|
2430
|
+
"common.report-col.refunded-tax-amount.info": false,
|
|
2431
|
+
"common.report-col.revenue-center": false,
|
|
2432
|
+
"common.report-col.revenue-center.short": false,
|
|
2433
|
+
"common.report-col.revenue-center.info": false,
|
|
2434
|
+
"common.report-col.revenue-class": false,
|
|
2435
|
+
"common.report-col.revenue-class.short": false,
|
|
2436
|
+
"common.report-col.revenue-class.info": false,
|
|
2437
|
+
"common.report-col.sales-var-lw": false,
|
|
2438
|
+
"common.report-col.sales-var-lw.short": false,
|
|
2439
|
+
"common.report-col.sales-var-lw.info": false,
|
|
2440
|
+
"common.report-col.sales-var-lw-pct": false,
|
|
2441
|
+
"common.report-col.sales-var-lw-pct.short": false,
|
|
2442
|
+
"common.report-col.sales-var-lw-pct.info": false,
|
|
2443
|
+
"common.report-col.sales-var-ly": false,
|
|
2444
|
+
"common.report-col.sales-var-ly.short": false,
|
|
2445
|
+
"common.report-col.sales-var-ly.info": false,
|
|
2446
|
+
"common.report-col.sales-var-ly-pct": false,
|
|
2447
|
+
"common.report-col.sales-var-ly-pct.short": false,
|
|
2448
|
+
"common.report-col.sales-var-ly-pct.info": false,
|
|
2449
|
+
"common.report-col.sales-mix-by-pct": false,
|
|
2450
|
+
"common.report-col.sales-mix-by-pct.short": false,
|
|
2451
|
+
"common.report-col.sales-mix-by-pct.info": false,
|
|
2452
|
+
"common.report-col.sales-per-guest": false,
|
|
2453
|
+
"common.report-col.sales-per-guest.short": false,
|
|
2454
|
+
"common.report-col.sales-per-guest.info": false,
|
|
2455
|
+
"common.report-col.sales-per-guest-lw": false,
|
|
2456
|
+
"common.report-col.sales-per-guest-lw.short": false,
|
|
2457
|
+
"common.report-col.sales-per-guest-lw.info": false,
|
|
2458
|
+
"common.report-col.sales-per-guest-ly": false,
|
|
2459
|
+
"common.report-col.sales-per-guest-ly.short": false,
|
|
2460
|
+
"common.report-col.sales-per-guest-ly.info": false,
|
|
2461
|
+
"common.report-col.scheduled-shift-end": false,
|
|
2462
|
+
"common.report-col.scheduled-shift-end.short": false,
|
|
2463
|
+
"common.report-col.scheduled-shift-end.info": false,
|
|
2464
|
+
"common.report-col.scheduled-shift-start": false,
|
|
2465
|
+
"common.report-col.scheduled-shift-start.short": false,
|
|
2466
|
+
"common.report-col.scheduled-shift-start.info": false,
|
|
2467
|
+
"common.report-col.settlement-batch-date": false,
|
|
2468
|
+
"common.report-col.settlement-batch-date.short": false,
|
|
2469
|
+
"common.report-col.settlement-batch-date.info": false,
|
|
2470
|
+
"common.report-col.shift-duration-hrs": false,
|
|
2471
|
+
"common.report-col.shift-duration-hrs.short": false,
|
|
2472
|
+
"common.report-col.shift-duration-hrs.info": false,
|
|
2473
|
+
"common.report-col.subtotal": false,
|
|
2474
|
+
"common.report-col.subtotal.short": false,
|
|
2475
|
+
"common.report-col.subtotal.info": false,
|
|
2476
|
+
"common.report-col.tax-collected": false,
|
|
2477
|
+
"common.report-col.tax-collected.short": false,
|
|
2478
|
+
"common.report-col.tax-collected.info": false,
|
|
2479
|
+
"common.report-col.tax-name": false,
|
|
2480
|
+
"common.report-col.tax-name.short": false,
|
|
2481
|
+
"common.report-col.tax-name.info": false,
|
|
2482
|
+
"common.report-col.tax-rate": false,
|
|
2483
|
+
"common.report-col.tax-rate.short": false,
|
|
2484
|
+
"common.report-col.tax-rate.info": false,
|
|
2485
|
+
"common.report-col.taxable-sales": false,
|
|
2486
|
+
"common.report-col.taxable-sales.short": false,
|
|
2487
|
+
"common.report-col.taxable-sales.info": false,
|
|
2488
|
+
"common.report-col.ticket-closed": false,
|
|
2489
|
+
"common.report-col.ticket-closed.short": false,
|
|
2490
|
+
"common.report-col.ticket-closed.info": false,
|
|
2491
|
+
"common.report-col.ticket-fee": false,
|
|
2492
|
+
"common.report-col.ticket-fee.short": false,
|
|
2493
|
+
"common.report-col.ticket-fee.info": false,
|
|
2494
|
+
"common.report-col.ticket-number": false,
|
|
2495
|
+
"common.report-col.ticket-number.short": false,
|
|
2496
|
+
"common.report-col.ticket-number.info": false,
|
|
2497
|
+
"common.report-col.ticket-open": false,
|
|
2498
|
+
"common.report-col.ticket-open.short": false,
|
|
2499
|
+
"common.report-col.ticket-open.info": false,
|
|
2500
|
+
"common.report-col.ticket-total": false,
|
|
2501
|
+
"common.report-col.ticket-total.short": false,
|
|
2502
|
+
"common.report-col.ticket-total.info": false,
|
|
2503
|
+
"common.report-col.time-open-mins": false,
|
|
2504
|
+
"common.report-col.time-open-mins.short": false,
|
|
2505
|
+
"common.report-col.time-open-mins.info": false,
|
|
2506
|
+
"common.report-col.tip-pct": false,
|
|
2507
|
+
"common.report-col.tip-pct.short": false,
|
|
2508
|
+
"common.report-col.tip-pct.info": false,
|
|
2509
|
+
"common.report-col.tip-reduction": false,
|
|
2510
|
+
"common.report-col.tip-reduction.short": false,
|
|
2511
|
+
"common.report-col.tip-reduction.info": false,
|
|
2512
|
+
"common.report-col.tip-share": false,
|
|
2513
|
+
"common.report-col.tip-share.short": false,
|
|
2514
|
+
"common.report-col.tip-share.info": false,
|
|
2515
|
+
"common.report-col.tips": false,
|
|
2516
|
+
"common.report-col.tips.short": false,
|
|
2517
|
+
"common.report-col.tips.info": false,
|
|
2518
|
+
"common.report-col.tips-per-hour": false,
|
|
2519
|
+
"common.report-col.tips-per-hour.short": false,
|
|
2520
|
+
"common.report-col.tips-per-hour.info": false,
|
|
2521
|
+
"common.report-col.total-collected": false,
|
|
2522
|
+
"common.report-col.total-collected.short": false,
|
|
2523
|
+
"common.report-col.total-collected.info": false,
|
|
2524
|
+
"common.report-col.total-item-sales": false,
|
|
2525
|
+
"common.report-col.total-item-sales.short": false,
|
|
2526
|
+
"common.report-col.total-item-sales.info": false,
|
|
2527
|
+
"common.report-col.total-modifier-sales": false,
|
|
2528
|
+
"common.report-col.total-modifier-sales.short": false,
|
|
2529
|
+
"common.report-col.total-modifier-sales.info": false,
|
|
2530
|
+
"common.report-col.total-returns": false,
|
|
2531
|
+
"common.report-col.total-returns.short": false,
|
|
2532
|
+
"common.report-col.total-returns.info": false,
|
|
2533
|
+
"common.report-col.total-sales": false,
|
|
2534
|
+
"common.report-col.total-sales.short": false,
|
|
2535
|
+
"common.report-col.total-sales.info": false,
|
|
2536
|
+
"common.report-col.total-tips": false,
|
|
2537
|
+
"common.report-col.total-tips.short": false,
|
|
2538
|
+
"common.report-col.total-tips.info": false,
|
|
2539
|
+
"common.report-col.transaction-date": false,
|
|
2540
|
+
"common.report-col.transaction-date.short": false,
|
|
2541
|
+
"common.report-col.transaction-date.info": false,
|
|
2542
|
+
"common.report-col.sale-payment-type": false,
|
|
2543
|
+
"common.report-col.sale-payment-type.short": false,
|
|
2544
|
+
"common.report-col.sale-payment-type.info": false,
|
|
2545
|
+
"common.report-col.transaction-type": false,
|
|
2546
|
+
"common.report-col.transaction-type.short": false,
|
|
2547
|
+
"common.report-col.transaction-type.info": false,
|
|
2548
|
+
"common.report-col.untaxed-sales": false,
|
|
2549
|
+
"common.report-col.untaxed-sales.short": false,
|
|
2550
|
+
"common.report-col.untaxed-sales.info": false,
|
|
2551
|
+
"common.report-col.visa": false,
|
|
2552
|
+
"common.report-col.visa.short": false,
|
|
2553
|
+
"common.report-col.visa.info": false,
|
|
2554
|
+
"common.report-col.visa-returns": false,
|
|
2555
|
+
"common.report-col.visa-returns.short": false,
|
|
2556
|
+
"common.report-col.visa-returns.info": false,
|
|
2557
|
+
"common.report-col.payments-count": false,
|
|
2558
|
+
"common.report-col.payments-count.short": false,
|
|
2559
|
+
"common.report-col.payments-count.info": false,
|
|
2560
|
+
"common.report-col.payments-amount": false,
|
|
2561
|
+
"common.report-col.payments-amount.short": false,
|
|
2562
|
+
"common.report-col.payments-amount.info": false,
|
|
2563
|
+
"common.report-col.payments-total": false,
|
|
2564
|
+
"common.report-col.payments-total.short": false,
|
|
2565
|
+
"common.report-col.payments-total.info": false,
|
|
2566
|
+
"common.report-col.refund-void-description": false,
|
|
2567
|
+
"common.report-col.refund-void-description.short": false,
|
|
2568
|
+
"common.report-col.refund-void-description.info": false,
|
|
2569
|
+
"common.report-col.refund-void-count": false,
|
|
2570
|
+
"common.report-col.refund-void-count.short": false,
|
|
2571
|
+
"common.report-col.refund-void-count.info": false,
|
|
2572
|
+
"common.report-col.refund-void-amount": false,
|
|
2573
|
+
"common.report-col.refund-void-amount.short": false,
|
|
2574
|
+
"common.report-col.refund-void-amount.info": false,
|
|
2575
|
+
"common.report-col.refund-void-pct-sales": false,
|
|
2576
|
+
"common.report-col.refund-void-pct-sales.short": false,
|
|
2577
|
+
"common.report-col.refund-void-pct-sales.info": false,
|
|
2578
|
+
"common.report-col.discount-name": false,
|
|
2579
|
+
"common.report-col.discount-name.short": false,
|
|
2580
|
+
"common.report-col.discount-name.info": false,
|
|
2581
|
+
"common.report-col.tickets": false,
|
|
2582
|
+
"common.report-col.tickets.short": false,
|
|
2583
|
+
"common.report-col.tickets.info": false,
|
|
2584
|
+
"common.report-col.guests": false,
|
|
2585
|
+
"common.report-col.guests.short": false,
|
|
2586
|
+
"common.report-col.guests.info": false,
|
|
2587
|
+
"common.report-col.ticket-average": false,
|
|
2588
|
+
"common.report-col.ticket-average.short": false,
|
|
2589
|
+
"common.report-col.ticket-average.info": false,
|
|
2590
|
+
"common.report-col.guest-average": false,
|
|
2591
|
+
"common.report-col.guest-average.short": false,
|
|
2592
|
+
"common.report-col.guest-average.info": false,
|
|
2593
|
+
"common.report-col.net": false,
|
|
2594
|
+
"common.report-col.net.short": false,
|
|
2595
|
+
"common.report-col.net.info": false,
|
|
2596
|
+
"common.report-col.gross-cash-tips": false,
|
|
2597
|
+
"common.report-col.gross-cash-tips.short": false,
|
|
2598
|
+
"common.report-col.gross-cash-tips.info": false,
|
|
2599
|
+
"common.report-col.gross-credit-card-tips": false,
|
|
2600
|
+
"common.report-col.gross-credit-card-tips.short": false,
|
|
2601
|
+
"common.report-col.gross-credit-card-tips.info": false,
|
|
2602
|
+
"common.report-col.type": false,
|
|
2603
|
+
"common.report-col.type.short": false,
|
|
2604
|
+
"common.report-col.type.info": false,
|
|
2605
|
+
"common.report-section.revenue-class": false,
|
|
2606
|
+
"common.report-section.payments": false,
|
|
2607
|
+
"common.report-section.cash": false,
|
|
2608
|
+
"common.report-section.taxes": false,
|
|
2609
|
+
"common.report-section.refunds-voids": false,
|
|
2610
|
+
"common.report-section.discounts": false,
|
|
2611
|
+
"common.report-section.sales-by-day-part": false,
|
|
2612
|
+
"common.report-section.sales-by-order-type": false,
|
|
2613
|
+
"common.report-section.cash-row.cash-payments": false,
|
|
2614
|
+
"common.report-section.cash-row.paid-in-outs": false,
|
|
2615
|
+
"common.report-section.cash-row.gratuities-paid-out": false,
|
|
2616
|
+
"common.report-section.cash-row.cc-tips-paid-out": false,
|
|
2617
|
+
"common.report-section.trends-footer.total-sales": false,
|
|
2618
|
+
"common.report-section.rev-class-footer.tax-total": false,
|
|
2619
|
+
"common.report-section.rev-class-footer.gratuities": false,
|
|
2620
|
+
"common.report-section.rev-class-footer.balance-payments": false,
|
|
2621
|
+
"common.report-section.rev-class-footer.gift-card-sales": false,
|
|
2622
|
+
"common.report-section.rev-class-footer.non-sales-revenue": false,
|
|
2623
|
+
"common.report-section.rev-class-footer.total-accountable": false,
|
|
2624
|
+
"scheduled-reports.period": false,
|
|
2625
|
+
"components.form.field.group-by": false,
|
|
2626
|
+
"components.form.field.last-week": false,
|
|
2627
|
+
"components.form.field.last-year": false,
|
|
2628
|
+
"common.labels.locations": false,
|
|
2629
|
+
"common.labels.yes": false,
|
|
2630
|
+
// Analytic fields
|
|
2631
|
+
"analytics.field.location_id": false,
|
|
2632
|
+
"analytics.field.order_type_id": false,
|
|
2633
|
+
"analytics.field.revenue_center_id": false,
|
|
2634
|
+
"analytics.field.revenue_center_id.all": false,
|
|
2635
|
+
"analytics.field.hour_id": false,
|
|
2636
|
+
"analytics.field.daypart_id": false,
|
|
2637
|
+
"analytics.field.timeslot_id": false,
|
|
2638
|
+
"analytics.field.employee_id": false,
|
|
2639
|
+
"analytics.field.payroll_id": false,
|
|
2640
|
+
"analytics.field.intraday_period_group": false,
|
|
2641
|
+
"analytics.field.item_id": false,
|
|
2642
|
+
"analytics.field.department_id": false,
|
|
2643
|
+
"analytics.field.revenue_class_id": false,
|
|
2644
|
+
"analytics.field.modifier_id": false,
|
|
2645
|
+
// Common labels
|
|
2646
|
+
"table.total": false,
|
|
2647
|
+
"table.groups.sales": false,
|
|
2648
|
+
"table.groups.net-sales": false,
|
|
2649
|
+
"table.groups.guests": false,
|
|
2650
|
+
"table.groups.sales-per-guest": false
|
|
2651
|
+
};
|
|
2652
|
+
var en_GB_default = enUS2;
|
|
2653
|
+
|
|
2654
|
+
// src/translations/crowdin/skytab-analytics-report-utils/es-ES.ts
|
|
2655
|
+
var enUS3 = {
|
|
2656
|
+
"common.report-col.fifteen-min-interval": false,
|
|
2657
|
+
"common.report-col.fifteen-min-interval.short": false,
|
|
2658
|
+
"common.report-col.fifteen-min-interval.info": false,
|
|
2659
|
+
"common.report-col.adjusted-tips": false,
|
|
2660
|
+
"common.report-col.adjusted-tips.short": false,
|
|
2661
|
+
"common.report-col.adjusted-tips.info": false,
|
|
2662
|
+
"common.report-col.advantage-program": false,
|
|
2663
|
+
"common.report-col.advantage-program.short": false,
|
|
2664
|
+
"common.report-col.advantage-program.info": false,
|
|
2665
|
+
"common.report-col.amex": false,
|
|
2666
|
+
"common.report-col.amex.short": false,
|
|
2667
|
+
"common.report-col.amex.info": false,
|
|
2668
|
+
"common.report-col.amex-returns": false,
|
|
2669
|
+
"common.report-col.amex-returns.short": false,
|
|
2670
|
+
"common.report-col.amex-returns.info": false,
|
|
2671
|
+
"common.report-col.attach-rate": false,
|
|
2672
|
+
"common.report-col.attach-rate.short": false,
|
|
2673
|
+
"common.report-col.attach-rate.info": false,
|
|
2674
|
+
"common.report-col.auto-gratuity": false,
|
|
2675
|
+
"common.report-col.auto-gratuity.short": false,
|
|
2676
|
+
"common.report-col.auto-gratuity.info": false,
|
|
2677
|
+
"common.report-col.average-gross-price": false,
|
|
2678
|
+
"common.report-col.average-gross-price.short": false,
|
|
2679
|
+
"common.report-col.average-gross-price.info": false,
|
|
2680
|
+
"common.report-col.bank-fees": false,
|
|
2681
|
+
"common.report-col.bank-fees.short": false,
|
|
2682
|
+
"common.report-col.bank-fees.info": false,
|
|
2683
|
+
"common.report-col.batch-amount": false,
|
|
2684
|
+
"common.report-col.batch-amount.short": false,
|
|
2685
|
+
"common.report-col.batch-amount.info": false,
|
|
2686
|
+
"common.report-col.batch-date": false,
|
|
2687
|
+
"common.report-col.batch-date.short": false,
|
|
2688
|
+
"common.report-col.batch-date.info": false,
|
|
2689
|
+
"common.report-col.batch-number": false,
|
|
2690
|
+
"common.report-col.batch-number.short": false,
|
|
2691
|
+
"common.report-col.batch-number.info": false,
|
|
2692
|
+
"common.report-col.clock-in-time": false,
|
|
2693
|
+
"common.report-col.clock-in-time.short": false,
|
|
2694
|
+
"common.report-col.clock-in-time.info": false,
|
|
2695
|
+
"common.report-col.clock-out-time": false,
|
|
2696
|
+
"common.report-col.clock-out-time.short": false,
|
|
2697
|
+
"common.report-col.clock-out-time.info": false,
|
|
2698
|
+
"common.report-col.status": false,
|
|
2699
|
+
"common.report-col.status.short": false,
|
|
2700
|
+
"common.report-col.status.info": false,
|
|
2701
|
+
"common.report-col.last-modified": false,
|
|
2702
|
+
"common.report-col.last-modified.short": false,
|
|
2703
|
+
"common.report-col.last-modified.info": false,
|
|
2704
|
+
"common.report-col.country": false,
|
|
2705
|
+
"common.report-col.country.short": false,
|
|
2706
|
+
"common.report-col.country.info": false,
|
|
2707
|
+
"common.report-col.customer-name": false,
|
|
2708
|
+
"common.report-col.customer-name.short": false,
|
|
2709
|
+
"common.report-col.customer-name.info": false,
|
|
2710
|
+
"common.report-col.date": false,
|
|
2711
|
+
"common.report-col.date.short": false,
|
|
2712
|
+
"common.report-col.date.info": false,
|
|
2713
|
+
"common.report-col.date-close": false,
|
|
2714
|
+
"common.report-col.date-close.short": false,
|
|
2715
|
+
"common.report-col.date-close.info": false,
|
|
2716
|
+
"common.report-col.daypart": false,
|
|
2717
|
+
"common.report-col.daypart.short": false,
|
|
2718
|
+
"common.report-col.daypart.info": false,
|
|
2719
|
+
"common.report-col.debit": false,
|
|
2720
|
+
"common.report-col.debit.short": false,
|
|
2721
|
+
"common.report-col.debit.info": false,
|
|
2722
|
+
"common.report-col.debit-returns": false,
|
|
2723
|
+
"common.report-col.debit-returns.short": false,
|
|
2724
|
+
"common.report-col.debit-returns.info": false,
|
|
2725
|
+
"common.report-col.declared-tips": false,
|
|
2726
|
+
"common.report-col.declared-tips.short": false,
|
|
2727
|
+
"common.report-col.declared-tips.info": false,
|
|
2728
|
+
"common.report-col.department": false,
|
|
2729
|
+
"common.report-col.department.short": false,
|
|
2730
|
+
"common.report-col.department.info": false,
|
|
2731
|
+
"common.report-col.deposit-currency": false,
|
|
2732
|
+
"common.report-col.deposit-currency.short": false,
|
|
2733
|
+
"common.report-col.deposit-currency.info": false,
|
|
2734
|
+
"common.report-col.deposit-date": false,
|
|
2735
|
+
"common.report-col.deposit-date.short": false,
|
|
2736
|
+
"common.report-col.deposit-date.info": false,
|
|
2737
|
+
"common.report-col.discount-amount": false,
|
|
2738
|
+
"common.report-col.discount-amount.short": false,
|
|
2739
|
+
"common.report-col.discount-amount.info": false,
|
|
2740
|
+
"common.report-col.discount-count": false,
|
|
2741
|
+
"common.report-col.discount-count.short": false,
|
|
2742
|
+
"common.report-col.discount-count.info": false,
|
|
2743
|
+
"common.report-col.ticket-count": false,
|
|
2744
|
+
"common.report-col.ticket-count.short": false,
|
|
2745
|
+
"common.report-col.ticket-count.info": false,
|
|
2746
|
+
"common.report-col.item-count": false,
|
|
2747
|
+
"common.report-col.item-count.short": false,
|
|
2748
|
+
"common.report-col.item-count.info": false,
|
|
2749
|
+
"common.report-col.discover": false,
|
|
2750
|
+
"common.report-col.discover.short": false,
|
|
2751
|
+
"common.report-col.discover.info": false,
|
|
2752
|
+
"common.report-col.discover-returns": false,
|
|
2753
|
+
"common.report-col.discover-returns.short": false,
|
|
2754
|
+
"common.report-col.discover-returns.info": false,
|
|
2755
|
+
"common.report-col.ebt": false,
|
|
2756
|
+
"common.report-col.ebt.short": false,
|
|
2757
|
+
"common.report-col.ebt.info": false,
|
|
2758
|
+
"common.report-col.ebt-returns": false,
|
|
2759
|
+
"common.report-col.ebt-returns.short": false,
|
|
2760
|
+
"common.report-col.ebt-returns.info": false,
|
|
2761
|
+
"common.report-col.employee-id": false,
|
|
2762
|
+
"common.report-col.employee-id.short": false,
|
|
2763
|
+
"common.report-col.employee-id.info": false,
|
|
2764
|
+
"common.report-col.employee-job": false,
|
|
2765
|
+
"common.report-col.employee-job.short": false,
|
|
2766
|
+
"common.report-col.employee-job.info": false,
|
|
2767
|
+
"common.report-col.employee-name": false,
|
|
2768
|
+
"common.report-col.employee-name.short": false,
|
|
2769
|
+
"common.report-col.employee-name.info": false,
|
|
2770
|
+
"common.report-col.exempt-taxes": false,
|
|
2771
|
+
"common.report-col.exempt-taxes.short": false,
|
|
2772
|
+
"common.report-col.exempt-taxes.info": false,
|
|
2773
|
+
"common.report-col.exempt-sales": false,
|
|
2774
|
+
"common.report-col.exempt-sales.short": false,
|
|
2775
|
+
"common.report-col.exempt-sales.info": false,
|
|
2776
|
+
"common.report-col.grand-total": false,
|
|
2777
|
+
"common.report-col.grand-total.short": false,
|
|
2778
|
+
"common.report-col.grand-total.info": false,
|
|
2779
|
+
"common.report-col.gross-cash-sales": false,
|
|
2780
|
+
"common.report-col.gross-cash-sales.short": false,
|
|
2781
|
+
"common.report-col.gross-cash-sales.info": false,
|
|
2782
|
+
"common.report-col.gross-credit-sales": false,
|
|
2783
|
+
"common.report-col.gross-credit-sales.short": false,
|
|
2784
|
+
"common.report-col.gross-credit-sales.info": false,
|
|
2785
|
+
"common.report-col.gross-sales": false,
|
|
2786
|
+
"common.report-col.gross-sales.short": false,
|
|
2787
|
+
"common.report-col.gross-sales.info": false,
|
|
2788
|
+
"common.report-col.gross-tips": false,
|
|
2789
|
+
"common.report-col.gross-tips.short": false,
|
|
2790
|
+
"common.report-col.gross-tips.info": false,
|
|
2791
|
+
"common.report-col.guest-count": false,
|
|
2792
|
+
"common.report-col.guest-count.short": false,
|
|
2793
|
+
"common.report-col.guest-count.info": false,
|
|
2794
|
+
"common.report-col.guests-var-lw": false,
|
|
2795
|
+
"common.report-col.guests-var-lw.short": false,
|
|
2796
|
+
"common.report-col.guests-var-lw.info": false,
|
|
2797
|
+
"common.report-col.guests-var-lw-pct": false,
|
|
2798
|
+
"common.report-col.guests-var-lw-pct.short": false,
|
|
2799
|
+
"common.report-col.guests-var-lw-pct.info": false,
|
|
2800
|
+
"common.report-col.guests-var-ly": false,
|
|
2801
|
+
"common.report-col.guests-var-ly.short": false,
|
|
2802
|
+
"common.report-col.guests-var-ly.info": false,
|
|
2803
|
+
"common.report-col.guests-var-ly-pct": false,
|
|
2804
|
+
"common.report-col.guests-var-ly-pct.short": false,
|
|
2805
|
+
"common.report-col.guests-var-ly-pct.info": false,
|
|
2806
|
+
"common.report-col.hour": false,
|
|
2807
|
+
"common.report-col.hour.short": false,
|
|
2808
|
+
"common.report-col.hour.info": false,
|
|
2809
|
+
"common.report-col.hours-worked": false,
|
|
2810
|
+
"common.report-col.hours-worked.short": false,
|
|
2811
|
+
"common.report-col.hours-worked.info": false,
|
|
2812
|
+
"common.report-col.inclusive-tax": false,
|
|
2813
|
+
"common.report-col.inclusive-tax.short": false,
|
|
2814
|
+
"common.report-col.inclusive-tax.info": false,
|
|
2815
|
+
"common.report-col.item-name": false,
|
|
2816
|
+
"common.report-col.item-name.short": false,
|
|
2817
|
+
"common.report-col.item-name.info": false,
|
|
2818
|
+
"common.report-col.item-price": false,
|
|
2819
|
+
"common.report-col.item-price.short": false,
|
|
2820
|
+
"common.report-col.item-price.info": false,
|
|
2821
|
+
"common.report-col.location-city": false,
|
|
2822
|
+
"common.report-col.location-city.short": false,
|
|
2823
|
+
"common.report-col.location-city.info": false,
|
|
2824
|
+
"common.report-col.location-id": false,
|
|
2825
|
+
"common.report-col.location-id.short": false,
|
|
2826
|
+
"common.report-col.location-id.info": false,
|
|
2827
|
+
"common.report-col.location-mid": false,
|
|
2828
|
+
"common.report-col.location-mid.short": false,
|
|
2829
|
+
"common.report-col.location-mid.info": false,
|
|
2830
|
+
"common.report-col.location-name": false,
|
|
2831
|
+
"common.report-col.location-name.short": false,
|
|
2832
|
+
"common.report-col.location-name.info": false,
|
|
2833
|
+
"common.report-col.location-state": false,
|
|
2834
|
+
"common.report-col.location-state.short": false,
|
|
2835
|
+
"common.report-col.location-state.info": false,
|
|
2836
|
+
"common.report-col.mastercard": false,
|
|
2837
|
+
"common.report-col.mastercard.short": false,
|
|
2838
|
+
"common.report-col.mastercard.info": false,
|
|
2839
|
+
"common.report-col.mc-returns": false,
|
|
2840
|
+
"common.report-col.mc-returns.short": false,
|
|
2841
|
+
"common.report-col.mc-returns.info": false,
|
|
2842
|
+
"common.report-col.modifier-name": false,
|
|
2843
|
+
"common.report-col.modifier-name.short": false,
|
|
2844
|
+
"common.report-col.modifier-name.info": false,
|
|
2845
|
+
"common.report-col.modifier-price": false,
|
|
2846
|
+
"common.report-col.modifier-price.short": false,
|
|
2847
|
+
"common.report-col.modifier-price.info": false,
|
|
2848
|
+
"common.report-col.modifier-quantity": false,
|
|
2849
|
+
"common.report-col.modifier-quantity.short": false,
|
|
2850
|
+
"common.report-col.modifier-quantity.info": false,
|
|
2851
|
+
"common.report-col.item-quantity": false,
|
|
2852
|
+
"common.report-col.item-quantity.short": false,
|
|
2853
|
+
"common.report-col.item-quantity.info": false,
|
|
2854
|
+
"common.report-col.modifier-quantity-comp": false,
|
|
2855
|
+
"common.report-col.modifier-quantity-comp.short": false,
|
|
2856
|
+
"common.report-col.modifier-quantity-comp.info": false,
|
|
2857
|
+
"common.report-col.item-quantity-comp": false,
|
|
2858
|
+
"common.report-col.item-quantity-comp.short": false,
|
|
2859
|
+
"common.report-col.item-quantity-comp.info": false,
|
|
2860
|
+
"common.report-col.attach-rate-comp": false,
|
|
2861
|
+
"common.report-col.attach-rate-comp.short": false,
|
|
2862
|
+
"common.report-col.attach-rate-comp.info": false,
|
|
2863
|
+
"common.report-col.total-modifier-sales-var": false,
|
|
2864
|
+
"common.report-col.total-modifier-sales-var.short": false,
|
|
2865
|
+
"common.report-col.total-modifier-sales-var.info": false,
|
|
2866
|
+
"common.report-col.total-modifier-sales-var-pct": false,
|
|
2867
|
+
"common.report-col.total-modifier-sales-var-pct.short": false,
|
|
2868
|
+
"common.report-col.total-modifier-sales-var-pct.info": false,
|
|
2869
|
+
"common.report-col.modifier-quantity-var": false,
|
|
2870
|
+
"common.report-col.modifier-quantity-var.short": false,
|
|
2871
|
+
"common.report-col.modifier-quantity-var.info": false,
|
|
2872
|
+
"common.report-col.modifier-quantity-var-pct": false,
|
|
2873
|
+
"common.report-col.modifier-quantity-var-pct.short": false,
|
|
2874
|
+
"common.report-col.modifier-quantity-var-pct.info": false,
|
|
2875
|
+
"common.report-col.attach-rate-var": false,
|
|
2876
|
+
"common.report-col.attach-rate-var.short": false,
|
|
2877
|
+
"common.report-col.attach-rate-var.info": false,
|
|
2878
|
+
"common.report-col.attach-rate-var-pct": false,
|
|
2879
|
+
"common.report-col.attach-rate-var-pct.short": false,
|
|
2880
|
+
"common.report-col.attach-rate-var-pct.info": false,
|
|
2881
|
+
"common.report-col.total-modifier-sales-comp": false,
|
|
2882
|
+
"common.report-col.total-modifier-sales-comp.short": false,
|
|
2883
|
+
"common.report-col.total-modifier-sales-comp.info": false,
|
|
2884
|
+
"common.report-col.net-sales": false,
|
|
2885
|
+
"common.report-col.net-sales.short": false,
|
|
2886
|
+
"common.report-col.net-sales.info": false,
|
|
2887
|
+
"common.report-col.net-tax-collected": false,
|
|
2888
|
+
"common.report-col.net-tax-collected.short": false,
|
|
2889
|
+
"common.report-col.net-tax-collected.info": false,
|
|
2890
|
+
"common.report-col.net-tips": false,
|
|
2891
|
+
"common.report-col.net-tips.short": false,
|
|
2892
|
+
"common.report-col.net-tips.info": false,
|
|
2893
|
+
"common.report-col.number-of-guests": false,
|
|
2894
|
+
"common.report-col.number-of-guests.short": false,
|
|
2895
|
+
"common.report-col.number-of-guests.info": false,
|
|
2896
|
+
"common.report-col.order-type": false,
|
|
2897
|
+
"common.report-col.order-type.short": false,
|
|
2898
|
+
"common.report-col.order-type.info": false,
|
|
2899
|
+
"common.report-col.payment-type": false,
|
|
2900
|
+
"common.report-col.payment-type.short": false,
|
|
2901
|
+
"common.report-col.payment-type.info": false,
|
|
2902
|
+
"common.report-col.payroll-id": false,
|
|
2903
|
+
"common.report-col.payroll-id.short": false,
|
|
2904
|
+
"common.report-col.payroll-id.info": false,
|
|
2905
|
+
"common.report-col.quantity": false,
|
|
2906
|
+
"common.report-col.quantity.short": false,
|
|
2907
|
+
"common.report-col.quantity.info": false,
|
|
2908
|
+
"common.report-col.reference-number": false,
|
|
2909
|
+
"common.report-col.reference-number.short": false,
|
|
2910
|
+
"common.report-col.reference-number.info": false,
|
|
2911
|
+
"common.report-col.refund-amount": false,
|
|
2912
|
+
"common.report-col.refund-amount.short": false,
|
|
2913
|
+
"common.report-col.refund-amount.info": false,
|
|
2914
|
+
"common.report-col.refunded-tax-amount": false,
|
|
2915
|
+
"common.report-col.refunded-tax-amount.short": false,
|
|
2916
|
+
"common.report-col.refunded-tax-amount.info": false,
|
|
2917
|
+
"common.report-col.revenue-center": false,
|
|
2918
|
+
"common.report-col.revenue-center.short": false,
|
|
2919
|
+
"common.report-col.revenue-center.info": false,
|
|
2920
|
+
"common.report-col.revenue-class": false,
|
|
2921
|
+
"common.report-col.revenue-class.short": false,
|
|
2922
|
+
"common.report-col.revenue-class.info": false,
|
|
2923
|
+
"common.report-col.sales-var-lw": false,
|
|
2924
|
+
"common.report-col.sales-var-lw.short": false,
|
|
2925
|
+
"common.report-col.sales-var-lw.info": false,
|
|
2926
|
+
"common.report-col.sales-var-lw-pct": false,
|
|
2927
|
+
"common.report-col.sales-var-lw-pct.short": false,
|
|
2928
|
+
"common.report-col.sales-var-lw-pct.info": false,
|
|
2929
|
+
"common.report-col.sales-var-ly": false,
|
|
2930
|
+
"common.report-col.sales-var-ly.short": false,
|
|
2931
|
+
"common.report-col.sales-var-ly.info": false,
|
|
2932
|
+
"common.report-col.sales-var-ly-pct": false,
|
|
2933
|
+
"common.report-col.sales-var-ly-pct.short": false,
|
|
2934
|
+
"common.report-col.sales-var-ly-pct.info": false,
|
|
2935
|
+
"common.report-col.sales-mix-by-pct": false,
|
|
2936
|
+
"common.report-col.sales-mix-by-pct.short": false,
|
|
2937
|
+
"common.report-col.sales-mix-by-pct.info": false,
|
|
2938
|
+
"common.report-col.sales-per-guest": false,
|
|
2939
|
+
"common.report-col.sales-per-guest.short": false,
|
|
2940
|
+
"common.report-col.sales-per-guest.info": false,
|
|
2941
|
+
"common.report-col.sales-per-guest-lw": false,
|
|
2942
|
+
"common.report-col.sales-per-guest-lw.short": false,
|
|
2943
|
+
"common.report-col.sales-per-guest-lw.info": false,
|
|
2944
|
+
"common.report-col.sales-per-guest-ly": false,
|
|
2945
|
+
"common.report-col.sales-per-guest-ly.short": false,
|
|
2946
|
+
"common.report-col.sales-per-guest-ly.info": false,
|
|
2947
|
+
"common.report-col.scheduled-shift-end": false,
|
|
2948
|
+
"common.report-col.scheduled-shift-end.short": false,
|
|
2949
|
+
"common.report-col.scheduled-shift-end.info": false,
|
|
2950
|
+
"common.report-col.scheduled-shift-start": false,
|
|
2951
|
+
"common.report-col.scheduled-shift-start.short": false,
|
|
2952
|
+
"common.report-col.scheduled-shift-start.info": false,
|
|
2953
|
+
"common.report-col.settlement-batch-date": false,
|
|
2954
|
+
"common.report-col.settlement-batch-date.short": false,
|
|
2955
|
+
"common.report-col.settlement-batch-date.info": false,
|
|
2956
|
+
"common.report-col.shift-duration-hrs": false,
|
|
2957
|
+
"common.report-col.shift-duration-hrs.short": false,
|
|
2958
|
+
"common.report-col.shift-duration-hrs.info": false,
|
|
2959
|
+
"common.report-col.subtotal": false,
|
|
2960
|
+
"common.report-col.subtotal.short": false,
|
|
2961
|
+
"common.report-col.subtotal.info": false,
|
|
2962
|
+
"common.report-col.tax-collected": false,
|
|
2963
|
+
"common.report-col.tax-collected.short": false,
|
|
2964
|
+
"common.report-col.tax-collected.info": false,
|
|
2965
|
+
"common.report-col.tax-name": false,
|
|
2966
|
+
"common.report-col.tax-name.short": false,
|
|
2967
|
+
"common.report-col.tax-name.info": false,
|
|
2968
|
+
"common.report-col.tax-rate": false,
|
|
2969
|
+
"common.report-col.tax-rate.short": false,
|
|
2970
|
+
"common.report-col.tax-rate.info": false,
|
|
2971
|
+
"common.report-col.taxable-sales": false,
|
|
2972
|
+
"common.report-col.taxable-sales.short": false,
|
|
2973
|
+
"common.report-col.taxable-sales.info": false,
|
|
2974
|
+
"common.report-col.ticket-closed": false,
|
|
2975
|
+
"common.report-col.ticket-closed.short": false,
|
|
2976
|
+
"common.report-col.ticket-closed.info": false,
|
|
2977
|
+
"common.report-col.ticket-fee": false,
|
|
2978
|
+
"common.report-col.ticket-fee.short": false,
|
|
2979
|
+
"common.report-col.ticket-fee.info": false,
|
|
2980
|
+
"common.report-col.ticket-number": false,
|
|
2981
|
+
"common.report-col.ticket-number.short": false,
|
|
2982
|
+
"common.report-col.ticket-number.info": false,
|
|
2983
|
+
"common.report-col.ticket-open": false,
|
|
2984
|
+
"common.report-col.ticket-open.short": false,
|
|
2985
|
+
"common.report-col.ticket-open.info": false,
|
|
2986
|
+
"common.report-col.ticket-total": false,
|
|
2987
|
+
"common.report-col.ticket-total.short": false,
|
|
2988
|
+
"common.report-col.ticket-total.info": false,
|
|
2989
|
+
"common.report-col.time-open-mins": false,
|
|
2990
|
+
"common.report-col.time-open-mins.short": false,
|
|
2991
|
+
"common.report-col.time-open-mins.info": false,
|
|
2992
|
+
"common.report-col.tip-pct": false,
|
|
2993
|
+
"common.report-col.tip-pct.short": false,
|
|
2994
|
+
"common.report-col.tip-pct.info": false,
|
|
2995
|
+
"common.report-col.tip-reduction": false,
|
|
2996
|
+
"common.report-col.tip-reduction.short": false,
|
|
2997
|
+
"common.report-col.tip-reduction.info": false,
|
|
2998
|
+
"common.report-col.tip-share": false,
|
|
2999
|
+
"common.report-col.tip-share.short": false,
|
|
3000
|
+
"common.report-col.tip-share.info": false,
|
|
3001
|
+
"common.report-col.tips": false,
|
|
3002
|
+
"common.report-col.tips.short": false,
|
|
3003
|
+
"common.report-col.tips.info": false,
|
|
3004
|
+
"common.report-col.tips-per-hour": false,
|
|
3005
|
+
"common.report-col.tips-per-hour.short": false,
|
|
3006
|
+
"common.report-col.tips-per-hour.info": false,
|
|
3007
|
+
"common.report-col.total-collected": false,
|
|
3008
|
+
"common.report-col.total-collected.short": false,
|
|
3009
|
+
"common.report-col.total-collected.info": false,
|
|
3010
|
+
"common.report-col.total-item-sales": false,
|
|
3011
|
+
"common.report-col.total-item-sales.short": false,
|
|
3012
|
+
"common.report-col.total-item-sales.info": false,
|
|
3013
|
+
"common.report-col.total-modifier-sales": false,
|
|
3014
|
+
"common.report-col.total-modifier-sales.short": false,
|
|
3015
|
+
"common.report-col.total-modifier-sales.info": false,
|
|
3016
|
+
"common.report-col.total-returns": false,
|
|
3017
|
+
"common.report-col.total-returns.short": false,
|
|
3018
|
+
"common.report-col.total-returns.info": false,
|
|
3019
|
+
"common.report-col.total-sales": false,
|
|
3020
|
+
"common.report-col.total-sales.short": false,
|
|
3021
|
+
"common.report-col.total-sales.info": false,
|
|
3022
|
+
"common.report-col.total-tips": false,
|
|
3023
|
+
"common.report-col.total-tips.short": false,
|
|
3024
|
+
"common.report-col.total-tips.info": false,
|
|
3025
|
+
"common.report-col.transaction-date": false,
|
|
3026
|
+
"common.report-col.transaction-date.short": false,
|
|
3027
|
+
"common.report-col.transaction-date.info": false,
|
|
3028
|
+
"common.report-col.sale-payment-type": false,
|
|
3029
|
+
"common.report-col.sale-payment-type.short": false,
|
|
3030
|
+
"common.report-col.sale-payment-type.info": false,
|
|
3031
|
+
"common.report-col.transaction-type": false,
|
|
3032
|
+
"common.report-col.transaction-type.short": false,
|
|
3033
|
+
"common.report-col.transaction-type.info": false,
|
|
3034
|
+
"common.report-col.untaxed-sales": false,
|
|
3035
|
+
"common.report-col.untaxed-sales.short": false,
|
|
3036
|
+
"common.report-col.untaxed-sales.info": false,
|
|
3037
|
+
"common.report-col.visa": false,
|
|
3038
|
+
"common.report-col.visa.short": false,
|
|
3039
|
+
"common.report-col.visa.info": false,
|
|
3040
|
+
"common.report-col.visa-returns": false,
|
|
3041
|
+
"common.report-col.visa-returns.short": false,
|
|
3042
|
+
"common.report-col.visa-returns.info": false,
|
|
3043
|
+
"common.report-col.payments-count": false,
|
|
3044
|
+
"common.report-col.payments-count.short": false,
|
|
3045
|
+
"common.report-col.payments-count.info": false,
|
|
3046
|
+
"common.report-col.payments-amount": false,
|
|
3047
|
+
"common.report-col.payments-amount.short": false,
|
|
3048
|
+
"common.report-col.payments-amount.info": false,
|
|
3049
|
+
"common.report-col.payments-total": false,
|
|
3050
|
+
"common.report-col.payments-total.short": false,
|
|
3051
|
+
"common.report-col.payments-total.info": false,
|
|
3052
|
+
"common.report-col.refund-void-description": false,
|
|
3053
|
+
"common.report-col.refund-void-description.short": false,
|
|
3054
|
+
"common.report-col.refund-void-description.info": false,
|
|
3055
|
+
"common.report-col.refund-void-count": false,
|
|
3056
|
+
"common.report-col.refund-void-count.short": false,
|
|
3057
|
+
"common.report-col.refund-void-count.info": false,
|
|
3058
|
+
"common.report-col.refund-void-amount": false,
|
|
3059
|
+
"common.report-col.refund-void-amount.short": false,
|
|
3060
|
+
"common.report-col.refund-void-amount.info": false,
|
|
3061
|
+
"common.report-col.refund-void-pct-sales": false,
|
|
3062
|
+
"common.report-col.refund-void-pct-sales.short": false,
|
|
3063
|
+
"common.report-col.refund-void-pct-sales.info": false,
|
|
3064
|
+
"common.report-col.discount-name": false,
|
|
3065
|
+
"common.report-col.discount-name.short": false,
|
|
3066
|
+
"common.report-col.discount-name.info": false,
|
|
3067
|
+
"common.report-col.tickets": false,
|
|
3068
|
+
"common.report-col.tickets.short": false,
|
|
3069
|
+
"common.report-col.tickets.info": false,
|
|
3070
|
+
"common.report-col.guests": false,
|
|
3071
|
+
"common.report-col.guests.short": false,
|
|
3072
|
+
"common.report-col.guests.info": false,
|
|
3073
|
+
"common.report-col.ticket-average": false,
|
|
3074
|
+
"common.report-col.ticket-average.short": false,
|
|
3075
|
+
"common.report-col.ticket-average.info": false,
|
|
3076
|
+
"common.report-col.guest-average": false,
|
|
3077
|
+
"common.report-col.guest-average.short": false,
|
|
3078
|
+
"common.report-col.guest-average.info": false,
|
|
3079
|
+
"common.report-col.net": false,
|
|
3080
|
+
"common.report-col.net.short": false,
|
|
3081
|
+
"common.report-col.net.info": false,
|
|
3082
|
+
"common.report-col.gross-cash-tips": false,
|
|
3083
|
+
"common.report-col.gross-cash-tips.short": false,
|
|
3084
|
+
"common.report-col.gross-cash-tips.info": false,
|
|
3085
|
+
"common.report-col.gross-credit-card-tips": false,
|
|
3086
|
+
"common.report-col.gross-credit-card-tips.short": false,
|
|
3087
|
+
"common.report-col.gross-credit-card-tips.info": false,
|
|
3088
|
+
"common.report-col.type": false,
|
|
3089
|
+
"common.report-col.type.short": false,
|
|
3090
|
+
"common.report-col.type.info": false,
|
|
3091
|
+
"common.report-section.revenue-class": false,
|
|
3092
|
+
"common.report-section.payments": false,
|
|
3093
|
+
"common.report-section.cash": false,
|
|
3094
|
+
"common.report-section.taxes": false,
|
|
3095
|
+
"common.report-section.refunds-voids": false,
|
|
3096
|
+
"common.report-section.discounts": false,
|
|
3097
|
+
"common.report-section.sales-by-day-part": false,
|
|
3098
|
+
"common.report-section.sales-by-order-type": false,
|
|
3099
|
+
"common.report-section.cash-row.cash-payments": false,
|
|
3100
|
+
"common.report-section.cash-row.paid-in-outs": false,
|
|
3101
|
+
"common.report-section.cash-row.gratuities-paid-out": false,
|
|
3102
|
+
"common.report-section.cash-row.cc-tips-paid-out": false,
|
|
3103
|
+
"common.report-section.trends-footer.total-sales": false,
|
|
3104
|
+
"common.report-section.rev-class-footer.tax-total": false,
|
|
3105
|
+
"common.report-section.rev-class-footer.gratuities": false,
|
|
3106
|
+
"common.report-section.rev-class-footer.balance-payments": false,
|
|
3107
|
+
"common.report-section.rev-class-footer.gift-card-sales": false,
|
|
3108
|
+
"common.report-section.rev-class-footer.non-sales-revenue": false,
|
|
3109
|
+
"common.report-section.rev-class-footer.total-accountable": false,
|
|
3110
|
+
"scheduled-reports.period": false,
|
|
3111
|
+
"components.form.field.group-by": false,
|
|
3112
|
+
"components.form.field.last-week": false,
|
|
3113
|
+
"components.form.field.last-year": false,
|
|
3114
|
+
"common.labels.locations": false,
|
|
3115
|
+
"common.labels.yes": false,
|
|
3116
|
+
// Analytic fields
|
|
3117
|
+
"analytics.field.location_id": false,
|
|
3118
|
+
"analytics.field.order_type_id": false,
|
|
3119
|
+
"analytics.field.revenue_center_id": false,
|
|
3120
|
+
"analytics.field.revenue_center_id.all": false,
|
|
3121
|
+
"analytics.field.hour_id": false,
|
|
3122
|
+
"analytics.field.daypart_id": false,
|
|
3123
|
+
"analytics.field.timeslot_id": false,
|
|
3124
|
+
"analytics.field.employee_id": false,
|
|
3125
|
+
"analytics.field.payroll_id": false,
|
|
3126
|
+
"analytics.field.intraday_period_group": false,
|
|
3127
|
+
"analytics.field.item_id": false,
|
|
3128
|
+
"analytics.field.department_id": false,
|
|
3129
|
+
"analytics.field.revenue_class_id": false,
|
|
3130
|
+
"analytics.field.modifier_id": false,
|
|
3131
|
+
// Common labels
|
|
3132
|
+
"table.total": false,
|
|
3133
|
+
"table.groups.sales": false,
|
|
3134
|
+
"table.groups.net-sales": false,
|
|
3135
|
+
"table.groups.guests": false,
|
|
3136
|
+
"table.groups.sales-per-guest": false
|
|
3137
|
+
};
|
|
3138
|
+
var es_ES_default = enUS3;
|
|
3139
|
+
|
|
3140
|
+
// src/translations/index.ts
|
|
3141
|
+
var filterCrowdin = (messages) => Object.fromEntries(
|
|
3142
|
+
Object.entries(messages).filter((entry) => typeof entry[1] === "string")
|
|
3143
|
+
);
|
|
3144
|
+
var LOCALE_OVERRIDES = {
|
|
3145
|
+
"en-US": {},
|
|
3146
|
+
"en-GB": filterCrowdin(en_GB_default),
|
|
3147
|
+
"es-ES": filterCrowdin(es_ES_default)
|
|
3148
|
+
};
|
|
3149
|
+
function resolveTranslate(key, locale) {
|
|
3150
|
+
const overrides = LOCALE_OVERRIDES[locale];
|
|
3151
|
+
if (overrides) {
|
|
3152
|
+
const override = overrides[key];
|
|
3153
|
+
if (override !== void 0) {
|
|
3154
|
+
return override;
|
|
3155
|
+
}
|
|
3156
|
+
}
|
|
3157
|
+
return en_US_default[key] ?? key;
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3160
|
+
// src/formatting.ts
|
|
3161
|
+
var dateFormatterCache = /* @__PURE__ */ new Map();
|
|
3162
|
+
var timeFormatterCache = /* @__PURE__ */ new Map();
|
|
3163
|
+
var moneyFormatterCache = /* @__PURE__ */ new Map();
|
|
3164
|
+
var numberFormatterCache = /* @__PURE__ */ new Map();
|
|
3165
|
+
var getDateFormatter = (locale, timeZone) => {
|
|
3166
|
+
const key = `${locale}-${timeZone}`;
|
|
3167
|
+
let fmt = dateFormatterCache.get(key);
|
|
3168
|
+
if (!fmt) {
|
|
3169
|
+
fmt = new Intl.DateTimeFormat(locale, { dateStyle: "short", timeZone });
|
|
3170
|
+
dateFormatterCache.set(key, fmt);
|
|
3171
|
+
}
|
|
3172
|
+
return fmt;
|
|
3173
|
+
};
|
|
3174
|
+
var getTimeFormatter = (locale, timeZone, format) => {
|
|
3175
|
+
const key = `${locale}-${timeZone}-${format}`;
|
|
3176
|
+
let fmt = timeFormatterCache.get(key);
|
|
3177
|
+
if (!fmt) {
|
|
3178
|
+
if (format === "00:00") {
|
|
3179
|
+
fmt = new Intl.DateTimeFormat(locale, { hour: "2-digit", minute: "2-digit", timeZone });
|
|
3180
|
+
} else if (format === "00:00-24H") {
|
|
3181
|
+
fmt = new Intl.DateTimeFormat(locale, {
|
|
3182
|
+
hour: "2-digit",
|
|
3183
|
+
minute: "2-digit",
|
|
3184
|
+
hour12: false,
|
|
3185
|
+
hourCycle: "h23",
|
|
3186
|
+
timeZone
|
|
3187
|
+
});
|
|
3188
|
+
} else {
|
|
3189
|
+
fmt = new Intl.DateTimeFormat(locale, { hour: "2-digit", minute: "2-digit", second: "2-digit", timeZone });
|
|
3190
|
+
}
|
|
3191
|
+
timeFormatterCache.set(key, fmt);
|
|
3192
|
+
}
|
|
3193
|
+
return fmt;
|
|
3194
|
+
};
|
|
3195
|
+
var getMoneyFormatter = (locale, currency, decimals) => {
|
|
3196
|
+
const key = `${locale}-${currency}-${decimals}`;
|
|
3197
|
+
let fmt = moneyFormatterCache.get(key);
|
|
3198
|
+
if (!fmt) {
|
|
3199
|
+
fmt = new Intl.NumberFormat(locale, {
|
|
3200
|
+
style: "currency",
|
|
3201
|
+
currency,
|
|
3202
|
+
minimumFractionDigits: decimals,
|
|
3203
|
+
maximumFractionDigits: decimals
|
|
3204
|
+
});
|
|
3205
|
+
moneyFormatterCache.set(key, fmt);
|
|
3206
|
+
}
|
|
3207
|
+
return fmt;
|
|
3208
|
+
};
|
|
3209
|
+
var getNumberFormatter = (locale, decimals) => {
|
|
3210
|
+
const key = `${locale}-${decimals}`;
|
|
3211
|
+
let fmt = numberFormatterCache.get(key);
|
|
3212
|
+
if (!fmt) {
|
|
3213
|
+
fmt = new Intl.NumberFormat(locale, { minimumFractionDigits: decimals, maximumFractionDigits: decimals });
|
|
3214
|
+
numberFormatterCache.set(key, fmt);
|
|
3215
|
+
}
|
|
3216
|
+
return fmt;
|
|
3217
|
+
};
|
|
3218
|
+
var formatDate = (date, options = {}) => {
|
|
3219
|
+
const { locale = "en-US", timeZone = "UTC" } = options;
|
|
3220
|
+
return getDateFormatter(locale, timeZone).format(date);
|
|
3221
|
+
};
|
|
3222
|
+
var formatTime = (date, options) => {
|
|
3223
|
+
const { locale = "en-US", timeZone = "UTC", format } = options;
|
|
3224
|
+
const d = new Date(date);
|
|
3225
|
+
return getTimeFormatter(locale, timeZone, format).format(d);
|
|
3226
|
+
};
|
|
3227
|
+
var formatMoney = (amount, options = {}) => {
|
|
3228
|
+
const { locale = "en-US", currency = "USD", decimals = 2 } = options;
|
|
3229
|
+
return getMoneyFormatter(locale, currency, decimals).format(amount);
|
|
3230
|
+
};
|
|
3231
|
+
var formatPercent = (value, decimals = 2) => `${value.toFixed(decimals)}%`;
|
|
3232
|
+
var formatInteger = (value) => Math.round(value).toString();
|
|
3233
|
+
var formatFixedNumber = (value, decimals = 2) => value.toFixed(decimals);
|
|
3234
|
+
var formatString = (value) => {
|
|
3235
|
+
return value == null ? "" : typeof value === "string" ? value : typeof value === "number" || typeof value === "boolean" ? String(value) : "";
|
|
3236
|
+
};
|
|
3237
|
+
var getNumberToFormat = (value) => typeof value === "number" ? value : 0;
|
|
3238
|
+
var getDateToFormat = (value) => {
|
|
3239
|
+
if (value instanceof Date) {
|
|
3240
|
+
return isNaN(value.getTime()) ? null : value;
|
|
3241
|
+
}
|
|
3242
|
+
if (typeof value === "string" || typeof value === "number") {
|
|
3243
|
+
const d = new Date(value);
|
|
3244
|
+
return isNaN(d.getTime()) ? null : d;
|
|
3245
|
+
}
|
|
3246
|
+
return null;
|
|
3247
|
+
};
|
|
3248
|
+
var formatMoneyWithoutSymbol = (amount, options = {}) => {
|
|
3249
|
+
const { locale = "en-US", decimals = 2 } = options;
|
|
3250
|
+
return getNumberFormatter(locale, decimals).format(amount);
|
|
3251
|
+
};
|
|
3252
|
+
var getReportFormattingLocaleOptions = (locations) => {
|
|
3253
|
+
if (locations.length === 0) {
|
|
3254
|
+
return [{ currency: "USD", locale: "en-US" }];
|
|
3255
|
+
}
|
|
3256
|
+
return Array.from(
|
|
3257
|
+
new Map(
|
|
3258
|
+
locations.map((loc) => ({
|
|
3259
|
+
currency: loc.currency,
|
|
3260
|
+
locale: `${loc.language ?? "en"}-${loc.countryCode}`
|
|
3261
|
+
})).map((item) => [`${item.currency}-${item.locale}`, item])
|
|
3262
|
+
).values()
|
|
3263
|
+
);
|
|
3264
|
+
};
|
|
3265
|
+
var DEFAULT_FIELD_CONFIG = { type: "string" };
|
|
3266
|
+
var formatFieldValue = (value, type, localeOptions, fullRecord, fieldConfig = DEFAULT_FIELD_CONFIG) => {
|
|
3267
|
+
const { currency, locale } = localeOptions;
|
|
3268
|
+
switch (type) {
|
|
3269
|
+
case "conditional": {
|
|
3270
|
+
if (!fullRecord) {
|
|
3271
|
+
return formatString(value);
|
|
3272
|
+
}
|
|
3273
|
+
const conditionalConfig = fieldConfig.conditionalConfiguration;
|
|
3274
|
+
const configType = conditionalConfig.conditionalFormat(fullRecord[conditionalConfig.conditionalField]);
|
|
3275
|
+
return formatFieldValue(value, configType, localeOptions, fullRecord, fieldConfig);
|
|
3276
|
+
}
|
|
3277
|
+
case "string":
|
|
3278
|
+
return formatString(value);
|
|
3279
|
+
case "money":
|
|
3280
|
+
return formatMoney(getNumberToFormat(value), { currency, locale });
|
|
3281
|
+
case "percent":
|
|
3282
|
+
return formatPercent(getNumberToFormat(value) * 100);
|
|
3283
|
+
case "fixedNumber":
|
|
3284
|
+
return formatFixedNumber(getNumberToFormat(value));
|
|
3285
|
+
case "date": {
|
|
3286
|
+
const d = getDateToFormat(value);
|
|
3287
|
+
return d ? formatDate(d, { locale }) : "";
|
|
3288
|
+
}
|
|
3289
|
+
case "time": {
|
|
3290
|
+
const d = getDateToFormat(value);
|
|
3291
|
+
return d ? formatTime(d, { locale, format: "00:00:00" }) : "";
|
|
3292
|
+
}
|
|
3293
|
+
case "number":
|
|
3294
|
+
default:
|
|
3295
|
+
return String(getNumberToFormat(value));
|
|
3296
|
+
}
|
|
3297
|
+
};
|
|
3298
|
+
|
|
3299
|
+
export {
|
|
3300
|
+
salesByItemDetailConfig,
|
|
3301
|
+
FIRST_COLUMN_WIDTH,
|
|
3302
|
+
salesSummaryConfig,
|
|
3303
|
+
ticketSummaryConfig,
|
|
3304
|
+
ticketLiveConfig,
|
|
3305
|
+
productMixConfig,
|
|
3306
|
+
modifierMixConfig,
|
|
3307
|
+
itemTaxConfig,
|
|
3308
|
+
employeeTimecardConfig,
|
|
3309
|
+
employeeTipConfig,
|
|
3310
|
+
dailySalesConfig,
|
|
3311
|
+
dailySalesCacheConfig,
|
|
3312
|
+
dailySalesDiscountsConfig,
|
|
3313
|
+
dailySalesPaymentsConfig,
|
|
3314
|
+
dailySalesRefundsVoidsConfig,
|
|
3315
|
+
dailySalesTaxesConfig,
|
|
3316
|
+
dailySalesTrendsConfig,
|
|
3317
|
+
dailySalesTrendsOrderTypeConfig,
|
|
3318
|
+
Report,
|
|
3319
|
+
getReportConfig,
|
|
3320
|
+
getReportExportFileName,
|
|
3321
|
+
COLUMN_REGISTRY,
|
|
3322
|
+
getColumnMetadata,
|
|
3323
|
+
getColumnExportHeaderLabel,
|
|
3324
|
+
calculateFieldTotal,
|
|
3325
|
+
calculateReportTotals,
|
|
3326
|
+
en_US_default,
|
|
3327
|
+
resolveTranslate,
|
|
3328
|
+
formatDate,
|
|
3329
|
+
formatTime,
|
|
3330
|
+
formatMoney,
|
|
3331
|
+
formatPercent,
|
|
3332
|
+
formatInteger,
|
|
3333
|
+
formatFixedNumber,
|
|
3334
|
+
formatString,
|
|
3335
|
+
getNumberToFormat,
|
|
3336
|
+
getDateToFormat,
|
|
3337
|
+
formatMoneyWithoutSymbol,
|
|
3338
|
+
getReportFormattingLocaleOptions,
|
|
3339
|
+
formatFieldValue
|
|
3340
|
+
};
|