@harbortouch/skytab-analytics-report-utils 0.21.1 → 0.22.1

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.
@@ -52,7 +52,7 @@ var FIRST_COLUMN_WIDTH = 240;
52
52
  // src/reports/salesSummary.ts
53
53
  var FIELDS2 = {
54
54
  groupById: { type: "number" },
55
- groupByName: { type: "string", size: FIRST_COLUMN_WIDTH },
55
+ groupByName: { type: "string", size: FIRST_COLUMN_WIDTH, footerCalculation: { type: "label", label: "table.total" } },
56
56
  salesAmountNet: { type: "money", columnKey: "netSales" },
57
57
  salesVarLW: { type: "money", columnKey: "salesVarLw" },
58
58
  salesVarLY: { type: "money", columnKey: "salesVarLy" },
@@ -161,6 +161,7 @@ var COLUMN_GROUPS = [
161
161
  }
162
162
  ];
163
163
  var SALES_SUMMARY_AVAILABLE_COLUMNS = [
164
+ "groupByName",
164
165
  "salesAmountNet",
165
166
  "salesVarLW",
166
167
  "salesVarLWPct",
@@ -186,72 +187,87 @@ var salesSummaryConfig = {
186
187
 
187
188
  // src/reports/ticketSummary.ts
188
189
  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" },
190
+ ticketId: { type: "string", filteringAvailable: false },
191
+ locationId: { type: "number", filteringAvailable: false },
192
+ orderName: { type: "string", filteringAvailable: false },
193
+ revenueCenterName: { type: "string", columnKey: "revenueCenter", filteringAvailable: false },
194
+ daypartName: { type: "string", columnKey: "daypart", filteringAvailable: false },
194
195
  inclusiveTaxesAmount: {
195
196
  type: "money",
196
197
  columnKey: "inclusiveTax",
197
- footerCalculation: { type: "sum" }
198
+ footerCalculation: { type: "sum" },
199
+ filteringAvailable: false
200
+ },
201
+ locationName: { type: "string", size: 240, columnKey: "locationName", filteringAvailable: false },
202
+ orderNumber: {
203
+ type: "string",
204
+ columnKey: "ticketNumber",
205
+ footerCalculation: { type: "label", label: "table.total" },
206
+ filteringAvailable: false
198
207
  },
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 },
208
+ businessDate: { type: "date", columnKey: "date", filteringAvailable: false },
209
+ ticketOpenedAt: { type: "time", columnKey: "ticketOpen", filteringAvailable: false },
210
+ ticketClosedAt: { type: "time", columnKey: "ticketClosed", filteringAvailable: false },
211
+ ticketTime: { type: "number", columnKey: "timeOpenMins", enableSorting: false, filteringAvailable: false },
205
212
  ticketSubtotal: {
206
213
  type: "money",
207
214
  columnKey: "subtotal",
208
- footerCalculation: { type: "sum" }
215
+ footerCalculation: { type: "sum" },
216
+ filteringAvailable: false
209
217
  },
210
218
  discountsAmount: {
211
219
  type: "money",
212
220
  columnKey: "discountAmount",
213
- footerCalculation: { type: "sum" }
221
+ footerCalculation: { type: "sum" },
222
+ filteringAvailable: false
214
223
  },
215
224
  surchargesAmount: {
216
225
  type: "money",
217
226
  columnKey: "ticketFee",
218
- footerCalculation: { type: "sum" }
227
+ footerCalculation: { type: "sum" },
228
+ filteringAvailable: false
219
229
  },
220
230
  taxesAmount: {
221
231
  type: "money",
222
232
  columnKey: "taxCollected",
223
- footerCalculation: { type: "sum" }
233
+ footerCalculation: { type: "sum" },
234
+ filteringAvailable: false
224
235
  },
225
236
  ticketGrandTotal: {
226
237
  type: "money",
227
238
  columnKey: "grandTotal",
228
- footerCalculation: { type: "sum" }
239
+ footerCalculation: { type: "sum" },
240
+ filteringAvailable: false
229
241
  },
230
242
  gratuitiesAmount: {
231
243
  type: "money",
232
244
  columnKey: "autoGratuity",
233
- footerCalculation: { type: "sum" }
245
+ footerCalculation: { type: "sum" },
246
+ filteringAvailable: false
234
247
  },
235
248
  tipAmount: {
236
249
  type: "money",
237
250
  columnKey: "tips",
238
- footerCalculation: { type: "sum" }
251
+ footerCalculation: { type: "sum" },
252
+ filteringAvailable: false
239
253
  },
240
254
  paymentsAmount: {
241
255
  type: "money",
242
256
  columnKey: "totalCollected",
243
- footerCalculation: { type: "sum" }
257
+ footerCalculation: { type: "sum" },
258
+ filteringAvailable: false
244
259
  },
245
- paymentTypeName: { type: "string", columnKey: "paymentType" },
260
+ paymentTypeName: { type: "string", columnKey: "paymentType", filteringAvailable: false },
246
261
  guestsCount: {
247
262
  type: "number",
248
263
  columnKey: "guestCount",
249
- footerCalculation: { type: "sum" }
264
+ footerCalculation: { type: "sum" },
265
+ filteringAvailable: false
250
266
  },
251
- employeeName: { type: "string", columnKey: "employeeName" },
252
- orderTypeName: { type: "string", columnKey: "orderType" }
267
+ employeeName: { type: "string", columnKey: "employeeName", filteringAvailable: false },
268
+ orderTypeName: { type: "string", columnKey: "orderType", filteringAvailable: false }
253
269
  };
