@harbortouch/skytab-analytics-report-utils 0.36.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,9 +76,52 @@ var FIELDS2 = {
76
76
  },
77
77
  salesAmountNetLastWeek: { type: "money" },
78
78
  salesAmountNetLastYear: { type: "money" },
79
- salesAmountGross: { type: "money" },
79
+ salesAmountGross: { type: "money", columnKey: "grossSales" },
80
80
  salesAmountGrossLastWeek: { type: "money" },
81
81
  salesAmountGrossLastYear: { type: "money" },
82
+ grossVarLW: { type: "money", columnKey: "salesVarLw" },
83
+ grossVarLY: { type: "money", columnKey: "salesVarLy" },
84
+ grossVarLWPct: {
85
+ type: "percent",
86
+ columnKey: "salesVarLwPct",
87
+ footerCalculation: {
88
+ type: "variancePercent",
89
+ numeratorField: "grossVarLW",
90
+ denominatorField: "salesAmountGross"
91
+ }
92
+ },
93
+ grossVarLYPct: {
94
+ type: "percent",
95
+ columnKey: "salesVarLyPct",
96
+ footerCalculation: {
97
+ type: "variancePercent",
98
+ numeratorField: "grossVarLY",
99
+ denominatorField: "salesAmountGross"
100
+ }
101
+ },
102
+ taxesAmount: { type: "money", columnKey: "taxCollected" },
103
+ taxesAmountLastWeek: { type: "money" },
104
+ taxesAmountLastYear: { type: "money" },
105
+ taxesVarLW: { type: "money", columnKey: "salesVarLw" },
106
+ taxesVarLY: { type: "money", columnKey: "salesVarLy" },
107
+ taxesVarLWPct: {
108
+ type: "percent",
109
+ columnKey: "salesVarLwPct",
110
+ footerCalculation: {
111
+ type: "variancePercent",
112
+ numeratorField: "taxesVarLW",
113
+ denominatorField: "taxesAmount"
114
+ }
115
+ },
116
+ taxesVarLYPct: {
117
+ type: "percent",
118
+ columnKey: "salesVarLyPct",
119
+ footerCalculation: {
120
+ type: "variancePercent",
121
+ numeratorField: "taxesVarLY",
122
+ denominatorField: "taxesAmount"
123
+ }
124
+ },
82
125
  ticketsCount: { type: "number" },
83
126
  ticketsCountLastWeek: { type: "number" },
84
127
  ticketsCountLastYear: { type: "number" },
