@harbortouch/skytab-analytics-report-utils 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/reports/salesByItemDetail.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1531,7 +1531,7 @@ var FIELDS13 = {
|
|
|
1531
1531
|
itemName: { type: "string", columnKey: "itemName", filteringAvailable: false },
|
|
1532
1532
|
revenueCenterName: { type: "string", columnKey: "revenueCenter", filteringAvailable: false },
|
|
1533
1533
|
revenueClassName: { type: "string", columnKey: "revenueClass", filteringAvailable: false },
|
|
1534
|
-
|
|
1534
|
+
salesAmountGross: { type: "money", columnKey: "grossSales" },
|
|
1535
1535
|
itemsQuantity: { type: "number", columnKey: "quantity" },
|
|
1536
1536
|
transactionId: { type: "string", columnKey: "ticketNumber", filteringAvailable: false },
|
|
1537
1537
|
guestsCount: { type: "number", columnKey: "guestCount" },
|
|
@@ -1551,7 +1551,7 @@ var SALES_BY_ITEM_DETAIL_AVAILABLE_COLUMNS = [
|
|
|
1551
1551
|
"itemName",
|
|
1552
1552
|
"revenueCenterName",
|
|
1553
1553
|
"revenueClassName",
|
|
1554
|
-
"
|
|
1554
|
+
"salesAmountGross",
|
|
1555
1555
|
"itemsQuantity",
|
|
1556
1556
|
"transactionId",
|
|
1557
1557
|
"guestsCount",
|
package/dist/index.js
CHANGED
|
@@ -1457,7 +1457,7 @@ var FIELDS13 = {
|
|
|
1457
1457
|
itemName: { type: "string", columnKey: "itemName", filteringAvailable: false },
|
|
1458
1458
|
revenueCenterName: { type: "string", columnKey: "revenueCenter", filteringAvailable: false },
|
|
1459
1459
|
revenueClassName: { type: "string", columnKey: "revenueClass", filteringAvailable: false },
|
|
1460
|
-
|
|
1460
|
+
salesAmountGross: { type: "money", columnKey: "grossSales" },
|
|
1461
1461
|
itemsQuantity: { type: "number", columnKey: "quantity" },
|
|
1462
1462
|
transactionId: { type: "string", columnKey: "ticketNumber", filteringAvailable: false },
|
|
1463
1463
|
guestsCount: { type: "number", columnKey: "guestCount" },
|
|
@@ -1477,7 +1477,7 @@ var SALES_BY_ITEM_DETAIL_AVAILABLE_COLUMNS = [
|
|
|
1477
1477
|
"itemName",
|
|
1478
1478
|
"revenueCenterName",
|
|
1479
1479
|
"revenueClassName",
|
|
1480
|
-
"
|
|
1480
|
+
"salesAmountGross",
|
|
1481
1481
|
"itemsQuantity",
|
|
1482
1482
|
"transactionId",
|
|
1483
1483
|
"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>;
|