@harbortouch/skytab-analytics-report-utils 0.35.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-ZE2ZAIMR.js → chunk-U7BPTQQX.js} +208 -20
- package/dist/exporters/exportBuilder.cjs +205 -20
- package/dist/exporters/exportBuilder.d.cts +1 -1
- package/dist/exporters/exportBuilder.d.ts +1 -1
- package/dist/exporters/exportBuilder.js +1 -1
- package/dist/index.cjs +209 -20
- package/dist/index.d.cts +12 -6
- package/dist/index.d.ts +12 -6
- package/dist/index.js +3 -1
- package/dist/{report-DOgRgflg.d.cts → report-BdTa3jaW.d.cts} +74 -1
- package/dist/{report-DOgRgflg.d.ts → report-BdTa3jaW.d.ts} +74 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -62,6 +62,7 @@ __export(index_exports, {
|
|
|
62
62
|
isNumericType: () => isNumericType,
|
|
63
63
|
itemTaxConfig: () => itemTaxConfig,
|
|
64
64
|
modifierMixConfig: () => modifierMixConfig,
|
|
65
|
+
payrollConfig: () => payrollConfig,
|
|
65
66
|
productMixConfig: () => productMixConfig,
|
|
66
67
|
resolveTranslate: () => resolveTranslate,
|
|
67
68
|
salesByItemDetailConfig: () => salesByItemDetailConfig,
|
|
@@ -1051,6 +1052,33 @@ var enUS = {
|
|
|
1051
1052
|
"common.report-col.type": false,
|
|
1052
1053
|
"common.report-col.type.short": false,
|
|
1053
1054
|
"common.report-col.type.info": false,
|
|
1055
|
+
"common.report-col.paid-normal-hours": false,
|
|
1056
|
+
"common.report-col.paid-normal-hours.short": false,
|
|
1057
|
+
"common.report-col.paid-normal-hours.info": false,
|
|
1058
|
+
"common.report-col.normal-pay": false,
|
|
1059
|
+
"common.report-col.normal-pay.short": false,
|
|
1060
|
+
"common.report-col.normal-pay.info": false,
|
|
1061
|
+
"common.report-col.overtime-pay": false,
|
|
1062
|
+
"common.report-col.overtime-pay.short": false,
|
|
1063
|
+
"common.report-col.overtime-pay.info": false,
|
|
1064
|
+
"common.report-col.double-overtime-pay": false,
|
|
1065
|
+
"common.report-col.double-overtime-pay.short": false,
|
|
1066
|
+
"common.report-col.double-overtime-pay.info": false,
|
|
1067
|
+
"common.report-col.gratuity": false,
|
|
1068
|
+
"common.report-col.gratuity.short": false,
|
|
1069
|
+
"common.report-col.gratuity.info": false,
|
|
1070
|
+
"common.report-col.tip-paid-status": false,
|
|
1071
|
+
"common.report-col.tip-paid-status.short": false,
|
|
1072
|
+
"common.report-col.tip-paid-status.info": false,
|
|
1073
|
+
"common.report-col.total-payments": false,
|
|
1074
|
+
"common.report-col.total-payments.short": false,
|
|
1075
|
+
"common.report-col.total-payments.info": false,
|
|
1076
|
+
"common.report-col.minimum-wage-adjustment": false,
|
|
1077
|
+
"common.report-col.minimum-wage-adjustment.short": false,
|
|
1078
|
+
"common.report-col.minimum-wage-adjustment.info": false,
|
|
1079
|
+
"common.report-col.total-pay": false,
|
|
1080
|
+
"common.report-col.total-pay.short": false,
|
|
1081
|
+
"common.report-col.total-pay.info": false,
|
|
1054
1082
|
"common.report-section.revenue-class": false,
|
|
1055
1083
|
"common.report-section.payments": false,
|
|
1056
1084
|
"common.report-section.cash": false,
|
|
@@ -1546,6 +1574,33 @@ var enUS2 = {
|
|
|
1546
1574
|
"common.report-col.type": false,
|
|
1547
1575
|
"common.report-col.type.short": false,
|
|
1548
1576
|
"common.report-col.type.info": false,
|
|
1577
|
+
"common.report-col.paid-normal-hours": false,
|
|
1578
|
+
"common.report-col.paid-normal-hours.short": false,
|
|
1579
|
+
"common.report-col.paid-normal-hours.info": false,
|
|
1580
|
+
"common.report-col.normal-pay": false,
|
|
1581
|
+
"common.report-col.normal-pay.short": false,
|
|
1582
|
+
"common.report-col.normal-pay.info": false,
|
|
1583
|
+
"common.report-col.overtime-pay": false,
|
|
1584
|
+
"common.report-col.overtime-pay.short": false,
|
|
1585
|
+
"common.report-col.overtime-pay.info": false,
|
|
1586
|
+
"common.report-col.double-overtime-pay": false,
|
|
1587
|
+
"common.report-col.double-overtime-pay.short": false,
|
|
1588
|
+
"common.report-col.double-overtime-pay.info": false,
|
|
1589
|
+
"common.report-col.gratuity": false,
|
|
1590
|
+
"common.report-col.gratuity.short": false,
|
|
1591
|
+
"common.report-col.gratuity.info": false,
|
|
1592
|
+
"common.report-col.tip-paid-status": false,
|
|
1593
|
+
"common.report-col.tip-paid-status.short": false,
|
|
1594
|
+
"common.report-col.tip-paid-status.info": false,
|
|
1595
|
+
"common.report-col.total-payments": false,
|
|
1596
|
+
"common.report-col.total-payments.short": false,
|
|
1597
|
+
"common.report-col.total-payments.info": false,
|
|
1598
|
+
"common.report-col.minimum-wage-adjustment": false,
|
|
1599
|
+
"common.report-col.minimum-wage-adjustment.short": false,
|
|
1600
|
+
"common.report-col.minimum-wage-adjustment.info": false,
|
|
1601
|
+
"common.report-col.total-pay": false,
|
|
1602
|
+
"common.report-col.total-pay.short": false,
|
|
1603
|
+
"common.report-col.total-pay.info": false,
|
|
1549
1604
|
"common.report-section.revenue-class": false,
|
|
1550
1605
|
"common.report-section.payments": false,
|
|
1551
1606
|
"common.report-section.cash": false,
|
|
@@ -2041,6 +2096,33 @@ var enUS3 = {
|
|
|
2041
2096
|
"common.report-col.type": "Type",
|
|
2042
2097
|
"common.report-col.type.short": "Type",
|
|
2043
2098
|
"common.report-col.type.info": " ",
|
|
2099
|
+
"common.report-col.paid-normal-hours": "Paid Normal Hours",
|
|
2100
|
+
"common.report-col.paid-normal-hours.short": "Norm Hrs",
|
|
2101
|
+
"common.report-col.paid-normal-hours.info": "Total regular hours paid for the period",
|
|
2102
|
+
"common.report-col.normal-pay": "Normal Pay",
|
|
2103
|
+
"common.report-col.normal-pay.short": "Norm Pay",
|
|
2104
|
+
"common.report-col.normal-pay.info": "Wages earned for regular hours worked",
|
|
2105
|
+
"common.report-col.overtime-pay": "Overtime Pay",
|
|
2106
|
+
"common.report-col.overtime-pay.short": "OT Pay",
|
|
2107
|
+
"common.report-col.overtime-pay.info": "Wages earned for overtime hours worked",
|
|
2108
|
+
"common.report-col.double-overtime-pay": "Double Overtime Pay",
|
|
2109
|
+
"common.report-col.double-overtime-pay.short": "DT Pay",
|
|
2110
|
+
"common.report-col.double-overtime-pay.info": "Wages earned for double-overtime hours worked",
|
|
2111
|
+
"common.report-col.gratuity": "Gratuity",
|
|
2112
|
+
"common.report-col.gratuity.short": "Gratuity",
|
|
2113
|
+
"common.report-col.gratuity.info": "Gratuity amounts included in the payroll period",
|
|
2114
|
+
"common.report-col.tip-paid-status": "Tip Paid Status",
|
|
2115
|
+
"common.report-col.tip-paid-status.short": "Tip Status",
|
|
2116
|
+
"common.report-col.tip-paid-status.info": "Indicates whether tips were paid out daily or deferred to payroll",
|
|
2117
|
+
"common.report-col.total-payments": "Total Payments",
|
|
2118
|
+
"common.report-col.total-payments.short": "Total Pmts",
|
|
2119
|
+
"common.report-col.total-payments.info": "Total payments collected for the payroll period",
|
|
2120
|
+
"common.report-col.minimum-wage-adjustment": "Minimum Wage Adjustment",
|
|
2121
|
+
"common.report-col.minimum-wage-adjustment.short": "Min Wage Adj",
|
|
2122
|
+
"common.report-col.minimum-wage-adjustment.info": "Adjustment applied to meet minimum wage requirements",
|
|
2123
|
+
"common.report-col.total-pay": "Total Pay",
|
|
2124
|
+
"common.report-col.total-pay.short": "Total Pay",
|
|
2125
|
+
"common.report-col.total-pay.info": "Total compensation including wages, overtime, and adjustments",
|
|
2044
2126
|
"common.report-section.revenue-class": "Sales by Revenue Class",
|
|
2045
2127
|
"common.report-section.payments": "Payments",
|
|
2046
2128
|
"common.report-section.cash": "Expected Closeout Cash",
|
|
@@ -2312,8 +2394,68 @@ var tipCashoutReconciliationConfig = {
|
|
|
2312
2394
|
hasFooter: true
|
|
2313
2395
|
};
|
|
2314
2396
|
|
|
2315
|
-
// src/reports/
|
|
2397
|
+
// src/reports/payroll.ts
|
|
2316
2398
|
var FIELDS11 = {
|
|
2399
|
+
groupById: { type: "string" },
|
|
2400
|
+
groupByName: { type: "string" },
|
|
2401
|
+
rowType: { type: "string" },
|
|
2402
|
+
locationName: { type: "string", size: 220, columnKey: "locationName" },
|
|
2403
|
+
employeeName: { type: "string", size: 220, columnKey: "employeeName" },
|
|
2404
|
+
empId: {
|
|
2405
|
+
type: "string",
|
|
2406
|
+
size: 160,
|
|
2407
|
+
columnKey: "employeeId",
|
|
2408
|
+
footerCalculation: { type: "label", label: "table.total" }
|
|
2409
|
+
},
|
|
2410
|
+
payrollId: { type: "string", size: 160, columnKey: "payrollId" },
|
|
2411
|
+
jobName: { type: "string", size: 160, columnKey: "employeeJob" },
|
|
2412
|
+
paidNormalHours: { type: "number", columnKey: "paidNormalHours", footerCalculation: { type: "sum" } },
|
|
2413
|
+
normalPay: { type: "money", columnKey: "normalPay", footerCalculation: { type: "sum" } },
|
|
2414
|
+
overtimePay: { type: "money", columnKey: "overtimePay", footerCalculation: { type: "sum" } },
|
|
2415
|
+
doubleOvertimePay: { type: "money", columnKey: "doubleOvertimePay", footerCalculation: { type: "sum" } },
|
|
2416
|
+
grossTips: { type: "money", columnKey: "grossTips", footerCalculation: { type: "sum" } },
|
|
2417
|
+
gratuity: { type: "money", columnKey: "gratuity", footerCalculation: { type: "sum" } },
|
|
2418
|
+
totalTips: { type: "money", columnKey: "totalTips", footerCalculation: { type: "sum" } },
|
|
2419
|
+
tipReduction: { type: "money", columnKey: "tipReduction", footerCalculation: { type: "sum" } },
|
|
2420
|
+
tipShare: { type: "money", columnKey: "tipShare", footerCalculation: { type: "sum" } },
|
|
2421
|
+
netTips: { type: "money", columnKey: "netTips", footerCalculation: { type: "sum" } },
|
|
2422
|
+
declaredTips: { type: "money", columnKey: "declaredTips", footerCalculation: { type: "sum" } },
|
|
2423
|
+
tipPaidStatus: { type: "string", size: 160, columnKey: "tipPaidStatus" },
|
|
2424
|
+
totalPayments: { type: "money", columnKey: "totalPayments", footerCalculation: { type: "sum" } },
|
|
2425
|
+
minimumWageAdjustment: { type: "money", columnKey: "minimumWageAdjustment", footerCalculation: { type: "sum" } },
|
|
2426
|
+
totalPay: { type: "money", columnKey: "totalPay", footerCalculation: { type: "sum" } }
|
|
2427
|
+
};
|
|
2428
|
+
var VISIBLE_COLUMNS3 = [
|
|
2429
|
+
"employeeName",
|
|
2430
|
+
"payrollId",
|
|
2431
|
+
"locationName",
|
|
2432
|
+
"jobName",
|
|
2433
|
+
"paidNormalHours",
|
|
2434
|
+
"normalPay",
|
|
2435
|
+
"overtimePay",
|
|
2436
|
+
"doubleOvertimePay",
|
|
2437
|
+
"grossTips",
|
|
2438
|
+
"gratuity",
|
|
2439
|
+
"totalTips",
|
|
2440
|
+
"tipReduction",
|
|
2441
|
+
"tipShare",
|
|
2442
|
+
"netTips",
|
|
2443
|
+
"declaredTips",
|
|
2444
|
+
"tipPaidStatus",
|
|
2445
|
+
"totalPayments",
|
|
2446
|
+
"minimumWageAdjustment",
|
|
2447
|
+
"totalPay"
|
|
2448
|
+
];
|
|
2449
|
+
var AVAILABLE_COLUMNS3 = ["groupById", "groupByName", "rowType", "empId", ...VISIBLE_COLUMNS3];
|
|
2450
|
+
var payrollConfig = {
|
|
2451
|
+
fields: FIELDS11,
|
|
2452
|
+
availableColumns: AVAILABLE_COLUMNS3,
|
|
2453
|
+
defaultVisibleColumns: VISIBLE_COLUMNS3,
|
|
2454
|
+
hasFooter: true
|
|
2455
|
+
};
|
|
2456
|
+
|
|
2457
|
+
// src/reports/dailySales/dailySales.ts
|
|
2458
|
+
var FIELDS12 = {
|
|
2317
2459
|
groupById: { type: "string" },
|
|
2318
2460
|
groupByName: {
|
|
2319
2461
|
type: "string",
|
|
@@ -2338,7 +2480,7 @@ var DAILY_SALES_AVAILABLE_COLUMNS = [
|
|
|
2338
2480
|
"salesMixPct"
|
|
2339
2481
|
];
|
|
2340
2482
|
var dailySalesConfig = {
|
|
2341
|
-
fields:
|
|
2483
|
+
fields: FIELDS12,
|
|
2342
2484
|
availableColumns: DAILY_SALES_AVAILABLE_COLUMNS,
|
|
2343
2485
|
defaultVisibleColumns: DAILY_SALES_AVAILABLE_COLUMNS,
|
|
2344
2486
|
hasFooter: true,
|
|
@@ -2348,7 +2490,7 @@ var dailySalesConfig = {
|
|
|
2348
2490
|
};
|
|
2349
2491
|
|
|
2350
2492
|
// src/reports/dailySales/dailySalesCache.ts
|
|
2351
|
-
var
|
|
2493
|
+
var FIELDS13 = {
|
|
2352
2494
|
name: {
|
|
2353
2495
|
type: "string",
|
|
2354
2496
|
columnKey: "type",
|
|
@@ -2358,7 +2500,7 @@ var FIELDS12 = {
|
|
|
2358
2500
|
amount: { type: "money", columnKey: "paymentsAmount", footerCalculation: { type: "sum" } }
|
|
2359
2501
|
};
|
|
2360
2502
|
var dailySalesCacheConfig = {
|
|
2361
|
-
fields:
|
|
2503
|
+
fields: FIELDS13,
|
|
2362
2504
|
availableColumns: ["name", "amount"],
|
|
2363
2505
|
defaultVisibleColumns: ["name", "amount"],
|
|
2364
2506
|
hasFooter: true,
|
|
@@ -2367,7 +2509,7 @@ var dailySalesCacheConfig = {
|
|
|
2367
2509
|
};
|
|
2368
2510
|
|
|
2369
2511
|
// src/reports/dailySales/dailySalesDiscounts.ts
|
|
2370
|
-
var
|
|
2512
|
+
var FIELDS14 = {
|
|
2371
2513
|
discountName: {
|
|
2372
2514
|
type: "string",
|
|
2373
2515
|
columnKey: "discountName",
|
|
@@ -2385,7 +2527,7 @@ var DAILY_SALES_DISCOUNTS_AVAILABLE_COLUMNS = [
|
|
|
2385
2527
|
"discountsAmount"
|
|
2386
2528
|
];
|
|
2387
2529
|
var dailySalesDiscountsConfig = {
|
|
2388
|
-
fields:
|
|
2530
|
+
fields: FIELDS14,
|
|
2389
2531
|
availableColumns: DAILY_SALES_DISCOUNTS_AVAILABLE_COLUMNS,
|
|
2390
2532
|
defaultVisibleColumns: DAILY_SALES_DISCOUNTS_AVAILABLE_COLUMNS,
|
|
2391
2533
|
hasFooter: true,
|
|
@@ -2394,7 +2536,7 @@ var dailySalesDiscountsConfig = {
|
|
|
2394
2536
|
};
|
|
2395
2537
|
|
|
2396
2538
|
// src/reports/dailySales/dailySalesPayments.ts
|
|
2397
|
-
var
|
|
2539
|
+
var FIELDS15 = {
|
|
2398
2540
|
paymentTypeName: {
|
|
2399
2541
|
type: "string",
|
|
2400
2542
|
size: FIRST_COLUMN_WIDTH,
|
|
@@ -2414,7 +2556,7 @@ var DAILY_SALES_PAYMENTS_AVAILABLE_COLUMNS = [
|
|
|
2414
2556
|
"totalSales"
|
|
2415
2557
|
];
|
|
2416
2558
|
var dailySalesPaymentsConfig = {
|
|
2417
|
-
fields:
|
|
2559
|
+
fields: FIELDS15,
|
|
2418
2560
|
availableColumns: DAILY_SALES_PAYMENTS_AVAILABLE_COLUMNS,
|
|
2419
2561
|
defaultVisibleColumns: DAILY_SALES_PAYMENTS_AVAILABLE_COLUMNS,
|
|
2420
2562
|
hasFooter: true,
|
|
@@ -2423,7 +2565,7 @@ var dailySalesPaymentsConfig = {
|
|
|
2423
2565
|
};
|
|
2424
2566
|
|
|
2425
2567
|
// src/reports/dailySales/dailySalesRefundsVoids.ts
|
|
2426
|
-
var
|
|
2568
|
+
var FIELDS16 = {
|
|
2427
2569
|
description: {
|
|
2428
2570
|
type: "string",
|
|
2429
2571
|
columnKey: "refundVoidDescription",
|
|
@@ -2441,7 +2583,7 @@ var DAILY_SALES_REFUNDS_VOIDS_AVAILABLE_COLUMNS = [
|
|
|
2441
2583
|
"pctSales"
|
|
2442
2584
|
];
|
|
2443
2585
|
var dailySalesRefundsVoidsConfig = {
|
|
2444
|
-
fields:
|
|
2586
|
+
fields: FIELDS16,
|
|
2445
2587
|
availableColumns: DAILY_SALES_REFUNDS_VOIDS_AVAILABLE_COLUMNS,
|
|
2446
2588
|
defaultVisibleColumns: DAILY_SALES_REFUNDS_VOIDS_AVAILABLE_COLUMNS,
|
|
2447
2589
|
hasFooter: true,
|
|
@@ -2450,7 +2592,7 @@ var dailySalesRefundsVoidsConfig = {
|
|
|
2450
2592
|
};
|
|
2451
2593
|
|
|
2452
2594
|
// src/reports/dailySales/dailySalesTaxes.ts
|
|
2453
|
-
var
|
|
2595
|
+
var FIELDS17 = {
|
|
2454
2596
|
taxName: {
|
|
2455
2597
|
type: "string",
|
|
2456
2598
|
columnKey: "taxName",
|
|
@@ -2468,7 +2610,7 @@ var DAILY_SALES_TAXES_AVAILABLE_COLUMNS = [
|
|
|
2468
2610
|
"exemptSales"
|
|
2469
2611
|
];
|
|
2470
2612
|
var dailySalesTaxesConfig = {
|
|
2471
|
-
fields:
|
|
2613
|
+
fields: FIELDS17,
|
|
2472
2614
|
availableColumns: DAILY_SALES_TAXES_AVAILABLE_COLUMNS,
|
|
2473
2615
|
defaultVisibleColumns: DAILY_SALES_TAXES_AVAILABLE_COLUMNS,
|
|
2474
2616
|
hasFooter: true,
|
|
@@ -2477,7 +2619,7 @@ var dailySalesTaxesConfig = {
|
|
|
2477
2619
|
};
|
|
2478
2620
|
|
|
2479
2621
|
// src/reports/dailySales/dailySalesTrendsDayPart.ts
|
|
2480
|
-
var
|
|
2622
|
+
var FIELDS18 = {
|
|
2481
2623
|
groupById: { type: "string" },
|
|
2482
2624
|
groupByName: {
|
|
2483
2625
|
type: "string",
|
|
@@ -2516,17 +2658,16 @@ var DAILY_SALES_TRENDS_AVAILABLE_COLUMNS = [
|
|
|
2516
2658
|
"salesAmountNet"
|
|
2517
2659
|
];
|
|
2518
2660
|
var dailySalesTrendsDayPartConfig = {
|
|
2519
|
-
fields:
|
|
2661
|
+
fields: FIELDS18,
|
|
2520
2662
|
availableColumns: DAILY_SALES_TRENDS_AVAILABLE_COLUMNS,
|
|
2521
2663
|
defaultVisibleColumns: DAILY_SALES_TRENDS_AVAILABLE_COLUMNS,
|
|
2522
2664
|
hasFooter: true,
|
|
2523
2665
|
dataAccessKey: "trendsByDayPart",
|
|
2524
|
-
sectionName: "common.report-section.sales-by-day-part"
|
|
2525
|
-
extraFooterFields: ["salesAmountNet"]
|
|
2666
|
+
sectionName: "common.report-section.sales-by-day-part"
|
|
2526
2667
|
};
|
|
2527
2668
|
|
|
2528
2669
|
// src/reports/dailySales/dailySalesTrendsOrderType.ts
|
|
2529
|
-
var
|
|
2670
|
+
var FIELDS19 = {
|
|
2530
2671
|
groupById: { type: "string" },
|
|
2531
2672
|
groupByName: {
|
|
2532
2673
|
columnKey: "orderType",
|
|
@@ -2565,13 +2706,12 @@ var DAILY_SALES_TRENDS_AVAILABLE_COLUMNS2 = [
|
|
|
2565
2706
|
"salesAmountNet"
|
|
2566
2707
|
];
|
|
2567
2708
|
var dailySalesTrendsOrderTypeConfig = {
|
|
2568
|
-
fields:
|
|
2709
|
+
fields: FIELDS19,
|
|
2569
2710
|
availableColumns: DAILY_SALES_TRENDS_AVAILABLE_COLUMNS2,
|
|
2570
2711
|
defaultVisibleColumns: DAILY_SALES_TRENDS_AVAILABLE_COLUMNS2,
|
|
2571
2712
|
hasFooter: true,
|
|
2572
2713
|
dataAccessKey: "trendsByOrderType",
|
|
2573
|
-
sectionName: "common.report-section.sales-by-order-type"
|
|
2574
|
-
extraFooterFields: ["salesAmountNet"]
|
|
2714
|
+
sectionName: "common.report-section.sales-by-order-type"
|
|
2575
2715
|
};
|
|
2576
2716
|
|
|
2577
2717
|
// src/report.ts
|
|
@@ -2585,6 +2725,7 @@ var Report = {
|
|
|
2585
2725
|
EMPLOYEE_TIMECARD: "employee-timecard",
|
|
2586
2726
|
EMPLOYEE_TIP: "employee-tip",
|
|
2587
2727
|
TIP_CASHOUT_RECONCILIATION: "tip-cashout-reconciliation",
|
|
2728
|
+
PAYROLL: "payroll",
|
|
2588
2729
|
SALES_BY_ITEM: "sales-by-item",
|
|
2589
2730
|
DAILY_SALES: "daily-sales",
|
|
2590
2731
|
DAILY_SALES_LIVE: "daily-sales-live"
|
|
@@ -2609,6 +2750,7 @@ var REPORT_CONFIG_MAP = {
|
|
|
2609
2750
|
"employee-timecard": employeeTimecardConfig,
|
|
2610
2751
|
"employee-tip": employeeTipConfig,
|
|
2611
2752
|
"tip-cashout-reconciliation": tipCashoutReconciliationConfig,
|
|
2753
|
+
payroll: payrollConfig,
|
|
2612
2754
|
"sales-by-item": salesByItemDetailConfig,
|
|
2613
2755
|
"daily-sales": DAILY_SALES_SECTION_CONFIGS,
|
|
2614
2756
|
"daily-sales-live": DAILY_SALES_SECTION_CONFIGS
|
|
@@ -2623,6 +2765,7 @@ var REPORT_DEFAULT_NAME_MAP = {
|
|
|
2623
2765
|
"employee-timecard": "Employee Timecard",
|
|
2624
2766
|
"employee-tip": "Employee Tip",
|
|
2625
2767
|
"tip-cashout-reconciliation": "Tip & Cashout Reconciliation",
|
|
2768
|
+
payroll: "Payroll",
|
|
2626
2769
|
"sales-by-item": "Sales by Item",
|
|
2627
2770
|
"daily-sales": "Daily Sales",
|
|
2628
2771
|
"daily-sales-live": "Daily Sales Live"
|
|
@@ -3391,6 +3534,51 @@ var COLUMN_REGISTRY = {
|
|
|
3391
3534
|
titleKey: "common.report-col.type",
|
|
3392
3535
|
shortTitleKey: "common.report-col.type.short",
|
|
3393
3536
|
infoTextKey: "common.report-col.type.info"
|
|
3537
|
+
},
|
|
3538
|
+
paidNormalHours: {
|
|
3539
|
+
titleKey: "common.report-col.paid-normal-hours",
|
|
3540
|
+
shortTitleKey: "common.report-col.paid-normal-hours.short",
|
|
3541
|
+
infoTextKey: "common.report-col.paid-normal-hours.info"
|
|
3542
|
+
},
|
|
3543
|
+
normalPay: {
|
|
3544
|
+
titleKey: "common.report-col.normal-pay",
|
|
3545
|
+
shortTitleKey: "common.report-col.normal-pay.short",
|
|
3546
|
+
infoTextKey: "common.report-col.normal-pay.info"
|
|
3547
|
+
},
|
|
3548
|
+
overtimePay: {
|
|
3549
|
+
titleKey: "common.report-col.overtime-pay",
|
|
3550
|
+
shortTitleKey: "common.report-col.overtime-pay.short",
|
|
3551
|
+
infoTextKey: "common.report-col.overtime-pay.info"
|
|
3552
|
+
},
|
|
3553
|
+
doubleOvertimePay: {
|
|
3554
|
+
titleKey: "common.report-col.double-overtime-pay",
|
|
3555
|
+
shortTitleKey: "common.report-col.double-overtime-pay.short",
|
|
3556
|
+
infoTextKey: "common.report-col.double-overtime-pay.info"
|
|
3557
|
+
},
|
|
3558
|
+
gratuity: {
|
|
3559
|
+
titleKey: "common.report-col.gratuity",
|
|
3560
|
+
shortTitleKey: "common.report-col.gratuity.short",
|
|
3561
|
+
infoTextKey: "common.report-col.gratuity.info"
|
|
3562
|
+
},
|
|
3563
|
+
tipPaidStatus: {
|
|
3564
|
+
titleKey: "common.report-col.tip-paid-status",
|
|
3565
|
+
shortTitleKey: "common.report-col.tip-paid-status.short",
|
|
3566
|
+
infoTextKey: "common.report-col.tip-paid-status.info"
|
|
3567
|
+
},
|
|
3568
|
+
totalPayments: {
|
|
3569
|
+
titleKey: "common.report-col.total-payments",
|
|
3570
|
+
shortTitleKey: "common.report-col.total-payments.short",
|
|
3571
|
+
infoTextKey: "common.report-col.total-payments.info"
|
|
3572
|
+
},
|
|
3573
|
+
minimumWageAdjustment: {
|
|
3574
|
+
titleKey: "common.report-col.minimum-wage-adjustment",
|
|
3575
|
+
shortTitleKey: "common.report-col.minimum-wage-adjustment.short",
|
|
3576
|
+
infoTextKey: "common.report-col.minimum-wage-adjustment.info"
|
|
3577
|
+
},
|
|
3578
|
+
totalPay: {
|
|
3579
|
+
titleKey: "common.report-col.total-pay",
|
|
3580
|
+
shortTitleKey: "common.report-col.total-pay.short",
|
|
3581
|
+
infoTextKey: "common.report-col.total-pay.info"
|
|
3394
3582
|
}
|
|
3395
3583
|
};
|
|
3396
3584
|
function getColumnMetadata(key) {
|
|
@@ -3846,6 +4034,7 @@ var formatFieldValue = (value, type, localeOptions, fullRecord, fieldConfig = DE
|
|
|
3846
4034
|
isNumericType,
|
|
3847
4035
|
itemTaxConfig,
|
|
3848
4036
|
modifierMixConfig,
|
|
4037
|
+
payrollConfig,
|
|
3849
4038
|
productMixConfig,
|
|
3850
4039
|
resolveTranslate,
|
|
3851
4040
|
salesByItemDetailConfig,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MessageKey, F as FieldType, C as ColumnAlignment, a as ColumnPresentationConfig, b as ColumnGroupConfig, R as ReportType, c as ReportConfig, d as ReportColumnKey } from './report-
|
|
2
|
-
export { e as COLUMN_REGISTRY, f as ColumnMessageKey, g as ColumnMetadata, h as FooterCalculation, i as FooterCalculationType, j as Report, k as getColumnExportHeaderLabel, l as getColumnMetadata, m as getFixedColumns, n as getReportConfig, o as getReportExportFileName } from './report-
|
|
1
|
+
import { M as MessageKey, F as FieldType, C as ColumnAlignment, a as ColumnPresentationConfig, b as ColumnGroupConfig, R as ReportType, c as ReportConfig, d as ReportColumnKey } from './report-BdTa3jaW.cjs';
|
|
2
|
+
export { e as COLUMN_REGISTRY, f as ColumnMessageKey, g as ColumnMetadata, h as FooterCalculation, i as FooterCalculationType, j as Report, k as getColumnExportHeaderLabel, l as getColumnMetadata, m as getFixedColumns, n as getReportConfig, o as getReportExportFileName } from './report-BdTa3jaW.cjs';
|
|
3
3
|
import { LocaleCode } from '@harbortouch/locale-registry';
|
|
4
4
|
export { R as RenderedReport, a as ReportDocument, b as ReportFormat, c as ReportSection, d as ResolvedColumn, S as SummaryRow } from './ir-CUi0Z9hv.cjs';
|
|
5
5
|
|
|
@@ -9,7 +9,7 @@ declare function resolveTranslate(key: MessageKey, locale: string): string;
|
|
|
9
9
|
declare function getColumnAlignment(type?: FieldType): ColumnAlignment;
|
|
10
10
|
declare function isNumericType(type?: FieldType): boolean;
|
|
11
11
|
|
|
12
|
-
declare const getFooterValue: <T>(rows: T[], field: keyof T, config: ColumnPresentationConfig) => number | "common.report-col.fifteen-min-interval" | "common.report-col.fifteen-min-interval.short" | "common.report-col.fifteen-min-interval.info" | "common.report-col.adjusted-tips" | "common.report-col.adjusted-tips.short" | "common.report-col.adjusted-tips.info" | "common.report-col.advantage-program" | "common.report-col.advantage-program.short" | "common.report-col.advantage-program.info" | "common.report-col.amex" | "common.report-col.amex.short" | "common.report-col.amex.info" | "common.report-col.amex-returns" | "common.report-col.amex-returns.short" | "common.report-col.amex-returns.info" | "common.report-col.attach-rate" | "common.report-col.attach-rate.short" | "common.report-col.attach-rate.info" | "common.report-col.auto-gratuity" | "common.report-col.auto-gratuity.short" | "common.report-col.auto-gratuity.info" | "common.report-col.average-gross-price" | "common.report-col.average-gross-price.short" | "common.report-col.average-gross-price.info" | "common.report-col.bank-fees" | "common.report-col.bank-fees.short" | "common.report-col.bank-fees.info" | "common.report-col.batch-amount" | "common.report-col.batch-amount.short" | "common.report-col.batch-amount.info" | "common.report-col.batch-date" | "common.report-col.batch-date.short" | "common.report-col.batch-date.info" | "common.report-col.batch-number" | "common.report-col.batch-number.short" | "common.report-col.batch-number.info" | "common.report-col.cash-collected" | "common.report-col.cash-collected.short" | "common.report-col.cash-collected.info" | "common.report-col.clock-in-time" | "common.report-col.clock-in-time.short" | "common.report-col.clock-in-time.info" | "common.report-col.clock-out-time" | "common.report-col.clock-out-time.short" | "common.report-col.clock-out-time.info" | "common.report-col.status" | "common.report-col.status.short" | "common.report-col.status.info" | "common.report-col.last-modified" | "common.report-col.last-modified.short" | "common.report-col.last-modified.info" | "common.report-col.country" | "common.report-col.country.short" | "common.report-col.country.info" | "common.report-col.customer-name" | "common.report-col.customer-name.short" | "common.report-col.customer-name.info" | "common.report-col.date" | "common.report-col.date.short" | "common.report-col.date.info" | "common.report-col.date-close" | "common.report-col.date-close.short" | "common.report-col.date-close.info" | "common.report-col.daypart" | "common.report-col.daypart.short" | "common.report-col.daypart.info" | "common.report-col.debit" | "common.report-col.debit.short" | "common.report-col.debit.info" | "common.report-col.debit-returns" | "common.report-col.debit-returns.short" | "common.report-col.debit-returns.info" | "common.report-col.declared-tips" | "common.report-col.declared-tips.short" | "common.report-col.declared-tips.info" | "common.report-col.department" | "common.report-col.department.short" | "common.report-col.department.info" | "common.report-col.deposit-currency" | "common.report-col.deposit-currency.short" | "common.report-col.deposit-currency.info" | "common.report-col.deposit-date" | "common.report-col.deposit-date.short" | "common.report-col.deposit-date.info" | "common.report-col.discount-amount" | "common.report-col.discount-amount.short" | "common.report-col.discount-amount.info" | "common.report-col.discount-count" | "common.report-col.discount-count.short" | "common.report-col.discount-count.info" | "common.report-col.ticket-count" | "common.report-col.ticket-count.short" | "common.report-col.ticket-count.info" | "common.report-col.item-count" | "common.report-col.item-count.short" | "common.report-col.item-count.info" | "common.report-col.discover" | "common.report-col.discover.short" | "common.report-col.discover.info" | "common.report-col.discover-returns" | "common.report-col.discover-returns.short" | "common.report-col.discover-returns.info" | "common.report-col.ebt" | "common.report-col.ebt.short" | "common.report-col.ebt.info" | "common.report-col.ebt-returns" | "common.report-col.ebt-returns.short" | "common.report-col.ebt-returns.info" | "common.report-col.employee-id" | "common.report-col.employee-id.short" | "common.report-col.employee-id.info" | "common.report-col.employee-job" | "common.report-col.employee-job.short" | "common.report-col.employee-job.info" | "common.report-col.employee-name" | "common.report-col.employee-name.short" | "common.report-col.employee-name.info" | "common.report-col.exempt-taxes" | "common.report-col.exempt-taxes.short" | "common.report-col.exempt-taxes.info" | "common.report-col.exempt-sales" | "common.report-col.exempt-sales.short" | "common.report-col.exempt-sales.info" | "common.report-col.grand-total" | "common.report-col.grand-total.short" | "common.report-col.grand-total.info" | "common.report-col.gross-cash-sales" | "common.report-col.gross-cash-sales.short" | "common.report-col.gross-cash-sales.info" | "common.report-col.gross-credit-sales" | "common.report-col.gross-credit-sales.short" | "common.report-col.gross-credit-sales.info" | "common.report-col.gross-sales" | "common.report-col.gross-sales.short" | "common.report-col.gross-sales.info" | "common.report-col.gross-tips" | "common.report-col.gross-tips.short" | "common.report-col.gross-tips.info" | "common.report-col.guest-count" | "common.report-col.guest-count.short" | "common.report-col.guest-count.info" | "common.report-col.guests-var-lw" | "common.report-col.guests-var-lw.short" | "common.report-col.guests-var-lw.info" | "common.report-col.guests-var-lw-pct" | "common.report-col.guests-var-lw-pct.short" | "common.report-col.guests-var-lw-pct.info" | "common.report-col.guests-var-ly" | "common.report-col.guests-var-ly.short" | "common.report-col.guests-var-ly.info" | "common.report-col.guests-var-ly-pct" | "common.report-col.guests-var-ly-pct.short" | "common.report-col.guests-var-ly-pct.info" | "common.report-col.hour" | "common.report-col.hour.short" | "common.report-col.hour.info" | "common.report-col.hours-worked" | "common.report-col.hours-worked.short" | "common.report-col.hours-worked.info" | "common.report-col.inclusive-tax" | "common.report-col.inclusive-tax.short" | "common.report-col.inclusive-tax.info" | "common.report-col.item-name" | "common.report-col.item-name.short" | "common.report-col.item-name.info" | "common.report-col.item-price" | "common.report-col.item-price.short" | "common.report-col.item-price.info" | "common.report-col.location-city" | "common.report-col.location-city.short" | "common.report-col.location-city.info" | "common.report-col.location-id" | "common.report-col.location-id.short" | "common.report-col.location-id.info" | "common.report-col.location-mid" | "common.report-col.location-mid.short" | "common.report-col.location-mid.info" | "common.report-col.location-name" | "common.report-col.location-name.short" | "common.report-col.location-name.info" | "common.report-col.location-state" | "common.report-col.location-state.short" | "common.report-col.location-state.info" | "common.report-col.mastercard" | "common.report-col.mastercard.short" | "common.report-col.mastercard.info" | "common.report-col.mc-returns" | "common.report-col.mc-returns.short" | "common.report-col.mc-returns.info" | "common.report-col.modifier-name" | "common.report-col.modifier-name.short" | "common.report-col.modifier-name.info" | "common.report-col.modifier-price" | "common.report-col.modifier-price.short" | "common.report-col.modifier-price.info" | "common.report-col.modifier-quantity" | "common.report-col.modifier-quantity.short" | "common.report-col.modifier-quantity.info" | "common.report-col.item-quantity" | "common.report-col.item-quantity.short" | "common.report-col.item-quantity.info" | "common.report-col.modifier-quantity-comp" | "common.report-col.modifier-quantity-comp.short" | "common.report-col.modifier-quantity-comp.info" | "common.report-col.item-quantity-comp" | "common.report-col.item-quantity-comp.short" | "common.report-col.item-quantity-comp.info" | "common.report-col.attach-rate-comp" | "common.report-col.attach-rate-comp.short" | "common.report-col.attach-rate-comp.info" | "common.report-col.total-modifier-sales-var" | "common.report-col.total-modifier-sales-var.short" | "common.report-col.total-modifier-sales-var.info" | "common.report-col.total-modifier-sales-var-pct" | "common.report-col.total-modifier-sales-var-pct.short" | "common.report-col.total-modifier-sales-var-pct.info" | "common.report-col.modifier-quantity-var" | "common.report-col.modifier-quantity-var.short" | "common.report-col.modifier-quantity-var.info" | "common.report-col.modifier-quantity-var-pct" | "common.report-col.modifier-quantity-var-pct.short" | "common.report-col.modifier-quantity-var-pct.info" | "common.report-col.attach-rate-var" | "common.report-col.attach-rate-var.short" | "common.report-col.attach-rate-var.info" | "common.report-col.attach-rate-var-pct" | "common.report-col.attach-rate-var-pct.short" | "common.report-col.attach-rate-var-pct.info" | "common.report-col.total-modifier-sales-comp" | "common.report-col.total-modifier-sales-comp.short" | "common.report-col.total-modifier-sales-comp.info" | "common.report-col.net-sales" | "common.report-col.net-sales.short" | "common.report-col.net-sales.info" | "common.report-col.net-tax-collected" | "common.report-col.net-tax-collected.short" | "common.report-col.net-tax-collected.info" | "common.report-col.net-tips" | "common.report-col.net-tips.short" | "common.report-col.net-tips.info" | "common.report-col.number-of-guests" | "common.report-col.number-of-guests.short" | "common.report-col.number-of-guests.info" | "common.report-col.order-type" | "common.report-col.order-type.short" | "common.report-col.order-type.info" | "common.report-col.payment-type" | "common.report-col.payment-type.short" | "common.report-col.payment-type.info" | "common.report-col.payroll-id" | "common.report-col.payroll-id.short" | "common.report-col.payroll-id.info" | "common.report-col.quantity" | "common.report-col.quantity.short" | "common.report-col.quantity.info" | "common.report-col.reference-number" | "common.report-col.reference-number.short" | "common.report-col.reference-number.info" | "common.report-col.refund-amount" | "common.report-col.refund-amount.short" | "common.report-col.refund-amount.info" | "common.report-col.refunded-tax-amount" | "common.report-col.refunded-tax-amount.short" | "common.report-col.refunded-tax-amount.info" | "common.report-col.revenue-center" | "common.report-col.revenue-center.short" | "common.report-col.revenue-center.info" | "common.report-col.revenue-class" | "common.report-col.revenue-class.short" | "common.report-col.revenue-class.info" | "common.report-col.sales-var-lw" | "common.report-col.sales-var-lw.short" | "common.report-col.sales-var-lw.info" | "common.report-col.sales-var-lw-pct" | "common.report-col.sales-var-lw-pct.short" | "common.report-col.sales-var-lw-pct.info" | "common.report-col.sales-var-ly" | "common.report-col.sales-var-ly.short" | "common.report-col.sales-var-ly.info" | "common.report-col.sales-var-ly-pct" | "common.report-col.sales-var-ly-pct.short" | "common.report-col.sales-var-ly-pct.info" | "common.report-col.sales-mix-by-pct" | "common.report-col.sales-mix-by-pct.short" | "common.report-col.sales-mix-by-pct.info" | "common.report-col.sales-per-guest" | "common.report-col.sales-per-guest.short" | "common.report-col.sales-per-guest.info" | "common.report-col.sales-per-guest-lw" | "common.report-col.sales-per-guest-lw.short" | "common.report-col.sales-per-guest-lw.info" | "common.report-col.sales-per-guest-ly" | "common.report-col.sales-per-guest-ly.short" | "common.report-col.sales-per-guest-ly.info" | "common.report-col.scheduled-shift-end" | "common.report-col.scheduled-shift-end.short" | "common.report-col.scheduled-shift-end.info" | "common.report-col.scheduled-shift-start" | "common.report-col.scheduled-shift-start.short" | "common.report-col.scheduled-shift-start.info" | "common.report-col.settlement-batch-date" | "common.report-col.settlement-batch-date.short" | "common.report-col.settlement-batch-date.info" | "common.report-col.shift-duration-hrs" | "common.report-col.shift-duration-hrs.short" | "common.report-col.shift-duration-hrs.info" | "common.report-col.subtotal" | "common.report-col.subtotal.short" | "common.report-col.subtotal.info" | "common.report-col.tax-collected" | "common.report-col.tax-collected.short" | "common.report-col.tax-collected.info" | "common.report-col.tax-name" | "common.report-col.tax-name.short" | "common.report-col.tax-name.info" | "common.report-col.tax-rate" | "common.report-col.tax-rate.short" | "common.report-col.tax-rate.info" | "common.report-col.taxable-sales" | "common.report-col.taxable-sales.short" | "common.report-col.taxable-sales.info" | "common.report-col.ticket-closed" | "common.report-col.ticket-closed.short" | "common.report-col.ticket-closed.info" | "common.report-col.ticket-fee" | "common.report-col.ticket-fee.short" | "common.report-col.ticket-fee.info" | "common.report-col.ticket-number" | "common.report-col.ticket-number.short" | "common.report-col.ticket-number.info" | "common.report-col.ticket-open" | "common.report-col.ticket-open.short" | "common.report-col.ticket-open.info" | "common.report-col.ticket-total" | "common.report-col.ticket-total.short" | "common.report-col.ticket-total.info" | "common.report-col.time-open-mins" | "common.report-col.time-open-mins.short" | "common.report-col.time-open-mins.info" | "common.report-col.tip-pct" | "common.report-col.tip-pct.short" | "common.report-col.tip-pct.info" | "common.report-col.tip-reduction" | "common.report-col.tip-reduction.short" | "common.report-col.tip-reduction.info" | "common.report-col.tip-share" | "common.report-col.tip-share.short" | "common.report-col.tip-share.info" | "common.report-col.tip-share-contributed" | "common.report-col.tip-share-contributed.short" | "common.report-col.tip-share-contributed.info" | "common.report-col.tips" | "common.report-col.tips.short" | "common.report-col.tips.info" | "common.report-col.tips-per-hour" | "common.report-col.tips-per-hour.short" | "common.report-col.tips-per-hour.info" | "common.report-col.total-collected" | "common.report-col.total-collected.short" | "common.report-col.total-collected.info" | "common.report-col.total-item-sales" | "common.report-col.total-item-sales.short" | "common.report-col.total-item-sales.info" | "common.report-col.total-modifier-sales" | "common.report-col.total-modifier-sales.short" | "common.report-col.total-modifier-sales.info" | "common.report-col.total-returns" | "common.report-col.total-returns.short" | "common.report-col.total-returns.info" | "common.report-col.total-sales" | "common.report-col.total-sales.short" | "common.report-col.total-sales.info" | "common.report-col.total-tips" | "common.report-col.total-tips.short" | "common.report-col.total-tips.info" | "common.report-col.transaction-date" | "common.report-col.transaction-date.short" | "common.report-col.transaction-date.info" | "common.report-col.sale-payment-type" | "common.report-col.sale-payment-type.short" | "common.report-col.sale-payment-type.info" | "common.report-col.transaction-type" | "common.report-col.transaction-type.short" | "common.report-col.transaction-type.info" | "common.report-col.untaxed-sales" | "common.report-col.untaxed-sales.short" | "common.report-col.untaxed-sales.info" | "common.report-col.visa" | "common.report-col.visa.short" | "common.report-col.visa.info" | "common.report-col.visa-returns" | "common.report-col.visa-returns.short" | "common.report-col.visa-returns.info" | "common.report-col.payments-count" | "common.report-col.payments-count.short" | "common.report-col.payments-count.info" | "common.report-col.payments-amount" | "common.report-col.payments-amount.short" | "common.report-col.payments-amount.info" | "common.report-col.payments-total" | "common.report-col.payments-total.short" | "common.report-col.payments-total.info" | "common.report-col.refund-void-description" | "common.report-col.refund-void-description.short" | "common.report-col.refund-void-description.info" | "common.report-col.refund-void-count" | "common.report-col.refund-void-count.short" | "common.report-col.refund-void-count.info" | "common.report-col.refund-void-amount" | "common.report-col.refund-void-amount.short" | "common.report-col.refund-void-amount.info" | "common.report-col.refund-void-pct-sales" | "common.report-col.refund-void-pct-sales.short" | "common.report-col.refund-void-pct-sales.info" | "common.report-col.discount-name" | "common.report-col.discount-name.short" | "common.report-col.discount-name.info" | "common.report-col.tickets" | "common.report-col.tickets.short" | "common.report-col.tickets.info" | "common.report-col.guests" | "common.report-col.guests.short" | "common.report-col.guests.info" | "common.report-col.ticket-average" | "common.report-col.ticket-average.short" | "common.report-col.ticket-average.info" | "common.report-col.guest-average" | "common.report-col.guest-average.short" | "common.report-col.guest-average.info" | "common.report-col.net" | "common.report-col.net.short" | "common.report-col.net.info" | "common.report-col.gross-cash-tips" | "common.report-col.gross-cash-tips.short" | "common.report-col.gross-cash-tips.info" | "common.report-col.gross-credit-card-tips" | "common.report-col.gross-credit-card-tips.short" | "common.report-col.gross-credit-card-tips.info" | "common.report-col.type" | "common.report-col.type.short" | "common.report-col.type.info" | "common.report-section.revenue-class" | "common.report-section.payments" | "common.report-section.cash" | "common.report-section.taxes" | "common.report-section.refunds-voids" | "common.report-section.discounts" | "common.report-section.sales-by-day-part" | "common.report-section.sales-by-order-type" | "common.report-section.cash-row.cash-payments" | "common.report-section.cash-row.paid-in-outs" | "common.report-section.cash-row.gratuities-paid-out" | "common.report-section.cash-row.cc-tips-paid-out" | "common.report-section.rev-class-footer.tax-total" | "common.report-section.rev-class-footer.gratuities" | "common.report-section.rev-class-footer.balance-payments" | "common.report-section.rev-class-footer.gift-card-sales" | "common.report-section.rev-class-footer.non-sales-revenue" | "common.report-section.rev-class-footer.house-account" | "common.report-section.rev-class-footer.total-accountable" | "scheduled-reports.period" | "components.form.field.group-by" | "components.form.field.last-week" | "components.form.field.last-year" | "common.labels.locations" | "common.labels.yes" | "analytics.field.location_id" | "analytics.field.order_type_id" | "analytics.field.revenue_center_id" | "analytics.field.revenue_center_id.all" | "analytics.field.hour_id" | "analytics.field.daypart_id" | "analytics.field.timeslot_id" | "analytics.field.employee_id" | "analytics.field.payroll_id" | "analytics.field.intraday_period_group" | "analytics.field.item_id" | "analytics.field.department_id" | "analytics.field.revenue_class_id" | "analytics.field.modifier_id" | "table.total" | "table.groups.sales" | "table.groups.net-sales" | "table.groups.guests" | "table.groups.sales-per-guest" | "employee-timecard.status.active" | "employee-timecard.status.inactive" | "employee-timecard.job.break-suffix" | null;
|
|
12
|
+
declare const getFooterValue: <T>(rows: T[], field: keyof T, config: ColumnPresentationConfig) => number | "common.report-col.fifteen-min-interval" | "common.report-col.fifteen-min-interval.short" | "common.report-col.fifteen-min-interval.info" | "common.report-col.adjusted-tips" | "common.report-col.adjusted-tips.short" | "common.report-col.adjusted-tips.info" | "common.report-col.advantage-program" | "common.report-col.advantage-program.short" | "common.report-col.advantage-program.info" | "common.report-col.amex" | "common.report-col.amex.short" | "common.report-col.amex.info" | "common.report-col.amex-returns" | "common.report-col.amex-returns.short" | "common.report-col.amex-returns.info" | "common.report-col.attach-rate" | "common.report-col.attach-rate.short" | "common.report-col.attach-rate.info" | "common.report-col.auto-gratuity" | "common.report-col.auto-gratuity.short" | "common.report-col.auto-gratuity.info" | "common.report-col.average-gross-price" | "common.report-col.average-gross-price.short" | "common.report-col.average-gross-price.info" | "common.report-col.bank-fees" | "common.report-col.bank-fees.short" | "common.report-col.bank-fees.info" | "common.report-col.batch-amount" | "common.report-col.batch-amount.short" | "common.report-col.batch-amount.info" | "common.report-col.batch-date" | "common.report-col.batch-date.short" | "common.report-col.batch-date.info" | "common.report-col.batch-number" | "common.report-col.batch-number.short" | "common.report-col.batch-number.info" | "common.report-col.cash-collected" | "common.report-col.cash-collected.short" | "common.report-col.cash-collected.info" | "common.report-col.clock-in-time" | "common.report-col.clock-in-time.short" | "common.report-col.clock-in-time.info" | "common.report-col.clock-out-time" | "common.report-col.clock-out-time.short" | "common.report-col.clock-out-time.info" | "common.report-col.status" | "common.report-col.status.short" | "common.report-col.status.info" | "common.report-col.last-modified" | "common.report-col.last-modified.short" | "common.report-col.last-modified.info" | "common.report-col.country" | "common.report-col.country.short" | "common.report-col.country.info" | "common.report-col.customer-name" | "common.report-col.customer-name.short" | "common.report-col.customer-name.info" | "common.report-col.date" | "common.report-col.date.short" | "common.report-col.date.info" | "common.report-col.date-close" | "common.report-col.date-close.short" | "common.report-col.date-close.info" | "common.report-col.daypart" | "common.report-col.daypart.short" | "common.report-col.daypart.info" | "common.report-col.debit" | "common.report-col.debit.short" | "common.report-col.debit.info" | "common.report-col.debit-returns" | "common.report-col.debit-returns.short" | "common.report-col.debit-returns.info" | "common.report-col.declared-tips" | "common.report-col.declared-tips.short" | "common.report-col.declared-tips.info" | "common.report-col.department" | "common.report-col.department.short" | "common.report-col.department.info" | "common.report-col.deposit-currency" | "common.report-col.deposit-currency.short" | "common.report-col.deposit-currency.info" | "common.report-col.deposit-date" | "common.report-col.deposit-date.short" | "common.report-col.deposit-date.info" | "common.report-col.discount-amount" | "common.report-col.discount-amount.short" | "common.report-col.discount-amount.info" | "common.report-col.discount-count" | "common.report-col.discount-count.short" | "common.report-col.discount-count.info" | "common.report-col.ticket-count" | "common.report-col.ticket-count.short" | "common.report-col.ticket-count.info" | "common.report-col.item-count" | "common.report-col.item-count.short" | "common.report-col.item-count.info" | "common.report-col.discover" | "common.report-col.discover.short" | "common.report-col.discover.info" | "common.report-col.discover-returns" | "common.report-col.discover-returns.short" | "common.report-col.discover-returns.info" | "common.report-col.ebt" | "common.report-col.ebt.short" | "common.report-col.ebt.info" | "common.report-col.ebt-returns" | "common.report-col.ebt-returns.short" | "common.report-col.ebt-returns.info" | "common.report-col.employee-id" | "common.report-col.employee-id.short" | "common.report-col.employee-id.info" | "common.report-col.employee-job" | "common.report-col.employee-job.short" | "common.report-col.employee-job.info" | "common.report-col.employee-name" | "common.report-col.employee-name.short" | "common.report-col.employee-name.info" | "common.report-col.exempt-taxes" | "common.report-col.exempt-taxes.short" | "common.report-col.exempt-taxes.info" | "common.report-col.exempt-sales" | "common.report-col.exempt-sales.short" | "common.report-col.exempt-sales.info" | "common.report-col.grand-total" | "common.report-col.grand-total.short" | "common.report-col.grand-total.info" | "common.report-col.gross-cash-sales" | "common.report-col.gross-cash-sales.short" | "common.report-col.gross-cash-sales.info" | "common.report-col.gross-credit-sales" | "common.report-col.gross-credit-sales.short" | "common.report-col.gross-credit-sales.info" | "common.report-col.gross-sales" | "common.report-col.gross-sales.short" | "common.report-col.gross-sales.info" | "common.report-col.gross-tips" | "common.report-col.gross-tips.short" | "common.report-col.gross-tips.info" | "common.report-col.guest-count" | "common.report-col.guest-count.short" | "common.report-col.guest-count.info" | "common.report-col.guests-var-lw" | "common.report-col.guests-var-lw.short" | "common.report-col.guests-var-lw.info" | "common.report-col.guests-var-lw-pct" | "common.report-col.guests-var-lw-pct.short" | "common.report-col.guests-var-lw-pct.info" | "common.report-col.guests-var-ly" | "common.report-col.guests-var-ly.short" | "common.report-col.guests-var-ly.info" | "common.report-col.guests-var-ly-pct" | "common.report-col.guests-var-ly-pct.short" | "common.report-col.guests-var-ly-pct.info" | "common.report-col.hour" | "common.report-col.hour.short" | "common.report-col.hour.info" | "common.report-col.hours-worked" | "common.report-col.hours-worked.short" | "common.report-col.hours-worked.info" | "common.report-col.inclusive-tax" | "common.report-col.inclusive-tax.short" | "common.report-col.inclusive-tax.info" | "common.report-col.item-name" | "common.report-col.item-name.short" | "common.report-col.item-name.info" | "common.report-col.item-price" | "common.report-col.item-price.short" | "common.report-col.item-price.info" | "common.report-col.location-city" | "common.report-col.location-city.short" | "common.report-col.location-city.info" | "common.report-col.location-id" | "common.report-col.location-id.short" | "common.report-col.location-id.info" | "common.report-col.location-mid" | "common.report-col.location-mid.short" | "common.report-col.location-mid.info" | "common.report-col.location-name" | "common.report-col.location-name.short" | "common.report-col.location-name.info" | "common.report-col.location-state" | "common.report-col.location-state.short" | "common.report-col.location-state.info" | "common.report-col.mastercard" | "common.report-col.mastercard.short" | "common.report-col.mastercard.info" | "common.report-col.mc-returns" | "common.report-col.mc-returns.short" | "common.report-col.mc-returns.info" | "common.report-col.modifier-name" | "common.report-col.modifier-name.short" | "common.report-col.modifier-name.info" | "common.report-col.modifier-price" | "common.report-col.modifier-price.short" | "common.report-col.modifier-price.info" | "common.report-col.modifier-quantity" | "common.report-col.modifier-quantity.short" | "common.report-col.modifier-quantity.info" | "common.report-col.item-quantity" | "common.report-col.item-quantity.short" | "common.report-col.item-quantity.info" | "common.report-col.modifier-quantity-comp" | "common.report-col.modifier-quantity-comp.short" | "common.report-col.modifier-quantity-comp.info" | "common.report-col.item-quantity-comp" | "common.report-col.item-quantity-comp.short" | "common.report-col.item-quantity-comp.info" | "common.report-col.attach-rate-comp" | "common.report-col.attach-rate-comp.short" | "common.report-col.attach-rate-comp.info" | "common.report-col.total-modifier-sales-var" | "common.report-col.total-modifier-sales-var.short" | "common.report-col.total-modifier-sales-var.info" | "common.report-col.total-modifier-sales-var-pct" | "common.report-col.total-modifier-sales-var-pct.short" | "common.report-col.total-modifier-sales-var-pct.info" | "common.report-col.modifier-quantity-var" | "common.report-col.modifier-quantity-var.short" | "common.report-col.modifier-quantity-var.info" | "common.report-col.modifier-quantity-var-pct" | "common.report-col.modifier-quantity-var-pct.short" | "common.report-col.modifier-quantity-var-pct.info" | "common.report-col.attach-rate-var" | "common.report-col.attach-rate-var.short" | "common.report-col.attach-rate-var.info" | "common.report-col.attach-rate-var-pct" | "common.report-col.attach-rate-var-pct.short" | "common.report-col.attach-rate-var-pct.info" | "common.report-col.total-modifier-sales-comp" | "common.report-col.total-modifier-sales-comp.short" | "common.report-col.total-modifier-sales-comp.info" | "common.report-col.net-sales" | "common.report-col.net-sales.short" | "common.report-col.net-sales.info" | "common.report-col.net-tax-collected" | "common.report-col.net-tax-collected.short" | "common.report-col.net-tax-collected.info" | "common.report-col.net-tips" | "common.report-col.net-tips.short" | "common.report-col.net-tips.info" | "common.report-col.number-of-guests" | "common.report-col.number-of-guests.short" | "common.report-col.number-of-guests.info" | "common.report-col.order-type" | "common.report-col.order-type.short" | "common.report-col.order-type.info" | "common.report-col.payment-type" | "common.report-col.payment-type.short" | "common.report-col.payment-type.info" | "common.report-col.payroll-id" | "common.report-col.payroll-id.short" | "common.report-col.payroll-id.info" | "common.report-col.quantity" | "common.report-col.quantity.short" | "common.report-col.quantity.info" | "common.report-col.reference-number" | "common.report-col.reference-number.short" | "common.report-col.reference-number.info" | "common.report-col.refund-amount" | "common.report-col.refund-amount.short" | "common.report-col.refund-amount.info" | "common.report-col.refunded-tax-amount" | "common.report-col.refunded-tax-amount.short" | "common.report-col.refunded-tax-amount.info" | "common.report-col.revenue-center" | "common.report-col.revenue-center.short" | "common.report-col.revenue-center.info" | "common.report-col.revenue-class" | "common.report-col.revenue-class.short" | "common.report-col.revenue-class.info" | "common.report-col.sales-var-lw" | "common.report-col.sales-var-lw.short" | "common.report-col.sales-var-lw.info" | "common.report-col.sales-var-lw-pct" | "common.report-col.sales-var-lw-pct.short" | "common.report-col.sales-var-lw-pct.info" | "common.report-col.sales-var-ly" | "common.report-col.sales-var-ly.short" | "common.report-col.sales-var-ly.info" | "common.report-col.sales-var-ly-pct" | "common.report-col.sales-var-ly-pct.short" | "common.report-col.sales-var-ly-pct.info" | "common.report-col.sales-mix-by-pct" | "common.report-col.sales-mix-by-pct.short" | "common.report-col.sales-mix-by-pct.info" | "common.report-col.sales-per-guest" | "common.report-col.sales-per-guest.short" | "common.report-col.sales-per-guest.info" | "common.report-col.sales-per-guest-lw" | "common.report-col.sales-per-guest-lw.short" | "common.report-col.sales-per-guest-lw.info" | "common.report-col.sales-per-guest-ly" | "common.report-col.sales-per-guest-ly.short" | "common.report-col.sales-per-guest-ly.info" | "common.report-col.scheduled-shift-end" | "common.report-col.scheduled-shift-end.short" | "common.report-col.scheduled-shift-end.info" | "common.report-col.scheduled-shift-start" | "common.report-col.scheduled-shift-start.short" | "common.report-col.scheduled-shift-start.info" | "common.report-col.settlement-batch-date" | "common.report-col.settlement-batch-date.short" | "common.report-col.settlement-batch-date.info" | "common.report-col.shift-duration-hrs" | "common.report-col.shift-duration-hrs.short" | "common.report-col.shift-duration-hrs.info" | "common.report-col.subtotal" | "common.report-col.subtotal.short" | "common.report-col.subtotal.info" | "common.report-col.tax-collected" | "common.report-col.tax-collected.short" | "common.report-col.tax-collected.info" | "common.report-col.tax-name" | "common.report-col.tax-name.short" | "common.report-col.tax-name.info" | "common.report-col.tax-rate" | "common.report-col.tax-rate.short" | "common.report-col.tax-rate.info" | "common.report-col.taxable-sales" | "common.report-col.taxable-sales.short" | "common.report-col.taxable-sales.info" | "common.report-col.ticket-closed" | "common.report-col.ticket-closed.short" | "common.report-col.ticket-closed.info" | "common.report-col.ticket-fee" | "common.report-col.ticket-fee.short" | "common.report-col.ticket-fee.info" | "common.report-col.ticket-number" | "common.report-col.ticket-number.short" | "common.report-col.ticket-number.info" | "common.report-col.ticket-open" | "common.report-col.ticket-open.short" | "common.report-col.ticket-open.info" | "common.report-col.ticket-total" | "common.report-col.ticket-total.short" | "common.report-col.ticket-total.info" | "common.report-col.time-open-mins" | "common.report-col.time-open-mins.short" | "common.report-col.time-open-mins.info" | "common.report-col.tip-pct" | "common.report-col.tip-pct.short" | "common.report-col.tip-pct.info" | "common.report-col.tip-reduction" | "common.report-col.tip-reduction.short" | "common.report-col.tip-reduction.info" | "common.report-col.tip-share" | "common.report-col.tip-share.short" | "common.report-col.tip-share.info" | "common.report-col.tip-share-contributed" | "common.report-col.tip-share-contributed.short" | "common.report-col.tip-share-contributed.info" | "common.report-col.tips" | "common.report-col.tips.short" | "common.report-col.tips.info" | "common.report-col.tips-per-hour" | "common.report-col.tips-per-hour.short" | "common.report-col.tips-per-hour.info" | "common.report-col.total-collected" | "common.report-col.total-collected.short" | "common.report-col.total-collected.info" | "common.report-col.total-item-sales" | "common.report-col.total-item-sales.short" | "common.report-col.total-item-sales.info" | "common.report-col.total-modifier-sales" | "common.report-col.total-modifier-sales.short" | "common.report-col.total-modifier-sales.info" | "common.report-col.total-returns" | "common.report-col.total-returns.short" | "common.report-col.total-returns.info" | "common.report-col.total-sales" | "common.report-col.total-sales.short" | "common.report-col.total-sales.info" | "common.report-col.total-tips" | "common.report-col.total-tips.short" | "common.report-col.total-tips.info" | "common.report-col.transaction-date" | "common.report-col.transaction-date.short" | "common.report-col.transaction-date.info" | "common.report-col.sale-payment-type" | "common.report-col.sale-payment-type.short" | "common.report-col.sale-payment-type.info" | "common.report-col.transaction-type" | "common.report-col.transaction-type.short" | "common.report-col.transaction-type.info" | "common.report-col.untaxed-sales" | "common.report-col.untaxed-sales.short" | "common.report-col.untaxed-sales.info" | "common.report-col.visa" | "common.report-col.visa.short" | "common.report-col.visa.info" | "common.report-col.visa-returns" | "common.report-col.visa-returns.short" | "common.report-col.visa-returns.info" | "common.report-col.payments-count" | "common.report-col.payments-count.short" | "common.report-col.payments-count.info" | "common.report-col.payments-amount" | "common.report-col.payments-amount.short" | "common.report-col.payments-amount.info" | "common.report-col.payments-total" | "common.report-col.payments-total.short" | "common.report-col.payments-total.info" | "common.report-col.refund-void-description" | "common.report-col.refund-void-description.short" | "common.report-col.refund-void-description.info" | "common.report-col.refund-void-count" | "common.report-col.refund-void-count.short" | "common.report-col.refund-void-count.info" | "common.report-col.refund-void-amount" | "common.report-col.refund-void-amount.short" | "common.report-col.refund-void-amount.info" | "common.report-col.refund-void-pct-sales" | "common.report-col.refund-void-pct-sales.short" | "common.report-col.refund-void-pct-sales.info" | "common.report-col.discount-name" | "common.report-col.discount-name.short" | "common.report-col.discount-name.info" | "common.report-col.tickets" | "common.report-col.tickets.short" | "common.report-col.tickets.info" | "common.report-col.guests" | "common.report-col.guests.short" | "common.report-col.guests.info" | "common.report-col.ticket-average" | "common.report-col.ticket-average.short" | "common.report-col.ticket-average.info" | "common.report-col.guest-average" | "common.report-col.guest-average.short" | "common.report-col.guest-average.info" | "common.report-col.net" | "common.report-col.net.short" | "common.report-col.net.info" | "common.report-col.gross-cash-tips" | "common.report-col.gross-cash-tips.short" | "common.report-col.gross-cash-tips.info" | "common.report-col.gross-credit-card-tips" | "common.report-col.gross-credit-card-tips.short" | "common.report-col.gross-credit-card-tips.info" | "common.report-col.type" | "common.report-col.type.short" | "common.report-col.type.info" | "common.report-col.paid-normal-hours" | "common.report-col.paid-normal-hours.short" | "common.report-col.paid-normal-hours.info" | "common.report-col.normal-pay" | "common.report-col.normal-pay.short" | "common.report-col.normal-pay.info" | "common.report-col.overtime-pay" | "common.report-col.overtime-pay.short" | "common.report-col.overtime-pay.info" | "common.report-col.double-overtime-pay" | "common.report-col.double-overtime-pay.short" | "common.report-col.double-overtime-pay.info" | "common.report-col.gratuity" | "common.report-col.gratuity.short" | "common.report-col.gratuity.info" | "common.report-col.tip-paid-status" | "common.report-col.tip-paid-status.short" | "common.report-col.tip-paid-status.info" | "common.report-col.total-payments" | "common.report-col.total-payments.short" | "common.report-col.total-payments.info" | "common.report-col.minimum-wage-adjustment" | "common.report-col.minimum-wage-adjustment.short" | "common.report-col.minimum-wage-adjustment.info" | "common.report-col.total-pay" | "common.report-col.total-pay.short" | "common.report-col.total-pay.info" | "common.report-section.revenue-class" | "common.report-section.payments" | "common.report-section.cash" | "common.report-section.taxes" | "common.report-section.refunds-voids" | "common.report-section.discounts" | "common.report-section.sales-by-day-part" | "common.report-section.sales-by-order-type" | "common.report-section.cash-row.cash-payments" | "common.report-section.cash-row.paid-in-outs" | "common.report-section.cash-row.gratuities-paid-out" | "common.report-section.cash-row.cc-tips-paid-out" | "common.report-section.rev-class-footer.tax-total" | "common.report-section.rev-class-footer.gratuities" | "common.report-section.rev-class-footer.balance-payments" | "common.report-section.rev-class-footer.gift-card-sales" | "common.report-section.rev-class-footer.non-sales-revenue" | "common.report-section.rev-class-footer.house-account" | "common.report-section.rev-class-footer.total-accountable" | "scheduled-reports.period" | "components.form.field.group-by" | "components.form.field.last-week" | "components.form.field.last-year" | "common.labels.locations" | "common.labels.yes" | "analytics.field.location_id" | "analytics.field.order_type_id" | "analytics.field.revenue_center_id" | "analytics.field.revenue_center_id.all" | "analytics.field.hour_id" | "analytics.field.daypart_id" | "analytics.field.timeslot_id" | "analytics.field.employee_id" | "analytics.field.payroll_id" | "analytics.field.intraday_period_group" | "analytics.field.item_id" | "analytics.field.department_id" | "analytics.field.revenue_class_id" | "analytics.field.modifier_id" | "table.total" | "table.groups.sales" | "table.groups.net-sales" | "table.groups.guests" | "table.groups.sales-per-guest" | "employee-timecard.status.active" | "employee-timecard.status.inactive" | "employee-timecard.job.break-suffix" | null;
|
|
13
13
|
declare const calculateReportTotals: <T>(data: T[], fieldConfig: Record<string, ColumnPresentationConfig>) => T;
|
|
14
14
|
|
|
15
15
|
type SalesSummaryField = 'groupById' | 'groupByName' | 'salesAmountNet' | 'salesVarLW' | 'salesVarLY' | 'salesVarLWPct' | 'salesVarLYPct' | 'salesAmountNetLastWeek' | 'salesAmountNetLastYear' | 'salesAmountGross' | 'salesAmountGrossLastWeek' | 'salesAmountGrossLastYear' | 'ticketsCount' | 'ticketsCountLastWeek' | 'ticketsCountLastYear' | 'guestsCount' | 'guestsVarLW' | 'guestsVarLY' | 'guestsVarLWPct' | 'guestsVarLYPct' | 'guestsCountLastWeek' | 'guestsCountLastYear' | 'salesPerGuestTY' | 'salesPerGuestLW' | 'salesPerGuestLY';
|
|
@@ -204,6 +204,14 @@ declare const tipCashoutReconciliationConfig: {
|
|
|
204
204
|
readonly hasFooter: true;
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
+
type PayrollField = 'groupById' | 'groupByName' | 'rowType' | 'locationName' | 'employeeName' | 'empId' | 'payrollId' | 'jobName' | 'paidNormalHours' | 'normalPay' | 'overtimePay' | 'doubleOvertimePay' | 'grossTips' | 'gratuity' | 'totalTips' | 'tipReduction' | 'tipShare' | 'netTips' | 'declaredTips' | 'tipPaidStatus' | 'totalPayments' | 'minimumWageAdjustment' | 'totalPay';
|
|
208
|
+
declare const payrollConfig: {
|
|
209
|
+
readonly fields: Record<PayrollField, ColumnPresentationConfig<PayrollField>>;
|
|
210
|
+
readonly availableColumns: PayrollField[];
|
|
211
|
+
readonly defaultVisibleColumns: PayrollField[];
|
|
212
|
+
readonly hasFooter: true;
|
|
213
|
+
};
|
|
214
|
+
|
|
207
215
|
type SalesByItemDetailField = 'businessDate' | 'ticketClosedAt' | 'hourId' | 'daypartName' | 'locationId' | 'locationName' | 'departmentName' | 'itemName' | 'revenueCenterName' | 'revenueClassName' | 'salesAmountGross' | 'itemsQuantity' | 'transactionId' | 'guestsCount' | 'employeeName' | 'orderTypeName' | 'salesType' | 'itemPrice';
|
|
208
216
|
declare const salesByItemDetailConfig: {
|
|
209
217
|
readonly fields: Record<SalesByItemDetailField, ColumnPresentationConfig<SalesByItemDetailField>>;
|
|
@@ -220,7 +228,6 @@ declare const dailySalesTrendsDayPartConfig: {
|
|
|
220
228
|
readonly hasFooter: true;
|
|
221
229
|
readonly dataAccessKey: "trendsByDayPart";
|
|
222
230
|
readonly sectionName: "common.report-section.sales-by-day-part";
|
|
223
|
-
readonly extraFooterFields: ["salesAmountNet"];
|
|
224
231
|
};
|
|
225
232
|
|
|
226
233
|
declare const dailySalesTrendsOrderTypeConfig: {
|
|
@@ -230,7 +237,6 @@ declare const dailySalesTrendsOrderTypeConfig: {
|
|
|
230
237
|
readonly hasFooter: true;
|
|
231
238
|
readonly dataAccessKey: "trendsByOrderType";
|
|
232
239
|
readonly sectionName: "common.report-section.sales-by-order-type";
|
|
233
|
-
readonly extraFooterFields: ["salesAmountNet"];
|
|
234
240
|
};
|
|
235
241
|
|
|
236
242
|
interface ReportSectionColumnDef {
|
|
@@ -319,4 +325,4 @@ declare const getReportFormattingLocaleOptions: (locations: {
|
|
|
319
325
|
}[]) => LocaleOption[];
|
|
320
326
|
declare const formatFieldValue: (value: unknown, type: FieldType, localeOptions: LocaleOption, fullRecord: Record<string, unknown> | null | undefined, fieldConfig: ColumnPresentationConfig | undefined, timezone: string, translationLocale: string) => string;
|
|
321
327
|
|
|
322
|
-
export { ColumnAlignment, ColumnGroupConfig, ColumnPresentationConfig, DAILY_SALES_CASH_ROW_LABELS, DAILY_SALES_REV_CLASS_FOOTER_LABELS, type DailySalesCacheField, type DailySalesDiscountsField, type DailySalesField, type DailySalesPaymentsField, type DailySalesRefundsVoidsField, type DailySalesTaxesField, type DailySalesTrendsField, type EmployeeTimecardField, type EmployeeTipField, FieldType, type FormatDateOptions, type FormatMoneyOptions, type FormatNumberOptions, type FormatTimeOptions, type ItemTaxField, type LocaleOption, MessageKey, type ModifierMixField, type ProductMixField, REPORT_SECTION_CONFIGS, ReportColumnKey, ReportConfig, type ReportSectionColumnDef, type ReportSectionDefinition, ReportType, type SalesByItemDetailField, type SalesSummaryField, type SupportedLocale, TENDER_TYPE, type TicketLiveField, type TicketSummaryField, type TimeFormat, type TipCashoutReconciliationField, buildDailySalesCashPayments, buildDailySalesRevClassFooter, buildPaymentsSectionData, calculateReportTotals, dailySalesCacheConfig, dailySalesConfig, dailySalesDiscountsConfig, dailySalesPaymentsConfig, dailySalesRefundsVoidsConfig, dailySalesTaxesConfig, dailySalesTrendsDayPartConfig, dailySalesTrendsOrderTypeConfig, employeeTimecardConfig, employeeTipConfig, formatDate, formatFieldValue, formatFixedNumber, formatInteger, formatMoney, formatMoneyWithoutSymbol, formatPercent, formatString, formatTime, getColumnAlignment, getDateToFormat, getFooterValue, getNumberToFormat, getReportFormattingLocaleOptions, isNumericType, itemTaxConfig, modifierMixConfig, productMixConfig, resolveTranslate, salesByItemDetailConfig, salesSummaryConfig, ticketLiveConfig, ticketSummaryConfig, tipCashoutReconciliationConfig };
|
|
328
|
+
export { ColumnAlignment, ColumnGroupConfig, ColumnPresentationConfig, DAILY_SALES_CASH_ROW_LABELS, DAILY_SALES_REV_CLASS_FOOTER_LABELS, type DailySalesCacheField, type DailySalesDiscountsField, type DailySalesField, type DailySalesPaymentsField, type DailySalesRefundsVoidsField, type DailySalesTaxesField, type DailySalesTrendsField, type EmployeeTimecardField, type EmployeeTipField, FieldType, type FormatDateOptions, type FormatMoneyOptions, type FormatNumberOptions, type FormatTimeOptions, type ItemTaxField, type LocaleOption, MessageKey, type ModifierMixField, type PayrollField, type ProductMixField, REPORT_SECTION_CONFIGS, ReportColumnKey, ReportConfig, type ReportSectionColumnDef, type ReportSectionDefinition, ReportType, type SalesByItemDetailField, type SalesSummaryField, type SupportedLocale, TENDER_TYPE, type TicketLiveField, type TicketSummaryField, type TimeFormat, type TipCashoutReconciliationField, buildDailySalesCashPayments, buildDailySalesRevClassFooter, buildPaymentsSectionData, calculateReportTotals, dailySalesCacheConfig, dailySalesConfig, dailySalesDiscountsConfig, dailySalesPaymentsConfig, dailySalesRefundsVoidsConfig, dailySalesTaxesConfig, dailySalesTrendsDayPartConfig, dailySalesTrendsOrderTypeConfig, employeeTimecardConfig, employeeTipConfig, formatDate, formatFieldValue, formatFixedNumber, formatInteger, formatMoney, formatMoneyWithoutSymbol, formatPercent, formatString, formatTime, getColumnAlignment, getDateToFormat, getFooterValue, getNumberToFormat, getReportFormattingLocaleOptions, isNumericType, itemTaxConfig, modifierMixConfig, payrollConfig, productMixConfig, resolveTranslate, salesByItemDetailConfig, salesSummaryConfig, ticketLiveConfig, ticketSummaryConfig, tipCashoutReconciliationConfig };
|