@@ -140,11 +183,25 @@ var FIELDS2 = {
140
183
  var COLUMN_GROUPS = [
141
184
  {
142
185
  id: "sales",
143
- headerTranslationKey: "table.groups.sales",
186
+ headerTranslationKey: "table.groups.net-sales",
144
187
  baseFields: ["salesAmountNet"],
145
188
  lastWeekFields: ["salesVarLW", "salesVarLWPct"],
146
189
  lastYearFields: ["salesVarLY", "salesVarLYPct"]
147
190
  },
191
+ {
192
+ id: "grossSales",
193
+ headerTranslationKey: "table.groups.gross-sales",
194
+ baseFields: ["salesAmountGross"],
195
+ lastWeekFields: ["grossVarLW", "grossVarLWPct"],
196
+ lastYearFields: ["grossVarLY", "grossVarLYPct"]
197
+ },
198
+ {
199
+ id: "taxes",
200
+ headerTranslationKey: "table.groups.taxes",
201
+ baseFields: ["taxesAmount"],
202
+ lastWeekFields: ["taxesVarLW", "taxesVarLWPct"],
203
+ lastYearFields: ["taxesVarLY", "taxesVarLYPct"]
204
+ },
148
205
  {
149
206
  id: "guests",
150
207
  headerTranslationKey: "table.groups.guests",
@@ -166,6 +223,16 @@ var SALES_SUMMARY_DEFAULT_VISIBLE_COLUMNS = [
166
223
  "salesVarLWPct",
167
224
  "salesVarLY",
168
225
  "salesVarLYPct",
226
+ "salesAmountGross",
227
+ "grossVarLW",
228
+ "grossVarLWPct",
229
+ "grossVarLY",
230
+ "grossVarLYPct",
231
+ "taxesAmount",
232
+ "taxesVarLW",
233
+ "taxesVarLWPct",
234
+ "taxesVarLY",
235
+ "taxesVarLYPct",
169
236
  "guestsCount",
170
237
  "guestsVarLW",
171
238
  "guestsVarLWPct",
@@ -977,6 +1044,33 @@ var enUS = {
977
1044
  "common.report-col.type": false,
978
1045
  "common.report-col.type.short": false,
979
1046
  "common.report-col.type.info": false,
1047
+ "common.report-col.paid-normal-hours": false,
1048
+ "common.report-col.paid-normal-hours.short": false,
1049
+ "common.report-col.paid-normal-hours.info": false,
1050
+ "common.report-col.normal-pay": false,
1051
+ "common.report-col.normal-pay.short": false,
1052
+ "common.report-col.normal-pay.info": false,
1053
+ "common.report-col.overtime-pay": false,
1054
+ "common.report-col.overtime-pay.short": false,
1055
+ "common.report-col.overtime-pay.info": false,
1056
+ "common.report-col.double-overtime-pay": false,
1057
+ "common.report-col.double-overtime-pay.short": false,
1058
+ "common.report-col.double-overtime-pay.info": false,
1059
+ "common.report-col.gratuity": false,
1060
+ "common.report-col.gratuity.short": false,
1061
+ "common.report-col.gratuity.info": false,
1062
+ "common.report-col.tip-paid-status": false,
1063
+ "common.report-col.tip-paid-status.short": false,
1064
+ "common.report-col.tip-paid-status.info": false,
1065
+ "common.report-col.total-payments": false,
1066
+ "common.report-col.total-payments.short": false,
1067
+ "common.report-col.total-payments.info": false,
1068
+ "common.report-col.minimum-wage-adjustment": false,
1069
+ "common.report-col.minimum-wage-adjustment.short": false,
1070
+ "common.report-col.minimum-wage-adjustment.info": false,
1071
+ "common.report-col.total-pay": false,
1072
+ "common.report-col.total-pay.short": false,
1073
+ "common.report-col.total-pay.info": false,
980
1074
  "common.report-section.revenue-class": false,
981
1075
  "common.report-section.payments": false,
982
1076
  "common.report-section.cash": false,
@@ -1021,6 +1115,8 @@ var enUS = {
1021
1115
  "table.total": false,
1022
1116
  "table.groups.sales": false,
1023
1117
  "table.groups.net-sales": false,
1118
+ "table.groups.taxes": false,
1119
+ "table.groups.gross-sales": false,
1024
1120
  "table.groups.guests": false,
1025
1121
  "table.groups.sales-per-guest": false,
1026
1122
  "employee-timecard.status.active": false,
@@ -1472,6 +1568,33 @@ var enUS2 = {
1472
1568
  "common.report-col.type": false,
1473
1569
  "common.report-col.type.short": false,
1474
1570
  "common.report-col.type.info": false,
1571
+ "common.report-col.paid-normal-hours": false,
1572
+ "common.report-col.paid-normal-hours.short": false,
1573
+ "common.report-col.paid-normal-hours.info": false,
1574
+ "common.report-col.normal-pay": false,
1575
+ "common.report-col.normal-pay.short": false,
1576
+ "common.report-col.normal-pay.info": false,
1577
+ "common.report-col.overtime-pay": false,
1578
+ "common.report-col.overtime-pay.short": false,
1579
+ "common.report-col.overtime-pay.info": false,
1580
+ "common.report-col.double-overtime-pay": false,
1581
+ "common.report-col.double-overtime-pay.short": false,
1582
+ "common.report-col.double-overtime-pay.info": false,
1583
+ "common.report-col.gratuity": false,
1584
+ "common.report-col.gratuity.short": false,
1585
+ "common.report-col.gratuity.info": false,
1586
+ "common.report-col.tip-paid-status": false,
1587
+ "common.report-col.tip-paid-status.short": false,
1588
+ "common.report-col.tip-paid-status.info": false,
1589
+ "common.report-col.total-payments": false,
1590
+ "common.report-col.total-payments.short": false,
1591
+ "common.report-col.total-payments.info": false,
1592
+ "common.report-col.minimum-wage-adjustment": false,
1593
+ "common.report-col.minimum-wage-adjustment.short": false,
1594
+ "common.report-col.minimum-wage-adjustment.info": false,
1595
+ "common.report-col.total-pay": false,
1596
+ "common.report-col.total-pay.short": false,
1597
+ "common.report-col.total-pay.info": false,
1475
1598
  "common.report-section.revenue-class": false,
1476
1599
  "common.report-section.payments": false,
1477
1600
  "common.report-section.cash": false,
@@ -1516,6 +1639,8 @@ var enUS2 = {
1516
1639
  "table.total": false,
1517
1640
  "table.groups.sales": false,
1518
1641
  "table.groups.net-sales": false,
1642
+ "table.groups.taxes": false,
1643
+ "table.groups.gross-sales": false,
1519
1644
  "table.groups.guests": false,
1520
1645
  "table.groups.sales-per-guest": false,
1521
1646
  "employee-timecard.status.active": false,
@@ -1967,6 +2092,33 @@ var enUS3 = {
1967
2092
  "common.report-col.type": "Type",
1968
2093
  "common.report-col.type.short": "Type",
1969
2094
  "common.report-col.type.info": " ",
2095
+ "common.report-col.paid-normal-hours": "Paid Normal Hours",
2096
+ "common.report-col.paid-normal-hours.short": "Norm Hrs",
2097
+ "common.report-col.paid-normal-hours.info": "Total regular hours paid for the period",
2098
+ "common.report-col.normal-pay": "Normal Pay",
2099
+ "common.report-col.normal-pay.short": "Norm Pay",
2100
+ "common.report-col.normal-pay.info": "Wages earned for regular hours worked",
2101
+ "common.report-col.overtime-pay": "Overtime Pay",
2102
+ "common.report-col.overtime-pay.short": "OT Pay",
2103
+ "common.report-col.overtime-pay.info": "Wages earned for overtime hours worked",
2104
+ "common.report-col.double-overtime-pay": "Double Overtime Pay",
2105
+ "common.report-col.double-overtime-pay.short": "DT Pay",
2106
+ "common.report-col.double-overtime-pay.info": "Wages earned for double-overtime hours worked",
2107
+ "common.report-col.gratuity": "Gratuity",
2108
+ "common.report-col.gratuity.short": "Gratuity",
2109
+ "common.report-col.gratuity.info": "Gratuity amounts included in the payroll period",
2110
+ "common.report-col.tip-paid-status": "Tip Paid Status",
2111
+ "common.report-col.tip-paid-status.short": "Tip Status",
2112
+ "common.report-col.tip-paid-status.info": "Indicates whether tips were paid out daily or deferred to payroll",
2113
+ "common.report-col.total-payments": "Total Payments",
2114
+ "common.report-col.total-payments.short": "Total Pmts",
2115
+ "common.report-col.total-payments.info": "Total payments collected for the payroll period",
2116
+ "common.report-col.minimum-wage-adjustment": "Minimum Wage Adjustment",
2117
+ "common.report-col.minimum-wage-adjustment.short": "Min Wage Adj",
2118
+ "common.report-col.minimum-wage-adjustment.info": "Adjustment applied to meet minimum wage requirements",
2119
+ "common.report-col.total-pay": "Total Pay",
2120
+ "common.report-col.total-pay.short": "Total Pay",
2121
+ "common.report-col.total-pay.info": "Total compensation including wages, overtime, and adjustments",
1970
2122
  "common.report-section.revenue-class": "Sales by Revenue Class",
1971
2123
  "common.report-section.payments": "Payments",
1972
2124
  "common.report-section.cash": "Expected Closeout Cash",
@@ -2011,8 +2163,10 @@ var enUS3 = {
2011
2163
  "table.total": "Total",
2012
2164
  "table.groups.sales": "Sales",
2013
2165
  "table.groups.net-sales": "Net Sales",
2166
+ "table.groups.taxes": "Tax",
2167
+ "table.groups.gross-sales": "Gross Sales",
2014
2168
  "table.groups.guests": "Guests",
2015
- "table.groups.sales-per-guest": "Sales / Guest",
2169
+ "table.groups.sales-per-guest": "Sales/Guest",
2016
2170
  "employee-timecard.status.active": "Active",
2017
2171
  "employee-timecard.status.inactive": "Inactive",
2018
2172
  "employee-timecard.job.break-suffix": " * break"
@@ -2238,8 +2392,68 @@ var tipCashoutReconciliationConfig = {
2238
2392
  hasFooter: true
2239
2393
  };
2240
2394
 
2241
- // src/reports/dailySales/dailySales.ts
2395
+ // src/reports/payroll.ts
2242
2396
  var FIELDS11 = {
2397
+ groupById: { type: "string" },
2398
+ groupByName: { type: "string" },
2399
+ rowType: { type: "string" },
2400
+ locationName: { type: "string", size: 220, columnKey: "locationName" },
2401
+ employeeName: { type: "string", size: 220, columnKey: "employeeName" },
2402
+ empId: {
2403
+ type: "string",
2404
+ size: 160,
2405
+ columnKey: "employeeId",
2406
+ footerCalculation: { type: "label", label: "table.total" }
2407
+ },
2408
+ payrollId: { type: "string", size: 160, columnKey: "payrollId" },
2409
+ jobName: { type: "string", size: 160, columnKey: "employeeJob" },
2410
+ paidNormalHours: { type: "number", columnKey: "paidNormalHours", footerCalculation: { type: "sum" } },
2411
+ normalPay: { type: "money", columnKey: "normalPay", footerCalculation: { type: "sum" } },
2412
+ overtimePay: { type: "money", columnKey: "overtimePay", footerCalculation: { type: "sum" } },
2413
+ doubleOvertimePay: { type: "money", columnKey: "doubleOvertimePay", footerCalculation: { type: "sum" } },
2414
+ grossTips: { type: "money", columnKey: "grossTips", footerCalculation: { type: "sum" } },
2415
+ gratuity: { type: "money", columnKey: "gratuity", footerCalculation: { type: "sum" } },
2416
+ totalTips: { type: "money", columnKey: "totalTips", footerCalculation: { type: "sum" } },
2417
+ tipReduction: { type: "money", columnKey: "tipReduction", footerCalculation: { type: "sum" } },
2418
+ tipShare: { type: "money", columnKey: "tipShare", footerCalculation: { type: "sum" } },
2419
+ netTips: { type: "money", columnKey: "netTips", footerCalculation: { type: "sum" } },
2420
+ declaredTips: { type: "money", columnKey: "declaredTips", footerCalculation: { type: "sum" } },
2421
+ tipPaidStatus: { type: "string", size: 160, columnKey: "tipPaidStatus" },
2422
+ totalPayments: { type: "money", columnKey: "totalPayments", footerCalculation: { type: "sum" } },
2423
+ minimumWageAdjustment: { type: "money", columnKey: "minimumWageAdjustment", footerCalculation: { type: "sum" } },
2424
+ totalPay: { type: "money", columnKey: "totalPay", footerCalculation: { type: "sum" } }
2425
+ };
2426
+ var VISIBLE_COLUMNS3 = [
2427
+ "employeeName",
2428
+ "payrollId",
2429
+ "locationName",
2430
+ "jobName",
2431
+ "paidNormalHours",
2432
+ "normalPay",
2433
+ "overtimePay",
2434
+ "doubleOvertimePay",
2435
+ "grossTips",
2436
+ "gratuity",
2437
+ "totalTips",
2438
+ "tipReduction",
2439
+ "tipShare",
2440
+ "netTips",
2441
+ "declaredTips",
2442
+ "tipPaidStatus",
2443
+ "totalPayments",
2444
+ "minimumWageAdjustment",
2445
+ "totalPay"
2446
+ ];
2447
+ var AVAILABLE_COLUMNS3 = ["groupById", "groupByName", "rowType", "empId", ...VISIBLE_COLUMNS3];
2448
+ var payrollConfig = {
2449
+ fields: FIELDS11,
2450
+ availableColumns: AVAILABLE_COLUMNS3,
2451
+ defaultVisibleColumns: VISIBLE_COLUMNS3,
2452
+ hasFooter: true
2453
+ };
2454
+
2455
+ // src/reports/dailySales/dailySales.ts
2456
+ var FIELDS12 = {
2243
2457
  groupById: { type: "string" },
2244
2458
  groupByName: {
2245
2459
  type: "string",
@@ -2264,7 +2478,7 @@ var DAILY_SALES_AVAILABLE_COLUMNS = [
2264
2478
  "salesMixPct"
2265
2479
  ];
2266
2480
  var dailySalesConfig = {
2267
- fields: FIELDS11,
2481
+ fields: FIELDS12,
2268
2482
  availableColumns: DAILY_SALES_AVAILABLE_COLUMNS,
2269
2483
  defaultVisibleColumns: DAILY_SALES_AVAILABLE_COLUMNS,
2270
2484
  hasFooter: true,
@@ -2274,7 +2488,7 @@ var dailySalesConfig = {
2274
2488
  };
2275
2489
 
2276
2490
  // src/reports/dailySales/dailySalesCache.ts
2277
- var FIELDS12 = {
2491
+ var FIELDS13 = {
2278
2492
  name: {
2279
2493
  type: "string",
2280
2494
  columnKey: "type",
@@ -2284,7 +2498,7 @@ var FIELDS12 = {
2284
2498
  amount: { type: "money", columnKey: "paymentsAmount", footerCalculation: { type: "sum" } }
2285
2499
  };
2286
2500
  var dailySalesCacheConfig = {
2287
- fields: FIELDS12,
2501
+ fields: FIELDS13,
2288
2502
  availableColumns: ["name", "amount"],
2289
2503
  defaultVisibleColumns: ["name", "amount"],
2290
2504
  hasFooter: true,
@@ -2293,7 +2507,7 @@ var dailySalesCacheConfig = {
2293
2507
  };
2294
2508
 
2295
2509
  // src/reports/dailySales/dailySalesDiscounts.ts
2296
- var FIELDS13 = {
2510
+ var FIELDS14 = {
2297
2511
  discountName: {
2298
2512
  type: "string",
2299
2513
  columnKey: "discountName",
@@ -2311,7 +2525,7 @@ var DAILY_SALES_DISCOUNTS_AVAILABLE_COLUMNS = [
2311
2525
  "discountsAmount"
2312
2526
  ];
2313
2527
  var dailySalesDiscountsConfig = {
2314
- fields: FIELDS13,
2528
+ fields: FIELDS14,
2315
2529
  availableColumns: DAILY_SALES_DISCOUNTS_AVAILABLE_COLUMNS,
2316
2530
  defaultVisibleColumns: DAILY_SALES_DISCOUNTS_AVAILABLE_COLUMNS,
2317
2531
  hasFooter: true,
@@ -2320,7 +2534,7 @@ var dailySalesDiscountsConfig = {
2320
2534
  };
2321
2535
 
2322
2536
  // src/reports/dailySales/dailySalesPayments.ts
2323
- var FIELDS14 = {
2537
+ var FIELDS15 = {
2324
2538
  paymentTypeName: {
2325
2539
  type: "string",
2326
2540
  size: FIRST_COLUMN_WIDTH,
@@ -2340,7 +2554,7 @@ var DAILY_SALES_PAYMENTS_AVAILABLE_COLUMNS = [
2340
2554
  "totalSales"
2341
2555
  ];
2342
2556
  var dailySalesPaymentsConfig = {
2343
- fields: FIELDS14,
2557
+ fields: FIELDS15,
2344
2558
  availableColumns: DAILY_SALES_PAYMENTS_AVAILABLE_COLUMNS,
2345
2559
  defaultVisibleColumns: DAILY_SALES_PAYMENTS_AVAILABLE_COLUMNS,
2346
2560
  hasFooter: true,
@@ -2349,7 +2563,7 @@ var dailySalesPaymentsConfig = {
2349
2563
  };
2350
2564
 
2351
2565
  // src/reports/dailySales/dailySalesRefundsVoids.ts
2352
- var FIELDS15 = {
2566
+ var FIELDS16 = {
2353
2567
  description: {
2354
2568
  type: "string",
2355
2569
  columnKey: "refundVoidDescription",
@@ -2367,7 +2581,7 @@ var DAILY_SALES_REFUNDS_VOIDS_AVAILABLE_COLUMNS = [
2367
2581
  "pctSales"
2368
2582
  ];
2369
2583
  var dailySalesRefundsVoidsConfig = {
2370
- fields: FIELDS15,
2584
+ fields: FIELDS16,
2371
2585
  availableColumns: DAILY_SALES_REFUNDS_VOIDS_AVAILABLE_COLUMNS,
2372
2586
  defaultVisibleColumns: DAILY_SALES_REFUNDS_VOIDS_AVAILABLE_COLUMNS,
2373
2587
  hasFooter: true,
@@ -2376,7 +2590,7 @@ var dailySalesRefundsVoidsConfig = {
2376
2590
  };
2377
2591
 
2378
2592
  // src/reports/dailySales/dailySalesTaxes.ts
2379
- var FIELDS16 = {
2593
+ var FIELDS17 = {
2380
2594
  taxName: {
2381
2595
  type: "string",
2382
2596
  columnKey: "taxName",
@@ -2394,7 +2608,7 @@ var DAILY_SALES_TAXES_AVAILABLE_COLUMNS = [
2394
2608
  "exemptSales"
2395
2609
  ];
2396
2610
  var dailySalesTaxesConfig = {
2397
- fields: FIELDS16,
2611
+ fields: FIELDS17,
2398
2612
  availableColumns: DAILY_SALES_TAXES_AVAILABLE_COLUMNS,
2399
2613
  defaultVisibleColumns: DAILY_SALES_TAXES_AVAILABLE_COLUMNS,
2400
2614
  hasFooter: true,
@@ -2403,7 +2617,7 @@ var dailySalesTaxesConfig = {
2403
2617
  };
2404
2618
 
2405
2619
  // src/reports/dailySales/dailySalesTrendsDayPart.ts
2406
- var FIELDS17 = {
2620
+ var FIELDS18 = {
2407
2621
  groupById: { type: "string" },
2408
2622
  groupByName: {
2409
2623
  type: "string",
@@ -2442,7 +2656,7 @@ var DAILY_SALES_TRENDS_AVAILABLE_COLUMNS = [
2442
2656
  "salesAmountNet"
2443
2657
  ];
2444
2658
  var dailySalesTrendsDayPartConfig = {
2445
- fields: FIELDS17,
2659
+ fields: FIELDS18,
2446
2660
  availableColumns: DAILY_SALES_TRENDS_AVAILABLE_COLUMNS,
2447
2661
  defaultVisibleColumns: DAILY_SALES_TRENDS_AVAILABLE_COLUMNS,
2448
2662
  hasFooter: true,
@@ -2451,7 +2665,7 @@ var dailySalesTrendsDayPartConfig = {
2451
2665
  };
2452
2666
 
2453
2667
  // src/reports/dailySales/dailySalesTrendsOrderType.ts
2454
- var FIELDS18 = {
2668
+ var FIELDS19 = {
2455
2669
  groupById: { type: "string" },
2456
2670
  groupByName: {
2457
2671
  columnKey: "orderType",
@@ -2490,7 +2704,7 @@ var DAILY_SALES_TRENDS_AVAILABLE_COLUMNS2 = [
2490
2704
  "salesAmountNet"
2491
2705
  ];
2492
2706
  var dailySalesTrendsOrderTypeConfig = {
2493
- fields: FIELDS18,
2707
+ fields: FIELDS19,
2494
2708
  availableColumns: DAILY_SALES_TRENDS_AVAILABLE_COLUMNS2,
2495
2709
  defaultVisibleColumns: DAILY_SALES_TRENDS_AVAILABLE_COLUMNS2,
2496
2710
  hasFooter: true,
@@ -2509,6 +2723,7 @@ var Report = {
2509
2723
  EMPLOYEE_TIMECARD: "employee-timecard",
2510
2724
  EMPLOYEE_TIP: "employee-tip",
2511
2725
  TIP_CASHOUT_RECONCILIATION: "tip-cashout-reconciliation",
2726
+ PAYROLL: "payroll",
2512
2727
  SALES_BY_ITEM: "sales-by-item",
2513
2728
  DAILY_SALES: "daily-sales",
2514
2729
  DAILY_SALES_LIVE: "daily-sales-live"
@@ -2533,6 +2748,7 @@ var REPORT_CONFIG_MAP = {
2533
2748
  "employee-timecard": employeeTimecardConfig,
2534
2749
  "employee-tip": employeeTipConfig,
2535
2750
  "tip-cashout-reconciliation": tipCashoutReconciliationConfig,
2751
+ payroll: payrollConfig,
2536
2752
  "sales-by-item": salesByItemDetailConfig,
2537
2753
  "daily-sales": DAILY_SALES_SECTION_CONFIGS,
2538
2754
  "daily-sales-live": DAILY_SALES_SECTION_CONFIGS
@@ -2547,6 +2763,7 @@ var REPORT_DEFAULT_NAME_MAP = {
2547
2763
  "employee-timecard": "Employee Timecard",
2548
2764
  "employee-tip": "Employee Tip",
2549
2765
  "tip-cashout-reconciliation": "Tip & Cashout Reconciliation",
2766
+ payroll: "Payroll",
2550
2767
  "sales-by-item": "Sales by Item",
2551
2768
  "daily-sales": "Daily Sales",
2552
2769
  "daily-sales-live": "Daily Sales Live"
@@ -3315,6 +3532,51 @@ var COLUMN_REGISTRY = {
3315
3532
  titleKey: "common.report-col.type",
3316
3533
  shortTitleKey: "common.report-col.type.short",
3317
3534
  infoTextKey: "common.report-col.type.info"
3535
+ },
3536
+ paidNormalHours: {
3537
+ titleKey: "common.report-col.paid-normal-hours",
3538
+ shortTitleKey: "common.report-col.paid-normal-hours.short",
3539
+ infoTextKey: "common.report-col.paid-normal-hours.info"
3540
+ },
3541
+ normalPay: {
3542
+ titleKey: "common.report-col.normal-pay",
3543
+ shortTitleKey: "common.report-col.normal-pay.short",
3544
+ infoTextKey: "common.report-col.normal-pay.info"
3545
+ },
3546
+ overtimePay: {
3547
+ titleKey: "common.report-col.overtime-pay",
3548
+ shortTitleKey: "common.report-col.overtime-pay.short",
3549
+ infoTextKey: "common.report-col.overtime-pay.info"
3550
+ },
3551
+ doubleOvertimePay: {
3552
+ titleKey: "common.report-col.double-overtime-pay",
3553
+ shortTitleKey: "common.report-col.double-overtime-pay.short",
3554
+ infoTextKey: "common.report-col.double-overtime-pay.info"
3555
+ },
3556
+ gratuity: {
3557
+ titleKey: "common.report-col.gratuity",
3558
+ shortTitleKey: "common.report-col.gratuity.short",
3559
+ infoTextKey: "common.report-col.gratuity.info"
3560
+ },
3561
+ tipPaidStatus: {
3562
+ titleKey: "common.report-col.tip-paid-status",
3563
+ shortTitleKey: "common.report-col.tip-paid-status.short",
3564
+ infoTextKey: "common.report-col.tip-paid-status.info"
3565
+ },
3566
+ totalPayments: {
3567
+ titleKey: "common.report-col.total-payments",
3568
+ shortTitleKey: "common.report-col.total-payments.short",
3569
+ infoTextKey: "common.report-col.total-payments.info"
3570
+ },
3571
+ minimumWageAdjustment: {
3572
+ titleKey: "common.report-col.minimum-wage-adjustment",
3573
+ shortTitleKey: "common.report-col.minimum-wage-adjustment.short",
3574
+ infoTextKey: "common.report-col.minimum-wage-adjustment.info"
3575
+ },
3576
+ totalPay: {
3577
+ titleKey: "common.report-col.total-pay",
3578
+ shortTitleKey: "common.report-col.total-pay.short",
3579
+ infoTextKey: "common.report-col.total-pay.info"
3318
3580
  }
3319
3581
  };
3320
3582
  function getColumnMetadata(key) {
@@ -3322,6 +3584,9 @@ function getColumnMetadata(key) {
3322
3584
  }
3323
3585
  function getColumnExportHeaderLabel(colTitle, groupTitle) {
3324
3586
  if (groupTitle) {
3587
+ if (groupTitle === colTitle) {
3588
+ return colTitle;
3589
+ }
3325
3590
  return `${groupTitle}: ${colTitle}`;
3326
3591
  }
3327
3592
  return colTitle;
@@ -3551,6 +3816,7 @@ export {
3551
3816
  employeeTimecardConfig,
3552
3817
  employeeTipConfig,
3553
3818
  tipCashoutReconciliationConfig,
3819
+ payrollConfig,
3554
3820
  dailySalesConfig,
3555
3821
  dailySalesCacheConfig,
3556
3822
  dailySalesDiscountsConfig,