254
- var TICKET_SUMMARY_AVAILABLE_COLUMNS = [
270
+ var TICKET_SUMMARY_VISIBLE_COLUMNS = [
255
271
  "locationName",
256
272
  "businessDate",
257
273
  "ticketOpenedAt",
@@ -270,10 +286,11 @@ var TICKET_SUMMARY_AVAILABLE_COLUMNS = [
270
286
  "employeeName",
271
287
  "orderTypeName"
272
288
  ];
289
+ var TICKET_SUMMARY_AVAILABLE_COLUMNS = ["orderNumber", ...TICKET_SUMMARY_VISIBLE_COLUMNS];
273
290
  var ticketSummaryConfig = {
274
291
  fields: FIELDS3,
275
292
  availableColumns: TICKET_SUMMARY_AVAILABLE_COLUMNS,
276
- defaultVisibleColumns: TICKET_SUMMARY_AVAILABLE_COLUMNS,
293
+ defaultVisibleColumns: TICKET_SUMMARY_VISIBLE_COLUMNS,
277
294
  hasFooter: true
278
295
  };
279
296
 
@@ -281,9 +298,9 @@ var ticketSummaryConfig = {
281
298
  var FIELDS4 = {
282
299
  locationName: { type: "string", columnKey: "locationName" },
283
300
  orderNumber: {
284
- type: "number",
301
+ type: "string",
285
302
  columnKey: "ticketNumber",
286
- footerCalculation: { type: "none" }
303
+ footerCalculation: { type: "label", label: "table.total" }
287
304
  },
288
305
  dateOpen: { type: "string", columnKey: "date" },
289
306
  timeOpen: { type: "string", columnKey: "ticketOpen" },
@@ -308,9 +325,8 @@ var FIELDS4 = {
308
325
  employeeName: { type: "string", columnKey: "employeeName" },
309
326
  orderType: { type: "string", columnKey: "orderType" }
310
327
  };
311
- var TICKET_LIVE_AVAILABLE_COLUMNS = [
328
+ var TICKET_LIVE_VISIBLE_COLUMNS = [
312
329
  "locationName",
313
- "orderNumber",
314
330
  "dateOpen",
315
331
  "timeOpen",
316
332
  "timeClose",
@@ -328,17 +344,18 @@ var TICKET_LIVE_AVAILABLE_COLUMNS = [
328
344
  "employeeName",
329
345
  "orderType"
330
346
  ];
347
+ var TICKET_LIVE_AVAILABLE_COLUMNS = ["orderNumber", ...TICKET_LIVE_VISIBLE_COLUMNS];
331
348
  var ticketLiveConfig = {
332
349
  fields: FIELDS4,
333
350
  availableColumns: TICKET_LIVE_AVAILABLE_COLUMNS,
334
- defaultVisibleColumns: TICKET_LIVE_AVAILABLE_COLUMNS,
351
+ defaultVisibleColumns: TICKET_LIVE_VISIBLE_COLUMNS,
335
352
  hasFooter: true
336
353
  };
337
354
 
338
355
  // src/reports/productMix.ts
339
356
  var FIELDS5 = {
340
357
  groupById: { type: "string" },
341
- groupByName: { type: "string", size: FIRST_COLUMN_WIDTH },
358
+ groupByName: { type: "string", size: FIRST_COLUMN_WIDTH, footerCalculation: { type: "label", label: "table.total" } },
342
359
  salesAmountGross: { type: "money", columnKey: "grossSales" },
343
360
  discountsAmount: { type: "money", columnKey: "discountAmount" },
344
361
  inclusiveTaxesAmount: { type: "money", columnKey: "inclusiveTax" },
@@ -355,7 +372,7 @@ var FIELDS5 = {
355
372
  },
356
373
  salesMixPct: { type: "percent", columnKey: "salesMixByPct" }
357
374
  };
358
- var PRODUCT_MIX_AVAILABLE_COLUMNS = [
375
+ var PRODUCT_MIX_VISIBLE_COLUMNS = [
359
376
  "salesAmountGross",
360
377
  "itemsQuantity",
361
378
  "avgPrice",
@@ -364,20 +381,31 @@ var PRODUCT_MIX_AVAILABLE_COLUMNS = [
364
381
  "salesAmountNet",
365
382
  "salesMixPct"
366
383
  ];
384
+ var PRODUCT_MIX_AVAILABLE_COLUMNS = ["groupByName", ...PRODUCT_MIX_VISIBLE_COLUMNS];
367
385
  var productMixConfig = {
368
386
  fields: FIELDS5,
369
387
  availableColumns: PRODUCT_MIX_AVAILABLE_COLUMNS,
370
- defaultVisibleColumns: PRODUCT_MIX_AVAILABLE_COLUMNS,
371
- chartFields: PRODUCT_MIX_AVAILABLE_COLUMNS,
388
+ defaultVisibleColumns: PRODUCT_MIX_VISIBLE_COLUMNS,
389
+ chartFields: PRODUCT_MIX_VISIBLE_COLUMNS,
372
390
  hasFooter: true
373
391
  };
374
392
 
375
393
  // src/reports/modifierMix.ts
376
394
  var FIELDS6 = {
377
395
  groupById: { type: "string", filteringAvailable: false },
378
- groupByName: { type: "string", size: FIRST_COLUMN_WIDTH, filteringAvailable: false },
396
+ groupByName: {
397
+ type: "string",
398
+ size: FIRST_COLUMN_WIDTH,
399
+ filteringAvailable: false,
400
+ footerCalculation: { type: "label", label: "table.total" }
401
+ },
379
402
  groupById2: { type: "string", filteringAvailable: false },
380
- groupByName2: { type: "string", size: FIRST_COLUMN_WIDTH, filteringAvailable: false },
403
+ groupByName2: {
404
+ type: "string",
405
+ size: FIRST_COLUMN_WIDTH,
406
+ filteringAvailable: false,
407
+ footerCalculation: { type: "none" }
408
+ },
381
409
  modifiersSales: { type: "money", columnKey: "totalModifierSales" },
382
410
  modifiersQuantity: { type: "number", columnKey: "modifierQuantity" },
383
411
  itemsQuantity: {
@@ -438,11 +466,16 @@ var FIELDS6 = {
438
466
  }
439
467
  }
440
468
  };
441
- var MODIFIER_MIX_AVAILABLE_COLUMNS = ["modifiersSales", "modifiersQuantity", "avgGross"];
469
+ var MODIFIER_MIX_VISIBLE_COLUMNS = ["modifiersSales", "modifiersQuantity", "avgGross"];
470
+ var MODIFIER_MIX_AVAILABLE_COLUMNS = [
471
+ "groupByName",
472
+ "groupByName2",
473
+ ...MODIFIER_MIX_VISIBLE_COLUMNS
474
+ ];
442
475
  var modifierMixConfig = {
443
476
  fields: FIELDS6,
444
477
  availableColumns: MODIFIER_MIX_AVAILABLE_COLUMNS,
445
- defaultVisibleColumns: MODIFIER_MIX_AVAILABLE_COLUMNS,
478
+ defaultVisibleColumns: MODIFIER_MIX_VISIBLE_COLUMNS,
446
479
  hasFooter: true
447
480
  };
448
481
 
@@ -524,7 +557,8 @@ var FIELDS8 = {
524
557
  employeeName: {
525
558
  type: "string",
526
559
  size: EMPLOYEE_NAME_WIDTH,
527
- columnKey: "employeeName"
560
+ columnKey: "employeeName",
561
+ footerCalculation: { type: "label", label: "table.total" }
528
562
  },
529
563
  isActive: {
530
564
  type: "string",
@@ -567,7 +601,7 @@ var FIELDS8 = {
567
601
  filteringAvailable: false
568
602
  }
569
603
  };
570
- var EMPLOYEE_TIMECARD_AVAILABLE_COLUMNS = [
604
+ var EMPLOYEE_TIMECARD_VISIBLE_COLUMNS = [
571
605
  "locationName",
572
606
  "businessDate",
573
607
  "isActive",
@@ -578,17 +612,30 @@ var EMPLOYEE_TIMECARD_AVAILABLE_COLUMNS = [
578
612
  "endTime",
579
613
  "shiftHours"
580
614
  ];
615
+ var EMPLOYEE_TIMECARD_AVAILABLE_COLUMNS = [
616
+ "employeeName",
617
+ ...EMPLOYEE_TIMECARD_VISIBLE_COLUMNS
618
+ ];
581
619
  var employeeTimecardConfig = {
582
620
  fields: FIELDS8,
583
621
  availableColumns: EMPLOYEE_TIMECARD_AVAILABLE_COLUMNS,
584
- defaultVisibleColumns: EMPLOYEE_TIMECARD_AVAILABLE_COLUMNS,
622
+ defaultVisibleColumns: EMPLOYEE_TIMECARD_VISIBLE_COLUMNS,
585
623
  hasFooter: true
586
624
  };
587
625
 
588
626
  // src/reports/employeeTip.ts
589
627
  var FIELDS9 = {
590
- employeeName: { type: "string", size: 220, columnKey: "employeeName" },
591
- empId: { type: "string", size: 160, columnKey: "employeeId" },
628
+ employeeName: {
629
+ type: "string",
630
+ size: 220,
631
+ columnKey: "employeeName"
632
+ },
633
+ empId: {
634
+ type: "string",
635
+ size: 160,
636
+ columnKey: "employeeId",
637
+ footerCalculation: { type: "label", label: "table.total" }
638
+ },
592
639
  payrollId: { type: "string", size: 160, columnKey: "payrollId" },
593
640
  locationName: { type: "string", size: 220, columnKey: "locationName" },
594
641
  status: { type: "string", size: 140, columnKey: "status" },
@@ -608,9 +655,8 @@ var FIELDS9 = {
608
655
  footerCalculation: { type: "average", numeratorField: "grossTips", denominatorField: "grossSales" }
609
656
  }
610
657
  };
611
- var AVAILABLE_COLUMNS = [
658
+ var VISIBLE_COLUMNS = [
612
659
  "employeeName",
613
- "empId",
614
660
  "payrollId",
615
661
  "locationName",
616
662
  "status",
@@ -626,17 +672,18 @@ var AVAILABLE_COLUMNS = [
626
672
  "netTips",
627
673
  "tipPercentage"
628
674
  ];
675
+ var AVAILABLE_COLUMNS = ["empId", ...VISIBLE_COLUMNS];
629
676
  var employeeTipConfig = {
630
677
  fields: FIELDS9,
631
678
  availableColumns: AVAILABLE_COLUMNS,
632
- defaultVisibleColumns: AVAILABLE_COLUMNS,
679
+ defaultVisibleColumns: VISIBLE_COLUMNS,
633
680
  hasFooter: true
634
681
  };
635
682
 
636
- // src/reports/dailySales.ts
683
+ // src/reports/dailySales/dailySales.ts
637
684
  var FIELDS10 = {
638
685
  groupById: { type: "string" },
639
- groupByName: { type: "string", size: FIRST_COLUMN_WIDTH },
686
+ groupByName: { type: "string", size: FIRST_COLUMN_WIDTH, footerCalculation: { type: "label", label: "table.total" } },
640
687
  itemsQuantity: { type: "number", columnKey: "quantity" },
641
688
  salesAmountGross: { type: "money", columnKey: "grossSales" },
642
689
  discountsAmount: { type: "money", columnKey: "discountAmount" },
@@ -662,9 +709,14 @@ var dailySalesConfig = {
662
709
  extraFooterRowsKey: "salesByRevClassFooter"
663
710
  };
664
711
 
665
- // src/reports/dailySalesCache.ts
712
+ // src/reports/dailySales/dailySalesCache.ts
666
713
  var FIELDS11 = {
667
- name: { type: "string", columnKey: "type", size: FIRST_COLUMN_WIDTH },
714
+ name: {
715
+ type: "string",
716
+ columnKey: "type",
717
+ size: FIRST_COLUMN_WIDTH,
718
+ footerCalculation: { type: "label", label: "table.total" }
719
+ },
668
720
  amount: { type: "money", columnKey: "paymentsAmount", footerCalculation: { type: "sum" } }
669
721
  };
670
722
  var dailySalesCacheConfig = {
@@ -676,9 +728,14 @@ var dailySalesCacheConfig = {
676
728
  sectionName: "common.report-section.cash"
677
729
  };
678
730
 
679
- // src/reports/dailySalesDiscounts.ts
731
+ // src/reports/dailySales/dailySalesDiscounts.ts
680
732
  var FIELDS12 = {
681
- discountName: { type: "string", columnKey: "discountName", size: FIRST_COLUMN_WIDTH },
733
+ discountName: {
734
+ type: "string",
735
+ columnKey: "discountName",
736
+ size: FIRST_COLUMN_WIDTH,
737
+ footerCalculation: { type: "label", label: "table.total" }
738
+ },
682
739
  ticketCount: { type: "number", columnKey: "ticketCount", footerCalculation: { type: "sum" } },
683
740
  itemCount: { type: "number", columnKey: "itemCount", footerCalculation: { type: "sum" } },
684
741
  discountsAmount: { type: "money", columnKey: "discountAmount", footerCalculation: { type: "sum" } }
@@ -698,9 +755,13 @@ var dailySalesDiscountsConfig = {
698
755
  sectionName: "common.report-section.discounts"
699
756
  };
700
757
 
701
- // src/reports/dailySalesPayments.ts
758
+ // src/reports/dailySales/dailySalesPayments.ts
702
759
  var FIELDS13 = {
703
- paymentTypeName: { type: "string", size: FIRST_COLUMN_WIDTH },
760
+ paymentTypeName: {
761
+ type: "string",
762
+ size: FIRST_COLUMN_WIDTH,
763
+ footerCalculation: { type: "label", label: "table.total" }
764
+ },
704
765
  paymentsCount: { type: "number", columnKey: "paymentsCount", footerCalculation: { type: "sum" } },
705
766
  paymentsAmount: { type: "money", columnKey: "paymentsAmount", footerCalculation: { type: "sum" } },
706
767
  tipsAmount: { type: "money", columnKey: "tips", footerCalculation: { type: "sum" } },
@@ -722,9 +783,14 @@ var dailySalesPaymentsConfig = {
722
783
  sectionName: "common.report-section.payments"
723
784
  };
724
785
 
725
- // src/reports/dailySalesRefundsVoids.ts
786
+ // src/reports/dailySales/dailySalesRefundsVoids.ts
726
787
  var FIELDS14 = {
727
- description: { type: "string", columnKey: "refundVoidDescription", size: FIRST_COLUMN_WIDTH },
788
+ description: {
789
+ type: "string",
790
+ columnKey: "refundVoidDescription",
791
+ size: FIRST_COLUMN_WIDTH,
792
+ footerCalculation: { type: "label", label: "table.total" }
793
+ },
728
794
  count: { type: "number", columnKey: "refundVoidCount", footerCalculation: { type: "sum" } },
729
795
  amount: { type: "money", columnKey: "refundVoidAmount", footerCalculation: { type: "sum" } },
730
796
  pctSales: { type: "percent", columnKey: "refundVoidPctSales", footerCalculation: { type: "sum" } }
@@ -744,9 +810,14 @@ var dailySalesRefundsVoidsConfig = {
744
810
  sectionName: "common.report-section.refunds-voids"
745
811
  };
746
812
 
747
- // src/reports/dailySalesTaxes.ts
813
+ // src/reports/dailySales/dailySalesTaxes.ts
748
814
  var FIELDS15 = {
749
- taxName: { type: "string", columnKey: "taxName", size: FIRST_COLUMN_WIDTH },
815
+ taxName: {
816
+ type: "string",
817
+ columnKey: "taxName",
818
+ size: FIRST_COLUMN_WIDTH,
819
+ footerCalculation: { type: "label", label: "table.total" }
820
+ },
750
821
  taxableSales: { type: "money", columnKey: "taxableSales", footerCalculation: { type: "none" } },
751
822
  taxesAmount: { type: "money", columnKey: "taxCollected", footerCalculation: { type: "sum" } },
752
823
  exemptSales: { type: "money", columnKey: "exemptSales", footerCalculation: { type: "sum" } }
@@ -766,10 +837,14 @@ var dailySalesTaxesConfig = {
766
837
  sectionName: "common.report-section.taxes"
767
838
  };
768
839
 
769
- // src/reports/dailySalesTrends.ts
840
+ // src/reports/dailySales/dailySalesTrends.ts
770
841
  var FIELDS16 = {
771
842
  groupById: { type: "string" },
772
- groupByName: { type: "string", size: FIRST_COLUMN_WIDTH },
843
+ groupByName: {
844
+ type: "string",
845
+ size: FIRST_COLUMN_WIDTH,
846
+ footerCalculation: { type: "label", label: "common.report-section.trends-footer.total-sales" }
847
+ },
773
848
  salesAmountNet: { type: "money", columnKey: "netSales" },
774
849
  ticketsCount: { type: "number", columnKey: "tickets" },
775
850
  guestsCount: { type: "number", columnKey: "guests" },
@@ -806,7 +881,6 @@ var dailySalesTrendsConfig = {
806
881
  hasFooter: true,
807
882
  dataAccessKey: "trendsByDayPart",
808
883
  sectionName: "common.report-section.sales-by-day-part",
809
- totalsLabel: "common.report-section.trends-footer.total-sales",
810
884
  extraFooterFields: ["salesAmountNet"]
811
885
  };
812
886
  var dailySalesTrendsOrderTypeConfig = {
@@ -816,7 +890,6 @@ var dailySalesTrendsOrderTypeConfig = {
816
890
  hasFooter: true,
817
891
  dataAccessKey: "trendsByOrderType",
818
892
  sectionName: "common.report-section.sales-by-order-type",
819
- totalsLabel: "common.report-section.trends-footer.total-sales",
820
893
  extraFooterFields: ["salesAmountNet"]
821
894
  };
822
895
 
@@ -1628,12 +1701,18 @@ function getColumnExportHeaderLabel(colTitle, groupTitle) {
1628
1701
 
1629
1702
  // src/totals.ts
1630
1703
  var sumField = (rows, field) => rows.reduce((acc, row) => acc + (row[field] ?? 0), 0);
1631
- var calculateFieldTotal = (rows, field, config) => {
1704
+ var getFooterValue = (rows, field, config) => {
1632
1705
  const { type } = config;
1633
- if (!type || type === "string" || type === "date" || type === "time" || type === "boolean" || type === "conditional") {
1706
+ if (!type || type === "date" || type === "time" || type === "boolean" || type === "conditional") {
1634
1707
  return null;
1635
1708
  }
1636
1709
  const calc = config.footerCalculation;
1710
+ if (type === "string") {
1711
+ if (calc?.type === "label") {
1712
+ return calc.label;
1713
+ }
1714
+ return null;
1715
+ }
1637
1716
  if (calc?.type === "none") {
1638
1717
  return null;
1639
1718
  }
@@ -1672,502 +1751,17 @@ var calculateReportTotals = (data, fieldConfig, opts) => {
1672
1751
  const { labelField, label } = opts;
1673
1752
  const result = {};
1674
1753
  for (const [field, config] of Object.entries(fieldConfig)) {
1675
- const total = calculateFieldTotal(data, field, config);
1754
+ const total = getFooterValue(data, field, config);
1676
1755
  result[field] = total ?? "";
1677
1756
  }
1678
- result[labelField] = label;
1757
+ if (result[labelField] === "" || result[labelField] === null) {
1758
+ result[labelField] = label;
1759
+ }
1679
1760
  return result;
1680
1761
  };
1681
1762
 
1682
- // src/translations/en-US.ts
1763
+ // src/translations/crowdin/skytab-analytics-report-utils/en-GB.ts
1683
1764
  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.house-account": "House Account",
2138
- "common.report-section.rev-class-footer.total-accountable": "Total Accountable",
2139
- "scheduled-reports.period": "Period",
2140
- "components.form.field.group-by": "Group By",
2141
- "components.form.field.last-week": "Compare to Last Week",
2142
- "components.form.field.last-year": "Compare to Last Year",
2143
- "common.labels.locations": "Locations",
2144
- "common.labels.yes": "Yes",
2145
- // Analytic fields
2146
- "analytics.field.location_id": "Location",
2147
- "analytics.field.order_type_id": "Order Types",
2148
- "analytics.field.revenue_center_id": "Revenue Centers",
2149
- "analytics.field.revenue_center_id.all": "All Revenue Centers",
2150
- "analytics.field.hour_id": "Hours",
2151
- "analytics.field.daypart_id": "Day Parts",
2152
- "analytics.field.timeslot_id": "15 Mins",
2153
- "analytics.field.employee_id": "Employees",
2154
- "analytics.field.payroll_id": "Payroll IDs",
2155
- "analytics.field.intraday_period_group": "Day Parts",
2156
- "analytics.field.item_id": "Item",
2157
- "analytics.field.department_id": "Department",
2158
- "analytics.field.revenue_class_id": "Revenue Class",
2159
- "analytics.field.modifier_id": "Modifier",
2160
- // Common labels
2161
- "table.total": "Total",
2162
- "table.groups.sales": "Sales",
2163
- "table.groups.net-sales": "Net Sales",
2164
- "table.groups.guests": "Guests",
2165
- "table.groups.sales-per-guest": "Sales / Guest"
2166
- };
2167
- var en_US_default = enUS;
2168
-
2169
- // src/translations/crowdin/skytab-analytics-report-utils/en-GB.ts
2170
- var enUS2 = {
2171
1765
  "common.report-col.fifteen-min-interval": false,
2172
1766
  "common.report-col.fifteen-min-interval.short": false,
2173
1767
  "common.report-col.fifteen-min-interval.info": false,
@@ -2651,10 +2245,10 @@ var enUS2 = {
2651
2245
  "table.groups.guests": false,
2652
2246
  "table.groups.sales-per-guest": false
2653
2247
  };
2654
- var en_GB_default = enUS2;
2248
+ var en_GB_default = enUS;
2655
2249
 
2656
2250
  // src/translations/crowdin/skytab-analytics-report-utils/es-ES.ts
2657
- var enUS3 = {
2251
+ var enUS2 = {
2658
2252
  "common.report-col.fifteen-min-interval": false,
2659
2253
  "common.report-col.fifteen-min-interval.short": false,
2660
2254
  "common.report-col.fifteen-min-interval.info": false,
@@ -3117,35 +2711,521 @@ var enUS3 = {
3117
2711
  "common.labels.locations": false,
3118
2712
  "common.labels.yes": false,
3119
2713
  // Analytic fields
3120
- "analytics.field.location_id": false,
3121
- "analytics.field.order_type_id": false,
3122
- "analytics.field.revenue_center_id": false,
3123
- "analytics.field.revenue_center_id.all": false,
3124
- "analytics.field.hour_id": false,
3125
- "analytics.field.daypart_id": false,
3126
- "analytics.field.timeslot_id": false,
3127
- "analytics.field.employee_id": false,
3128
- "analytics.field.payroll_id": false,
3129
- "analytics.field.intraday_period_group": false,
3130
- "analytics.field.item_id": false,
3131
- "analytics.field.department_id": false,
3132
- "analytics.field.revenue_class_id": false,
3133
- "analytics.field.modifier_id": false,
2714
+ "analytics.field.location_id": false,
2715
+ "analytics.field.order_type_id": false,
2716
+ "analytics.field.revenue_center_id": false,
2717
+ "analytics.field.revenue_center_id.all": false,
2718
+ "analytics.field.hour_id": false,
2719
+ "analytics.field.daypart_id": false,
2720
+ "analytics.field.timeslot_id": false,
2721
+ "analytics.field.employee_id": false,
2722
+ "analytics.field.payroll_id": false,
2723
+ "analytics.field.intraday_period_group": false,
2724
+ "analytics.field.item_id": false,
2725
+ "analytics.field.department_id": false,
2726
+ "analytics.field.revenue_class_id": false,
2727
+ "analytics.field.modifier_id": false,
2728
+ // Common labels
2729
+ "table.total": false,
2730
+ "table.groups.sales": false,
2731
+ "table.groups.net-sales": false,
2732
+ "table.groups.guests": false,
2733
+ "table.groups.sales-per-guest": false
2734
+ };
2735
+ var es_ES_default = enUS2;
2736
+
2737
+ // src/translations/en-US.ts
2738
+ var enUS3 = {
2739
+ "common.report-col.fifteen-min-interval": "15 Min Interval",
2740
+ "common.report-col.fifteen-min-interval.short": "15-Min Int",
2741
+ "common.report-col.fifteen-min-interval.info": "Time window (15 minutes) when the activity occurred",
2742
+ "common.report-col.adjusted-tips": "Adjusted Tips",
2743
+ "common.report-col.adjusted-tips.short": "Adj Tips",
2744
+ "common.report-col.adjusted-tips.info": "Tips that were corrected or modified after the original entry",
2745
+ "common.report-col.advantage-program": "Advantage Program",
2746
+ "common.report-col.advantage-program.short": "Adv Program",
2747
+ "common.report-col.advantage-program.info": "Transaction amount related to advantage program",
2748
+ "common.report-col.amex": "Amex",
2749
+ "common.report-col.amex.short": "Amex",
2750
+ "common.report-col.amex.info": "Total sales processed using American Express cards",
2751
+ "common.report-col.amex-returns": "Amex Returns",
2752
+ "common.report-col.amex-returns.short": "Amex Rtn",
2753
+ "common.report-col.amex-returns.info": "The total value of refunds issued to American Express cardholders",
2754
+ "common.report-col.attach-rate": "Attach Rate",
2755
+ "common.report-col.attach-rate.short": "Attach Rate",
2756
+ "common.report-col.attach-rate.info": "% of orders that include this item or add-on",
2757
+ "common.report-col.auto-gratuity": "Auto Gratuity",
2758
+ "common.report-col.auto-gratuity.short": "Auto Gratuity",
2759
+ "common.report-col.auto-gratuity.info": "Automatically applied gratuity added to a guest check",
2760
+ "common.report-col.average-gross-price": "Average Gross Price",
2761
+ "common.report-col.average-gross-price.short": "Avg Gross",
2762
+ "common.report-col.average-gross-price.info": "Average price charged per item before discounts, tax, or tips",
2763
+ "common.report-col.bank-fees": "Bank Fees",
2764
+ "common.report-col.bank-fees.short": "Bank Fees",
2765
+ "common.report-col.bank-fees.info": "Fees deducted by the bank or processor, including processing, interchange, or service fees",
2766
+ "common.report-col.batch-amount": "Batch Amount",
2767
+ "common.report-col.batch-amount.short": "Batch Amt",
2768
+ "common.report-col.batch-amount.info": "Total amount settled in the closed batch",
2769
+ "common.report-col.batch-date": "Batch Date",
2770
+ "common.report-col.batch-date.short": "Batch Date",
2771
+ "common.report-col.batch-date.info": "Date the batch was settled with the processor",
2772
+ "common.report-col.batch-number": "Batch Number",
2773
+ "common.report-col.batch-number.short": "Batch No",
2774
+ "common.report-col.batch-number.info": "The system-generated number used to track this batch of transactions",
2775
+ "common.report-col.clock-in-time": "Clock-In Time",
2776
+ "common.report-col.clock-in-time.short": "In Time",
2777
+ "common.report-col.clock-in-time.info": "Actual time the employee clocked in",
2778
+ "common.report-col.clock-out-time": "Clock-Out Time",
2779
+ "common.report-col.clock-out-time.short": "Out Time",
2780
+ "common.report-col.clock-out-time.info": "Actual time the employee clocked out",
2781
+ "common.report-col.status": "Status",
2782
+ "common.report-col.status.short": "Status",
2783
+ "common.report-col.status.info": "Timecard status for the shift entry.",
2784
+ "common.report-col.last-modified": "Last Updated/Modified",
2785
+ "common.report-col.last-modified.short": "Last Updated",
2786
+ "common.report-col.last-modified.info": "Timestamp when this timecard entry was last updated or modified.",
2787
+ "common.report-col.country": "Country",
2788
+ "common.report-col.country.short": "Country",
2789
+ "common.report-col.country.info": "Country where the transaction was processed",
2790
+ "common.report-col.customer-name": "Customer Name",
2791
+ "common.report-col.customer-name.short": "Customer",
2792
+ "common.report-col.customer-name.info": "Name of the customer associated with the ticket",
2793
+ "common.report-col.date": "Business Date",
2794
+ "common.report-col.date.short": "Business Date",
2795
+ "common.report-col.date.info": "Date the transaction or sale occurred based on the business date of the Location",
2796
+ "common.report-col.date-close": "Date Close",
2797
+ "common.report-col.date-close.short": "Date Close",
2798
+ "common.report-col.date-close.info": "Date when the ticket was completed and closed",
2799
+ "common.report-col.daypart": "Day Part",
2800
+ "common.report-col.daypart.short": "Day Part",
2801
+ "common.report-col.daypart.info": "Time-of-day category (e.g., Breakfast, Lunch, Dinner)",
2802
+ "common.report-col.debit": "Debit",
2803
+ "common.report-col.debit.short": "Debit",
2804
+ "common.report-col.debit.info": "Total sales paid using debit cards",
2805
+ "common.report-col.debit-returns": "Debit Returns",
2806
+ "common.report-col.debit-returns.short": "Debit Rtn",
2807
+ "common.report-col.debit-returns.info": "Total refunds issued on debit card payments",
2808
+ "common.report-col.declared-tips": "Declared Tips",
2809
+ "common.report-col.declared-tips.short": "Declared Tips",
2810
+ "common.report-col.declared-tips.info": "Tips manually reported by the employee",
2811
+ "common.report-col.department": "Department",
2812
+ "common.report-col.department.short": "Dept",
2813
+ "common.report-col.department.info": "Menu category the item belongs to",
2814
+ "common.report-col.deposit-currency": "Deposit Currency",
2815
+ "common.report-col.deposit-currency.short": "Dep Currency",
2816
+ "common.report-col.deposit-currency.info": "The currency your deposits are paid out in",
2817
+ "common.report-col.deposit-date": "Deposit Date",
2818
+ "common.report-col.deposit-date.short": "Dep Date",
2819
+ "common.report-col.deposit-date.info": "The date money was deposited into your bank account",
2820
+ "common.report-col.discount-amount": "Discount Amount",
2821
+ "common.report-col.discount-amount.short": "Discount Amt",
2822
+ "common.report-col.discount-amount.info": "Total amount taken off sales due to discounts",
2823
+ "common.report-col.discount-count": "Discount Count",
2824
+ "common.report-col.discount-count.short": "Disc Count",
2825
+ "common.report-col.discount-count.info": "Total number of discounts applied to orders",
2826
+ "common.report-col.ticket-count": "Ticket Qty",
2827
+ "common.report-col.ticket-count.short": "Ticket Qty",
2828
+ "common.report-col.ticket-count.info": "Count of distinct tickets with this discount",
2829
+ "common.report-col.item-count": "Item Qty",
2830
+ "common.report-col.item-count.short": "Item Qty",
2831
+ "common.report-col.item-count.info": "Total number of discount line items",
2832
+ "common.report-col.discover": "Discover",
2833
+ "common.report-col.discover.short": "Discover",
2834
+ "common.report-col.discover.info": "Total sales processed using Discover cards",
2835
+ "common.report-col.discover-returns": "Discover Returns",
2836
+ "common.report-col.discover-returns.short": "Discover Rtn",
2837
+ "common.report-col.discover-returns.info": "Total refunds given on Discover card payments",
2838
+ "common.report-col.ebt": "EBT",
2839
+ "common.report-col.ebt.short": "EBT",
2840
+ "common.report-col.ebt.info": "Total payments made using EBT",
2841
+ "common.report-col.ebt-returns": "EBT Returns",
2842
+ "common.report-col.ebt-returns.short": "EBT Returns",
2843
+ "common.report-col.ebt-returns.info": "Total refunds issued for EBT payments",
2844
+ "common.report-col.employee-id": "Employee ID",
2845
+ "common.report-col.employee-id.short": "Emp ID",
2846
+ "common.report-col.employee-id.info": "Employee's assigned ID",
2847
+ "common.report-col.employee-job": "Employee Job",
2848
+ "common.report-col.employee-job.short": "Emp Job",
2849
+ "common.report-col.employee-job.info": "Role the employee is performing during the shift",
2850
+ "common.report-col.employee-name": "Employee Name",
2851
+ "common.report-col.employee-name.short": "Emp Name",
2852
+ "common.report-col.employee-name.info": "Employee associated with the transaction or labor entry",
2853
+ "common.report-col.exempt-taxes": "Exempt Taxes",
2854
+ "common.report-col.exempt-taxes.short": "Exempt Taxes",
2855
+ "common.report-col.exempt-taxes.info": "Tax amount that was exempt",
2856
+ "common.report-col.exempt-sales": "Exempt Sales",
2857
+ "common.report-col.exempt-sales.short": "Exempt Sales",
2858
+ "common.report-col.exempt-sales.info": "Total sales that were exempt from taxation",
2859
+ "common.report-col.grand-total": "Grand Total",
2860
+ "common.report-col.grand-total.short": "Grand Total",
2861
+ "common.report-col.grand-total.info": "Total transaction amount, including items, taxes, fees, and gratuity",
2862
+ "common.report-col.gross-cash-sales": "Gross Cash Sales",
2863
+ "common.report-col.gross-cash-sales.short": "Gross Cash",
2864
+ "common.report-col.gross-cash-sales.info": "Total cash sales before discounts, refunds, taxes, or adjustments",
2865
+ "common.report-col.gross-credit-sales": "Gross Credit Sales",
2866
+ "common.report-col.gross-credit-sales.short": "Gross CC",
2867
+ "common.report-col.gross-credit-sales.info": "Total card sales before discounts, refunds, taxes, or adjustments",
2868
+ "common.report-col.gross-sales": "Gross Sales",
2869
+ "common.report-col.gross-sales.short": "Gross Sales",
2870
+ "common.report-col.gross-sales.info": "Total item sales before refunds, tax, or tips",
2871
+ "common.report-col.gross-tips": "Gross Tips",
2872
+ "common.report-col.gross-tips.short": "Gross Tips",
2873
+ "common.report-col.gross-tips.info": "Total tips before any deductions or sharing",
2874
+ "common.report-col.guest-count": "Guest Count",
2875
+ "common.report-col.guest-count.short": "Guest Count",
2876
+ "common.report-col.guest-count.info": "Total number of guests served",
2877
+ "common.report-col.guests-var-lw": "Guests \xB1 LW",
2878
+ "common.report-col.guests-var-lw.short": "\xB1 LW",
2879
+ "common.report-col.guests-var-lw.info": "Change in guest count compared to last week",
2880
+ "common.report-col.guests-var-lw-pct": "Guests \xB1 LW %",
2881
+ "common.report-col.guests-var-lw-pct.short": "\xB1 LW %",
2882
+ "common.report-col.guests-var-lw-pct.info": "Percentage change in guests compared to last week",
2883
+ "common.report-col.guests-var-ly": "Guests \xB1 LY",
2884
+ "common.report-col.guests-var-ly.short": "\xB1 LY",
2885
+ "common.report-col.guests-var-ly.info": "Change in guest count compared to last year",
2886
+ "common.report-col.guests-var-ly-pct": "Guests \xB1 LY %",
2887
+ "common.report-col.guests-var-ly-pct.short": "\xB1 LY %",
2888
+ "common.report-col.guests-var-ly-pct.info": "Percentage change in guests compared to last year",
2889
+ "common.report-col.hour": "Hour",
2890
+ "common.report-col.hour.short": "Hour",
2891
+ "common.report-col.hour.info": "Hour of the day the activity occurred",
2892
+ "common.report-col.hours-worked": "Hours Worked",
2893
+ "common.report-col.hours-worked.short": "Hrs Worked",
2894
+ "common.report-col.hours-worked.info": "Total hours worked during the selected period",
2895
+ "common.report-col.inclusive-tax": "Inclusive Tax",
2896
+ "common.report-col.inclusive-tax.short": "Inclusive Tax",
2897
+ "common.report-col.inclusive-tax.info": "Tax already included in the item price",
2898
+ "common.report-col.item-name": "Item Name",
2899
+ "common.report-col.item-name.short": "Item Name",
2900
+ "common.report-col.item-name.info": "Item sold in the transaction",
2901
+ "common.report-col.item-price": "Item Price",
2902
+ "common.report-col.item-price.short": "Item Price",
2903
+ "common.report-col.item-price.info": "Price of one item before discounts, taxes, or customizations",
2904
+ "common.report-col.location-city": "Location City",
2905
+ "common.report-col.location-city.short": "City",
2906
+ "common.report-col.location-city.info": "City of the business location",
2907
+ "common.report-col.location-id": "Location ID",
2908
+ "common.report-col.location-id.short": "Loc ID",
2909
+ "common.report-col.location-id.info": "Unique identifier for the business location",
2910
+ "common.report-col.location-mid": "Location MID",
2911
+ "common.report-col.location-mid.short": "MID",
2912
+ "common.report-col.location-mid.info": "Merchant ID tied to the business location",
2913
+ "common.report-col.location-name": "Location Name",
2914
+ "common.report-col.location-name.short": "Location",
2915
+ "common.report-col.location-name.info": "Name of the business location",
2916
+ "common.report-col.location-state": "Location State",
2917
+ "common.report-col.location-state.short": "State",
2918
+ "common.report-col.location-state.info": "State of the business location",
2919
+ "common.report-col.mastercard": "Mastercard",
2920
+ "common.report-col.mastercard.short": "MC",
2921
+ "common.report-col.mastercard.info": "Total sales processed using Mastercard",
2922
+ "common.report-col.mc-returns": "MC Returns",
2923
+ "common.report-col.mc-returns.short": "MC Returns",
2924
+ "common.report-col.mc-returns.info": "Total refunds issued on Mastercard payments",
2925
+ "common.report-col.modifier-name": "Modifier Name",
2926
+ "common.report-col.modifier-name.short": "Mod Name",
2927
+ "common.report-col.modifier-name.info": "The specific option or customization applied to an item",
2928
+ "common.report-col.modifier-price": "Modifier Price",
2929
+ "common.report-col.modifier-price.short": "Mod Price",
2930
+ "common.report-col.modifier-price.info": "Price of one modifier",
2931
+ "common.report-col.modifier-quantity": "Modifier Quantity",
2932
+ "common.report-col.modifier-quantity.short": "Mod Qty",
2933
+ "common.report-col.modifier-quantity.info": "Number of modifiers added to items on the ticket",
2934
+ "common.report-col.item-quantity": "Item Quantity",
2935
+ "common.report-col.item-quantity.short": "Item Qty",
2936
+ "common.report-col.item-quantity.info": "Total quantity of parent items sold",
2937
+ "common.report-col.modifier-quantity-comp": "Mod Qty (Comparison)",
2938
+ "common.report-col.modifier-quantity-comp.short": "Mod Qty (C)",
2939
+ "common.report-col.modifier-quantity-comp.info": "Modifier quantity for comparison period",
2940
+ "common.report-col.item-quantity-comp": "Item Qty (Comparison)",
2941
+ "common.report-col.item-quantity-comp.short": "Item Qty (C)",
2942
+ "common.report-col.item-quantity-comp.info": "Item quantity for comparison period",
2943
+ "common.report-col.attach-rate-comp": "Attach Rate (Comparison)",
2944
+ "common.report-col.attach-rate-comp.short": "Rate (C)",
2945
+ "common.report-col.attach-rate-comp.info": "Attach rate for comparison period",
2946
+ "common.report-col.total-modifier-sales-var": "Mod Sales Variance",
2947
+ "common.report-col.total-modifier-sales-var.short": "Sales Var",
2948
+ "common.report-col.total-modifier-sales-var.info": "Variance in modifier sales vs comparison period",
2949
+ "common.report-col.total-modifier-sales-var-pct": "Mod Sales Var %",
2950
+ "common.report-col.total-modifier-sales-var-pct.short": "Sales %",
2951
+ "common.report-col.total-modifier-sales-var-pct.info": "Percentage variance in modifier sales",
2952
+ "common.report-col.modifier-quantity-var": "Mod Qty Variance",
2953
+ "common.report-col.modifier-quantity-var.short": "Qty Var",
2954
+ "common.report-col.modifier-quantity-var.info": "Variance in modifier quantity vs comparison period",
2955
+ "common.report-col.modifier-quantity-var-pct": "Mod Qty Var %",
2956
+ "common.report-col.modifier-quantity-var-pct.short": "Qty %",
2957
+ "common.report-col.modifier-quantity-var-pct.info": "Percentage variance in modifier quantity",
2958
+ "common.report-col.attach-rate-var": "Attach Rate Variance",
2959
+ "common.report-col.attach-rate-var.short": "Rate Var",
2960
+ "common.report-col.attach-rate-var.info": "Variance in attach rate vs comparison period",
2961
+ "common.report-col.attach-rate-var-pct": "Attach Rate Var %",
2962
+ "common.report-col.attach-rate-var-pct.short": "Rate %",
2963
+ "common.report-col.attach-rate-var-pct.info": "Percentage variance in attach rate",
2964
+ "common.report-col.total-modifier-sales-comp": "Mod Sales (Comparison)",
2965
+ "common.report-col.total-modifier-sales-comp.short": "Mod (C)",
2966
+ "common.report-col.total-modifier-sales-comp.info": "Modifier sales for comparison period",
2967
+ "common.report-col.net-sales": "Net Sales",
2968
+ "common.report-col.net-sales.short": "Net Sales",
2969
+ "common.report-col.net-sales.info": "Sales amount excluding taxes and tips",
2970
+ "common.report-col.net-tax-collected": "Net Tax Collected",
2971
+ "common.report-col.net-tax-collected.short": "Net Tax",
2972
+ "common.report-col.net-tax-collected.info": "Taxes collected after refunds are deducted",
2973
+ "common.report-col.net-tips": "Net Tips",
2974
+ "common.report-col.net-tips.short": "Net Tips",
2975
+ "common.report-col.net-tips.info": "Gross Tips - Tip Reduction + Tip Share + Adjusted Tips",
2976
+ "common.report-col.number-of-guests": "Number of Guests",
2977
+ "common.report-col.number-of-guests.short": "No Guests",
2978
+ "common.report-col.number-of-guests.info": "Number of guests tied to the transaction",
2979
+ "common.report-col.order-type": "Order Type",
2980
+ "common.report-col.order-type.short": "Order Type",
2981
+ "common.report-col.order-type.info": "How the order was placed",
2982
+ "common.report-col.payment-type": "Payment Type",
2983
+ "common.report-col.payment-type.short": "Pay Type",
2984
+ "common.report-col.payment-type.info": "Method used to pay for the transaction (e.g., cash, credit, gift card)",
2985
+ "common.report-col.payroll-id": "Payroll ID",
2986
+ "common.report-col.payroll-id.short": "Payroll ID",
2987
+ "common.report-col.payroll-id.info": "Employee's Payroll ID",
2988
+ "common.report-col.quantity": "Quantity",
2989
+ "common.report-col.quantity.short": "Quantity",
2990
+ "common.report-col.quantity.info": "Number of items sold",
2991
+ "common.report-col.reference-number": "Reference Number",
2992
+ "common.report-col.reference-number.short": "Ref Number",
2993
+ "common.report-col.reference-number.info": "Reference number used to identify this transaction or record",
2994
+ "common.report-col.refund-amount": "Refund Amount",
2995
+ "common.report-col.refund-amount.short": "Refund Amt",
2996
+ "common.report-col.refund-amount.info": "Total amount refunded to customers",
2997
+ "common.report-col.refunded-tax-amount": "Refunded Tax Amount",
2998
+ "common.report-col.refunded-tax-amount.short": "Refunded Tax",
2999
+ "common.report-col.refunded-tax-amount.info": "Tax portion of refunded transactions",
3000
+ "common.report-col.revenue-center": "Revenue Center",
3001
+ "common.report-col.revenue-center.short": "Rev Ctr",
3002
+ "common.report-col.revenue-center.info": "Area where the sale occurred",
3003
+ "common.report-col.revenue-class": "Revenue Class",
3004
+ "common.report-col.revenue-class.short": "Rev Class",
3005
+ "common.report-col.revenue-class.info": "Category used to group similar types of revenue",
3006
+ "common.report-col.sales-var-lw": "Sales \xB1 LW",
3007
+ "common.report-col.sales-var-lw.short": "\xB1 LW",
3008
+ "common.report-col.sales-var-lw.info": "Change in sales compared to last week",
3009
+ "common.report-col.sales-var-lw-pct": "Sales \xB1 LW %",
3010
+ "common.report-col.sales-var-lw-pct.short": "\xB1 LW %",
3011
+ "common.report-col.sales-var-lw-pct.info": "Percentage change in sales compared to last week",
3012
+ "common.report-col.sales-var-ly": "Sales \xB1 LY",
3013
+ "common.report-col.sales-var-ly.short": "\xB1 LY",
3014
+ "common.report-col.sales-var-ly.info": "Change in sales compared to last year",
3015
+ "common.report-col.sales-var-ly-pct": "Sales \xB1 LY %",
3016
+ "common.report-col.sales-var-ly-pct.short": "\xB1 LY %",
3017
+ "common.report-col.sales-var-ly-pct.info": "Percentage change in sales compared to last year",
3018
+ "common.report-col.sales-mix-by-pct": "Sales Mix By %",
3019
+ "common.report-col.sales-mix-by-pct.short": "Sales Mix %",
3020
+ "common.report-col.sales-mix-by-pct.info": "Percentage of total sales contributed by this item or category",
3021
+ "common.report-col.sales-per-guest": "Sales/Guest",
3022
+ "common.report-col.sales-per-guest.short": "Amt/Guest",
3023
+ "common.report-col.sales-per-guest.info": "Average spend per guest",
3024
+ "common.report-col.sales-per-guest-lw": "Sales/Guest LW",
3025
+ "common.report-col.sales-per-guest-lw.short": "Amt/Guest LW",
3026
+ "common.report-col.sales-per-guest-lw.info": "Average spend per guest last week",
3027
+ "common.report-col.sales-per-guest-ly": "Sales/Guest LY",
3028
+ "common.report-col.sales-per-guest-ly.short": "Amt/Guest LY",
3029
+ "common.report-col.sales-per-guest-ly.info": "Average spend per guest last year",
3030
+ "common.report-col.scheduled-shift-end": "Scheduled Shift End",
3031
+ "common.report-col.scheduled-shift-end.short": "Sch Shift End",
3032
+ "common.report-col.scheduled-shift-end.info": "Planned end time of the shift based on the schedule (not actual clock-out)",
3033
+ "common.report-col.scheduled-shift-start": "Scheduled Shift Start",
3034
+ "common.report-col.scheduled-shift-start.short": "Sch Shift Start",
3035
+ "common.report-col.scheduled-shift-start.info": "Planned start time of the shift based on the schedule (not actual clock-in)",
3036
+ "common.report-col.settlement-batch-date": "Settlement (Batch) Date",
3037
+ "common.report-col.settlement-batch-date.short": "Settle Date",
3038
+ "common.report-col.settlement-batch-date.info": "The date this group of transactions was finalized and sent to the bank for settlement",
3039
+ "common.report-col.shift-duration-hrs": "Shift Duration (hrs)",
3040
+ "common.report-col.shift-duration-hrs.short": "Shift (hrs)",
3041
+ "common.report-col.shift-duration-hrs.info": "Shift Duration in Hours",
3042
+ "common.report-col.subtotal": "Subtotal",
3043
+ "common.report-col.subtotal.short": "Subtotal",
3044
+ "common.report-col.subtotal.info": "Total of items before taxes, fees, and gratuity",
3045
+ "common.report-col.tax-collected": "Tax Collected",
3046
+ "common.report-col.tax-collected.short": "Tax",
3047
+ "common.report-col.tax-collected.info": "Total taxes charged to customers",
3048
+ "common.report-col.tax-name": "Tax Name",
3049
+ "common.report-col.tax-name.short": "Tax Name",
3050
+ "common.report-col.tax-name.info": "Name of the applied tax",
3051
+ "common.report-col.tax-rate": "Tax Rate",
3052
+ "common.report-col.tax-rate.short": "Tax Rate",
3053
+ "common.report-col.tax-rate.info": "Flat Rate or Percentage used to calculate the tax",
3054
+ "common.report-col.taxable-sales": "Taxable Sales",
3055
+ "common.report-col.taxable-sales.short": "Taxable Sales",
3056
+ "common.report-col.taxable-sales.info": "Sales subject to tax",
3057
+ "common.report-col.ticket-closed": "Ticket Closed",
3058
+ "common.report-col.ticket-closed.short": "Tkt Closed",
3059
+ "common.report-col.ticket-closed.info": "Time when the ticket was completed and closed. Based on local calendar date",
3060
+ "common.report-col.ticket-fee": "Ticket Fee",
3061
+ "common.report-col.ticket-fee.short": "Tkt Fee",
3062
+ "common.report-col.ticket-fee.info": "Additional fees applied to the ticket",
3063
+ "common.report-col.ticket-number": "Ticket Number",
3064
+ "common.report-col.ticket-number.short": "Tkt Number",
3065
+ "common.report-col.ticket-number.info": "Unique ID used to identify the ticket or transaction",
3066
+ "common.report-col.ticket-open": "Ticket Open",
3067
+ "common.report-col.ticket-open.short": "Tkt Open",
3068
+ "common.report-col.ticket-open.info": "Time when the ticket was opened. Based on local calendar date",
3069
+ "common.report-col.ticket-total": "Ticket Total",
3070
+ "common.report-col.ticket-total.short": "Tkt Total",
3071
+ "common.report-col.ticket-total.info": "Total amount paid by guests, including sales, taxes, and tips",
3072
+ "common.report-col.time-open-mins": "Time Open (Mins)",
3073
+ "common.report-col.time-open-mins.short": "Open (Mins)",
3074
+ "common.report-col.time-open-mins.info": "Minutes between ticket open and close times",
3075
+ "common.report-col.tip-pct": "Tip %",
3076
+ "common.report-col.tip-pct.short": "Tip %",
3077
+ "common.report-col.tip-pct.info": "Tip % (Total Tips \xF7 Sales Amount)",
3078
+ "common.report-col.tip-reduction": "Tip Reduction",
3079
+ "common.report-col.tip-reduction.short": "Tip Reduction",
3080
+ "common.report-col.tip-reduction.info": "Tips removed due to adjustments or policies",
3081
+ "common.report-col.tip-share": "Tip Share",
3082
+ "common.report-col.tip-share.short": "Tip Share",
3083
+ "common.report-col.tip-share.info": "Tips distributed to other employees",
3084
+ "common.report-col.tips": "Tips",
3085
+ "common.report-col.tips.short": "Tips",
3086
+ "common.report-col.tips.info": "Total tips received for the ticket",
3087
+ "common.report-col.tips-per-hour": "Tips per Hour",
3088
+ "common.report-col.tips-per-hour.short": "Tips per Hour",
3089
+ "common.report-col.tips-per-hour.info": "Total Tips / Hours Worked",
3090
+ "common.report-col.total-collected": "Total Collected",
3091
+ "common.report-col.total-collected.short": "Total",
3092
+ "common.report-col.total-collected.info": "Total amount collected, including taxes, fees, and tips",
3093
+ "common.report-col.total-item-sales": "Total Item Sales",
3094
+ "common.report-col.total-item-sales.short": "Item Sales",
3095
+ "common.report-col.total-item-sales.info": "Average item price \xD7 quantity sold. Total value of the items sold",
3096
+ "common.report-col.total-modifier-sales": "Total Modifier Sales",
3097
+ "common.report-col.total-modifier-sales.short": "Mod Sales",
3098
+ "common.report-col.total-modifier-sales.info": "Average modifier price \xD7 quantity sold. Total value of the modifiers sold",
3099
+ "common.report-col.total-returns": "Total Returns",
3100
+ "common.report-col.total-returns.short": "Returns",
3101
+ "common.report-col.total-returns.info": "Total amount refunded to customers",
3102
+ "common.report-col.total-sales": "Total Sales",
3103
+ "common.report-col.total-sales.short": "Sales",
3104
+ "common.report-col.total-sales.info": "Total sales across all tenders before discounts, refunds, taxes, or adjustments",
3105
+ "common.report-col.total-tips": "Total Tips",
3106
+ "common.report-col.total-tips.short": "Tips",
3107
+ "common.report-col.total-tips.info": "All tips received from customers",
3108
+ "common.report-col.transaction-date": "Transaction Date",
3109
+ "common.report-col.transaction-date.short": "Txn Date",
3110
+ "common.report-col.transaction-date.info": "The date the transaction took place",
3111
+ "common.report-col.sale-payment-type": "Payment Type",
3112
+ "common.report-col.sale-payment-type.short": "Payment Type",
3113
+ "common.report-col.sale-payment-type.info": "The payment method used to close the ticket (e.g. Credit, Other)",
3114
+ "common.report-col.transaction-type": "Transaction Type",
3115
+ "common.report-col.transaction-type.short": "Txn Type",
3116
+ "common.report-col.transaction-type.info": "Shows whether this transaction is a sale, refund, or other adjustment",
3117
+ "common.report-col.untaxed-sales": "Untaxed Sales",
3118
+ "common.report-col.untaxed-sales.short": "Non-Tax",
3119
+ "common.report-col.untaxed-sales.info": "Sales not subject to tax",
3120
+ "common.report-col.visa": "Visa",
3121
+ "common.report-col.visa.short": "Visa",
3122
+ "common.report-col.visa.info": "Total sales processed using Visa cards",
3123
+ "common.report-col.visa-returns": "Visa Returns",
3124
+ "common.report-col.visa-returns.short": "Visa Returns",
3125
+ "common.report-col.visa-returns.info": "Total refunds issued on Visa payments",
3126
+ "common.report-col.payments-count": "Payments Count",
3127
+ "common.report-col.payments-count.short": "Qty",
3128
+ "common.report-col.payments-count.info": "Number of payments",
3129
+ "common.report-col.payments-amount": "Payments Amount",
3130
+ "common.report-col.payments-amount.short": "Amount",
3131
+ "common.report-col.payments-amount.info": "Total payment amount",
3132
+ "common.report-col.payments-total": "Payments Total",
3133
+ "common.report-col.payments-total.short": "Total",
3134
+ "common.report-col.payments-total.info": "Total payments including tips",
3135
+ "common.report-col.refund-void-description": "Description",
3136
+ "common.report-col.refund-void-description.short": "Description",
3137
+ "common.report-col.refund-void-description.info": "Type of refund or void",
3138
+ "common.report-col.refund-void-count": "Refund/Void Count",
3139
+ "common.report-col.refund-void-count.short": "Qty",
3140
+ "common.report-col.refund-void-count.info": "Number of refunds or voids",
3141
+ "common.report-col.refund-void-amount": "Refund/Void Amount",
3142
+ "common.report-col.refund-void-amount.short": "Gross",
3143
+ "common.report-col.refund-void-amount.info": "Total amount of refunds or voids",
3144
+ "common.report-col.refund-void-pct-sales": "Refund/Void % of Sales",
3145
+ "common.report-col.refund-void-pct-sales.short": "% of Sale",
3146
+ "common.report-col.refund-void-pct-sales.info": "Percentage of sales represented by refunds or voids",
3147
+ "common.report-col.discount-name": "Discount Type",
3148
+ "common.report-col.discount-name.short": "Discount Type",
3149
+ "common.report-col.discount-name.info": "Name of the discount applied",
3150
+ "common.report-col.tickets": "Tickets",
3151
+ "common.report-col.tickets.short": "Tickets",
3152
+ "common.report-col.tickets.info": "Total number of tickets",
3153
+ "common.report-col.guests": "Guests",
3154
+ "common.report-col.guests.short": "Guests",
3155
+ "common.report-col.guests.info": "Total number of guests",
3156
+ "common.report-col.ticket-average": "Ticket Average",
3157
+ "common.report-col.ticket-average.short": "Tkt Avg",
3158
+ "common.report-col.ticket-average.info": "Average net sales per ticket",
3159
+ "common.report-col.guest-average": "Guest Average",
3160
+ "common.report-col.guest-average.short": "Gst Avg",
3161
+ "common.report-col.guest-average.info": "Average net sales per guest",
3162
+ "common.report-col.net": "Net",
3163
+ "common.report-col.net.short": "Net",
3164
+ "common.report-col.net.info": "Net sales amount",
3165
+ "common.report-col.gross-cash-tips": "Gross Cash Tips",
3166
+ "common.report-col.gross-cash-tips.short": "Gross Cash Tips",
3167
+ "common.report-col.gross-cash-tips.info": "Gross cash tips collected before distribution",
3168
+ "common.report-col.gross-credit-card-tips": "Gross Credit Card Tips",
3169
+ "common.report-col.gross-credit-card-tips.short": "Gross CC Tips",
3170
+ "common.report-col.gross-credit-card-tips.info": "Gross credit card tips before any deductions or redistribution",
3171
+ "common.report-col.type": "Type",
3172
+ "common.report-col.type.short": "Type",
3173
+ "common.report-col.type.info": " ",
3174
+ "common.report-section.revenue-class": "Revenue Class",
3175
+ "common.report-section.payments": "Payments",
3176
+ "common.report-section.cash": "Expected Closeout Cash",
3177
+ "common.report-section.taxes": "Taxes",
3178
+ "common.report-section.refunds-voids": "Refunds & Voids",
3179
+ "common.report-section.discounts": "Discounts",
3180
+ "common.report-section.sales-by-day-part": "Sales by Day Part",
3181
+ "common.report-section.sales-by-order-type": "Sales by Order Type",
3182
+ "common.report-section.cash-row.cash-payments": "Cash Payments",
3183
+ "common.report-section.cash-row.paid-in-outs": "Paid-In/Outs",
3184
+ "common.report-section.cash-row.gratuities-paid-out": "Gratuities Paid Out",
3185
+ "common.report-section.cash-row.cc-tips-paid-out": "CC Tips Paid Out",
3186
+ "common.report-section.trends-footer.total-sales": "Total Sales",
3187
+ "common.report-section.rev-class-footer.tax-total": "Tax Total",
3188
+ "common.report-section.rev-class-footer.gratuities": "Gratuities",
3189
+ "common.report-section.rev-class-footer.balance-payments": "Balance Payments",
3190
+ "common.report-section.rev-class-footer.gift-card-sales": "Gift Card Sales",
3191
+ "common.report-section.rev-class-footer.non-sales-revenue": "Non-Sales Revenue",
3192
+ "common.report-section.rev-class-footer.house-account": "House Account",
3193
+ "common.report-section.rev-class-footer.total-accountable": "Total Accountable",
3194
+ "scheduled-reports.period": "Period",
3195
+ "components.form.field.group-by": "Group By",
3196
+ "components.form.field.last-week": "Compare to Last Week",
3197
+ "components.form.field.last-year": "Compare to Last Year",
3198
+ "common.labels.locations": "Locations",
3199
+ "common.labels.yes": "Yes",
3200
+ // Analytic fields
3201
+ "analytics.field.location_id": "Location",
3202
+ "analytics.field.order_type_id": "Order Types",
3203
+ "analytics.field.revenue_center_id": "Revenue Centers",
3204
+ "analytics.field.revenue_center_id.all": "All Revenue Centers",
3205
+ "analytics.field.hour_id": "Hours",
3206
+ "analytics.field.daypart_id": "Day Parts",
3207
+ "analytics.field.timeslot_id": "15 Mins",
3208
+ "analytics.field.employee_id": "Employees",
3209
+ "analytics.field.payroll_id": "Payroll IDs",
3210
+ "analytics.field.intraday_period_group": "Day Parts",
3211
+ "analytics.field.item_id": "Item",
3212
+ "analytics.field.department_id": "Department",
3213
+ "analytics.field.revenue_class_id": "Revenue Class",
3214
+ "analytics.field.modifier_id": "Modifier",
3134
3215
  // Common labels
3135
- "table.total": false,
3136
- "table.groups.sales": false,
3137
- "table.groups.net-sales": false,
3138
- "table.groups.guests": false,
3139
- "table.groups.sales-per-guest": false
3216
+ "table.total": "Total",
3217
+ "table.groups.sales": "Sales",
3218
+ "table.groups.net-sales": "Net Sales",
3219
+ "table.groups.guests": "Guests",
3220
+ "table.groups.sales-per-guest": "Sales / Guest"
3140
3221
  };
3141
- var es_ES_default = enUS3;
3222
+ var en_US_default = enUS3;
3142
3223
 
3143
3224
  // src/translations/index.ts
3144
3225
  var filterCrowdin = (messages) => Object.fromEntries(
3145
3226
  Object.entries(messages).filter((entry) => typeof entry[1] === "string")
3146
3227
  );
3147
3228
  var LOCALE_OVERRIDES = {
3148
- "en-US": {},
3149
3229
  "en-GB": filterCrowdin(en_GB_default),
3150
3230
  "es-ES": filterCrowdin(es_ES_default)
3151
3231
  };
@@ -3234,8 +3314,12 @@ var formatMoney = (amount, options = {}) => {
3234
3314
  var formatPercent = (value, decimals = 2) => `${value.toFixed(decimals)}%`;
3235
3315
  var formatInteger = (value) => Math.round(value).toString();
3236
3316
  var formatFixedNumber = (value, decimals = 2) => value.toFixed(decimals);
3237
- var formatString = (value) => {
3238
- return value == null ? "" : typeof value === "string" ? value : typeof value === "number" || typeof value === "boolean" ? String(value) : "";
3317
+ var formatString = (value, localeOptions) => {
3318
+ const newValue = value == null ? "" : typeof value === "string" ? value : typeof value === "number" || typeof value === "boolean" ? String(value) : "";
3319
+ if (newValue in en_US_default) {
3320
+ return resolveTranslate(newValue, localeOptions.locale);
3321
+ }
3322
+ return newValue;
3239
3323
  };
3240
3324
  var getNumberToFormat = (value) => typeof value === "number" ? value : 0;
3241
3325
  var getDateToFormat = (value) => {
@@ -3271,14 +3355,14 @@ var formatFieldValue = (value, type, localeOptions, fullRecord, fieldConfig = DE
3271
3355
  switch (type) {
3272
3356
  case "conditional": {
3273
3357
  if (!fullRecord) {
3274
- return formatString(value);
3358
+ return formatString(value, localeOptions);
3275
3359
  }
3276
3360
  const conditionalConfig = fieldConfig.conditionalConfiguration;
3277
3361
  const configType = conditionalConfig.conditionalFormat(fullRecord[conditionalConfig.conditionalField]);
3278
3362
  return formatFieldValue(value, configType, localeOptions, fullRecord, fieldConfig);
3279
3363
  }
3280
3364
  case "string":
3281
- return formatString(value);
3365
+ return formatString(value, localeOptions);
3282
3366
  case "money":
3283
3367
  return formatMoney(getNumberToFormat(value), { currency, locale });
3284
3368
  case "percent":
@@ -3301,7 +3385,6 @@ var formatFieldValue = (value, type, localeOptions, fullRecord, fieldConfig = DE
3301
3385
 
3302
3386
  export {
3303
3387
  salesByItemDetailConfig,
3304
- FIRST_COLUMN_WIDTH,
3305
3388
  salesSummaryConfig,
3306
3389
  ticketSummaryConfig,
3307
3390
  ticketLiveConfig,
@@ -3324,9 +3407,8 @@ export {
3324
3407
  COLUMN_REGISTRY,
3325
3408
  getColumnMetadata,
3326
3409
  getColumnExportHeaderLabel,
3327
- calculateFieldTotal,
3410
+ getFooterValue,
3328
3411
  calculateReportTotals,
3329
- en_US_default,
3330
3412
  resolveTranslate,
3331
3413
  formatDate,
3332
3414
  formatTime,