@harbortouch/skytab-analytics-report-utils 0.6.1 → 0.6.2
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/index.cjs +664 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +661 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
|
+
COLUMN_REGISTRY: () => COLUMN_REGISTRY,
|
|
23
24
|
DAILY_SALES_AVAILABLE_COLUMNS: () => DAILY_SALES_AVAILABLE_COLUMNS,
|
|
24
25
|
DAILY_SALES_BY_GROUP_AVAILABLE_COLUMNS: () => DAILY_SALES_BY_GROUP_AVAILABLE_COLUMNS,
|
|
25
26
|
DAILY_SALES_DEFAULT_VISIBLE_COLUMNS: () => DAILY_SALES_DEFAULT_VISIBLE_COLUMNS,
|
|
@@ -59,6 +60,8 @@ __export(index_exports, {
|
|
|
59
60
|
dailySalesTrendsConfig: () => dailySalesTrendsConfig,
|
|
60
61
|
employeeTimecardConfig: () => employeeTimecardConfig,
|
|
61
62
|
getColumnAlignment: () => getColumnAlignment,
|
|
63
|
+
getColumnExportHeaderLabel: () => getColumnExportHeaderLabel,
|
|
64
|
+
getColumnMetadata: () => getColumnMetadata,
|
|
62
65
|
getReportConfig: () => getReportConfig,
|
|
63
66
|
isNumericType: () => isNumericType,
|
|
64
67
|
itemTaxConfig: () => itemTaxConfig,
|
|
@@ -819,6 +822,664 @@ var REPORT_CONFIG_MAP = {
|
|
|
819
822
|
};
|
|
820
823
|
var getReportConfig = (reportType) => REPORT_CONFIG_MAP[reportType];
|
|
821
824
|
|
|
825
|
+
// src/columns/index.ts
|
|
826
|
+
var COLUMN_REGISTRY = {
|
|
827
|
+
fifteenMinInterval: {
|
|
828
|
+
titleKey: "common.report-col.fifteen-min-interval",
|
|
829
|
+
shortTitleKey: "common.report-col.fifteen-min-interval.short",
|
|
830
|
+
infoTextKey: "common.report-col.fifteen-min-interval.info"
|
|
831
|
+
},
|
|
832
|
+
adjustedTips: {
|
|
833
|
+
titleKey: "common.report-col.adjusted-tips",
|
|
834
|
+
shortTitleKey: "common.report-col.adjusted-tips.short",
|
|
835
|
+
infoTextKey: "common.report-col.adjusted-tips.info"
|
|
836
|
+
},
|
|
837
|
+
advantageProgram: {
|
|
838
|
+
titleKey: "common.report-col.advantage-program",
|
|
839
|
+
shortTitleKey: "common.report-col.advantage-program.short",
|
|
840
|
+
infoTextKey: "common.report-col.advantage-program.info"
|
|
841
|
+
},
|
|
842
|
+
amex: {
|
|
843
|
+
titleKey: "common.report-col.amex",
|
|
844
|
+
shortTitleKey: "common.report-col.amex.short",
|
|
845
|
+
infoTextKey: "common.report-col.amex.info"
|
|
846
|
+
},
|
|
847
|
+
amexReturns: {
|
|
848
|
+
titleKey: "common.report-col.amex-returns",
|
|
849
|
+
shortTitleKey: "common.report-col.amex-returns.short",
|
|
850
|
+
infoTextKey: "common.report-col.amex-returns.info"
|
|
851
|
+
},
|
|
852
|
+
attachRate: {
|
|
853
|
+
titleKey: "common.report-col.attach-rate",
|
|
854
|
+
shortTitleKey: "common.report-col.attach-rate.short",
|
|
855
|
+
infoTextKey: "common.report-col.attach-rate.info"
|
|
856
|
+
},
|
|
857
|
+
autoGratuity: {
|
|
858
|
+
titleKey: "common.report-col.auto-gratuity",
|
|
859
|
+
shortTitleKey: "common.report-col.auto-gratuity.short",
|
|
860
|
+
infoTextKey: "common.report-col.auto-gratuity.info"
|
|
861
|
+
},
|
|
862
|
+
averageGrossPrice: {
|
|
863
|
+
titleKey: "common.report-col.average-gross-price",
|
|
864
|
+
shortTitleKey: "common.report-col.average-gross-price.short",
|
|
865
|
+
infoTextKey: "common.report-col.average-gross-price.info"
|
|
866
|
+
},
|
|
867
|
+
bankFees: {
|
|
868
|
+
titleKey: "common.report-col.bank-fees",
|
|
869
|
+
shortTitleKey: "common.report-col.bank-fees.short",
|
|
870
|
+
infoTextKey: "common.report-col.bank-fees.info"
|
|
871
|
+
},
|
|
872
|
+
batchAmount: {
|
|
873
|
+
titleKey: "common.report-col.batch-amount",
|
|
874
|
+
shortTitleKey: "common.report-col.batch-amount.short",
|
|
875
|
+
infoTextKey: "common.report-col.batch-amount.info"
|
|
876
|
+
},
|
|
877
|
+
batchDate: {
|
|
878
|
+
titleKey: "common.report-col.batch-date",
|
|
879
|
+
shortTitleKey: "common.report-col.batch-date.short",
|
|
880
|
+
infoTextKey: "common.report-col.batch-date.info"
|
|
881
|
+
},
|
|
882
|
+
batchNumber: {
|
|
883
|
+
titleKey: "common.report-col.batch-number",
|
|
884
|
+
shortTitleKey: "common.report-col.batch-number.short",
|
|
885
|
+
infoTextKey: "common.report-col.batch-number.info"
|
|
886
|
+
},
|
|
887
|
+
clockInTime: {
|
|
888
|
+
titleKey: "common.report-col.clock-in-time",
|
|
889
|
+
shortTitleKey: "common.report-col.clock-in-time.short",
|
|
890
|
+
infoTextKey: "common.report-col.clock-in-time.info"
|
|
891
|
+
},
|
|
892
|
+
clockOutTime: {
|
|
893
|
+
titleKey: "common.report-col.clock-out-time",
|
|
894
|
+
shortTitleKey: "common.report-col.clock-out-time.short",
|
|
895
|
+
infoTextKey: "common.report-col.clock-out-time.info"
|
|
896
|
+
},
|
|
897
|
+
country: {
|
|
898
|
+
titleKey: "common.report-col.country",
|
|
899
|
+
shortTitleKey: "common.report-col.country.short",
|
|
900
|
+
infoTextKey: "common.report-col.country.info"
|
|
901
|
+
},
|
|
902
|
+
customerName: {
|
|
903
|
+
titleKey: "common.report-col.customer-name",
|
|
904
|
+
shortTitleKey: "common.report-col.customer-name.short",
|
|
905
|
+
infoTextKey: "common.report-col.customer-name.info"
|
|
906
|
+
},
|
|
907
|
+
date: {
|
|
908
|
+
titleKey: "common.report-col.date",
|
|
909
|
+
shortTitleKey: "common.report-col.date.short",
|
|
910
|
+
infoTextKey: "common.report-col.date.info"
|
|
911
|
+
},
|
|
912
|
+
dateClose: {
|
|
913
|
+
titleKey: "common.report-col.date-close",
|
|
914
|
+
shortTitleKey: "common.report-col.date-close.short",
|
|
915
|
+
infoTextKey: "common.report-col.date-close.info"
|
|
916
|
+
},
|
|
917
|
+
daypart: {
|
|
918
|
+
titleKey: "common.report-col.daypart",
|
|
919
|
+
shortTitleKey: "common.report-col.daypart.short",
|
|
920
|
+
infoTextKey: "common.report-col.daypart.info"
|
|
921
|
+
},
|
|
922
|
+
debit: {
|
|
923
|
+
titleKey: "common.report-col.debit",
|
|
924
|
+
shortTitleKey: "common.report-col.debit.short",
|
|
925
|
+
infoTextKey: "common.report-col.debit.info"
|
|
926
|
+
},
|
|
927
|
+
debitReturns: {
|
|
928
|
+
titleKey: "common.report-col.debit-returns",
|
|
929
|
+
shortTitleKey: "common.report-col.debit-returns.short",
|
|
930
|
+
infoTextKey: "common.report-col.debit-returns.info"
|
|
931
|
+
},
|
|
932
|
+
declaredTips: {
|
|
933
|
+
titleKey: "common.report-col.declared-tips",
|
|
934
|
+
shortTitleKey: "common.report-col.declared-tips.short",
|
|
935
|
+
infoTextKey: "common.report-col.declared-tips.info"
|
|
936
|
+
},
|
|
937
|
+
department: {
|
|
938
|
+
titleKey: "common.report-col.department",
|
|
939
|
+
shortTitleKey: "common.report-col.department.short",
|
|
940
|
+
infoTextKey: "common.report-col.department.info"
|
|
941
|
+
},
|
|
942
|
+
depositCurrency: {
|
|
943
|
+
titleKey: "common.report-col.deposit-currency",
|
|
944
|
+
shortTitleKey: "common.report-col.deposit-currency.short",
|
|
945
|
+
infoTextKey: "common.report-col.deposit-currency.info"
|
|
946
|
+
},
|
|
947
|
+
depositDate: {
|
|
948
|
+
titleKey: "common.report-col.deposit-date",
|
|
949
|
+
shortTitleKey: "common.report-col.deposit-date.short",
|
|
950
|
+
infoTextKey: "common.report-col.deposit-date.info"
|
|
951
|
+
},
|
|
952
|
+
discountAmount: {
|
|
953
|
+
titleKey: "common.report-col.discount-amount",
|
|
954
|
+
shortTitleKey: "common.report-col.discount-amount.short",
|
|
955
|
+
infoTextKey: "common.report-col.discount-amount.info"
|
|
956
|
+
},
|
|
957
|
+
discountCount: {
|
|
958
|
+
titleKey: "common.report-col.discount-count",
|
|
959
|
+
shortTitleKey: "common.report-col.discount-count.short",
|
|
960
|
+
infoTextKey: "common.report-col.discount-count.info"
|
|
961
|
+
},
|
|
962
|
+
discover: {
|
|
963
|
+
titleKey: "common.report-col.discover",
|
|
964
|
+
shortTitleKey: "common.report-col.discover.short",
|
|
965
|
+
infoTextKey: "common.report-col.discover.info"
|
|
966
|
+
},
|
|
967
|
+
discoverReturns: {
|
|
968
|
+
titleKey: "common.report-col.discover-returns",
|
|
969
|
+
shortTitleKey: "common.report-col.discover-returns.short",
|
|
970
|
+
infoTextKey: "common.report-col.discover-returns.info"
|
|
971
|
+
},
|
|
972
|
+
ebt: {
|
|
973
|
+
titleKey: "common.report-col.ebt",
|
|
974
|
+
shortTitleKey: "common.report-col.ebt.short",
|
|
975
|
+
infoTextKey: "common.report-col.ebt.info"
|
|
976
|
+
},
|
|
977
|
+
ebtReturns: {
|
|
978
|
+
titleKey: "common.report-col.ebt-returns",
|
|
979
|
+
shortTitleKey: "common.report-col.ebt-returns.short",
|
|
980
|
+
infoTextKey: "common.report-col.ebt-returns.info"
|
|
981
|
+
},
|
|
982
|
+
employeeId: {
|
|
983
|
+
titleKey: "common.report-col.employee-id",
|
|
984
|
+
shortTitleKey: "common.report-col.employee-id.short",
|
|
985
|
+
infoTextKey: "common.report-col.employee-id.info"
|
|
986
|
+
},
|
|
987
|
+
employeeJob: {
|
|
988
|
+
titleKey: "common.report-col.employee-job",
|
|
989
|
+
shortTitleKey: "common.report-col.employee-job.short",
|
|
990
|
+
infoTextKey: "common.report-col.employee-job.info"
|
|
991
|
+
},
|
|
992
|
+
employeeName: {
|
|
993
|
+
titleKey: "common.report-col.employee-name",
|
|
994
|
+
shortTitleKey: "common.report-col.employee-name.short",
|
|
995
|
+
infoTextKey: "common.report-col.employee-name.info"
|
|
996
|
+
},
|
|
997
|
+
exemptTaxes: {
|
|
998
|
+
titleKey: "common.report-col.exempt-taxes",
|
|
999
|
+
shortTitleKey: "common.report-col.exempt-taxes.short",
|
|
1000
|
+
infoTextKey: "common.report-col.exempt-taxes.info"
|
|
1001
|
+
},
|
|
1002
|
+
grandTotal: {
|
|
1003
|
+
titleKey: "common.report-col.grand-total",
|
|
1004
|
+
shortTitleKey: "common.report-col.grand-total.short",
|
|
1005
|
+
infoTextKey: "common.report-col.grand-total.info"
|
|
1006
|
+
},
|
|
1007
|
+
grossCashSales: {
|
|
1008
|
+
titleKey: "common.report-col.gross-cash-sales",
|
|
1009
|
+
shortTitleKey: "common.report-col.gross-cash-sales.short",
|
|
1010
|
+
infoTextKey: "common.report-col.gross-cash-sales.info"
|
|
1011
|
+
},
|
|
1012
|
+
grossCashTips: {
|
|
1013
|
+
titleKey: "common.report-col.gross-cash-tips",
|
|
1014
|
+
shortTitleKey: "common.report-col.gross-cash-tips.short",
|
|
1015
|
+
infoTextKey: "common.report-col.gross-cash-tips.info"
|
|
1016
|
+
},
|
|
1017
|
+
grossCreditCardTips: {
|
|
1018
|
+
titleKey: "common.report-col.gross-credit-card-tips",
|
|
1019
|
+
shortTitleKey: "common.report-col.gross-credit-card-tips.short",
|
|
1020
|
+
infoTextKey: "common.report-col.gross-credit-card-tips.info"
|
|
1021
|
+
},
|
|
1022
|
+
grossCreditSales: {
|
|
1023
|
+
titleKey: "common.report-col.gross-credit-sales",
|
|
1024
|
+
shortTitleKey: "common.report-col.gross-credit-sales.short",
|
|
1025
|
+
infoTextKey: "common.report-col.gross-credit-sales.info"
|
|
1026
|
+
},
|
|
1027
|
+
grossSales: {
|
|
1028
|
+
titleKey: "common.report-col.gross-sales",
|
|
1029
|
+
shortTitleKey: "common.report-col.gross-sales.short",
|
|
1030
|
+
infoTextKey: "common.report-col.gross-sales.info"
|
|
1031
|
+
},
|
|
1032
|
+
grossTips: {
|
|
1033
|
+
titleKey: "common.report-col.gross-tips",
|
|
1034
|
+
shortTitleKey: "common.report-col.gross-tips.short",
|
|
1035
|
+
infoTextKey: "common.report-col.gross-tips.info"
|
|
1036
|
+
},
|
|
1037
|
+
guestCount: {
|
|
1038
|
+
titleKey: "common.report-col.guest-count",
|
|
1039
|
+
shortTitleKey: "common.report-col.guest-count.short",
|
|
1040
|
+
infoTextKey: "common.report-col.guest-count.info"
|
|
1041
|
+
},
|
|
1042
|
+
guestsVarLw: {
|
|
1043
|
+
titleKey: "common.report-col.guests-var-lw",
|
|
1044
|
+
shortTitleKey: "common.report-col.guests-var-lw.short",
|
|
1045
|
+
infoTextKey: "common.report-col.guests-var-lw.info"
|
|
1046
|
+
},
|
|
1047
|
+
guestsVarLwPct: {
|
|
1048
|
+
titleKey: "common.report-col.guests-var-lw-pct",
|
|
1049
|
+
shortTitleKey: "common.report-col.guests-var-lw-pct.short",
|
|
1050
|
+
infoTextKey: "common.report-col.guests-var-lw-pct.info"
|
|
1051
|
+
},
|
|
1052
|
+
guestsVarLy: {
|
|
1053
|
+
titleKey: "common.report-col.guests-var-ly",
|
|
1054
|
+
shortTitleKey: "common.report-col.guests-var-ly.short",
|
|
1055
|
+
infoTextKey: "common.report-col.guests-var-ly.info"
|
|
1056
|
+
},
|
|
1057
|
+
guestsVarLyPct: {
|
|
1058
|
+
titleKey: "common.report-col.guests-var-ly-pct",
|
|
1059
|
+
shortTitleKey: "common.report-col.guests-var-ly-pct.short",
|
|
1060
|
+
infoTextKey: "common.report-col.guests-var-ly-pct.info"
|
|
1061
|
+
},
|
|
1062
|
+
hour: {
|
|
1063
|
+
titleKey: "common.report-col.hour",
|
|
1064
|
+
shortTitleKey: "common.report-col.hour.short",
|
|
1065
|
+
infoTextKey: "common.report-col.hour.info"
|
|
1066
|
+
},
|
|
1067
|
+
hoursWorked: {
|
|
1068
|
+
titleKey: "common.report-col.hours-worked",
|
|
1069
|
+
shortTitleKey: "common.report-col.hours-worked.short",
|
|
1070
|
+
infoTextKey: "common.report-col.hours-worked.info"
|
|
1071
|
+
},
|
|
1072
|
+
inclusiveTax: {
|
|
1073
|
+
titleKey: "common.report-col.inclusive-tax",
|
|
1074
|
+
shortTitleKey: "common.report-col.inclusive-tax.short",
|
|
1075
|
+
infoTextKey: "common.report-col.inclusive-tax.info"
|
|
1076
|
+
},
|
|
1077
|
+
itemName: {
|
|
1078
|
+
titleKey: "common.report-col.item-name",
|
|
1079
|
+
shortTitleKey: "common.report-col.item-name.short",
|
|
1080
|
+
infoTextKey: "common.report-col.item-name.info"
|
|
1081
|
+
},
|
|
1082
|
+
itemPrice: {
|
|
1083
|
+
titleKey: "common.report-col.item-price",
|
|
1084
|
+
shortTitleKey: "common.report-col.item-price.short",
|
|
1085
|
+
infoTextKey: "common.report-col.item-price.info"
|
|
1086
|
+
},
|
|
1087
|
+
locationCity: {
|
|
1088
|
+
titleKey: "common.report-col.location-city",
|
|
1089
|
+
shortTitleKey: "common.report-col.location-city.short",
|
|
1090
|
+
infoTextKey: "common.report-col.location-city.info"
|
|
1091
|
+
},
|
|
1092
|
+
locationId: {
|
|
1093
|
+
titleKey: "common.report-col.location-id",
|
|
1094
|
+
shortTitleKey: "common.report-col.location-id.short",
|
|
1095
|
+
infoTextKey: "common.report-col.location-id.info"
|
|
1096
|
+
},
|
|
1097
|
+
locationMid: {
|
|
1098
|
+
titleKey: "common.report-col.location-mid",
|
|
1099
|
+
shortTitleKey: "common.report-col.location-mid.short",
|
|
1100
|
+
infoTextKey: "common.report-col.location-mid.info"
|
|
1101
|
+
},
|
|
1102
|
+
locationName: {
|
|
1103
|
+
titleKey: "common.report-col.location-name",
|
|
1104
|
+
shortTitleKey: "common.report-col.location-name.short",
|
|
1105
|
+
infoTextKey: "common.report-col.location-name.info"
|
|
1106
|
+
},
|
|
1107
|
+
locationState: {
|
|
1108
|
+
titleKey: "common.report-col.location-state",
|
|
1109
|
+
shortTitleKey: "common.report-col.location-state.short",
|
|
1110
|
+
infoTextKey: "common.report-col.location-state.info"
|
|
1111
|
+
},
|
|
1112
|
+
mastercard: {
|
|
1113
|
+
titleKey: "common.report-col.mastercard",
|
|
1114
|
+
shortTitleKey: "common.report-col.mastercard.short",
|
|
1115
|
+
infoTextKey: "common.report-col.mastercard.info"
|
|
1116
|
+
},
|
|
1117
|
+
mcReturns: {
|
|
1118
|
+
titleKey: "common.report-col.mc-returns",
|
|
1119
|
+
shortTitleKey: "common.report-col.mc-returns.short",
|
|
1120
|
+
infoTextKey: "common.report-col.mc-returns.info"
|
|
1121
|
+
},
|
|
1122
|
+
modifierName: {
|
|
1123
|
+
titleKey: "common.report-col.modifier-name",
|
|
1124
|
+
shortTitleKey: "common.report-col.modifier-name.short",
|
|
1125
|
+
infoTextKey: "common.report-col.modifier-name.info"
|
|
1126
|
+
},
|
|
1127
|
+
modifierPrice: {
|
|
1128
|
+
titleKey: "common.report-col.modifier-price",
|
|
1129
|
+
shortTitleKey: "common.report-col.modifier-price.short",
|
|
1130
|
+
infoTextKey: "common.report-col.modifier-price.info"
|
|
1131
|
+
},
|
|
1132
|
+
modifierQuantity: {
|
|
1133
|
+
titleKey: "common.report-col.modifier-quantity",
|
|
1134
|
+
shortTitleKey: "common.report-col.modifier-quantity.short",
|
|
1135
|
+
infoTextKey: "common.report-col.modifier-quantity.info"
|
|
1136
|
+
},
|
|
1137
|
+
netSales: {
|
|
1138
|
+
titleKey: "common.report-col.net-sales",
|
|
1139
|
+
shortTitleKey: "common.report-col.net-sales.short",
|
|
1140
|
+
infoTextKey: "common.report-col.net-sales.info"
|
|
1141
|
+
},
|
|
1142
|
+
netTaxCollected: {
|
|
1143
|
+
titleKey: "common.report-col.net-tax-collected",
|
|
1144
|
+
shortTitleKey: "common.report-col.net-tax-collected.short",
|
|
1145
|
+
infoTextKey: "common.report-col.net-tax-collected.info"
|
|
1146
|
+
},
|
|
1147
|
+
netTips: {
|
|
1148
|
+
titleKey: "common.report-col.net-tips",
|
|
1149
|
+
shortTitleKey: "common.report-col.net-tips.short",
|
|
1150
|
+
infoTextKey: "common.report-col.net-tips.info"
|
|
1151
|
+
},
|
|
1152
|
+
numberOfGuests: {
|
|
1153
|
+
titleKey: "common.report-col.number-of-guests",
|
|
1154
|
+
shortTitleKey: "common.report-col.number-of-guests.short",
|
|
1155
|
+
infoTextKey: "common.report-col.number-of-guests.info"
|
|
1156
|
+
},
|
|
1157
|
+
orderType: {
|
|
1158
|
+
titleKey: "common.report-col.order-type",
|
|
1159
|
+
shortTitleKey: "common.report-col.order-type.short",
|
|
1160
|
+
infoTextKey: "common.report-col.order-type.info"
|
|
1161
|
+
},
|
|
1162
|
+
paymentType: {
|
|
1163
|
+
titleKey: "common.report-col.payment-type",
|
|
1164
|
+
shortTitleKey: "common.report-col.payment-type.short",
|
|
1165
|
+
infoTextKey: "common.report-col.payment-type.info"
|
|
1166
|
+
},
|
|
1167
|
+
payrollId: {
|
|
1168
|
+
titleKey: "common.report-col.payroll-id",
|
|
1169
|
+
shortTitleKey: "common.report-col.payroll-id.short",
|
|
1170
|
+
infoTextKey: "common.report-col.payroll-id.info"
|
|
1171
|
+
},
|
|
1172
|
+
quantity: {
|
|
1173
|
+
titleKey: "common.report-col.quantity",
|
|
1174
|
+
shortTitleKey: "common.report-col.quantity.short",
|
|
1175
|
+
infoTextKey: "common.report-col.quantity.info"
|
|
1176
|
+
},
|
|
1177
|
+
referenceNumber: {
|
|
1178
|
+
titleKey: "common.report-col.reference-number",
|
|
1179
|
+
shortTitleKey: "common.report-col.reference-number.short",
|
|
1180
|
+
infoTextKey: "common.report-col.reference-number.info"
|
|
1181
|
+
},
|
|
1182
|
+
refundAmount: {
|
|
1183
|
+
titleKey: "common.report-col.refund-amount",
|
|
1184
|
+
shortTitleKey: "common.report-col.refund-amount.short",
|
|
1185
|
+
infoTextKey: "common.report-col.refund-amount.info"
|
|
1186
|
+
},
|
|
1187
|
+
refundedTaxAmount: {
|
|
1188
|
+
titleKey: "common.report-col.refunded-tax-amount",
|
|
1189
|
+
shortTitleKey: "common.report-col.refunded-tax-amount.short",
|
|
1190
|
+
infoTextKey: "common.report-col.refunded-tax-amount.info"
|
|
1191
|
+
},
|
|
1192
|
+
revenueCenter: {
|
|
1193
|
+
titleKey: "common.report-col.revenue-center",
|
|
1194
|
+
shortTitleKey: "common.report-col.revenue-center.short",
|
|
1195
|
+
infoTextKey: "common.report-col.revenue-center.info"
|
|
1196
|
+
},
|
|
1197
|
+
revenueClass: {
|
|
1198
|
+
titleKey: "common.report-col.revenue-class",
|
|
1199
|
+
shortTitleKey: "common.report-col.revenue-class.short",
|
|
1200
|
+
infoTextKey: "common.report-col.revenue-class.info"
|
|
1201
|
+
},
|
|
1202
|
+
salesVarLw: {
|
|
1203
|
+
titleKey: "common.report-col.sales-var-lw",
|
|
1204
|
+
shortTitleKey: "common.report-col.sales-var-lw.short",
|
|
1205
|
+
infoTextKey: "common.report-col.sales-var-lw.info"
|
|
1206
|
+
},
|
|
1207
|
+
salesVarLwPct: {
|
|
1208
|
+
titleKey: "common.report-col.sales-var-lw-pct",
|
|
1209
|
+
shortTitleKey: "common.report-col.sales-var-lw-pct.short",
|
|
1210
|
+
infoTextKey: "common.report-col.sales-var-lw-pct.info"
|
|
1211
|
+
},
|
|
1212
|
+
salesVarLy: {
|
|
1213
|
+
titleKey: "common.report-col.sales-var-ly",
|
|
1214
|
+
shortTitleKey: "common.report-col.sales-var-ly.short",
|
|
1215
|
+
infoTextKey: "common.report-col.sales-var-ly.info"
|
|
1216
|
+
},
|
|
1217
|
+
salesVarLyPct: {
|
|
1218
|
+
titleKey: "common.report-col.sales-var-ly-pct",
|
|
1219
|
+
shortTitleKey: "common.report-col.sales-var-ly-pct.short",
|
|
1220
|
+
infoTextKey: "common.report-col.sales-var-ly-pct.info"
|
|
1221
|
+
},
|
|
1222
|
+
salesMixByPct: {
|
|
1223
|
+
titleKey: "common.report-col.sales-mix-by-pct",
|
|
1224
|
+
shortTitleKey: "common.report-col.sales-mix-by-pct.short",
|
|
1225
|
+
infoTextKey: "common.report-col.sales-mix-by-pct.info"
|
|
1226
|
+
},
|
|
1227
|
+
salesPerGuest: {
|
|
1228
|
+
titleKey: "common.report-col.sales-per-guest",
|
|
1229
|
+
shortTitleKey: "common.report-col.sales-per-guest.short",
|
|
1230
|
+
infoTextKey: "common.report-col.sales-per-guest.info"
|
|
1231
|
+
},
|
|
1232
|
+
salesPerGuestLw: {
|
|
1233
|
+
titleKey: "common.report-col.sales-per-guest-lw",
|
|
1234
|
+
shortTitleKey: "common.report-col.sales-per-guest-lw.short",
|
|
1235
|
+
infoTextKey: "common.report-col.sales-per-guest-lw.info"
|
|
1236
|
+
},
|
|
1237
|
+
salesPerGuestLy: {
|
|
1238
|
+
titleKey: "common.report-col.sales-per-guest-ly",
|
|
1239
|
+
shortTitleKey: "common.report-col.sales-per-guest-ly.short",
|
|
1240
|
+
infoTextKey: "common.report-col.sales-per-guest-ly.info"
|
|
1241
|
+
},
|
|
1242
|
+
scheduledShiftEnd: {
|
|
1243
|
+
titleKey: "common.report-col.scheduled-shift-end",
|
|
1244
|
+
shortTitleKey: "common.report-col.scheduled-shift-end.short",
|
|
1245
|
+
infoTextKey: "common.report-col.scheduled-shift-end.info"
|
|
1246
|
+
},
|
|
1247
|
+
scheduledShiftStart: {
|
|
1248
|
+
titleKey: "common.report-col.scheduled-shift-start",
|
|
1249
|
+
shortTitleKey: "common.report-col.scheduled-shift-start.short",
|
|
1250
|
+
infoTextKey: "common.report-col.scheduled-shift-start.info"
|
|
1251
|
+
},
|
|
1252
|
+
settlementBatchDate: {
|
|
1253
|
+
titleKey: "common.report-col.settlement-batch-date",
|
|
1254
|
+
shortTitleKey: "common.report-col.settlement-batch-date.short",
|
|
1255
|
+
infoTextKey: "common.report-col.settlement-batch-date.info"
|
|
1256
|
+
},
|
|
1257
|
+
shiftDurationHrs: {
|
|
1258
|
+
titleKey: "common.report-col.shift-duration-hrs",
|
|
1259
|
+
shortTitleKey: "common.report-col.shift-duration-hrs.short",
|
|
1260
|
+
infoTextKey: "common.report-col.shift-duration-hrs.info"
|
|
1261
|
+
},
|
|
1262
|
+
salePaymentType: {
|
|
1263
|
+
titleKey: "common.report-col.sale-payment-type",
|
|
1264
|
+
shortTitleKey: "common.report-col.sale-payment-type.short",
|
|
1265
|
+
infoTextKey: "common.report-col.sale-payment-type.info"
|
|
1266
|
+
},
|
|
1267
|
+
status: {
|
|
1268
|
+
titleKey: "common.report-col.status",
|
|
1269
|
+
shortTitleKey: "common.report-col.status.short",
|
|
1270
|
+
infoTextKey: "common.report-col.status.info"
|
|
1271
|
+
},
|
|
1272
|
+
subtotal: {
|
|
1273
|
+
titleKey: "common.report-col.subtotal",
|
|
1274
|
+
shortTitleKey: "common.report-col.subtotal.short",
|
|
1275
|
+
infoTextKey: "common.report-col.subtotal.info"
|
|
1276
|
+
},
|
|
1277
|
+
taxCollected: {
|
|
1278
|
+
titleKey: "common.report-col.tax-collected",
|
|
1279
|
+
shortTitleKey: "common.report-col.tax-collected.short",
|
|
1280
|
+
infoTextKey: "common.report-col.tax-collected.info"
|
|
1281
|
+
},
|
|
1282
|
+
taxName: {
|
|
1283
|
+
titleKey: "common.report-col.tax-name",
|
|
1284
|
+
shortTitleKey: "common.report-col.tax-name.short",
|
|
1285
|
+
infoTextKey: "common.report-col.tax-name.info"
|
|
1286
|
+
},
|
|
1287
|
+
taxRate: {
|
|
1288
|
+
titleKey: "common.report-col.tax-rate",
|
|
1289
|
+
shortTitleKey: "common.report-col.tax-rate.short",
|
|
1290
|
+
infoTextKey: "common.report-col.tax-rate.info"
|
|
1291
|
+
},
|
|
1292
|
+
taxableSales: {
|
|
1293
|
+
titleKey: "common.report-col.taxable-sales",
|
|
1294
|
+
shortTitleKey: "common.report-col.taxable-sales.short",
|
|
1295
|
+
infoTextKey: "common.report-col.taxable-sales.info"
|
|
1296
|
+
},
|
|
1297
|
+
ticketClosed: {
|
|
1298
|
+
titleKey: "common.report-col.ticket-closed",
|
|
1299
|
+
shortTitleKey: "common.report-col.ticket-closed.short",
|
|
1300
|
+
infoTextKey: "common.report-col.ticket-closed.info"
|
|
1301
|
+
},
|
|
1302
|
+
ticketFee: {
|
|
1303
|
+
titleKey: "common.report-col.ticket-fee",
|
|
1304
|
+
shortTitleKey: "common.report-col.ticket-fee.short",
|
|
1305
|
+
infoTextKey: "common.report-col.ticket-fee.info"
|
|
1306
|
+
},
|
|
1307
|
+
ticketNumber: {
|
|
1308
|
+
titleKey: "common.report-col.ticket-number",
|
|
1309
|
+
shortTitleKey: "common.report-col.ticket-number.short",
|
|
1310
|
+
infoTextKey: "common.report-col.ticket-number.info"
|
|
1311
|
+
},
|
|
1312
|
+
ticketOpen: {
|
|
1313
|
+
titleKey: "common.report-col.ticket-open",
|
|
1314
|
+
shortTitleKey: "common.report-col.ticket-open.short",
|
|
1315
|
+
infoTextKey: "common.report-col.ticket-open.info"
|
|
1316
|
+
},
|
|
1317
|
+
ticketTotal: {
|
|
1318
|
+
titleKey: "common.report-col.ticket-total",
|
|
1319
|
+
shortTitleKey: "common.report-col.ticket-total.short",
|
|
1320
|
+
infoTextKey: "common.report-col.ticket-total.info"
|
|
1321
|
+
},
|
|
1322
|
+
timeOpenMins: {
|
|
1323
|
+
titleKey: "common.report-col.time-open-mins",
|
|
1324
|
+
shortTitleKey: "common.report-col.time-open-mins.short",
|
|
1325
|
+
infoTextKey: "common.report-col.time-open-mins.info"
|
|
1326
|
+
},
|
|
1327
|
+
tipPct: {
|
|
1328
|
+
titleKey: "common.report-col.tip-pct",
|
|
1329
|
+
shortTitleKey: "common.report-col.tip-pct.short",
|
|
1330
|
+
infoTextKey: "common.report-col.tip-pct.info"
|
|
1331
|
+
},
|
|
1332
|
+
tipReduction: {
|
|
1333
|
+
titleKey: "common.report-col.tip-reduction",
|
|
1334
|
+
shortTitleKey: "common.report-col.tip-reduction.short",
|
|
1335
|
+
infoTextKey: "common.report-col.tip-reduction.info"
|
|
1336
|
+
},
|
|
1337
|
+
tipShare: {
|
|
1338
|
+
titleKey: "common.report-col.tip-share",
|
|
1339
|
+
shortTitleKey: "common.report-col.tip-share.short",
|
|
1340
|
+
infoTextKey: "common.report-col.tip-share.info"
|
|
1341
|
+
},
|
|
1342
|
+
tips: {
|
|
1343
|
+
titleKey: "common.report-col.tips",
|
|
1344
|
+
shortTitleKey: "common.report-col.tips.short",
|
|
1345
|
+
infoTextKey: "common.report-col.tips.info"
|
|
1346
|
+
},
|
|
1347
|
+
tipsPerHour: {
|
|
1348
|
+
titleKey: "common.report-col.tips-per-hour",
|
|
1349
|
+
shortTitleKey: "common.report-col.tips-per-hour.short",
|
|
1350
|
+
infoTextKey: "common.report-col.tips-per-hour.info"
|
|
1351
|
+
},
|
|
1352
|
+
totalCollected: {
|
|
1353
|
+
titleKey: "common.report-col.total-collected",
|
|
1354
|
+
shortTitleKey: "common.report-col.total-collected.short",
|
|
1355
|
+
infoTextKey: "common.report-col.total-collected.info"
|
|
1356
|
+
},
|
|
1357
|
+
totalItemSales: {
|
|
1358
|
+
titleKey: "common.report-col.total-item-sales",
|
|
1359
|
+
shortTitleKey: "common.report-col.total-item-sales.short",
|
|
1360
|
+
infoTextKey: "common.report-col.total-item-sales.info"
|
|
1361
|
+
},
|
|
1362
|
+
totalModifierSales: {
|
|
1363
|
+
titleKey: "common.report-col.total-modifier-sales",
|
|
1364
|
+
shortTitleKey: "common.report-col.total-modifier-sales.short",
|
|
1365
|
+
infoTextKey: "common.report-col.total-modifier-sales.info"
|
|
1366
|
+
},
|
|
1367
|
+
totalReturns: {
|
|
1368
|
+
titleKey: "common.report-col.total-returns",
|
|
1369
|
+
shortTitleKey: "common.report-col.total-returns.short",
|
|
1370
|
+
infoTextKey: "common.report-col.total-returns.info"
|
|
1371
|
+
},
|
|
1372
|
+
totalSales: {
|
|
1373
|
+
titleKey: "common.report-col.total-sales",
|
|
1374
|
+
shortTitleKey: "common.report-col.total-sales.short",
|
|
1375
|
+
infoTextKey: "common.report-col.total-sales.info"
|
|
1376
|
+
},
|
|
1377
|
+
totalTips: {
|
|
1378
|
+
titleKey: "common.report-col.total-tips",
|
|
1379
|
+
shortTitleKey: "common.report-col.total-tips.short",
|
|
1380
|
+
infoTextKey: "common.report-col.total-tips.info"
|
|
1381
|
+
},
|
|
1382
|
+
transactionDate: {
|
|
1383
|
+
titleKey: "common.report-col.transaction-date",
|
|
1384
|
+
shortTitleKey: "common.report-col.transaction-date.short",
|
|
1385
|
+
infoTextKey: "common.report-col.transaction-date.info"
|
|
1386
|
+
},
|
|
1387
|
+
transactionType: {
|
|
1388
|
+
titleKey: "common.report-col.transaction-type",
|
|
1389
|
+
shortTitleKey: "common.report-col.transaction-type.short",
|
|
1390
|
+
infoTextKey: "common.report-col.transaction-type.info"
|
|
1391
|
+
},
|
|
1392
|
+
untaxedSales: {
|
|
1393
|
+
titleKey: "common.report-col.untaxed-sales",
|
|
1394
|
+
shortTitleKey: "common.report-col.untaxed-sales.short",
|
|
1395
|
+
infoTextKey: "common.report-col.untaxed-sales.info"
|
|
1396
|
+
},
|
|
1397
|
+
visa: {
|
|
1398
|
+
titleKey: "common.report-col.visa",
|
|
1399
|
+
shortTitleKey: "common.report-col.visa.short",
|
|
1400
|
+
infoTextKey: "common.report-col.visa.info"
|
|
1401
|
+
},
|
|
1402
|
+
visaReturns: {
|
|
1403
|
+
titleKey: "common.report-col.visa-returns",
|
|
1404
|
+
shortTitleKey: "common.report-col.visa-returns.short",
|
|
1405
|
+
infoTextKey: "common.report-col.visa-returns.info"
|
|
1406
|
+
},
|
|
1407
|
+
paymentsCount: {
|
|
1408
|
+
titleKey: "common.report-col.payments-count",
|
|
1409
|
+
shortTitleKey: "common.report-col.payments-count.short",
|
|
1410
|
+
infoTextKey: "common.report-col.payments-count.info"
|
|
1411
|
+
},
|
|
1412
|
+
paymentsAmount: {
|
|
1413
|
+
titleKey: "common.report-col.payments-amount",
|
|
1414
|
+
shortTitleKey: "common.report-col.payments-amount.short",
|
|
1415
|
+
infoTextKey: "common.report-col.payments-amount.info"
|
|
1416
|
+
},
|
|
1417
|
+
paymentsTotal: {
|
|
1418
|
+
titleKey: "common.report-col.payments-total",
|
|
1419
|
+
shortTitleKey: "common.report-col.payments-total.short",
|
|
1420
|
+
infoTextKey: "common.report-col.payments-total.info"
|
|
1421
|
+
},
|
|
1422
|
+
refundVoidDescription: {
|
|
1423
|
+
titleKey: "common.report-col.refund-void-description",
|
|
1424
|
+
shortTitleKey: "common.report-col.refund-void-description.short",
|
|
1425
|
+
infoTextKey: "common.report-col.refund-void-description.info"
|
|
1426
|
+
},
|
|
1427
|
+
refundVoidCount: {
|
|
1428
|
+
titleKey: "common.report-col.refund-void-count",
|
|
1429
|
+
shortTitleKey: "common.report-col.refund-void-count.short",
|
|
1430
|
+
infoTextKey: "common.report-col.refund-void-count.info"
|
|
1431
|
+
},
|
|
1432
|
+
refundVoidAmount: {
|
|
1433
|
+
titleKey: "common.report-col.refund-void-amount",
|
|
1434
|
+
shortTitleKey: "common.report-col.refund-void-amount.short",
|
|
1435
|
+
infoTextKey: "common.report-col.refund-void-amount.info"
|
|
1436
|
+
},
|
|
1437
|
+
refundVoidPctSales: {
|
|
1438
|
+
titleKey: "common.report-col.refund-void-pct-sales",
|
|
1439
|
+
shortTitleKey: "common.report-col.refund-void-pct-sales.short",
|
|
1440
|
+
infoTextKey: "common.report-col.refund-void-pct-sales.info"
|
|
1441
|
+
},
|
|
1442
|
+
discountName: {
|
|
1443
|
+
titleKey: "common.report-col.discount-name",
|
|
1444
|
+
shortTitleKey: "common.report-col.discount-name.short",
|
|
1445
|
+
infoTextKey: "common.report-col.discount-name.info"
|
|
1446
|
+
},
|
|
1447
|
+
tickets: {
|
|
1448
|
+
titleKey: "common.report-col.tickets",
|
|
1449
|
+
shortTitleKey: "common.report-col.tickets.short",
|
|
1450
|
+
infoTextKey: "common.report-col.tickets.info"
|
|
1451
|
+
},
|
|
1452
|
+
guests: {
|
|
1453
|
+
titleKey: "common.report-col.guests",
|
|
1454
|
+
shortTitleKey: "common.report-col.guests.short",
|
|
1455
|
+
infoTextKey: "common.report-col.guests.info"
|
|
1456
|
+
},
|
|
1457
|
+
ticketAverage: {
|
|
1458
|
+
titleKey: "common.report-col.ticket-average",
|
|
1459
|
+
shortTitleKey: "common.report-col.ticket-average.short",
|
|
1460
|
+
infoTextKey: "common.report-col.ticket-average.info"
|
|
1461
|
+
},
|
|
1462
|
+
guestAverage: {
|
|
1463
|
+
titleKey: "common.report-col.guest-average",
|
|
1464
|
+
shortTitleKey: "common.report-col.guest-average.short",
|
|
1465
|
+
infoTextKey: "common.report-col.guest-average.info"
|
|
1466
|
+
},
|
|
1467
|
+
net: {
|
|
1468
|
+
titleKey: "common.report-col.net",
|
|
1469
|
+
shortTitleKey: "common.report-col.net.short",
|
|
1470
|
+
infoTextKey: "common.report-col.net.info"
|
|
1471
|
+
}
|
|
1472
|
+
};
|
|
1473
|
+
function getColumnMetadata(key) {
|
|
1474
|
+
return COLUMN_REGISTRY[key];
|
|
1475
|
+
}
|
|
1476
|
+
function getColumnExportHeaderLabel(colTitle, groupTitle) {
|
|
1477
|
+
if (groupTitle) {
|
|
1478
|
+
return `${groupTitle}: ${colTitle}`;
|
|
1479
|
+
}
|
|
1480
|
+
return colTitle;
|
|
1481
|
+
}
|
|
1482
|
+
|
|
822
1483
|
// src/utils/alignment.ts
|
|
823
1484
|
function getColumnAlignment(type) {
|
|
824
1485
|
if (type === "string" || type === "date" || type === "time") {
|
|
@@ -928,6 +1589,7 @@ var dailySalesTaxesConfig = {
|
|
|
928
1589
|
};
|
|
929
1590
|
// Annotate the CommonJS export names for ESM import in node:
|
|
930
1591
|
0 && (module.exports = {
|
|
1592
|
+
COLUMN_REGISTRY,
|
|
931
1593
|
DAILY_SALES_AVAILABLE_COLUMNS,
|
|
932
1594
|
DAILY_SALES_BY_GROUP_AVAILABLE_COLUMNS,
|
|
933
1595
|
DAILY_SALES_DEFAULT_VISIBLE_COLUMNS,
|
|
@@ -967,6 +1629,8 @@ var dailySalesTaxesConfig = {
|
|
|
967
1629
|
dailySalesTrendsConfig,
|
|
968
1630
|
employeeTimecardConfig,
|
|
969
1631
|
getColumnAlignment,
|
|
1632
|
+
getColumnExportHeaderLabel,
|
|
1633
|
+
getColumnMetadata,
|
|
970
1634
|
getReportConfig,
|
|
971
1635
|
isNumericType,
|
|
972
1636
|
itemTaxConfig,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type { FieldType, ColumnAlignment, FooterCalculationType, FooterCalculation, ColumnPresentationConfig, ColumnGroupConfig, ReportConfig, } from './types';
|
|
2
2
|
export { type ReportType, Report, getReportConfig } from './report';
|
|
3
|
-
export type
|
|
3
|
+
export { type ReportColumnKey, type ColumnMetadata, COLUMN_REGISTRY, getColumnMetadata, getColumnExportHeaderLabel, } from './columns';
|
|
4
4
|
export { getColumnAlignment, isNumericType } from './utils/alignment';
|
|
5
5
|
export { calculateReportTotals } from './totals';
|
|
6
6
|
export type { CalculateReportTotalsOptions } from './totals';
|
package/dist/index.js
CHANGED
|
@@ -746,6 +746,664 @@ var REPORT_CONFIG_MAP = {
|
|
|
746
746
|
};
|
|
747
747
|
var getReportConfig = (reportType) => REPORT_CONFIG_MAP[reportType];
|
|
748
748
|
|
|
749
|
+
// src/columns/index.ts
|
|
750
|
+
var COLUMN_REGISTRY = {
|
|
751
|
+
fifteenMinInterval: {
|
|
752
|
+
titleKey: "common.report-col.fifteen-min-interval",
|
|
753
|
+
shortTitleKey: "common.report-col.fifteen-min-interval.short",
|
|
754
|
+
infoTextKey: "common.report-col.fifteen-min-interval.info"
|
|
755
|
+
},
|
|
756
|
+
adjustedTips: {
|
|
757
|
+
titleKey: "common.report-col.adjusted-tips",
|
|
758
|
+
shortTitleKey: "common.report-col.adjusted-tips.short",
|
|
759
|
+
infoTextKey: "common.report-col.adjusted-tips.info"
|
|
760
|
+
},
|
|
761
|
+
advantageProgram: {
|
|
762
|
+
titleKey: "common.report-col.advantage-program",
|
|
763
|
+
shortTitleKey: "common.report-col.advantage-program.short",
|
|
764
|
+
infoTextKey: "common.report-col.advantage-program.info"
|
|
765
|
+
},
|
|
766
|
+
amex: {
|
|
767
|
+
titleKey: "common.report-col.amex",
|
|
768
|
+
shortTitleKey: "common.report-col.amex.short",
|
|
769
|
+
infoTextKey: "common.report-col.amex.info"
|
|
770
|
+
},
|
|
771
|
+
amexReturns: {
|
|
772
|
+
titleKey: "common.report-col.amex-returns",
|
|
773
|
+
shortTitleKey: "common.report-col.amex-returns.short",
|
|
774
|
+
infoTextKey: "common.report-col.amex-returns.info"
|
|
775
|
+
},
|
|
776
|
+
attachRate: {
|
|
777
|
+
titleKey: "common.report-col.attach-rate",
|
|
778
|
+
shortTitleKey: "common.report-col.attach-rate.short",
|
|
779
|
+
infoTextKey: "common.report-col.attach-rate.info"
|
|
780
|
+
},
|
|
781
|
+
autoGratuity: {
|
|
782
|
+
titleKey: "common.report-col.auto-gratuity",
|
|
783
|
+
shortTitleKey: "common.report-col.auto-gratuity.short",
|
|
784
|
+
infoTextKey: "common.report-col.auto-gratuity.info"
|
|
785
|
+
},
|
|
786
|
+
averageGrossPrice: {
|
|
787
|
+
titleKey: "common.report-col.average-gross-price",
|
|
788
|
+
shortTitleKey: "common.report-col.average-gross-price.short",
|
|
789
|
+
infoTextKey: "common.report-col.average-gross-price.info"
|
|
790
|
+
},
|
|
791
|
+
bankFees: {
|
|
792
|
+
titleKey: "common.report-col.bank-fees",
|
|
793
|
+
shortTitleKey: "common.report-col.bank-fees.short",
|
|
794
|
+
infoTextKey: "common.report-col.bank-fees.info"
|
|
795
|
+
},
|
|
796
|
+
batchAmount: {
|
|
797
|
+
titleKey: "common.report-col.batch-amount",
|
|
798
|
+
shortTitleKey: "common.report-col.batch-amount.short",
|
|
799
|
+
infoTextKey: "common.report-col.batch-amount.info"
|
|
800
|
+
},
|
|
801
|
+
batchDate: {
|
|
802
|
+
titleKey: "common.report-col.batch-date",
|
|
803
|
+
shortTitleKey: "common.report-col.batch-date.short",
|
|
804
|
+
infoTextKey: "common.report-col.batch-date.info"
|
|
805
|
+
},
|
|
806
|
+
batchNumber: {
|
|
807
|
+
titleKey: "common.report-col.batch-number",
|
|
808
|
+
shortTitleKey: "common.report-col.batch-number.short",
|
|
809
|
+
infoTextKey: "common.report-col.batch-number.info"
|
|
810
|
+
},
|
|
811
|
+
clockInTime: {
|
|
812
|
+
titleKey: "common.report-col.clock-in-time",
|
|
813
|
+
shortTitleKey: "common.report-col.clock-in-time.short",
|
|
814
|
+
infoTextKey: "common.report-col.clock-in-time.info"
|
|
815
|
+
},
|
|
816
|
+
clockOutTime: {
|
|
817
|
+
titleKey: "common.report-col.clock-out-time",
|
|
818
|
+
shortTitleKey: "common.report-col.clock-out-time.short",
|
|
819
|
+
infoTextKey: "common.report-col.clock-out-time.info"
|
|
820
|
+
},
|
|
821
|
+
country: {
|
|
822
|
+
titleKey: "common.report-col.country",
|
|
823
|
+
shortTitleKey: "common.report-col.country.short",
|
|
824
|
+
infoTextKey: "common.report-col.country.info"
|
|
825
|
+
},
|
|
826
|
+
customerName: {
|
|
827
|
+
titleKey: "common.report-col.customer-name",
|
|
828
|
+
shortTitleKey: "common.report-col.customer-name.short",
|
|
829
|
+
infoTextKey: "common.report-col.customer-name.info"
|
|
830
|
+
},
|
|
831
|
+
date: {
|
|
832
|
+
titleKey: "common.report-col.date",
|
|
833
|
+
shortTitleKey: "common.report-col.date.short",
|
|
834
|
+
infoTextKey: "common.report-col.date.info"
|
|
835
|
+
},
|
|
836
|
+
dateClose: {
|
|
837
|
+
titleKey: "common.report-col.date-close",
|
|
838
|
+
shortTitleKey: "common.report-col.date-close.short",
|
|
839
|
+
infoTextKey: "common.report-col.date-close.info"
|
|
840
|
+
},
|
|
841
|
+
daypart: {
|
|
842
|
+
titleKey: "common.report-col.daypart",
|
|
843
|
+
shortTitleKey: "common.report-col.daypart.short",
|
|
844
|
+
infoTextKey: "common.report-col.daypart.info"
|
|
845
|
+
},
|
|
846
|
+
debit: {
|
|
847
|
+
titleKey: "common.report-col.debit",
|
|
848
|
+
shortTitleKey: "common.report-col.debit.short",
|
|
849
|
+
infoTextKey: "common.report-col.debit.info"
|
|
850
|
+
},
|
|
851
|
+
debitReturns: {
|
|
852
|
+
titleKey: "common.report-col.debit-returns",
|
|
853
|
+
shortTitleKey: "common.report-col.debit-returns.short",
|
|
854
|
+
infoTextKey: "common.report-col.debit-returns.info"
|
|
855
|
+
},
|
|
856
|
+
declaredTips: {
|
|
857
|
+
titleKey: "common.report-col.declared-tips",
|
|
858
|
+
shortTitleKey: "common.report-col.declared-tips.short",
|
|
859
|
+
infoTextKey: "common.report-col.declared-tips.info"
|
|
860
|
+
},
|
|
861
|
+
department: {
|
|
862
|
+
titleKey: "common.report-col.department",
|
|
863
|
+
shortTitleKey: "common.report-col.department.short",
|
|
864
|
+
infoTextKey: "common.report-col.department.info"
|
|
865
|
+
},
|
|
866
|
+
depositCurrency: {
|
|
867
|
+
titleKey: "common.report-col.deposit-currency",
|
|
868
|
+
shortTitleKey: "common.report-col.deposit-currency.short",
|
|
869
|
+
infoTextKey: "common.report-col.deposit-currency.info"
|
|
870
|
+
},
|
|
871
|
+
depositDate: {
|
|
872
|
+
titleKey: "common.report-col.deposit-date",
|
|
873
|
+
shortTitleKey: "common.report-col.deposit-date.short",
|
|
874
|
+
infoTextKey: "common.report-col.deposit-date.info"
|
|
875
|
+
},
|
|
876
|
+
discountAmount: {
|
|
877
|
+
titleKey: "common.report-col.discount-amount",
|
|
878
|
+
shortTitleKey: "common.report-col.discount-amount.short",
|
|
879
|
+
infoTextKey: "common.report-col.discount-amount.info"
|
|
880
|
+
},
|
|
881
|
+
discountCount: {
|
|
882
|
+
titleKey: "common.report-col.discount-count",
|
|
883
|
+
shortTitleKey: "common.report-col.discount-count.short",
|
|
884
|
+
infoTextKey: "common.report-col.discount-count.info"
|
|
885
|
+
},
|
|
886
|
+
discover: {
|
|
887
|
+
titleKey: "common.report-col.discover",
|
|
888
|
+
shortTitleKey: "common.report-col.discover.short",
|
|
889
|
+
infoTextKey: "common.report-col.discover.info"
|
|
890
|
+
},
|
|
891
|
+
discoverReturns: {
|
|
892
|
+
titleKey: "common.report-col.discover-returns",
|
|
893
|
+
shortTitleKey: "common.report-col.discover-returns.short",
|
|
894
|
+
infoTextKey: "common.report-col.discover-returns.info"
|
|
895
|
+
},
|
|
896
|
+
ebt: {
|
|
897
|
+
titleKey: "common.report-col.ebt",
|
|
898
|
+
shortTitleKey: "common.report-col.ebt.short",
|
|
899
|
+
infoTextKey: "common.report-col.ebt.info"
|
|
900
|
+
},
|
|
901
|
+
ebtReturns: {
|
|
902
|
+
titleKey: "common.report-col.ebt-returns",
|
|
903
|
+
shortTitleKey: "common.report-col.ebt-returns.short",
|
|
904
|
+
infoTextKey: "common.report-col.ebt-returns.info"
|
|
905
|
+
},
|
|
906
|
+
employeeId: {
|
|
907
|
+
titleKey: "common.report-col.employee-id",
|
|
908
|
+
shortTitleKey: "common.report-col.employee-id.short",
|
|
909
|
+
infoTextKey: "common.report-col.employee-id.info"
|
|
910
|
+
},
|
|
911
|
+
employeeJob: {
|
|
912
|
+
titleKey: "common.report-col.employee-job",
|
|
913
|
+
shortTitleKey: "common.report-col.employee-job.short",
|
|
914
|
+
infoTextKey: "common.report-col.employee-job.info"
|
|
915
|
+
},
|
|
916
|
+
employeeName: {
|
|
917
|
+
titleKey: "common.report-col.employee-name",
|
|
918
|
+
shortTitleKey: "common.report-col.employee-name.short",
|
|
919
|
+
infoTextKey: "common.report-col.employee-name.info"
|
|
920
|
+
},
|
|
921
|
+
exemptTaxes: {
|
|
922
|
+
titleKey: "common.report-col.exempt-taxes",
|
|
923
|
+
shortTitleKey: "common.report-col.exempt-taxes.short",
|
|
924
|
+
infoTextKey: "common.report-col.exempt-taxes.info"
|
|
925
|
+
},
|
|
926
|
+
grandTotal: {
|
|
927
|
+
titleKey: "common.report-col.grand-total",
|
|
928
|
+
shortTitleKey: "common.report-col.grand-total.short",
|
|
929
|
+
infoTextKey: "common.report-col.grand-total.info"
|
|
930
|
+
},
|
|
931
|
+
grossCashSales: {
|
|
932
|
+
titleKey: "common.report-col.gross-cash-sales",
|
|
933
|
+
shortTitleKey: "common.report-col.gross-cash-sales.short",
|
|
934
|
+
infoTextKey: "common.report-col.gross-cash-sales.info"
|
|
935
|
+
},
|
|
936
|
+
grossCashTips: {
|
|
937
|
+
titleKey: "common.report-col.gross-cash-tips",
|
|
938
|
+
shortTitleKey: "common.report-col.gross-cash-tips.short",
|
|
939
|
+
infoTextKey: "common.report-col.gross-cash-tips.info"
|
|
940
|
+
},
|
|
941
|
+
grossCreditCardTips: {
|
|
942
|
+
titleKey: "common.report-col.gross-credit-card-tips",
|
|
943
|
+
shortTitleKey: "common.report-col.gross-credit-card-tips.short",
|
|
944
|
+
infoTextKey: "common.report-col.gross-credit-card-tips.info"
|
|
945
|
+
},
|
|
946
|
+
grossCreditSales: {
|
|
947
|
+
titleKey: "common.report-col.gross-credit-sales",
|
|
948
|
+
shortTitleKey: "common.report-col.gross-credit-sales.short",
|
|
949
|
+
infoTextKey: "common.report-col.gross-credit-sales.info"
|
|
950
|
+
},
|
|
951
|
+
grossSales: {
|
|
952
|
+
titleKey: "common.report-col.gross-sales",
|
|
953
|
+
shortTitleKey: "common.report-col.gross-sales.short",
|
|
954
|
+
infoTextKey: "common.report-col.gross-sales.info"
|
|
955
|
+
},
|
|
956
|
+
grossTips: {
|
|
957
|
+
titleKey: "common.report-col.gross-tips",
|
|
958
|
+
shortTitleKey: "common.report-col.gross-tips.short",
|
|
959
|
+
infoTextKey: "common.report-col.gross-tips.info"
|
|
960
|
+
},
|
|
961
|
+
guestCount: {
|
|
962
|
+
titleKey: "common.report-col.guest-count",
|
|
963
|
+
shortTitleKey: "common.report-col.guest-count.short",
|
|
964
|
+
infoTextKey: "common.report-col.guest-count.info"
|
|
965
|
+
},
|
|
966
|
+
guestsVarLw: {
|
|
967
|
+
titleKey: "common.report-col.guests-var-lw",
|
|
968
|
+
shortTitleKey: "common.report-col.guests-var-lw.short",
|
|
969
|
+
infoTextKey: "common.report-col.guests-var-lw.info"
|
|
970
|
+
},
|
|
971
|
+
guestsVarLwPct: {
|
|
972
|
+
titleKey: "common.report-col.guests-var-lw-pct",
|
|
973
|
+
shortTitleKey: "common.report-col.guests-var-lw-pct.short",
|
|
974
|
+
infoTextKey: "common.report-col.guests-var-lw-pct.info"
|
|
975
|
+
},
|
|
976
|
+
guestsVarLy: {
|
|
977
|
+
titleKey: "common.report-col.guests-var-ly",
|
|
978
|
+
shortTitleKey: "common.report-col.guests-var-ly.short",
|
|
979
|
+
infoTextKey: "common.report-col.guests-var-ly.info"
|
|
980
|
+
},
|
|
981
|
+
guestsVarLyPct: {
|
|
982
|
+
titleKey: "common.report-col.guests-var-ly-pct",
|
|
983
|
+
shortTitleKey: "common.report-col.guests-var-ly-pct.short",
|
|
984
|
+
infoTextKey: "common.report-col.guests-var-ly-pct.info"
|
|
985
|
+
},
|
|
986
|
+
hour: {
|
|
987
|
+
titleKey: "common.report-col.hour",
|
|
988
|
+
shortTitleKey: "common.report-col.hour.short",
|
|
989
|
+
infoTextKey: "common.report-col.hour.info"
|
|
990
|
+
},
|
|
991
|
+
hoursWorked: {
|
|
992
|
+
titleKey: "common.report-col.hours-worked",
|
|
993
|
+
shortTitleKey: "common.report-col.hours-worked.short",
|
|
994
|
+
infoTextKey: "common.report-col.hours-worked.info"
|
|
995
|
+
},
|
|
996
|
+
inclusiveTax: {
|
|
997
|
+
titleKey: "common.report-col.inclusive-tax",
|
|
998
|
+
shortTitleKey: "common.report-col.inclusive-tax.short",
|
|
999
|
+
infoTextKey: "common.report-col.inclusive-tax.info"
|
|
1000
|
+
},
|
|
1001
|
+
itemName: {
|
|
1002
|
+
titleKey: "common.report-col.item-name",
|
|
1003
|
+
shortTitleKey: "common.report-col.item-name.short",
|
|
1004
|
+
infoTextKey: "common.report-col.item-name.info"
|
|
1005
|
+
},
|
|
1006
|
+
itemPrice: {
|
|
1007
|
+
titleKey: "common.report-col.item-price",
|
|
1008
|
+
shortTitleKey: "common.report-col.item-price.short",
|
|
1009
|
+
infoTextKey: "common.report-col.item-price.info"
|
|
1010
|
+
},
|
|
1011
|
+
locationCity: {
|
|
1012
|
+
titleKey: "common.report-col.location-city",
|
|
1013
|
+
shortTitleKey: "common.report-col.location-city.short",
|
|
1014
|
+
infoTextKey: "common.report-col.location-city.info"
|
|
1015
|
+
},
|
|
1016
|
+
locationId: {
|
|
1017
|
+
titleKey: "common.report-col.location-id",
|
|
1018
|
+
shortTitleKey: "common.report-col.location-id.short",
|
|
1019
|
+
infoTextKey: "common.report-col.location-id.info"
|
|
1020
|
+
},
|
|
1021
|
+
locationMid: {
|
|
1022
|
+
titleKey: "common.report-col.location-mid",
|
|
1023
|
+
shortTitleKey: "common.report-col.location-mid.short",
|
|
1024
|
+
infoTextKey: "common.report-col.location-mid.info"
|
|
1025
|
+
},
|
|
1026
|
+
locationName: {
|
|
1027
|
+
titleKey: "common.report-col.location-name",
|
|
1028
|
+
shortTitleKey: "common.report-col.location-name.short",
|
|
1029
|
+
infoTextKey: "common.report-col.location-name.info"
|
|
1030
|
+
},
|
|
1031
|
+
locationState: {
|
|
1032
|
+
titleKey: "common.report-col.location-state",
|
|
1033
|
+
shortTitleKey: "common.report-col.location-state.short",
|
|
1034
|
+
infoTextKey: "common.report-col.location-state.info"
|
|
1035
|
+
},
|
|
1036
|
+
mastercard: {
|
|
1037
|
+
titleKey: "common.report-col.mastercard",
|
|
1038
|
+
shortTitleKey: "common.report-col.mastercard.short",
|
|
1039
|
+
infoTextKey: "common.report-col.mastercard.info"
|
|
1040
|
+
},
|
|
1041
|
+
mcReturns: {
|
|
1042
|
+
titleKey: "common.report-col.mc-returns",
|
|
1043
|
+
shortTitleKey: "common.report-col.mc-returns.short",
|
|
1044
|
+
infoTextKey: "common.report-col.mc-returns.info"
|
|
1045
|
+
},
|
|
1046
|
+
modifierName: {
|
|
1047
|
+
titleKey: "common.report-col.modifier-name",
|
|
1048
|
+
shortTitleKey: "common.report-col.modifier-name.short",
|
|
1049
|
+
infoTextKey: "common.report-col.modifier-name.info"
|
|
1050
|
+
},
|
|
1051
|
+
modifierPrice: {
|
|
1052
|
+
titleKey: "common.report-col.modifier-price",
|
|
1053
|
+
shortTitleKey: "common.report-col.modifier-price.short",
|
|
1054
|
+
infoTextKey: "common.report-col.modifier-price.info"
|
|
1055
|
+
},
|
|
1056
|
+
modifierQuantity: {
|
|
1057
|
+
titleKey: "common.report-col.modifier-quantity",
|
|
1058
|
+
shortTitleKey: "common.report-col.modifier-quantity.short",
|
|
1059
|
+
infoTextKey: "common.report-col.modifier-quantity.info"
|
|
1060
|
+
},
|
|
1061
|
+
netSales: {
|
|
1062
|
+
titleKey: "common.report-col.net-sales",
|
|
1063
|
+
shortTitleKey: "common.report-col.net-sales.short",
|
|
1064
|
+
infoTextKey: "common.report-col.net-sales.info"
|
|
1065
|
+
},
|
|
1066
|
+
netTaxCollected: {
|
|
1067
|
+
titleKey: "common.report-col.net-tax-collected",
|
|
1068
|
+
shortTitleKey: "common.report-col.net-tax-collected.short",
|
|
1069
|
+
infoTextKey: "common.report-col.net-tax-collected.info"
|
|
1070
|
+
},
|
|
1071
|
+
netTips: {
|
|
1072
|
+
titleKey: "common.report-col.net-tips",
|
|
1073
|
+
shortTitleKey: "common.report-col.net-tips.short",
|
|
1074
|
+
infoTextKey: "common.report-col.net-tips.info"
|
|
1075
|
+
},
|
|
1076
|
+
numberOfGuests: {
|
|
1077
|
+
titleKey: "common.report-col.number-of-guests",
|
|
1078
|
+
shortTitleKey: "common.report-col.number-of-guests.short",
|
|
1079
|
+
infoTextKey: "common.report-col.number-of-guests.info"
|
|
1080
|
+
},
|
|
1081
|
+
orderType: {
|
|
1082
|
+
titleKey: "common.report-col.order-type",
|
|
1083
|
+
shortTitleKey: "common.report-col.order-type.short",
|
|
1084
|
+
infoTextKey: "common.report-col.order-type.info"
|
|
1085
|
+
},
|
|
1086
|
+
paymentType: {
|
|
1087
|
+
titleKey: "common.report-col.payment-type",
|
|
1088
|
+
shortTitleKey: "common.report-col.payment-type.short",
|
|
1089
|
+
infoTextKey: "common.report-col.payment-type.info"
|
|
1090
|
+
},
|
|
1091
|
+
payrollId: {
|
|
1092
|
+
titleKey: "common.report-col.payroll-id",
|
|
1093
|
+
shortTitleKey: "common.report-col.payroll-id.short",
|
|
1094
|
+
infoTextKey: "common.report-col.payroll-id.info"
|
|
1095
|
+
},
|
|
1096
|
+
quantity: {
|
|
1097
|
+
titleKey: "common.report-col.quantity",
|
|
1098
|
+
shortTitleKey: "common.report-col.quantity.short",
|
|
1099
|
+
infoTextKey: "common.report-col.quantity.info"
|
|
1100
|
+
},
|
|
1101
|
+
referenceNumber: {
|
|
1102
|
+
titleKey: "common.report-col.reference-number",
|
|
1103
|
+
shortTitleKey: "common.report-col.reference-number.short",
|
|
1104
|
+
infoTextKey: "common.report-col.reference-number.info"
|
|
1105
|
+
},
|
|
1106
|
+
refundAmount: {
|
|
1107
|
+
titleKey: "common.report-col.refund-amount",
|
|
1108
|
+
shortTitleKey: "common.report-col.refund-amount.short",
|
|
1109
|
+
infoTextKey: "common.report-col.refund-amount.info"
|
|
1110
|
+
},
|
|
1111
|
+
refundedTaxAmount: {
|
|
1112
|
+
titleKey: "common.report-col.refunded-tax-amount",
|
|
1113
|
+
shortTitleKey: "common.report-col.refunded-tax-amount.short",
|
|
1114
|
+
infoTextKey: "common.report-col.refunded-tax-amount.info"
|
|
1115
|
+
},
|
|
1116
|
+
revenueCenter: {
|
|
1117
|
+
titleKey: "common.report-col.revenue-center",
|
|
1118
|
+
shortTitleKey: "common.report-col.revenue-center.short",
|
|
1119
|
+
infoTextKey: "common.report-col.revenue-center.info"
|
|
1120
|
+
},
|
|
1121
|
+
revenueClass: {
|
|
1122
|
+
titleKey: "common.report-col.revenue-class",
|
|
1123
|
+
shortTitleKey: "common.report-col.revenue-class.short",
|
|
1124
|
+
infoTextKey: "common.report-col.revenue-class.info"
|
|
1125
|
+
},
|
|
1126
|
+
salesVarLw: {
|
|
1127
|
+
titleKey: "common.report-col.sales-var-lw",
|
|
1128
|
+
shortTitleKey: "common.report-col.sales-var-lw.short",
|
|
1129
|
+
infoTextKey: "common.report-col.sales-var-lw.info"
|
|
1130
|
+
},
|
|
1131
|
+
salesVarLwPct: {
|
|
1132
|
+
titleKey: "common.report-col.sales-var-lw-pct",
|
|
1133
|
+
shortTitleKey: "common.report-col.sales-var-lw-pct.short",
|
|
1134
|
+
infoTextKey: "common.report-col.sales-var-lw-pct.info"
|
|
1135
|
+
},
|
|
1136
|
+
salesVarLy: {
|
|
1137
|
+
titleKey: "common.report-col.sales-var-ly",
|
|
1138
|
+
shortTitleKey: "common.report-col.sales-var-ly.short",
|
|
1139
|
+
infoTextKey: "common.report-col.sales-var-ly.info"
|
|
1140
|
+
},
|
|
1141
|
+
salesVarLyPct: {
|
|
1142
|
+
titleKey: "common.report-col.sales-var-ly-pct",
|
|
1143
|
+
shortTitleKey: "common.report-col.sales-var-ly-pct.short",
|
|
1144
|
+
infoTextKey: "common.report-col.sales-var-ly-pct.info"
|
|
1145
|
+
},
|
|
1146
|
+
salesMixByPct: {
|
|
1147
|
+
titleKey: "common.report-col.sales-mix-by-pct",
|
|
1148
|
+
shortTitleKey: "common.report-col.sales-mix-by-pct.short",
|
|
1149
|
+
infoTextKey: "common.report-col.sales-mix-by-pct.info"
|
|
1150
|
+
},
|
|
1151
|
+
salesPerGuest: {
|
|
1152
|
+
titleKey: "common.report-col.sales-per-guest",
|
|
1153
|
+
shortTitleKey: "common.report-col.sales-per-guest.short",
|
|
1154
|
+
infoTextKey: "common.report-col.sales-per-guest.info"
|
|
1155
|
+
},
|
|
1156
|
+
salesPerGuestLw: {
|
|
1157
|
+
titleKey: "common.report-col.sales-per-guest-lw",
|
|
1158
|
+
shortTitleKey: "common.report-col.sales-per-guest-lw.short",
|
|
1159
|
+
infoTextKey: "common.report-col.sales-per-guest-lw.info"
|
|
1160
|
+
},
|
|
1161
|
+
salesPerGuestLy: {
|
|
1162
|
+
titleKey: "common.report-col.sales-per-guest-ly",
|
|
1163
|
+
shortTitleKey: "common.report-col.sales-per-guest-ly.short",
|
|
1164
|
+
infoTextKey: "common.report-col.sales-per-guest-ly.info"
|
|
1165
|
+
},
|
|
1166
|
+
scheduledShiftEnd: {
|
|
1167
|
+
titleKey: "common.report-col.scheduled-shift-end",
|
|
1168
|
+
shortTitleKey: "common.report-col.scheduled-shift-end.short",
|
|
1169
|
+
infoTextKey: "common.report-col.scheduled-shift-end.info"
|
|
1170
|
+
},
|
|
1171
|
+
scheduledShiftStart: {
|
|
1172
|
+
titleKey: "common.report-col.scheduled-shift-start",
|
|
1173
|
+
shortTitleKey: "common.report-col.scheduled-shift-start.short",
|
|
1174
|
+
infoTextKey: "common.report-col.scheduled-shift-start.info"
|
|
1175
|
+
},
|
|
1176
|
+
settlementBatchDate: {
|
|
1177
|
+
titleKey: "common.report-col.settlement-batch-date",
|
|
1178
|
+
shortTitleKey: "common.report-col.settlement-batch-date.short",
|
|
1179
|
+
infoTextKey: "common.report-col.settlement-batch-date.info"
|
|
1180
|
+
},
|
|
1181
|
+
shiftDurationHrs: {
|
|
1182
|
+
titleKey: "common.report-col.shift-duration-hrs",
|
|
1183
|
+
shortTitleKey: "common.report-col.shift-duration-hrs.short",
|
|
1184
|
+
infoTextKey: "common.report-col.shift-duration-hrs.info"
|
|
1185
|
+
},
|
|
1186
|
+
salePaymentType: {
|
|
1187
|
+
titleKey: "common.report-col.sale-payment-type",
|
|
1188
|
+
shortTitleKey: "common.report-col.sale-payment-type.short",
|
|
1189
|
+
infoTextKey: "common.report-col.sale-payment-type.info"
|
|
1190
|
+
},
|
|
1191
|
+
status: {
|
|
1192
|
+
titleKey: "common.report-col.status",
|
|
1193
|
+
shortTitleKey: "common.report-col.status.short",
|
|
1194
|
+
infoTextKey: "common.report-col.status.info"
|
|
1195
|
+
},
|
|
1196
|
+
subtotal: {
|
|
1197
|
+
titleKey: "common.report-col.subtotal",
|
|
1198
|
+
shortTitleKey: "common.report-col.subtotal.short",
|
|
1199
|
+
infoTextKey: "common.report-col.subtotal.info"
|
|
1200
|
+
},
|
|
1201
|
+
taxCollected: {
|
|
1202
|
+
titleKey: "common.report-col.tax-collected",
|
|
1203
|
+
shortTitleKey: "common.report-col.tax-collected.short",
|
|
1204
|
+
infoTextKey: "common.report-col.tax-collected.info"
|
|
1205
|
+
},
|
|
1206
|
+
taxName: {
|
|
1207
|
+
titleKey: "common.report-col.tax-name",
|
|
1208
|
+
shortTitleKey: "common.report-col.tax-name.short",
|
|
1209
|
+
infoTextKey: "common.report-col.tax-name.info"
|
|
1210
|
+
},
|
|
1211
|
+
taxRate: {
|
|
1212
|
+
titleKey: "common.report-col.tax-rate",
|
|
1213
|
+
shortTitleKey: "common.report-col.tax-rate.short",
|
|
1214
|
+
infoTextKey: "common.report-col.tax-rate.info"
|
|
1215
|
+
},
|
|
1216
|
+
taxableSales: {
|
|
1217
|
+
titleKey: "common.report-col.taxable-sales",
|
|
1218
|
+
shortTitleKey: "common.report-col.taxable-sales.short",
|
|
1219
|
+
infoTextKey: "common.report-col.taxable-sales.info"
|
|
1220
|
+
},
|
|
1221
|
+
ticketClosed: {
|
|
1222
|
+
titleKey: "common.report-col.ticket-closed",
|
|
1223
|
+
shortTitleKey: "common.report-col.ticket-closed.short",
|
|
1224
|
+
infoTextKey: "common.report-col.ticket-closed.info"
|
|
1225
|
+
},
|
|
1226
|
+
ticketFee: {
|
|
1227
|
+
titleKey: "common.report-col.ticket-fee",
|
|
1228
|
+
shortTitleKey: "common.report-col.ticket-fee.short",
|
|
1229
|
+
infoTextKey: "common.report-col.ticket-fee.info"
|
|
1230
|
+
},
|
|
1231
|
+
ticketNumber: {
|
|
1232
|
+
titleKey: "common.report-col.ticket-number",
|
|
1233
|
+
shortTitleKey: "common.report-col.ticket-number.short",
|
|
1234
|
+
infoTextKey: "common.report-col.ticket-number.info"
|
|
1235
|
+
},
|
|
1236
|
+
ticketOpen: {
|
|
1237
|
+
titleKey: "common.report-col.ticket-open",
|
|
1238
|
+
shortTitleKey: "common.report-col.ticket-open.short",
|
|
1239
|
+
infoTextKey: "common.report-col.ticket-open.info"
|
|
1240
|
+
},
|
|
1241
|
+
ticketTotal: {
|
|
1242
|
+
titleKey: "common.report-col.ticket-total",
|
|
1243
|
+
shortTitleKey: "common.report-col.ticket-total.short",
|
|
1244
|
+
infoTextKey: "common.report-col.ticket-total.info"
|
|
1245
|
+
},
|
|
1246
|
+
timeOpenMins: {
|
|
1247
|
+
titleKey: "common.report-col.time-open-mins",
|
|
1248
|
+
shortTitleKey: "common.report-col.time-open-mins.short",
|
|
1249
|
+
infoTextKey: "common.report-col.time-open-mins.info"
|
|
1250
|
+
},
|
|
1251
|
+
tipPct: {
|
|
1252
|
+
titleKey: "common.report-col.tip-pct",
|
|
1253
|
+
shortTitleKey: "common.report-col.tip-pct.short",
|
|
1254
|
+
infoTextKey: "common.report-col.tip-pct.info"
|
|
1255
|
+
},
|
|
1256
|
+
tipReduction: {
|
|
1257
|
+
titleKey: "common.report-col.tip-reduction",
|
|
1258
|
+
shortTitleKey: "common.report-col.tip-reduction.short",
|
|
1259
|
+
infoTextKey: "common.report-col.tip-reduction.info"
|
|
1260
|
+
},
|
|
1261
|
+
tipShare: {
|
|
1262
|
+
titleKey: "common.report-col.tip-share",
|
|
1263
|
+
shortTitleKey: "common.report-col.tip-share.short",
|
|
1264
|
+
infoTextKey: "common.report-col.tip-share.info"
|
|
1265
|
+
},
|
|
1266
|
+
tips: {
|
|
1267
|
+
titleKey: "common.report-col.tips",
|
|
1268
|
+
shortTitleKey: "common.report-col.tips.short",
|
|
1269
|
+
infoTextKey: "common.report-col.tips.info"
|
|
1270
|
+
},
|
|
1271
|
+
tipsPerHour: {
|
|
1272
|
+
titleKey: "common.report-col.tips-per-hour",
|
|
1273
|
+
shortTitleKey: "common.report-col.tips-per-hour.short",
|
|
1274
|
+
infoTextKey: "common.report-col.tips-per-hour.info"
|
|
1275
|
+
},
|
|
1276
|
+
totalCollected: {
|
|
1277
|
+
titleKey: "common.report-col.total-collected",
|
|
1278
|
+
shortTitleKey: "common.report-col.total-collected.short",
|
|
1279
|
+
infoTextKey: "common.report-col.total-collected.info"
|
|
1280
|
+
},
|
|
1281
|
+
totalItemSales: {
|
|
1282
|
+
titleKey: "common.report-col.total-item-sales",
|
|
1283
|
+
shortTitleKey: "common.report-col.total-item-sales.short",
|
|
1284
|
+
infoTextKey: "common.report-col.total-item-sales.info"
|
|
1285
|
+
},
|
|
1286
|
+
totalModifierSales: {
|
|
1287
|
+
titleKey: "common.report-col.total-modifier-sales",
|
|
1288
|
+
shortTitleKey: "common.report-col.total-modifier-sales.short",
|
|
1289
|
+
infoTextKey: "common.report-col.total-modifier-sales.info"
|
|
1290
|
+
},
|
|
1291
|
+
totalReturns: {
|
|
1292
|
+
titleKey: "common.report-col.total-returns",
|
|
1293
|
+
shortTitleKey: "common.report-col.total-returns.short",
|
|
1294
|
+
infoTextKey: "common.report-col.total-returns.info"
|
|
1295
|
+
},
|
|
1296
|
+
totalSales: {
|
|
1297
|
+
titleKey: "common.report-col.total-sales",
|
|
1298
|
+
shortTitleKey: "common.report-col.total-sales.short",
|
|
1299
|
+
infoTextKey: "common.report-col.total-sales.info"
|
|
1300
|
+
},
|
|
1301
|
+
totalTips: {
|
|
1302
|
+
titleKey: "common.report-col.total-tips",
|
|
1303
|
+
shortTitleKey: "common.report-col.total-tips.short",
|
|
1304
|
+
infoTextKey: "common.report-col.total-tips.info"
|
|
1305
|
+
},
|
|
1306
|
+
transactionDate: {
|
|
1307
|
+
titleKey: "common.report-col.transaction-date",
|
|
1308
|
+
shortTitleKey: "common.report-col.transaction-date.short",
|
|
1309
|
+
infoTextKey: "common.report-col.transaction-date.info"
|
|
1310
|
+
},
|
|
1311
|
+
transactionType: {
|
|
1312
|
+
titleKey: "common.report-col.transaction-type",
|
|
1313
|
+
shortTitleKey: "common.report-col.transaction-type.short",
|
|
1314
|
+
infoTextKey: "common.report-col.transaction-type.info"
|
|
1315
|
+
},
|
|
1316
|
+
untaxedSales: {
|
|
1317
|
+
titleKey: "common.report-col.untaxed-sales",
|
|
1318
|
+
shortTitleKey: "common.report-col.untaxed-sales.short",
|
|
1319
|
+
infoTextKey: "common.report-col.untaxed-sales.info"
|
|
1320
|
+
},
|
|
1321
|
+
visa: {
|
|
1322
|
+
titleKey: "common.report-col.visa",
|
|
1323
|
+
shortTitleKey: "common.report-col.visa.short",
|
|
1324
|
+
infoTextKey: "common.report-col.visa.info"
|
|
1325
|
+
},
|
|
1326
|
+
visaReturns: {
|
|
1327
|
+
titleKey: "common.report-col.visa-returns",
|
|
1328
|
+
shortTitleKey: "common.report-col.visa-returns.short",
|
|
1329
|
+
infoTextKey: "common.report-col.visa-returns.info"
|
|
1330
|
+
},
|
|
1331
|
+
paymentsCount: {
|
|
1332
|
+
titleKey: "common.report-col.payments-count",
|
|
1333
|
+
shortTitleKey: "common.report-col.payments-count.short",
|
|
1334
|
+
infoTextKey: "common.report-col.payments-count.info"
|
|
1335
|
+
},
|
|
1336
|
+
paymentsAmount: {
|
|
1337
|
+
titleKey: "common.report-col.payments-amount",
|
|
1338
|
+
shortTitleKey: "common.report-col.payments-amount.short",
|
|
1339
|
+
infoTextKey: "common.report-col.payments-amount.info"
|
|
1340
|
+
},
|
|
1341
|
+
paymentsTotal: {
|
|
1342
|
+
titleKey: "common.report-col.payments-total",
|
|
1343
|
+
shortTitleKey: "common.report-col.payments-total.short",
|
|
1344
|
+
infoTextKey: "common.report-col.payments-total.info"
|
|
1345
|
+
},
|
|
1346
|
+
refundVoidDescription: {
|
|
1347
|
+
titleKey: "common.report-col.refund-void-description",
|
|
1348
|
+
shortTitleKey: "common.report-col.refund-void-description.short",
|
|
1349
|
+
infoTextKey: "common.report-col.refund-void-description.info"
|
|
1350
|
+
},
|
|
1351
|
+
refundVoidCount: {
|
|
1352
|
+
titleKey: "common.report-col.refund-void-count",
|
|
1353
|
+
shortTitleKey: "common.report-col.refund-void-count.short",
|
|
1354
|
+
infoTextKey: "common.report-col.refund-void-count.info"
|
|
1355
|
+
},
|
|
1356
|
+
refundVoidAmount: {
|
|
1357
|
+
titleKey: "common.report-col.refund-void-amount",
|
|
1358
|
+
shortTitleKey: "common.report-col.refund-void-amount.short",
|
|
1359
|
+
infoTextKey: "common.report-col.refund-void-amount.info"
|
|
1360
|
+
},
|
|
1361
|
+
refundVoidPctSales: {
|
|
1362
|
+
titleKey: "common.report-col.refund-void-pct-sales",
|
|
1363
|
+
shortTitleKey: "common.report-col.refund-void-pct-sales.short",
|
|
1364
|
+
infoTextKey: "common.report-col.refund-void-pct-sales.info"
|
|
1365
|
+
},
|
|
1366
|
+
discountName: {
|
|
1367
|
+
titleKey: "common.report-col.discount-name",
|
|
1368
|
+
shortTitleKey: "common.report-col.discount-name.short",
|
|
1369
|
+
infoTextKey: "common.report-col.discount-name.info"
|
|
1370
|
+
},
|
|
1371
|
+
tickets: {
|
|
1372
|
+
titleKey: "common.report-col.tickets",
|
|
1373
|
+
shortTitleKey: "common.report-col.tickets.short",
|
|
1374
|
+
infoTextKey: "common.report-col.tickets.info"
|
|
1375
|
+
},
|
|
1376
|
+
guests: {
|
|
1377
|
+
titleKey: "common.report-col.guests",
|
|
1378
|
+
shortTitleKey: "common.report-col.guests.short",
|
|
1379
|
+
infoTextKey: "common.report-col.guests.info"
|
|
1380
|
+
},
|
|
1381
|
+
ticketAverage: {
|
|
1382
|
+
titleKey: "common.report-col.ticket-average",
|
|
1383
|
+
shortTitleKey: "common.report-col.ticket-average.short",
|
|
1384
|
+
infoTextKey: "common.report-col.ticket-average.info"
|
|
1385
|
+
},
|
|
1386
|
+
guestAverage: {
|
|
1387
|
+
titleKey: "common.report-col.guest-average",
|
|
1388
|
+
shortTitleKey: "common.report-col.guest-average.short",
|
|
1389
|
+
infoTextKey: "common.report-col.guest-average.info"
|
|
1390
|
+
},
|
|
1391
|
+
net: {
|
|
1392
|
+
titleKey: "common.report-col.net",
|
|
1393
|
+
shortTitleKey: "common.report-col.net.short",
|
|
1394
|
+
infoTextKey: "common.report-col.net.info"
|
|
1395
|
+
}
|
|
1396
|
+
};
|
|
1397
|
+
function getColumnMetadata(key) {
|
|
1398
|
+
return COLUMN_REGISTRY[key];
|
|
1399
|
+
}
|
|
1400
|
+
function getColumnExportHeaderLabel(colTitle, groupTitle) {
|
|
1401
|
+
if (groupTitle) {
|
|
1402
|
+
return `${groupTitle}: ${colTitle}`;
|
|
1403
|
+
}
|
|
1404
|
+
return colTitle;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
749
1407
|
// src/utils/alignment.ts
|
|
750
1408
|
function getColumnAlignment(type) {
|
|
751
1409
|
if (type === "string" || type === "date" || type === "time") {
|
|
@@ -854,6 +1512,7 @@ var dailySalesTaxesConfig = {
|
|
|
854
1512
|
defaultVisibleColumns: DAILY_SALES_TAXES_DEFAULT_VISIBLE_COLUMNS
|
|
855
1513
|
};
|
|
856
1514
|
export {
|
|
1515
|
+
COLUMN_REGISTRY,
|
|
857
1516
|
DAILY_SALES_AVAILABLE_COLUMNS,
|
|
858
1517
|
DAILY_SALES_BY_GROUP_AVAILABLE_COLUMNS,
|
|
859
1518
|
DAILY_SALES_DEFAULT_VISIBLE_COLUMNS,
|
|
@@ -893,6 +1552,8 @@ export {
|
|
|
893
1552
|
dailySalesTrendsConfig,
|
|
894
1553
|
employeeTimecardConfig,
|
|
895
1554
|
getColumnAlignment,
|
|
1555
|
+
getColumnExportHeaderLabel,
|
|
1556
|
+
getColumnMetadata,
|
|
896
1557
|
getReportConfig,
|
|
897
1558
|
isNumericType,
|
|
898
1559
|
itemTaxConfig,
|