@harbortouch/skytab-analytics-report-utils 0.5.0 → 0.5.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 +3 -2
- package/dist/index.js +3 -2
- package/dist/reports/salesByItemDetail.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1321,6 +1321,7 @@ var DAILY_SALES_AVAILABLE_COLUMNS = [
|
|
|
1321
1321
|
"itemsQuantity",
|
|
1322
1322
|
"salesAmountGross",
|
|
1323
1323
|
"discountsAmount",
|
|
1324
|
+
"inclusiveTaxesAmount",
|
|
1324
1325
|
"salesAmountNet",
|
|
1325
1326
|
"salesMixPct"
|
|
1326
1327
|
];
|
|
@@ -1531,7 +1532,7 @@ var FIELDS13 = {
|
|
|
1531
1532
|
itemName: { type: "string", columnKey: "itemName", filteringAvailable: false },
|
|
1532
1533
|
revenueCenterName: { type: "string", columnKey: "revenueCenter", filteringAvailable: false },
|
|
1533
1534
|
revenueClassName: { type: "string", columnKey: "revenueClass", filteringAvailable: false },
|
|
1534
|
-
|
|
1535
|
+
salesAmountGross: { type: "money", columnKey: "grossSales" },
|
|
1535
1536
|
itemsQuantity: { type: "number", columnKey: "quantity" },
|
|
1536
1537
|
transactionId: { type: "string", columnKey: "ticketNumber", filteringAvailable: false },
|
|
1537
1538
|
guestsCount: { type: "number", columnKey: "guestCount" },
|
|
@@ -1551,7 +1552,7 @@ var SALES_BY_ITEM_DETAIL_AVAILABLE_COLUMNS = [
|
|
|
1551
1552
|
"itemName",
|
|
1552
1553
|
"revenueCenterName",
|
|
1553
1554
|
"revenueClassName",
|
|
1554
|
-
"
|
|
1555
|
+
"salesAmountGross",
|
|
1555
1556
|
"itemsQuantity",
|
|
1556
1557
|
"transactionId",
|
|
1557
1558
|
"guestsCount",
|
package/dist/index.js
CHANGED
|
@@ -1247,6 +1247,7 @@ var DAILY_SALES_AVAILABLE_COLUMNS = [
|
|
|
1247
1247
|
"itemsQuantity",
|
|
1248
1248
|
"salesAmountGross",
|
|
1249
1249
|
"discountsAmount",
|
|
1250
|
+
"inclusiveTaxesAmount",
|
|
1250
1251
|
"salesAmountNet",
|
|
1251
1252
|
"salesMixPct"
|
|
1252
1253
|
];
|
|
@@ -1457,7 +1458,7 @@ var FIELDS13 = {
|
|
|
1457
1458
|
itemName: { type: "string", columnKey: "itemName", filteringAvailable: false },
|
|
1458
1459
|
revenueCenterName: { type: "string", columnKey: "revenueCenter", filteringAvailable: false },
|
|
1459
1460
|
revenueClassName: { type: "string", columnKey: "revenueClass", filteringAvailable: false },
|
|
1460
|
-
|
|
1461
|
+
salesAmountGross: { type: "money", columnKey: "grossSales" },
|
|
1461
1462
|
itemsQuantity: { type: "number", columnKey: "quantity" },
|
|
1462
1463
|
transactionId: { type: "string", columnKey: "ticketNumber", filteringAvailable: false },
|
|
1463
1464
|
guestsCount: { type: "number", columnKey: "guestCount" },
|
|
@@ -1477,7 +1478,7 @@ var SALES_BY_ITEM_DETAIL_AVAILABLE_COLUMNS = [
|
|
|
1477
1478
|
"itemName",
|
|
1478
1479
|
"revenueCenterName",
|
|
1479
1480
|
"revenueClassName",
|
|
1480
|
-
"
|
|
1481
|
+
"salesAmountGross",
|
|
1481
1482
|
"itemsQuantity",
|
|
1482
1483
|
"transactionId",
|
|
1483
1484
|
"guestsCount",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReportConfig } from '../types';
|
|
2
|
-
type SalesByItemDetailField = 'businessDate' | 'ticketClosedAt' | 'hourId' | 'daypartName' | 'locationId' | 'locationName' | 'departmentName' | 'itemName' | 'revenueCenterName' | 'revenueClassName' | '
|
|
2
|
+
type SalesByItemDetailField = 'businessDate' | 'ticketClosedAt' | 'hourId' | 'daypartName' | 'locationId' | 'locationName' | 'departmentName' | 'itemName' | 'revenueCenterName' | 'revenueClassName' | 'salesAmountGross' | 'itemsQuantity' | 'transactionId' | 'guestsCount' | 'employeeName' | 'orderTypeName' | 'salesType' | 'itemPrice';
|
|
3
3
|
export declare const SALES_BY_ITEM_DETAIL_AVAILABLE_COLUMNS: SalesByItemDetailField[];
|
|
4
4
|
export declare const SALES_BY_ITEM_DETAIL_DEFAULT_VISIBLE_COLUMNS: SalesByItemDetailField[];
|
|
5
5
|
export declare const salesByItemDetailConfig: ReportConfig<SalesByItemDetailField>;
|