@managesome/eposmatic-toolkit 0.3.8 → 0.3.10
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/esm/constants/ANALYTICS.js +146 -0
- package/esm/constants/API_ERRORS.js +6 -0
- package/esm/constants/COMMON.js +369 -0
- package/esm/constants/DELIVERY.js +45 -0
- package/esm/constants/DIALER_ENUMS.js +11 -0
- package/esm/constants/ENUMS.js +1988 -0
- package/esm/constants/FBR_ENUMS.js +18 -0
- package/esm/constants/HUBRISE_ENUMS.js +179 -0
- package/esm/constants/INTERNAL_ENUMS.js +49 -0
- package/esm/constants/NOTIFICATIONS.js +6 -0
- package/esm/constants/ORDER.js +251 -0
- package/esm/constants/PRA_ENUMS.js +18 -0
- package/esm/constants/REPORT_WEBVIEW.js +28 -0
- package/esm/constants/RFQ_GO.js +83 -0
- package/esm/constants/SMARTPAY_ENUMS.js +55 -0
- package/esm/constants/SOCKET.js +149 -0
- package/esm/constants/SRB_ENUMS.js +13 -0
- package/esm/constants/SWITCHPAY.js +28 -0
- package/esm/constants/TENANT_ENUMS.js +90 -0
- package/esm/constants/TENANT_PURCHASE_ORDER.js +91 -0
- package/esm/constants/WALLET.js +51 -0
- package/esm/constants/WAREHOUSE_ANALYTICS.js +28 -0
- package/esm/constants/WAREHOUSE_ENUMS.js +420 -0
- package/esm/constants/WAREHOUSE_PURCHASE_ORDER.js +97 -0
- package/esm/constants/WEBVIEW.js +43 -0
- package/esm/constants/WORKER_ENDPOINTS.js +79 -0
- package/esm/constants/index.js +27 -0
- package/esm/constants/types.js +2 -0
- package/esm/helpers/fbr/generate-invoice.js +94 -0
- package/esm/helpers/fbr/index.js +1 -0
- package/esm/helpers/hubrise/hubrise-catalog.js +304 -0
- package/esm/helpers/hubrise/index.js +1 -0
- package/esm/helpers/index.js +9 -0
- package/esm/helpers/kpra/generate-invoice.js +26 -0
- package/esm/helpers/kpra/index.js +1 -0
- package/esm/helpers/order/generate-order.js +508 -0
- package/esm/helpers/order/generate-warehouse-internal-movement.js +71 -0
- package/esm/helpers/order/generate-warehouse-purchase-order-rfq.js +176 -0
- package/esm/helpers/order/generate-warehouse-purchase-order.js +187 -0
- package/esm/helpers/order/generate-warehouse-sale-order-rfq.js +176 -0
- package/esm/helpers/order/generate-warehouse-sale-order.js +149 -0
- package/esm/helpers/order/index.js +6 -0
- package/esm/helpers/pra/generate-invoice.js +94 -0
- package/esm/helpers/pra/index.js +1 -0
- package/esm/helpers/srb/generate-invoice.js +68 -0
- package/esm/helpers/srb/index.js +1 -0
- package/esm/helpers/store/all-orders-actions.js +17 -0
- package/esm/helpers/store/all-tenant-purchase-orders-actions.js +45 -0
- package/esm/helpers/store/all-warehouse-purchase-order-rfqs-actions.js +66 -0
- package/esm/helpers/store/all-warehouse-purchase-order-vendor-return-actions.js +50 -0
- package/esm/helpers/store/all-warehouse-purchase-orders-actions.js +49 -0
- package/esm/helpers/store/all-warehouse-sale-order-invoices-actions.js +132 -0
- package/esm/helpers/store/all-warehouse-sale-order-rfqs-actions.js +66 -0
- package/esm/helpers/store/all-warehouse-sale-orders-actions.js +72 -0
- package/esm/helpers/store/cart-actions.js +3563 -0
- package/esm/helpers/store/catalog-actions.js +379 -0
- package/esm/helpers/store/common-order-actions.js +937 -0
- package/esm/helpers/store/common-tenant-purchase-order-actions.js +440 -0
- package/esm/helpers/store/common-warehouse-internal-movement-actions.js +95 -0
- package/esm/helpers/store/common-warehouse-purchase-order-actions.js +530 -0
- package/esm/helpers/store/common-warehouse-purchase-order-receipt-actions.js +33 -0
- package/esm/helpers/store/common-warehouse-purchase-order-rfq-actions.js +523 -0
- package/esm/helpers/store/common-warehouse-purchase-order-vendor-return-actions.js +25 -0
- package/esm/helpers/store/common-warehouse-sale-order-actions.js +483 -0
- package/esm/helpers/store/common-warehouse-sale-order-invoice-actions.js +54 -0
- package/esm/helpers/store/common-warehouse-sale-order-rfq-actions.js +523 -0
- package/esm/helpers/store/index.js +26 -0
- package/esm/helpers/store/offline-ordering.js +251 -0
- package/esm/helpers/store/tenant-purchase-orders-cart-actions.js +379 -0
- package/esm/helpers/store/warehouse-purchase-order-rfq-cart-actions.js +360 -0
- package/esm/helpers/store/warehouse-purchase-orders-cart-actions.js +470 -0
- package/esm/helpers/store/warehouse-sale-order-rfq-cart-actions.js +359 -0
- package/esm/helpers/store/warehouse-sale-orders-cart-actions.js +456 -0
- package/esm/helpers/types/api-types.js +1 -0
- package/esm/helpers/types/cart-actions.js +1 -0
- package/esm/helpers/types/cart-helpers.js +1 -0
- package/esm/helpers/types/catalog.js +1 -0
- package/esm/helpers/types/common.js +1 -0
- package/esm/helpers/types/deliverect_menu.js +1 -0
- package/esm/helpers/types/email-templates.js +1 -0
- package/esm/helpers/types/fbr-generate-invoice.js +1 -0
- package/esm/helpers/types/halfhalf.js +1 -0
- package/esm/helpers/types/hubrise_catalog.js +1 -0
- package/esm/helpers/types/hubrise_customers.js +1 -0
- package/esm/helpers/types/hubrise_deliveries.js +1 -0
- package/esm/helpers/types/hubrise_location.js +1 -0
- package/esm/helpers/types/hubrise_orders.js +1 -0
- package/esm/helpers/types/index.js +33 -0
- package/esm/helpers/types/internal-leads.js +1 -0
- package/esm/helpers/types/inventory-catalog.js +1 -0
- package/esm/helpers/types/kpra-generate-invoice.js +1 -0
- package/esm/helpers/types/marketing.js +1 -0
- package/esm/helpers/types/order-engine.js +1 -0
- package/esm/helpers/types/pra-generate-invoice.js +1 -0
- package/esm/helpers/types/report-webview.js +1 -0
- package/esm/helpers/types/reports.js +1 -0
- package/esm/helpers/types/smartpay-apis.js +2 -0
- package/esm/helpers/types/specials.js +1 -0
- package/esm/helpers/types/split_bill.js +1 -0
- package/esm/helpers/types/srb-generate-invoice.js +1 -0
- package/esm/helpers/types/switchpay.js +1 -0
- package/esm/helpers/types/tenant-purchase-order-cart-actions.js +1 -0
- package/esm/helpers/types/warehouse-catalog.js +1 -0
- package/esm/helpers/types/warehouse-purchase-order-cart-actions.js +1 -0
- package/esm/helpers/types/warehouse-purchase-order-rfq-cart-actions.js +1 -0
- package/esm/helpers/types/warehouse-sale-order-cart-actions.js +1 -0
- package/esm/helpers/types/warehouse-sale-order-rfq-cart-actions.js +1 -0
- package/esm/helpers/types/workers.js +1 -0
- package/esm/helpers/utils/asaanbill-identifier-helpers.js +31 -0
- package/esm/helpers/utils/business-day-helpers.js +201 -0
- package/esm/helpers/utils/cart-helpers.js +156 -0
- package/esm/helpers/utils/catalog-conversion.js +129 -0
- package/esm/helpers/utils/code-redemption-helpers.js +452 -0
- package/esm/helpers/utils/color-helpers.js +31 -0
- package/esm/helpers/utils/common.js +368 -0
- package/esm/helpers/utils/crypt.js +40 -0
- package/esm/helpers/utils/customers-helpers.js +15 -0
- package/esm/helpers/utils/delivery-area-helpers.js +42 -0
- package/esm/helpers/utils/delivery-helpers.js +87 -0
- package/esm/helpers/utils/denominations-helpers.js +53 -0
- package/esm/helpers/utils/dinein.js +39 -0
- package/esm/helpers/utils/discount-helpers.js +55 -0
- package/esm/helpers/utils/email-helpers.js +111 -0
- package/esm/helpers/utils/error-helpers.js +14 -0
- package/esm/helpers/utils/expense.js +26 -0
- package/esm/helpers/utils/getFormFieldsDiff.js +15 -0
- package/esm/helpers/utils/gift-card-helpers.js +258 -0
- package/esm/helpers/utils/halfhalf-setup-helpers.js +779 -0
- package/esm/helpers/utils/hourly-comparison-report-helpers.js +851 -0
- package/esm/helpers/utils/hr-helpers.js +62 -0
- package/esm/helpers/utils/hubrise-utils.js +32 -0
- package/esm/helpers/utils/image-helpers.js +95 -0
- package/esm/helpers/utils/image-url-helpers.js +96 -0
- package/esm/helpers/utils/index.js +96 -0
- package/esm/helpers/utils/ingredients.js +26 -0
- package/esm/helpers/utils/internal-amount-helpers.js +49 -0
- package/esm/helpers/utils/inventory.js +123 -0
- package/esm/helpers/utils/inventory_entries.js +91 -0
- package/esm/helpers/utils/inventory_transactions.js +91 -0
- package/esm/helpers/utils/item-report-helpers.js +2603 -0
- package/esm/helpers/utils/items-comparison-report-helpers.js +1057 -0
- package/esm/helpers/utils/kds-helpers.js +43 -0
- package/esm/helpers/utils/location-helpers.js +13 -0
- package/esm/helpers/utils/menu-helpers.js +44 -0
- package/esm/helpers/utils/minified-catalog.js +428 -0
- package/esm/helpers/utils/offer-apply-helpers.js +613 -0
- package/esm/helpers/utils/offers-helpers.js +3351 -0
- package/esm/helpers/utils/operational-roles-helpers.js +33 -0
- package/esm/helpers/utils/order-engine.js +1409 -0
- package/esm/helpers/utils/order-history.js +208 -0
- package/esm/helpers/utils/payment-comparison-report-helpers.js +873 -0
- package/esm/helpers/utils/payment-helpers.js +302 -0
- package/esm/helpers/utils/pdf-generator.js +110 -0
- package/esm/helpers/utils/platform-catalog.js +306 -0
- package/esm/helpers/utils/platform-num.js +188 -0
- package/esm/helpers/utils/platform-specific-tenant-shifts.js +19 -0
- package/esm/helpers/utils/price-conversion.js +24 -0
- package/esm/helpers/utils/printer-helpers.js +319 -0
- package/esm/helpers/utils/public-holidays-helpers.js +8 -0
- package/esm/helpers/utils/ratings-comparison-report-helpers.js +1187 -0
- package/esm/helpers/utils/receipt-engine.js +1050 -0
- package/esm/helpers/utils/review-helpers.js +391 -0
- package/esm/helpers/utils/rider-tracking.js +12 -0
- package/esm/helpers/utils/riders-report-helpers.js +1590 -0
- package/esm/helpers/utils/sales-comparison-report-helpers.js +1259 -0
- package/esm/helpers/utils/sales-comparitive-report-helpers.js +939 -0
- package/esm/helpers/utils/sales-overview-report-helpers.js +1046 -0
- package/esm/helpers/utils/sales-summary-report-helpers.js +877 -0
- package/esm/helpers/utils/scan-code-helpers.js +31 -0
- package/esm/helpers/utils/selection-model.js +68 -0
- package/esm/helpers/utils/shift-window-helpers.js +148 -0
- package/esm/helpers/utils/simplified-catalog.js +107 -0
- package/esm/helpers/utils/simplified-halfhalf.js +101 -0
- package/esm/helpers/utils/simplified-specials.js +107 -0
- package/esm/helpers/utils/simplified-tenant.js +411 -0
- package/esm/helpers/utils/specials-helpers.js +727 -0
- package/esm/helpers/utils/tenant-calendar-helpers.js +67 -0
- package/esm/helpers/utils/tenant-cash-drawer-sessions-helpers.js +248 -0
- package/esm/helpers/utils/tenant-cash-drawers-helpers.js +31 -0
- package/esm/helpers/utils/tenant-cash-in-out-helpers.js +47 -0
- package/esm/helpers/utils/tenant-day-sessions-helpers.js +167 -0
- package/esm/helpers/utils/tenant-instore-shift-sessions-helpers.js +227 -0
- package/esm/helpers/utils/tenant-staff-helpers.js +19 -0
- package/esm/helpers/utils/tenant_cash_in_hand_transactions.js +31 -0
- package/esm/helpers/utils/time-helpers.js +142 -0
- package/esm/helpers/utils/void-items-report-helpers.js +529 -0
- package/esm/helpers/utils/void-order-items-helpers.js +32 -0
- package/esm/helpers/utils/voidations-summary-report-helpers.js +800 -0
- package/esm/helpers/utils/wallet-helpers.js +22 -0
- package/esm/helpers/utils/wallet-redemption-helpers.js +46 -0
- package/esm/helpers/utils/warehouse-catalog-conversion.js +117 -0
- package/esm/helpers/utils/warehouse-inventory.js +59 -0
- package/esm/helpers/utils/warehouse-purchase-order-engine.js +27 -0
- package/esm/helpers/utils/warehouse-purchase-order-receipt-engine.js +205 -0
- package/esm/helpers/utils/warehouse-purchase-order-x-report-helpers.js +1432 -0
- package/esm/helpers/utils/warehouse-sale-order-engine.js +27 -0
- package/esm/helpers/utils/warehouse-sale-order-receipt-engine.js +207 -0
- package/esm/helpers/utils/warehouse-sale-order-x-report-helpers.js +1 -0
- package/esm/helpers/utils/warehouse-sale-x-report-helpers.js +1434 -0
- package/esm/helpers/utils/warehouse-settings-helpers.js +37 -0
- package/esm/helpers/utils/warehouse-void-purchase-order-items-helpers.js +34 -0
- package/esm/helpers/utils/warehouse-void-purchase-order-items-report-helpers.js +18 -0
- package/esm/helpers/utils/warehouse-void-sale-order-items-helpers.js +34 -0
- package/esm/helpers/utils/warehouse-void-sale-order-items-report-helpers.js +18 -0
- package/esm/helpers/utils/warehouse_inventory_transactions.js +91 -0
- package/esm/helpers/utils/x-report-helpers.js +1850 -0
- package/esm/index.js +3 -0
- package/esm/schemas/index.js +2 -0
- package/esm/schemas/models/app_configs.js +36 -0
- package/esm/schemas/models/applied_order_discounts.js +103 -0
- package/esm/schemas/models/brands.js +56 -0
- package/esm/schemas/models/categories.js +74 -0
- package/esm/schemas/models/close_dates.js +63 -0
- package/esm/schemas/models/common-models.js +449 -0
- package/esm/schemas/models/courses.js +62 -0
- package/esm/schemas/models/customer_redemptions.js +82 -0
- package/esm/schemas/models/customers.js +269 -0
- package/esm/schemas/models/deliveries.js +137 -0
- package/esm/schemas/models/delivery_areas.js +97 -0
- package/esm/schemas/models/dinein_floors.js +55 -0
- package/esm/schemas/models/dinein_tables.js +97 -0
- package/esm/schemas/models/dinein_tables_fingerprints.js +96 -0
- package/esm/schemas/models/discounts.js +87 -0
- package/esm/schemas/models/expense_categories.js +61 -0
- package/esm/schemas/models/expense_details.js +130 -0
- package/esm/schemas/models/gift_cards.js +342 -0
- package/esm/schemas/models/halfhalf_setup.js +142 -0
- package/esm/schemas/models/index.js +111 -0
- package/esm/schemas/models/internal_customers.js +139 -0
- package/esm/schemas/models/internal_invoices.js +119 -0
- package/esm/schemas/models/internal_leads.js +78 -0
- package/esm/schemas/models/internal_operational_roles.js +85 -0
- package/esm/schemas/models/internal_staffs.js +65 -0
- package/esm/schemas/models/inventories.js +103 -0
- package/esm/schemas/models/inventory_categories.js +52 -0
- package/esm/schemas/models/inventory_transactions.js +143 -0
- package/esm/schemas/models/item_transactions.js +117 -0
- package/esm/schemas/models/items.js +341 -0
- package/esm/schemas/models/marketing_fingerprints.js +92 -0
- package/esm/schemas/models/menus.js +66 -0
- package/esm/schemas/models/messaging_devices.js +99 -0
- package/esm/schemas/models/modifier_extras.js +120 -0
- package/esm/schemas/models/offers.js +470 -0
- package/esm/schemas/models/offers_fingerprints.js +61 -0
- package/esm/schemas/models/operational_roles.js +155 -0
- package/esm/schemas/models/orders.js +1051 -0
- package/esm/schemas/models/printer_settings.js +245 -0
- package/esm/schemas/models/public_holidays.js +58 -0
- package/esm/schemas/models/reservations.js +127 -0
- package/esm/schemas/models/reviews.js +145 -0
- package/esm/schemas/models/rewards_usage.js +61 -0
- package/esm/schemas/models/riders.js +75 -0
- package/esm/schemas/models/specials.js +169 -0
- package/esm/schemas/models/staff_shifts.js +66 -0
- package/esm/schemas/models/tenant-activity-logs.js +126 -0
- package/esm/schemas/models/tenant_active_jobs.js +77 -0
- package/esm/schemas/models/tenant_calendar.js +89 -0
- package/esm/schemas/models/tenant_cash_drawer_sessions.js +208 -0
- package/esm/schemas/models/tenant_cash_drawers.js +60 -0
- package/esm/schemas/models/tenant_cash_in_hand_transactions.js +69 -0
- package/esm/schemas/models/tenant_cash_in_out.js +104 -0
- package/esm/schemas/models/tenant_clients.js +66 -0
- package/esm/schemas/models/tenant_day_sessions.js +166 -0
- package/esm/schemas/models/tenant_hr_attendance_records.js +87 -0
- package/esm/schemas/models/tenant_hr_biometric_enrollments.js +69 -0
- package/esm/schemas/models/tenant_hr_departments.js +42 -0
- package/esm/schemas/models/tenant_hr_documents.js +71 -0
- package/esm/schemas/models/tenant_hr_employees.js +172 -0
- package/esm/schemas/models/tenant_hr_leave_requests.js +80 -0
- package/esm/schemas/models/tenant_hr_payrolls.js +131 -0
- package/esm/schemas/models/tenant_hr_performance_reviews.js +58 -0
- package/esm/schemas/models/tenant_hr_policies.js +57 -0
- package/esm/schemas/models/tenant_hr_positions.js +48 -0
- package/esm/schemas/models/tenant_hr_shift_schedules.js +84 -0
- package/esm/schemas/models/tenant_hr_shifts.js +64 -0
- package/esm/schemas/models/tenant_instore_shift_sessions.js +204 -0
- package/esm/schemas/models/tenant_instore_shifts.js +63 -0
- package/esm/schemas/models/tenant_inventory_department_transactions.js +116 -0
- package/esm/schemas/models/tenant_inventory_department_utilities.js +85 -0
- package/esm/schemas/models/tenant_inventory_departments.js +55 -0
- package/esm/schemas/models/tenant_inventory_entries.js +131 -0
- package/esm/schemas/models/tenant_metadata.js +88 -0
- package/esm/schemas/models/tenant_order_item_instructions.js +66 -0
- package/esm/schemas/models/tenant_purchase_order_vendor_returns.js +80 -0
- package/esm/schemas/models/tenant_purchase_orders.js +158 -0
- package/esm/schemas/models/tenant_shifts.js +57 -0
- package/esm/schemas/models/tenant_staffs.js +129 -0
- package/esm/schemas/models/tenant_vendors.js +99 -0
- package/esm/schemas/models/tenants.js +811 -0
- package/esm/schemas/models/terminal_devices.js +63 -0
- package/esm/schemas/models/tokens.js +73 -0
- package/esm/schemas/models/track_order_numbers.js +42 -0
- package/esm/schemas/models/void_order_items.js +210 -0
- package/esm/schemas/models/vouchers.js +101 -0
- package/esm/schemas/models/wallet_transactions.js +128 -0
- package/esm/schemas/models/wallets.js +44 -0
- package/esm/schemas/models/warehouse-activity-logs.js +144 -0
- package/esm/schemas/models/warehouse_categories.js +83 -0
- package/esm/schemas/models/warehouse_clients.js +81 -0
- package/esm/schemas/models/warehouse_communications.js +226 -0
- package/esm/schemas/models/warehouse_internal_movements.js +463 -0
- package/esm/schemas/models/warehouse_inventory_entries.js +125 -0
- package/esm/schemas/models/warehouse_inventory_lot_serial_numbers.js +188 -0
- package/esm/schemas/models/warehouse_inventory_transactions.js +133 -0
- package/esm/schemas/models/warehouse_item_transactions.js +97 -0
- package/esm/schemas/models/warehouse_items.js +173 -0
- package/esm/schemas/models/warehouse_operational_roles.js +87 -0
- package/esm/schemas/models/warehouse_purchase_order_receipts.js +163 -0
- package/esm/schemas/models/warehouse_purchase_order_rfqs.js +339 -0
- package/esm/schemas/models/warehouse_purchase_order_vendor_returns.js +199 -0
- package/esm/schemas/models/warehouse_purchase_orders.js +334 -0
- package/esm/schemas/models/warehouse_sale_deliveries.js +155 -0
- package/esm/schemas/models/warehouse_sale_invoices.js +229 -0
- package/esm/schemas/models/warehouse_sale_order_rfqs.js +340 -0
- package/esm/schemas/models/warehouse_sale_orders.js +322 -0
- package/esm/schemas/models/warehouse_staffs.js +104 -0
- package/esm/schemas/models/warehouse_track_order_numbers.js +73 -0
- package/esm/schemas/models/warehouse_vendors.js +99 -0
- package/esm/schemas/models/warehouse_void_purchase_order_items.js +174 -0
- package/esm/schemas/models/warehouse_void_sale_order_items.js +174 -0
- package/esm/schemas/models/warehouses.js +253 -0
- package/esm/schemas/types/app_configs.js +1 -0
- package/esm/schemas/types/applied_order_discounts.js +1 -0
- package/esm/schemas/types/brands.js +1 -0
- package/esm/schemas/types/categories.js +1 -0
- package/esm/schemas/types/close_dates.js +1 -0
- package/esm/schemas/types/common.js +1 -0
- package/esm/schemas/types/courses.js +1 -0
- package/esm/schemas/types/customer_redemptions.js +1 -0
- package/esm/schemas/types/customers.js +1 -0
- package/esm/schemas/types/deliveries.js +1 -0
- package/esm/schemas/types/delivery_areas.js +1 -0
- package/esm/schemas/types/dinein_floors.js +1 -0
- package/esm/schemas/types/dinein_tables.js +1 -0
- package/esm/schemas/types/dinein_tables_fingerprints.js +1 -0
- package/esm/schemas/types/discounts.js +1 -0
- package/esm/schemas/types/expense_categories.js +1 -0
- package/esm/schemas/types/expense_details.js +1 -0
- package/esm/schemas/types/gift_cards.js +1 -0
- package/esm/schemas/types/halfhalf_setup.js +1 -0
- package/esm/schemas/types/index.js +113 -0
- package/esm/schemas/types/internal_customers.js +1 -0
- package/esm/schemas/types/internal_invoices.js +1 -0
- package/esm/schemas/types/internal_leads.js +1 -0
- package/esm/schemas/types/internal_operational_roles.js +16 -0
- package/esm/schemas/types/internal_staffs.js +1 -0
- package/esm/schemas/types/inventories.js +1 -0
- package/esm/schemas/types/inventory_categories.js +1 -0
- package/esm/schemas/types/inventory_department_transactions.js +1 -0
- package/esm/schemas/types/inventory_department_utilities.js +1 -0
- package/esm/schemas/types/inventory_departments.js +1 -0
- package/esm/schemas/types/inventory_transactions.js +1 -0
- package/esm/schemas/types/item_transactions.js +1 -0
- package/esm/schemas/types/items.js +1 -0
- package/esm/schemas/types/marketing_fingerprints.js +1 -0
- package/esm/schemas/types/menus.js +1 -0
- package/esm/schemas/types/messaging_devices.js +1 -0
- package/esm/schemas/types/modifier_extras.js +1 -0
- package/esm/schemas/types/multi_tenants.js +1 -0
- package/esm/schemas/types/offers.js +1 -0
- package/esm/schemas/types/offers_fingerprints.js +1 -0
- package/esm/schemas/types/operational_roles.js +15 -0
- package/esm/schemas/types/orders.js +1 -0
- package/esm/schemas/types/printer_settings.js +1 -0
- package/esm/schemas/types/public_holidays.js +1 -0
- package/esm/schemas/types/reservations.js +1 -0
- package/esm/schemas/types/reviews.js +1 -0
- package/esm/schemas/types/rewards_usage.js +1 -0
- package/esm/schemas/types/riders.js +1 -0
- package/esm/schemas/types/specials.js +1 -0
- package/esm/schemas/types/staff_shifts.js +1 -0
- package/esm/schemas/types/tenant-activity-logs.js +1 -0
- package/esm/schemas/types/tenant_active_jobs.js +1 -0
- package/esm/schemas/types/tenant_calendar.js +1 -0
- package/esm/schemas/types/tenant_cash_drawer_sessions.js +1 -0
- package/esm/schemas/types/tenant_cash_drawers.js +1 -0
- package/esm/schemas/types/tenant_cash_in_hand_transactions.js +1 -0
- package/esm/schemas/types/tenant_cash_in_out.js +1 -0
- package/esm/schemas/types/tenant_clients.js +1 -0
- package/esm/schemas/types/tenant_day_sessions.js +1 -0
- package/esm/schemas/types/tenant_hr_attendance_records.js +1 -0
- package/esm/schemas/types/tenant_hr_biometric_enrollments.js +1 -0
- package/esm/schemas/types/tenant_hr_departments.js +1 -0
- package/esm/schemas/types/tenant_hr_documents.js +1 -0
- package/esm/schemas/types/tenant_hr_employees.js +1 -0
- package/esm/schemas/types/tenant_hr_leave_requests.js +1 -0
- package/esm/schemas/types/tenant_hr_payrolls.js +1 -0
- package/esm/schemas/types/tenant_hr_performance_reviews.js +1 -0
- package/esm/schemas/types/tenant_hr_policies.js +1 -0
- package/esm/schemas/types/tenant_hr_positions.js +1 -0
- package/esm/schemas/types/tenant_hr_shift_schedules.js +1 -0
- package/esm/schemas/types/tenant_hr_shifts.js +1 -0
- package/esm/schemas/types/tenant_instore_shift_sessions.js +1 -0
- package/esm/schemas/types/tenant_instore_shifts.js +1 -0
- package/esm/schemas/types/tenant_inventory_entries.js +1 -0
- package/esm/schemas/types/tenant_metadata.js +1 -0
- package/esm/schemas/types/tenant_order_item_instructions.js +1 -0
- package/esm/schemas/types/tenant_purchase_order_vendor_returns.js +1 -0
- package/esm/schemas/types/tenant_purchase_orders.js +1 -0
- package/esm/schemas/types/tenant_shifts.js +1 -0
- package/esm/schemas/types/tenant_staffs.js +1 -0
- package/esm/schemas/types/tenant_vendors.js +1 -0
- package/esm/schemas/types/tenants.js +1 -0
- package/esm/schemas/types/terminal_devices.js +1 -0
- package/esm/schemas/types/tokens.js +1 -0
- package/esm/schemas/types/track_order_numbers.js +1 -0
- package/esm/schemas/types/void_order_items.js +1 -0
- package/esm/schemas/types/vouchers.js +1 -0
- package/esm/schemas/types/wallet_transactions.js +1 -0
- package/esm/schemas/types/wallets.js +1 -0
- package/esm/schemas/types/warehouse-activity-logs.js +1 -0
- package/esm/schemas/types/warehouse_categories.js +1 -0
- package/esm/schemas/types/warehouse_clients.js +1 -0
- package/esm/schemas/types/warehouse_communications.js +1 -0
- package/esm/schemas/types/warehouse_internal_movements.js +1 -0
- package/esm/schemas/types/warehouse_inventory_entries.js +1 -0
- package/esm/schemas/types/warehouse_inventory_lot_serial_numbers.js +1 -0
- package/esm/schemas/types/warehouse_inventory_transactions.js +1 -0
- package/esm/schemas/types/warehouse_item_transactions.js +1 -0
- package/esm/schemas/types/warehouse_items.js +1 -0
- package/esm/schemas/types/warehouse_operational_roles.js +15 -0
- package/esm/schemas/types/warehouse_purchase_order_receipts.js +18 -0
- package/esm/schemas/types/warehouse_purchase_order_rfqs.js +1 -0
- package/esm/schemas/types/warehouse_purchase_order_vendor_returns.js +1 -0
- package/esm/schemas/types/warehouse_purchase_orders.js +1 -0
- package/esm/schemas/types/warehouse_sale_deliveries.js +1 -0
- package/esm/schemas/types/warehouse_sale_invoices.js +1 -0
- package/esm/schemas/types/warehouse_sale_order_rfqs.js +1 -0
- package/esm/schemas/types/warehouse_sale_orders.js +1 -0
- package/esm/schemas/types/warehouse_staffs.js +1 -0
- package/esm/schemas/types/warehouse_track_order_numbers.js +1 -0
- package/esm/schemas/types/warehouse_vendors.js +1 -0
- package/esm/schemas/types/warehouse_void_purchase_order_items.js +1 -0
- package/esm/schemas/types/warehouse_void_sale_order_items.js +1 -0
- package/esm/schemas/types/warehouses.js +1 -0
- package/lib/helpers/types/api-types.d.ts +37 -0
- package/package.json +6 -3
|
@@ -0,0 +1,2603 @@
|
|
|
1
|
+
import moment from 'moment';
|
|
2
|
+
import { localeAmount } from './common';
|
|
3
|
+
const getLegacyItemReportHead = ({ monochrome, width, zeroPadding }) => {
|
|
4
|
+
const palette = monochrome
|
|
5
|
+
? {
|
|
6
|
+
headingText: '#000000',
|
|
7
|
+
text: '#000000',
|
|
8
|
+
background: '#ffffff',
|
|
9
|
+
success: '#000000',
|
|
10
|
+
info: '#000000',
|
|
11
|
+
divider: '#000000',
|
|
12
|
+
}
|
|
13
|
+
: {
|
|
14
|
+
headingText: '#000000',
|
|
15
|
+
text: '#333333',
|
|
16
|
+
background: '#f5f5f5',
|
|
17
|
+
success: '#008000',
|
|
18
|
+
info: '#0000ff',
|
|
19
|
+
divider: '#DCDCDC',
|
|
20
|
+
};
|
|
21
|
+
const fontLink = monochrome
|
|
22
|
+
? `<link
|
|
23
|
+
rel="stylesheet"
|
|
24
|
+
href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;500;700&display=swap"
|
|
25
|
+
crossorigin="anonymous"
|
|
26
|
+
/>`
|
|
27
|
+
: `<link
|
|
28
|
+
rel="stylesheet"
|
|
29
|
+
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
|
|
30
|
+
crossorigin="anonymous"
|
|
31
|
+
/>`;
|
|
32
|
+
return `<head>
|
|
33
|
+
<meta charset="UTF-8" />
|
|
34
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
35
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
36
|
+
${fontLink}
|
|
37
|
+
<style>
|
|
38
|
+
.cssc-1owvoyj-asbq {
|
|
39
|
+
-webkit-font-smoothing: antialiased;
|
|
40
|
+
-webkit-text-size-adjust: 100%;
|
|
41
|
+
color: ${palette.text};
|
|
42
|
+
line-height: 1.3rem;
|
|
43
|
+
font-size: 1rem;
|
|
44
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
45
|
+
font-weight: 400;
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
flex: 1;
|
|
50
|
+
margin: 0;
|
|
51
|
+
background-color: #ffffff;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.cssc-h-1qeq10-askk {
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
flex: 1;
|
|
60
|
+
gap: 10px;
|
|
61
|
+
margin-top: 15px;
|
|
62
|
+
margin-bottom: 15px;
|
|
63
|
+
background-color: #FFFFFF;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.cssc-1qeq10-askk {
|
|
67
|
+
display: flex;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
flex: 1;
|
|
72
|
+
gap: 10px;
|
|
73
|
+
margin-top: 15px;
|
|
74
|
+
margin-bottom: 15px;
|
|
75
|
+
}
|
|
76
|
+
.cssc-1gb95rg-jskk {
|
|
77
|
+
-webkit-font-smoothing: antialiased;
|
|
78
|
+
-webkit-text-size-adjust: 100%;
|
|
79
|
+
-webkit-tap-highlight-color: transparent;
|
|
80
|
+
color: ${palette.headingText};
|
|
81
|
+
box-sizing: inherit;
|
|
82
|
+
margin: 0;
|
|
83
|
+
font-weight: 500;
|
|
84
|
+
line-height: 1.9500000000000002rem;
|
|
85
|
+
font-size: 1.5rem;
|
|
86
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
87
|
+
text-align: center;
|
|
88
|
+
text-decoration: underline;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.cssc-1gb95rb2-jskk {
|
|
92
|
+
-webkit-font-smoothing: antialiased;
|
|
93
|
+
-webkit-text-size-adjust: 100%;
|
|
94
|
+
-webkit-tap-highlight-color: transparent;
|
|
95
|
+
color: ${palette.headingText};
|
|
96
|
+
box-sizing: inherit;
|
|
97
|
+
margin: 0;
|
|
98
|
+
font-weight: 500;
|
|
99
|
+
line-height: 1.9500000000000002rem;
|
|
100
|
+
font-size: 1.2rem;
|
|
101
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
102
|
+
text-align: center;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.cssc-1iy4zoj-jskk {
|
|
106
|
+
-webkit-font-smoothing: antialiased;
|
|
107
|
+
-webkit-text-size-adjust: 100%;
|
|
108
|
+
|
|
109
|
+
border-collapse: collapse;
|
|
110
|
+
border-spacing: 0;
|
|
111
|
+
text-align: right;
|
|
112
|
+
color: ${palette.headingText};
|
|
113
|
+
box-sizing: inherit;
|
|
114
|
+
margin: 0;
|
|
115
|
+
line-height: 1.3rem;
|
|
116
|
+
font-size: 1rem;
|
|
117
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
118
|
+
font-weight: 400;
|
|
119
|
+
}
|
|
120
|
+
.cssc-1ebo3of-jskk {
|
|
121
|
+
-webkit-font-smoothing: antialiased;
|
|
122
|
+
-webkit-text-size-adjust: 100%;
|
|
123
|
+
|
|
124
|
+
border-collapse: collapse;
|
|
125
|
+
border-spacing: 0;
|
|
126
|
+
text-align: left;
|
|
127
|
+
color: ${palette.headingText};
|
|
128
|
+
box-sizing: inherit;
|
|
129
|
+
margin: 0;
|
|
130
|
+
line-height: 1.1375rem;
|
|
131
|
+
font-size: 0.875rem;
|
|
132
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
133
|
+
font-weight: 400;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.css-13qsmk5-askk {
|
|
137
|
+
-webkit-font-smoothing: antialiased;
|
|
138
|
+
-webkit-text-size-adjust: 100%;
|
|
139
|
+
color: ${palette.text};
|
|
140
|
+
line-height: 1.3rem;
|
|
141
|
+
font-size: 1rem;
|
|
142
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
143
|
+
font-weight: 400;
|
|
144
|
+
box-sizing: inherit;
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-direction: column;
|
|
147
|
+
flex: 1;
|
|
148
|
+
width: 100%;
|
|
149
|
+
background-color: ${palette.background};
|
|
150
|
+
padding: 15px ${zeroPadding ? '0' : '15px'};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.css-pl8gqh-askk {
|
|
154
|
+
-webkit-font-smoothing: antialiased;
|
|
155
|
+
-webkit-text-size-adjust: 100%;
|
|
156
|
+
color: ${palette.text};
|
|
157
|
+
line-height: 1.3rem;
|
|
158
|
+
font-size: 1rem;
|
|
159
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
160
|
+
font-weight: 400;
|
|
161
|
+
box-sizing: inherit;
|
|
162
|
+
display: flex;
|
|
163
|
+
margin: 0;
|
|
164
|
+
gap: 15px;
|
|
165
|
+
flex-direction: ${!width || width > 600 ? 'row' : 'column'};
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.css-1xljckjkls {
|
|
169
|
+
-webkit-font-smoothing: antialiased;
|
|
170
|
+
-webkit-text-size-adjust: 100%;
|
|
171
|
+
color: ${palette.text};
|
|
172
|
+
line-height: 1.3rem;
|
|
173
|
+
font-size: 1rem;
|
|
174
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
175
|
+
font-weight: 400;
|
|
176
|
+
box-sizing: inherit;
|
|
177
|
+
position: relative;
|
|
178
|
+
width: 100%;
|
|
179
|
+
background-color: #ffffff;
|
|
180
|
+
border: 1px solid ${palette.divider};
|
|
181
|
+
height: 100px;
|
|
182
|
+
padding: 15px;
|
|
183
|
+
display: flex;
|
|
184
|
+
-webkit-box-align: center;
|
|
185
|
+
align-items: center;
|
|
186
|
+
-webkit-box-pack: center;
|
|
187
|
+
justify-content: center;
|
|
188
|
+
text-align: center;
|
|
189
|
+
flex-direction: column;
|
|
190
|
+
gap: 10px;
|
|
191
|
+
border-radius: 20px;
|
|
192
|
+
overflow: hidden;
|
|
193
|
+
margin: 0;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.css-1mt1wnh-jskk {
|
|
197
|
+
-webkit-font-smoothing: antialiased;
|
|
198
|
+
-webkit-text-size-adjust: 100%;
|
|
199
|
+
color: ${palette.text};
|
|
200
|
+
box-sizing: inherit;
|
|
201
|
+
margin: 0;
|
|
202
|
+
font-weight: 500;
|
|
203
|
+
line-height: 1.4625000000000001rem;
|
|
204
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
205
|
+
font-size: 1.3125rem;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.css-1ul5w1p-jskk {
|
|
209
|
+
-webkit-font-smoothing: antialiased;
|
|
210
|
+
-webkit-text-size-adjust: 100%;
|
|
211
|
+
text-align: center;
|
|
212
|
+
box-sizing: inherit;
|
|
213
|
+
margin: 0;
|
|
214
|
+
font-weight: 500;
|
|
215
|
+
line-height: 1.4625000000000001rem;
|
|
216
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
217
|
+
color: ${palette.success};
|
|
218
|
+
font-size: 1.3125rem;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.css-43utj0-jskk {
|
|
222
|
+
-webkit-font-smoothing: antialiased;
|
|
223
|
+
-webkit-text-size-adjust: 100%;
|
|
224
|
+
text-align: center;
|
|
225
|
+
box-sizing: inherit;
|
|
226
|
+
margin: 0;
|
|
227
|
+
font-weight: 500;
|
|
228
|
+
line-height: 1.4625000000000001rem;
|
|
229
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
230
|
+
color: ${palette.info};
|
|
231
|
+
font-size: 1.3125rem;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.css-11s7hpn-askk {
|
|
235
|
+
-webkit-font-smoothing: antialiased;
|
|
236
|
+
-webkit-text-size-adjust: 100%;
|
|
237
|
+
color: ${palette.text};
|
|
238
|
+
line-height: 1.3rem;
|
|
239
|
+
font-size: 1rem;
|
|
240
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
241
|
+
font-weight: 400;
|
|
242
|
+
box-sizing: inherit;
|
|
243
|
+
display: flex;
|
|
244
|
+
flex-direction: column;
|
|
245
|
+
background-color: #ffffff;
|
|
246
|
+
border-radius: 8px;
|
|
247
|
+
border: 1px solid ${palette.divider};
|
|
248
|
+
margin: 0;
|
|
249
|
+
margin-top: 16px;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.css-8jyaoxllk {
|
|
253
|
+
-webkit-font-smoothing: antialiased;
|
|
254
|
+
-webkit-text-size-adjust: 100%;
|
|
255
|
+
color: ${palette.text};
|
|
256
|
+
line-height: 1.3rem;
|
|
257
|
+
font-size: 1rem;
|
|
258
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
259
|
+
font-weight: 400;
|
|
260
|
+
box-sizing: inherit;
|
|
261
|
+
padding: 15px;
|
|
262
|
+
padding-bottom: 0px;
|
|
263
|
+
margin: 0;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.css-1l6ueuj-liks {
|
|
267
|
+
-webkit-font-smoothing: antialiased;
|
|
268
|
+
-webkit-text-size-adjust: 100%;
|
|
269
|
+
color: ${palette.text};
|
|
270
|
+
line-height: 1.3rem;
|
|
271
|
+
font-size: 1rem;
|
|
272
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
273
|
+
font-weight: 400;
|
|
274
|
+
box-sizing: inherit;
|
|
275
|
+
flex-shrink: 0;
|
|
276
|
+
border-width: 0;
|
|
277
|
+
border-style: solid;
|
|
278
|
+
border-color: ${palette.text};
|
|
279
|
+
border-bottom-width: thin;
|
|
280
|
+
margin: 0;
|
|
281
|
+
margin-top: 16px;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.css-1s8sakjsakl {
|
|
285
|
+
-webkit-font-smoothing: antialiased;
|
|
286
|
+
-webkit-text-size-adjust: 100%;
|
|
287
|
+
color: ${palette.text};
|
|
288
|
+
line-height: 1.3rem;
|
|
289
|
+
font-size: 1rem;
|
|
290
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
291
|
+
font-weight: 400;
|
|
292
|
+
box-sizing: inherit;
|
|
293
|
+
display: flex;
|
|
294
|
+
flex-direction: column;
|
|
295
|
+
gap: 15px;
|
|
296
|
+
height: 100%;
|
|
297
|
+
background-color: #ffffff;
|
|
298
|
+
border-radius: 8px;
|
|
299
|
+
border: 1px solid ${palette.divider};
|
|
300
|
+
position: relative;
|
|
301
|
+
margin: 0;
|
|
302
|
+
margin-top: 16px;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.css-58t1oz-askk {
|
|
306
|
+
-webkit-font-smoothing: antialiased;
|
|
307
|
+
-webkit-text-size-adjust: 100%;
|
|
308
|
+
color: ${palette.text};
|
|
309
|
+
line-height: 1.3rem;
|
|
310
|
+
font-size: 1rem;
|
|
311
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
312
|
+
font-weight: 400;
|
|
313
|
+
box-sizing: inherit;
|
|
314
|
+
display: flex;
|
|
315
|
+
flex-direction: row;
|
|
316
|
+
-webkit-box-pack: justify;
|
|
317
|
+
justify-content: space-between;
|
|
318
|
+
-webkit-box-align: center;
|
|
319
|
+
align-items: center;
|
|
320
|
+
padding: 15px;
|
|
321
|
+
background-color: #ffffff;
|
|
322
|
+
border-top-right-radius: 8px;
|
|
323
|
+
border-top-left-radius: 8px;
|
|
324
|
+
border-bottom: 1px solid ${palette.divider};
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.css-10h77yy-jskk {
|
|
328
|
+
-webkit-font-smoothing: antialiased;
|
|
329
|
+
-webkit-text-size-adjust: 100%;
|
|
330
|
+
color: ${palette.text};
|
|
331
|
+
box-sizing: inherit;
|
|
332
|
+
font-weight: bold;
|
|
333
|
+
line-height: 1.38125rem;
|
|
334
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
335
|
+
font-size: 1.2rem;
|
|
336
|
+
margin: 0;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.css-1z023sex-jskk {
|
|
340
|
+
-webkit-font-smoothing: antialiased;
|
|
341
|
+
-webkit-text-size-adjust: 100%;
|
|
342
|
+
box-sizing: inherit;
|
|
343
|
+
font-weight: bold;
|
|
344
|
+
line-height: 1.38125rem;
|
|
345
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
346
|
+
color: ${palette.success};
|
|
347
|
+
font-size: 1.2rem;
|
|
348
|
+
margin: 0;
|
|
349
|
+
margin-left: 16px;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.css-1z023sx-jskk {
|
|
353
|
+
-webkit-font-smoothing: antialiased;
|
|
354
|
+
-webkit-text-size-adjust: 100%;
|
|
355
|
+
box-sizing: inherit;
|
|
356
|
+
font-weight: 500;
|
|
357
|
+
line-height: 1.38125rem;
|
|
358
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
359
|
+
color: ${palette.success};
|
|
360
|
+
font-size: 1rem;
|
|
361
|
+
margin: 0;
|
|
362
|
+
margin-left: 16px;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.css-r1d07c-askk {
|
|
366
|
+
-webkit-font-smoothing: antialiased;
|
|
367
|
+
-webkit-text-size-adjust: 100%;
|
|
368
|
+
color: ${palette.text};
|
|
369
|
+
line-height: 1.3rem;
|
|
370
|
+
font-size: 1rem;
|
|
371
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
372
|
+
font-weight: 400;
|
|
373
|
+
box-sizing: inherit;
|
|
374
|
+
display: flex;
|
|
375
|
+
flex-direction: column;
|
|
376
|
+
gap: 15px;
|
|
377
|
+
padding: 15px;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.css-nen11g-askk {
|
|
381
|
+
-webkit-font-smoothing: antialiased;
|
|
382
|
+
-webkit-text-size-adjust: 100%;
|
|
383
|
+
color: ${palette.text};
|
|
384
|
+
line-height: 1.3rem;
|
|
385
|
+
font-size: 1rem;
|
|
386
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
387
|
+
font-weight: 400;
|
|
388
|
+
box-sizing: inherit;
|
|
389
|
+
display: flex;
|
|
390
|
+
flex-direction: column;
|
|
391
|
+
margin: 0;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.css-1aua8yd-askk {
|
|
395
|
+
-webkit-font-smoothing: antialiased;
|
|
396
|
+
-webkit-text-size-adjust: 100%;
|
|
397
|
+
color: ${palette.text};
|
|
398
|
+
line-height: 1.3rem;
|
|
399
|
+
font-size: 1rem;
|
|
400
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
401
|
+
font-weight: 400;
|
|
402
|
+
box-sizing: inherit;
|
|
403
|
+
display: flex;
|
|
404
|
+
flex-direction: row;
|
|
405
|
+
align-items: flex-start;
|
|
406
|
+
-webkit-box-pack: justify;
|
|
407
|
+
justify-content: space-between;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.css-95rbei-askk {
|
|
411
|
+
-webkit-font-smoothing: antialiased;
|
|
412
|
+
-webkit-text-size-adjust: 100%;
|
|
413
|
+
color: ${palette.text};
|
|
414
|
+
line-height: 1.3rem;
|
|
415
|
+
font-size: 1rem;
|
|
416
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
417
|
+
font-weight: 400;
|
|
418
|
+
box-sizing: inherit;
|
|
419
|
+
display: flex;
|
|
420
|
+
flex-direction: row;
|
|
421
|
+
-webkit-box-align: start;
|
|
422
|
+
align-items: flex-start;
|
|
423
|
+
margin: 0;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.css-zfkluy-jskk {
|
|
427
|
+
-webkit-font-smoothing: antialiased;
|
|
428
|
+
-webkit-text-size-adjust: 100%;
|
|
429
|
+
box-sizing: inherit;
|
|
430
|
+
font-weight: 500;
|
|
431
|
+
line-height: 1.3rem;
|
|
432
|
+
font-size: 1rem;
|
|
433
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
434
|
+
color: ${palette.info};
|
|
435
|
+
margin: 0;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.css-21997j-jskk {
|
|
439
|
+
-webkit-font-smoothing: antialiased;
|
|
440
|
+
-webkit-text-size-adjust: 100%;
|
|
441
|
+
box-sizing: inherit;
|
|
442
|
+
font-weight: 500;
|
|
443
|
+
line-height: 1.3rem;
|
|
444
|
+
font-size: 1rem;
|
|
445
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
446
|
+
color: ${palette.text};
|
|
447
|
+
margin: 0;
|
|
448
|
+
margin-left: 4px;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.css-1oxswqj-askk {
|
|
452
|
+
-webkit-font-smoothing: antialiased;
|
|
453
|
+
-webkit-text-size-adjust: 100%;
|
|
454
|
+
color: ${palette.text};
|
|
455
|
+
line-height: 1.3rem;
|
|
456
|
+
font-size: 1rem;
|
|
457
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
458
|
+
font-weight: 400;
|
|
459
|
+
box-sizing: inherit;
|
|
460
|
+
display: flex;
|
|
461
|
+
flex-direction: row;
|
|
462
|
+
gap: 8px;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.css-1qfrzlclkjs {
|
|
466
|
+
-webkit-font-smoothing: antialiased;
|
|
467
|
+
-webkit-text-size-adjust: 100%;
|
|
468
|
+
color: ${palette.text};
|
|
469
|
+
line-height: 1.3rem;
|
|
470
|
+
font-size: 1rem;
|
|
471
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
472
|
+
font-weight: 400;
|
|
473
|
+
box-sizing: inherit;
|
|
474
|
+
height: 100%;
|
|
475
|
+
min-height: 25px;
|
|
476
|
+
border-left: 1px solid ${palette.divider};
|
|
477
|
+
border-bottom: 1px solid ${palette.divider};
|
|
478
|
+
width: 20px;
|
|
479
|
+
margin-left: 0px;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.css-1x9oqjh-askk {
|
|
483
|
+
-webkit-font-smoothing: antialiased;
|
|
484
|
+
-webkit-text-size-adjust: 100%;
|
|
485
|
+
color: ${palette.text};
|
|
486
|
+
line-height: 1.3rem;
|
|
487
|
+
font-size: 1rem;
|
|
488
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
489
|
+
font-weight: 400;
|
|
490
|
+
box-sizing: inherit;
|
|
491
|
+
display: flex;
|
|
492
|
+
flex-direction: row;
|
|
493
|
+
-webkit-box-align: center;
|
|
494
|
+
align-items: center;
|
|
495
|
+
-webkit-box-pack: justify;
|
|
496
|
+
justify-content: space-between;
|
|
497
|
+
width: 100%;
|
|
498
|
+
padding-top: 10px;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.css-1kyyrbe-jskk {
|
|
502
|
+
-webkit-font-smoothing: antialiased;
|
|
503
|
+
-webkit-text-size-adjust: 100%;
|
|
504
|
+
box-sizing: inherit;
|
|
505
|
+
font-weight: 500;
|
|
506
|
+
line-height: 1.3rem;
|
|
507
|
+
font-size: 1rem;
|
|
508
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
509
|
+
color: ${palette.text};
|
|
510
|
+
margin: 0;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.css-1jq5hv-jskk {
|
|
514
|
+
-webkit-font-smoothing: antialiased;
|
|
515
|
+
-webkit-text-size-adjust: 100%;
|
|
516
|
+
box-sizing: inherit;
|
|
517
|
+
line-height: 1.3rem;
|
|
518
|
+
font-size: 1rem;
|
|
519
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
520
|
+
font-weight: 400;
|
|
521
|
+
color: ${palette.text};
|
|
522
|
+
margin: 0;
|
|
523
|
+
margin-left: 4px;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.css-aip1ex-askk {
|
|
527
|
+
-webkit-font-smoothing: antialiased;
|
|
528
|
+
-webkit-text-size-adjust: 100%;
|
|
529
|
+
color: ${palette.text};
|
|
530
|
+
line-height: 1.3rem;
|
|
531
|
+
font-size: 1rem;
|
|
532
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
533
|
+
font-weight: 400;
|
|
534
|
+
box-sizing: inherit;
|
|
535
|
+
display: flex;
|
|
536
|
+
flex: 1;
|
|
537
|
+
margin: 0;
|
|
538
|
+
margin-top: 16px;
|
|
539
|
+
gap: 15px;
|
|
540
|
+
flex-direction: ${!width || width > 600 ? 'row' : 'column'};
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.css-16f6p1q-askk {
|
|
544
|
+
-webkit-font-smoothing: antialiased;
|
|
545
|
+
-webkit-text-size-adjust: 100%;
|
|
546
|
+
color: ${palette.text};
|
|
547
|
+
line-height: 1.3rem;
|
|
548
|
+
font-size: 1rem;
|
|
549
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
550
|
+
font-weight: 400;
|
|
551
|
+
box-sizing: inherit;
|
|
552
|
+
display: flex;
|
|
553
|
+
flex-direction: column;
|
|
554
|
+
flex: 1;
|
|
555
|
+
margin: 0;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
${monochrome
|
|
559
|
+
? `
|
|
560
|
+
/* Receipt Printer Optimized Styles - Monochrome */
|
|
561
|
+
|
|
562
|
+
.cssc-1owvoyj-asbq {
|
|
563
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
564
|
+
font-size: 17px !important;
|
|
565
|
+
line-height: 19px !important;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.cssc-h-1qeq10-askk,
|
|
569
|
+
.cssc-1qeq10-askk {
|
|
570
|
+
gap: 2px !important;
|
|
571
|
+
margin-top: 4px !important;
|
|
572
|
+
margin-bottom: 4px !important;
|
|
573
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.cssc-1gb95rg-jskk,
|
|
577
|
+
.cssc-1gb95rb2-jskk {
|
|
578
|
+
font-size: 24px !important;
|
|
579
|
+
line-height: 26px !important;
|
|
580
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.cssc-1iy4zoj-jskk,
|
|
584
|
+
.cssc-1ebo3of-jskk {
|
|
585
|
+
font-size: 17px !important;
|
|
586
|
+
line-height: 19px !important;
|
|
587
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.cssc-1ebo3of-jkss {
|
|
591
|
+
font-size: 16px !important;
|
|
592
|
+
line-height: 18px !important;
|
|
593
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.cssc-16f6p1q-skk {
|
|
597
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.cssc-rorn0c-klask {
|
|
601
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.cssc-1m6vi3w-klask {
|
|
605
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.cssc-15wwp11-kjask {
|
|
609
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.cssc-ho2sf9-kjask {
|
|
613
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.cssc-idkl0b-kjask {
|
|
617
|
+
padding: 2px 4px !important;
|
|
618
|
+
font-size: 17px !important;
|
|
619
|
+
line-height: 19px !important;
|
|
620
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.cssc-rq2z2r-kjask {
|
|
624
|
+
font-size: 18px !important;
|
|
625
|
+
line-height: 20px !important;
|
|
626
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.cssc-1ymm2he-kjask {
|
|
630
|
+
padding: 2px 4px !important;
|
|
631
|
+
font-size: 17px !important;
|
|
632
|
+
line-height: 19px !important;
|
|
633
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.cssc-eyhmry-kjask {
|
|
637
|
+
padding: 2px 4px !important;
|
|
638
|
+
font-size: 17px !important;
|
|
639
|
+
line-height: 19px !important;
|
|
640
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.cssc-apqrd9-kjask {
|
|
644
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
.cssc-kkegnv-kjask {
|
|
648
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
.cssc-1d7qqp0-kjask {
|
|
652
|
+
padding: 2px 4px !important;
|
|
653
|
+
font-size: 17px !important;
|
|
654
|
+
line-height: 19px !important;
|
|
655
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.cssc-1ebo3of-kjask {
|
|
659
|
+
font-size: 17px !important;
|
|
660
|
+
line-height: 19px !important;
|
|
661
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
.cssc-up54xb-kjask {
|
|
665
|
+
padding: 2px 4px !important;
|
|
666
|
+
font-size: 17px !important;
|
|
667
|
+
line-height: 19px !important;
|
|
668
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.cssc-v53jtm-kjask {
|
|
672
|
+
padding: 2px 4px !important;
|
|
673
|
+
font-size: 17px !important;
|
|
674
|
+
line-height: 19px !important;
|
|
675
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.cssc-1-ho5-x3p {
|
|
679
|
+
gap: 2px !important;
|
|
680
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
.cssc-gmwslw-kjask {
|
|
684
|
+
font-size: 17px !important;
|
|
685
|
+
line-height: 19px !important;
|
|
686
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.cssc-1iy4zoj-jask {
|
|
690
|
+
font-size: 17px !important;
|
|
691
|
+
line-height: 19px !important;
|
|
692
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.cssc-13sv1r4-kjask {
|
|
696
|
+
font-size: 17px !important;
|
|
697
|
+
line-height: 19px !important;
|
|
698
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.cssc-1l6ueuj-kjask {
|
|
702
|
+
margin-top: 1px !important;
|
|
703
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
.cssc-1f6p1q-askk {
|
|
707
|
+
gap: 4px !important;
|
|
708
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.css-16f6p1q-askk {
|
|
712
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
/* Item Report Specific - Smaller Fonts for Receipt */
|
|
716
|
+
.css-13qsmk5-askk {
|
|
717
|
+
padding: 4px !important;
|
|
718
|
+
font-size: 15px !important;
|
|
719
|
+
line-height: 17px !important;
|
|
720
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.css-pl8gqh-askk {
|
|
724
|
+
gap: 4px !important;
|
|
725
|
+
font-size: 15px !important;
|
|
726
|
+
line-height: 17px !important;
|
|
727
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
.css-1xljckjkls {
|
|
731
|
+
height: auto !important;
|
|
732
|
+
padding: 4px !important;
|
|
733
|
+
gap: 2px !important;
|
|
734
|
+
border-radius: 4px !important;
|
|
735
|
+
font-size: 15px !important;
|
|
736
|
+
line-height: 17px !important;
|
|
737
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
.css-1mt1wnh-jskk {
|
|
741
|
+
font-size: 18px !important;
|
|
742
|
+
line-height: 17px !important;
|
|
743
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
.css-1ul5w1p-jskk,
|
|
747
|
+
.css-43utj0-jskk {
|
|
748
|
+
font-size: 18px !important;
|
|
749
|
+
line-height: 17px !important;
|
|
750
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.css-11s7hpn-askk {
|
|
754
|
+
margin-top: 4px !important;
|
|
755
|
+
font-size: 15px !important;
|
|
756
|
+
line-height: 17px !important;
|
|
757
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.css-8jyaoxllk {
|
|
761
|
+
padding: 4px !important;
|
|
762
|
+
font-size: 15px !important;
|
|
763
|
+
line-height: 17px !important;
|
|
764
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
.css-1l6ueuj-liks {
|
|
768
|
+
margin-top: 4px !important;
|
|
769
|
+
font-size: 15px !important;
|
|
770
|
+
line-height: 17px !important;
|
|
771
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
.css-1s8sakjsakl {
|
|
775
|
+
gap: 4px !important;
|
|
776
|
+
margin-top: 4px !important;
|
|
777
|
+
font-size: 15px !important;
|
|
778
|
+
line-height: 17px !important;
|
|
779
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.css-58t1oz-askk {
|
|
783
|
+
padding: 4px !important;
|
|
784
|
+
font-size: 15px !important;
|
|
785
|
+
line-height: 17px !important;
|
|
786
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
.css-10h77yy-jskk {
|
|
790
|
+
font-size: 16px !important;
|
|
791
|
+
line-height: 16px !important;
|
|
792
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.css-1z023sex-jskk,
|
|
796
|
+
.css-1z023sx-jskk {
|
|
797
|
+
font-size: 16px !important;
|
|
798
|
+
line-height: 16px !important;
|
|
799
|
+
margin-left: 4px !important;
|
|
800
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.css-r1d07c-askk {
|
|
804
|
+
gap: 4px !important;
|
|
805
|
+
padding: 4px !important;
|
|
806
|
+
font-size: 15px !important;
|
|
807
|
+
line-height: 17px !important;
|
|
808
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.css-nen11g-askk {
|
|
812
|
+
font-size: 15px !important;
|
|
813
|
+
line-height: 17px !important;
|
|
814
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.css-1aua8yd-askk {
|
|
818
|
+
font-size: 15px !important;
|
|
819
|
+
line-height: 17px !important;
|
|
820
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
.css-95rbei-askk {
|
|
824
|
+
font-size: 15px !important;
|
|
825
|
+
line-height: 17px !important;
|
|
826
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
.css-zfkluy-jskk,
|
|
830
|
+
.css-21997j-jskk {
|
|
831
|
+
font-size: 15px !important;
|
|
832
|
+
line-height: 17px !important;
|
|
833
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
.css-1oxswqj-askk {
|
|
837
|
+
gap: 4px !important;
|
|
838
|
+
font-size: 15px !important;
|
|
839
|
+
line-height: 17px !important;
|
|
840
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
.css-1qfrzlclkjs {
|
|
844
|
+
min-height: 15px !important;
|
|
845
|
+
width: 10px !important;
|
|
846
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.css-1x9oqjh-askk {
|
|
850
|
+
padding-top: 2px !important;
|
|
851
|
+
font-size: 15px !important;
|
|
852
|
+
line-height: 17px !important;
|
|
853
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
.css-1kyyrbe-jskk,
|
|
857
|
+
.css-1jq5hv-jskk {
|
|
858
|
+
font-size: 15px !important;
|
|
859
|
+
line-height: 17px !important;
|
|
860
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.css-aip1ex-askk {
|
|
864
|
+
margin-top: 4px !important;
|
|
865
|
+
gap: 4px !important;
|
|
866
|
+
font-size: 15px !important;
|
|
867
|
+
line-height: 17px !important;
|
|
868
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
869
|
+
}
|
|
870
|
+
`
|
|
871
|
+
: ''}
|
|
872
|
+
</style>
|
|
873
|
+
<title>Item Sales Report</title>
|
|
874
|
+
</head>`;
|
|
875
|
+
};
|
|
876
|
+
function getLegacyItemReportBody({ categoriesChannel, itemsChannels, modifiersChannel, currency_symbol, from, to, tenantName, menuName, itemNetAmount, count, isFilterApplied, monochrome, showRevenue, hideModifiersDescription, }) {
|
|
877
|
+
// ======================>>>><<<<=====================
|
|
878
|
+
const shouldShowRevenue = showRevenue ?? true;
|
|
879
|
+
const shouldHideModifiersDescription = hideModifiersDescription ?? false;
|
|
880
|
+
const dealTextColor = monochrome ? '#000000' : '#9e9e9e';
|
|
881
|
+
const dealBadgeColor = monochrome ? '#000000' : '#f1c24a';
|
|
882
|
+
const dealMetaColor = monochrome ? '#000000' : '#777';
|
|
883
|
+
let itemSales = '';
|
|
884
|
+
if (itemsChannels != null && itemsChannels.length > 0) {
|
|
885
|
+
let categoryItems = '';
|
|
886
|
+
for (const category of itemsChannels) {
|
|
887
|
+
let items = '';
|
|
888
|
+
for (const item of category.channel) {
|
|
889
|
+
let subItems = '';
|
|
890
|
+
const dealCount = item.subChannels?.reduce((sum, subItem) => sum + (subItem.referenceId != null ? subItem.count : 0), 0) ?? 0;
|
|
891
|
+
const individualCount = Math.max(0, item.count - dealCount);
|
|
892
|
+
const hasDeal = dealCount > 0;
|
|
893
|
+
for (const subItem of item.subChannels) {
|
|
894
|
+
if (shouldHideModifiersDescription) {
|
|
895
|
+
continue;
|
|
896
|
+
}
|
|
897
|
+
const isReferenced = subItem.referenceId != null;
|
|
898
|
+
const subDealCount = subItem.dealCount ?? 0;
|
|
899
|
+
const subIndividualCount = subItem.individualCount ?? Math.max(0, subItem.count - subDealCount);
|
|
900
|
+
const showModifierSplit = !isReferenced && subDealCount > 0;
|
|
901
|
+
const nameStyle = isReferenced ? `color:${dealTextColor};font-style:italic;` : '';
|
|
902
|
+
const dealBadge = isReferenced
|
|
903
|
+
? `<span style="border:1px solid ${dealBadgeColor};color:${dealBadgeColor};border-radius:10px;padding:2px 6px;margin-left:6px;font-size:12px;">Deal Item</span>`
|
|
904
|
+
: '';
|
|
905
|
+
subItems += `<div class="css-1oxswqj-askk">
|
|
906
|
+
<div class="css-1qfrzlclkjs" style="margin-left: ${subItem.level * 30}px;"></div>
|
|
907
|
+
<div class="css-1x9oqjh-askk">
|
|
908
|
+
<div class="css-95rbei-askk">
|
|
909
|
+
<h6 class="css-1kyyrbe-jskk">${subItem.count}</h6>
|
|
910
|
+
<div style="display:flex;flex-direction:column;gap:0;">
|
|
911
|
+
<p class="css-1jq5hv-jskk" style="${nameStyle}">${subItem.name}${dealBadge}</p>
|
|
912
|
+
${showModifierSplit
|
|
913
|
+
? `<p class="css-1jq5hv-jskk" style="color:${dealMetaColor};font-size:10px;line-height:12px;display:block;margin-top:2px;">Individual: ${subIndividualCount} • Deal: ${subDealCount}</p>`
|
|
914
|
+
: ''}
|
|
915
|
+
</div>
|
|
916
|
+
</div>
|
|
917
|
+
|
|
918
|
+
${shouldShowRevenue && subItem.grossAmount > 0
|
|
919
|
+
? `<h6 class="css-1z023sx-jskk">${localeAmount(currency_symbol, subItem.grossAmount)}</h6>`
|
|
920
|
+
: ''}
|
|
921
|
+
</div>
|
|
922
|
+
</div>`;
|
|
923
|
+
}
|
|
924
|
+
items += `<div class="css-nen11g-askk">
|
|
925
|
+
<div class="css-1aua8yd-askk">
|
|
926
|
+
<div class="css-95rbei-askk">
|
|
927
|
+
<h6 class="css-zfkluy-jskk">${item.count}</h6>
|
|
928
|
+
<div style="display:flex;flex-direction:column;gap:0;">
|
|
929
|
+
<h6 class="css-21997j-jskk" style="margin-left:4px;">${item.name}</h6>
|
|
930
|
+
${hasDeal
|
|
931
|
+
? `<p class="css-1jq5hv-jskk" style="color:${dealMetaColor};font-size:10px;line-height:12px;display:block;margin-top:2px;">Individual: ${individualCount} • Deal: ${dealCount}</p>`
|
|
932
|
+
: ''}
|
|
933
|
+
</div>
|
|
934
|
+
</div>
|
|
935
|
+
${shouldShowRevenue && item.grossAmount > 0
|
|
936
|
+
? `<h6 class="css-1z023sx-jskk">${localeAmount(currency_symbol, item.grossAmount)}</h6>`
|
|
937
|
+
: ''}
|
|
938
|
+
${shouldShowRevenue && hasDeal && item.grossAmount > 0
|
|
939
|
+
? `<p class="css-1jq5hv-jskk" style="color:${dealMetaColor};font-size:10px;line-height:12px;display:block;margin-top:2px;">Individual revenue</p>`
|
|
940
|
+
: ''}
|
|
941
|
+
</div>
|
|
942
|
+
${subItems}
|
|
943
|
+
</div>`;
|
|
944
|
+
}
|
|
945
|
+
categoryItems += `
|
|
946
|
+
<hr class="css-1l6ueuj-liks" />
|
|
947
|
+
<div class="css-1s8sakjsakl">
|
|
948
|
+
<div class="css-58t1oz-askk">
|
|
949
|
+
<h6 class="css-10h77yy-jskk">${category.count} ${category.category_name}</h6>
|
|
950
|
+
${shouldShowRevenue
|
|
951
|
+
? `<h6 class="css-1z023sex-jskk">Total: ${localeAmount(currency_symbol, category.grossAmount)}</h6>`
|
|
952
|
+
: ''}
|
|
953
|
+
</div>
|
|
954
|
+
<div class="css-r1d07c-askk">
|
|
955
|
+
${items}
|
|
956
|
+
</div>
|
|
957
|
+
</div>`;
|
|
958
|
+
}
|
|
959
|
+
itemSales += `<div class="css-11s7hpn-askk">
|
|
960
|
+
<div class="css-8jyaoxllk">
|
|
961
|
+
<h5 class="css-1mt1wnh-jskk">Item Sales</h5>
|
|
962
|
+
</div>
|
|
963
|
+
${categoryItems}
|
|
964
|
+
</div>`;
|
|
965
|
+
}
|
|
966
|
+
let extrasExist = false;
|
|
967
|
+
const getExtraSales = (title, channels) => {
|
|
968
|
+
let items = '';
|
|
969
|
+
for (const channel of channels) {
|
|
970
|
+
const channelDealCount = channel.dealCount ?? 0;
|
|
971
|
+
const channelIndividualCount = channel.individualCount ?? Math.max(0, channel.count - channelDealCount);
|
|
972
|
+
const showChannelSplit = channelDealCount > 0;
|
|
973
|
+
items += `<div class="css-nen11g-askk">
|
|
974
|
+
<div class="css-1aua8yd-askk">
|
|
975
|
+
<div class="css-95rbei-askk">
|
|
976
|
+
<h6 class="css-zfkluy-jskk">${channel.count}</h6>
|
|
977
|
+
<div style="display:flex;flex-direction:column;gap:0;">
|
|
978
|
+
<h6 class="css-21997j-jskk" style="margin-left:4px;">
|
|
979
|
+
${channel.name}
|
|
980
|
+
</h6>
|
|
981
|
+
${showChannelSplit
|
|
982
|
+
? `<p class="css-1jq5hv-jskk" style="color:${dealMetaColor};font-size:10px;line-height:12px;display:block;margin-top:2px;">Individual: ${channelIndividualCount} • Deal: ${channelDealCount}</p>`
|
|
983
|
+
: ''}
|
|
984
|
+
</div>
|
|
985
|
+
</div>
|
|
986
|
+
${shouldShowRevenue && channel.grossAmount > 0
|
|
987
|
+
? `<h6 class="css-1z023sx-jskk">${localeAmount(currency_symbol, channel.grossAmount)}</h6>`
|
|
988
|
+
: ''}
|
|
989
|
+
</div>
|
|
990
|
+
</div>`;
|
|
991
|
+
}
|
|
992
|
+
return `<div class="css-16f6p1q-askk">
|
|
993
|
+
<div class="css-1s8sakjsakl">
|
|
994
|
+
<div class="css-58t1oz-askk">
|
|
995
|
+
<h5 class="css-1mt1wnh-jskk">
|
|
996
|
+
${title}
|
|
997
|
+
</h5>
|
|
998
|
+
</div>
|
|
999
|
+
<div class="css-r1d07c-askk">
|
|
1000
|
+
${items}
|
|
1001
|
+
</div>
|
|
1002
|
+
</div>
|
|
1003
|
+
</div>`;
|
|
1004
|
+
};
|
|
1005
|
+
let categorySales = '';
|
|
1006
|
+
let modifierSales = '';
|
|
1007
|
+
const normalizeModifierName = (name) => {
|
|
1008
|
+
const parts = name.split(':');
|
|
1009
|
+
return (parts[1] ?? parts[0] ?? '').trim();
|
|
1010
|
+
};
|
|
1011
|
+
if (categoriesChannel != null && categoriesChannel.length > 0) {
|
|
1012
|
+
extrasExist = true;
|
|
1013
|
+
categorySales += getExtraSales('Trending Categories', categoriesChannel);
|
|
1014
|
+
}
|
|
1015
|
+
if (modifiersChannel != null && modifiersChannel.length > 0) {
|
|
1016
|
+
extrasExist = true;
|
|
1017
|
+
const modifiersDisplay = modifiersChannel.map((channel) => ({
|
|
1018
|
+
...channel,
|
|
1019
|
+
name: normalizeModifierName(channel.name),
|
|
1020
|
+
}));
|
|
1021
|
+
modifierSales += getExtraSales('Trending Modifiers', modifiersDisplay);
|
|
1022
|
+
}
|
|
1023
|
+
return `
|
|
1024
|
+
<div class="cssc-1owvoyj-asbq">
|
|
1025
|
+
<br />
|
|
1026
|
+
<div class="cssc-h-1qeq10-askk">
|
|
1027
|
+
<h4 class="cssc-1gb95rg-jskk" style="color: #000000">
|
|
1028
|
+
${menuName ? `${tenantName} - ${menuName}` : `${tenantName} - All Menus`}
|
|
1029
|
+
</h4>
|
|
1030
|
+
|
|
1031
|
+
<h5 class="cssc-1gb95rb2-jskk" style="color: #000000">
|
|
1032
|
+
Item Sales Report
|
|
1033
|
+
</h5>
|
|
1034
|
+
<p class="cssc-1iy4zoj-jskk">
|
|
1035
|
+
${moment(from).format('dddd')} ${moment(from).format('MMM DD, YYYY')}
|
|
1036
|
+
</p>
|
|
1037
|
+
<p class="cssc-1ebo3of-jskk">${moment(from).format('h:mm a, MMM DD')} - ${moment(to).format('h:mm a, MMM DD')}
|
|
1038
|
+
</p>
|
|
1039
|
+
</div>
|
|
1040
|
+
|
|
1041
|
+
<br />
|
|
1042
|
+
|
|
1043
|
+
<div class="css-13qsmk5-askk">
|
|
1044
|
+
<div class="css-pl8gqh-askk">
|
|
1045
|
+
${shouldShowRevenue
|
|
1046
|
+
? `<div class="css-1xljckjkls">
|
|
1047
|
+
<h5 class="css-1mt1wnh-jskk">Total Amount</h5>
|
|
1048
|
+
<h5 class="css-1ul5w1p-jskk">${localeAmount(currency_symbol, itemNetAmount)}</h5>
|
|
1049
|
+
</div>`
|
|
1050
|
+
: ''}
|
|
1051
|
+
<div class="css-1xljckjkls">
|
|
1052
|
+
<h5 class="css-1mt1wnh-jskk">Total Items Sold</h5>
|
|
1053
|
+
<h5 class="css-43utj0-jskk">${count}</h5>
|
|
1054
|
+
</div>
|
|
1055
|
+
</div>
|
|
1056
|
+
|
|
1057
|
+
${itemSales}
|
|
1058
|
+
|
|
1059
|
+
${extrasExist
|
|
1060
|
+
? `
|
|
1061
|
+
<div class="css-aip1ex-askk">
|
|
1062
|
+
${categorySales}
|
|
1063
|
+
${modifierSales}
|
|
1064
|
+
</div>
|
|
1065
|
+
`
|
|
1066
|
+
: ''}
|
|
1067
|
+
</div>
|
|
1068
|
+
|
|
1069
|
+
<br />
|
|
1070
|
+
|
|
1071
|
+
<div class="cssc-1qeq10-askk">
|
|
1072
|
+
<h5 class="cssc-1gb95rb2-jskk" style="color: #000000">
|
|
1073
|
+
${tenantName}
|
|
1074
|
+
</h5>
|
|
1075
|
+
<p class="cssc-1iy4zoj-jskk">
|
|
1076
|
+
Exported on ${moment().format('dddd')} ${moment().format('MMM DD, YYYY')} at ${moment().format('h:mm a')}
|
|
1077
|
+
</p>
|
|
1078
|
+
${isFilterApplied
|
|
1079
|
+
? `<p class="cssc-1iy4zoj-jskk"
|
|
1080
|
+
style="text-align: center; font-weight: bold; ${monochrome ? 'color: #000000' : 'color: #FF0000'}"
|
|
1081
|
+
>
|
|
1082
|
+
Note: This report is filtered. Please ensure to tally the data on your end.
|
|
1083
|
+
</p>`
|
|
1084
|
+
: ''}
|
|
1085
|
+
</div>
|
|
1086
|
+
<br />
|
|
1087
|
+
</div>
|
|
1088
|
+
`;
|
|
1089
|
+
}
|
|
1090
|
+
export function getLegacyItemReportHtml(props) {
|
|
1091
|
+
const style = props.width ? `style=width: ${props.width}px; max-width: ${props.width}px;` : '';
|
|
1092
|
+
const html = `
|
|
1093
|
+
<html lang="en" ${style}>
|
|
1094
|
+
${getLegacyItemReportHead(props)}
|
|
1095
|
+
<body translate="no" ${style}>
|
|
1096
|
+
${getLegacyItemReportBody(props)}
|
|
1097
|
+
</body>
|
|
1098
|
+
</html>`;
|
|
1099
|
+
return html;
|
|
1100
|
+
}
|
|
1101
|
+
// ======================>>>><<<<=====================
|
|
1102
|
+
const getNewItemReportHead = ({ zeroPadding, monochrome }) => {
|
|
1103
|
+
const palette = monochrome
|
|
1104
|
+
? {
|
|
1105
|
+
headingText: '#000000',
|
|
1106
|
+
text: '#000000',
|
|
1107
|
+
background: '#ffffff',
|
|
1108
|
+
success: '#000000',
|
|
1109
|
+
info: '#000000',
|
|
1110
|
+
divider: '#000000',
|
|
1111
|
+
}
|
|
1112
|
+
: {
|
|
1113
|
+
headingText: '#000000',
|
|
1114
|
+
text: '#333333',
|
|
1115
|
+
background: '#f5f5f5',
|
|
1116
|
+
success: '#008000',
|
|
1117
|
+
info: '#0000ff',
|
|
1118
|
+
divider: '#DCDCDC',
|
|
1119
|
+
};
|
|
1120
|
+
const fontLink = monochrome
|
|
1121
|
+
? `<link
|
|
1122
|
+
rel="stylesheet"
|
|
1123
|
+
href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;500;700&display=swap"
|
|
1124
|
+
crossorigin="anonymous"
|
|
1125
|
+
/>`
|
|
1126
|
+
: `<link
|
|
1127
|
+
rel="stylesheet"
|
|
1128
|
+
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
|
|
1129
|
+
crossorigin="anonymous"
|
|
1130
|
+
/>`;
|
|
1131
|
+
return `<head>
|
|
1132
|
+
<meta charset="UTF-8" />
|
|
1133
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
1134
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
1135
|
+
${fontLink}
|
|
1136
|
+
<style>
|
|
1137
|
+
.cssc-1owvoyj-asbq {
|
|
1138
|
+
-webkit-font-smoothing: antialiased;
|
|
1139
|
+
-webkit-text-size-adjust: 100%;
|
|
1140
|
+
color: ${palette.text};
|
|
1141
|
+
line-height: 1.3rem;
|
|
1142
|
+
font-size: 1rem;
|
|
1143
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1144
|
+
font-weight: 400;
|
|
1145
|
+
box-sizing: border-box;
|
|
1146
|
+
display: flex;
|
|
1147
|
+
flex-direction: column;
|
|
1148
|
+
flex: 1;
|
|
1149
|
+
margin: 0;
|
|
1150
|
+
background-color: #ffffff;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
.cssc-h-1qeq10-askk {
|
|
1154
|
+
display: flex;
|
|
1155
|
+
flex-direction: column;
|
|
1156
|
+
align-items: center;
|
|
1157
|
+
justify-content: center;
|
|
1158
|
+
flex: 1;
|
|
1159
|
+
gap: 10px;
|
|
1160
|
+
margin-top: 15px;
|
|
1161
|
+
margin-bottom: 15px;
|
|
1162
|
+
background-color: #FFFFFF;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
.cssc-1qeq10-askk {
|
|
1166
|
+
display: flex;
|
|
1167
|
+
flex-direction: column;
|
|
1168
|
+
align-items: center;
|
|
1169
|
+
justify-content: center;
|
|
1170
|
+
flex: 1;
|
|
1171
|
+
gap: 10px;
|
|
1172
|
+
margin-top: 15px;
|
|
1173
|
+
margin-bottom: 15px;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.cssc-1gb95rg-jskk {
|
|
1177
|
+
-webkit-font-smoothing: antialiased;
|
|
1178
|
+
-webkit-text-size-adjust: 100%;
|
|
1179
|
+
-webkit-tap-highlight-color: transparent;
|
|
1180
|
+
color: ${palette.headingText};
|
|
1181
|
+
box-sizing: inherit;
|
|
1182
|
+
margin: 0;
|
|
1183
|
+
font-weight: 500;
|
|
1184
|
+
line-height: 1.9500000000000002rem;
|
|
1185
|
+
font-size: 1.5rem;
|
|
1186
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1187
|
+
text-align: center;
|
|
1188
|
+
text-decoration: underline;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
.cssc-1gb95rb2-jskk {
|
|
1192
|
+
-webkit-font-smoothing: antialiased;
|
|
1193
|
+
-webkit-text-size-adjust: 100%;
|
|
1194
|
+
-webkit-tap-highlight-color: transparent;
|
|
1195
|
+
color: ${palette.headingText};
|
|
1196
|
+
box-sizing: inherit;
|
|
1197
|
+
margin: 0;
|
|
1198
|
+
font-weight: 500;
|
|
1199
|
+
line-height: 1.9500000000000002rem;
|
|
1200
|
+
font-size: 1.2rem;
|
|
1201
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1202
|
+
text-align: center;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
.cssc-1iy4zoj-jskk {
|
|
1206
|
+
-webkit-font-smoothing: antialiased;
|
|
1207
|
+
-webkit-text-size-adjust: 100%;
|
|
1208
|
+
|
|
1209
|
+
border-collapse: collapse;
|
|
1210
|
+
border-spacing: 0;
|
|
1211
|
+
text-align: right;
|
|
1212
|
+
color: ${palette.headingText};
|
|
1213
|
+
box-sizing: inherit;
|
|
1214
|
+
margin: 0;
|
|
1215
|
+
line-height: 1.3rem;
|
|
1216
|
+
font-size: 1rem;
|
|
1217
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1218
|
+
font-weight: 400;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
.cssc-1ebo3of-jskk {
|
|
1222
|
+
-webkit-font-smoothing: antialiased;
|
|
1223
|
+
-webkit-text-size-adjust: 100%;
|
|
1224
|
+
|
|
1225
|
+
border-collapse: collapse;
|
|
1226
|
+
border-spacing: 0;
|
|
1227
|
+
text-align: left;
|
|
1228
|
+
color: ${palette.headingText};
|
|
1229
|
+
box-sizing: inherit;
|
|
1230
|
+
margin: 0;
|
|
1231
|
+
line-height: 1.1375rem;
|
|
1232
|
+
font-size: 0.875rem;
|
|
1233
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1234
|
+
font-weight: 400;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
.css-13qsmk5-askk {
|
|
1238
|
+
-webkit-font-smoothing: antialiased;
|
|
1239
|
+
-webkit-text-size-adjust: 100%;
|
|
1240
|
+
color: ${palette.text};
|
|
1241
|
+
line-height: 1.3rem;
|
|
1242
|
+
font-size: 1rem;
|
|
1243
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1244
|
+
font-weight: 400;
|
|
1245
|
+
box-sizing: inherit;
|
|
1246
|
+
display: flex;
|
|
1247
|
+
flex-direction: column;
|
|
1248
|
+
flex: 1;
|
|
1249
|
+
width: 100%;
|
|
1250
|
+
background-color: ${palette.background};
|
|
1251
|
+
padding: 15px ${zeroPadding ? '0' : '15px'};
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
.css-1mt1wnh-jskk {
|
|
1255
|
+
-webkit-font-smoothing: antialiased;
|
|
1256
|
+
-webkit-text-size-adjust: 100%;
|
|
1257
|
+
color: ${palette.text};
|
|
1258
|
+
box-sizing: inherit;
|
|
1259
|
+
margin: 0;
|
|
1260
|
+
font-weight: 500;
|
|
1261
|
+
line-height: 1.4625000000000001rem;
|
|
1262
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1263
|
+
font-size: 1.3125rem;
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
.css-1s8sakjsakl {
|
|
1267
|
+
-webkit-font-smoothing: antialiased;
|
|
1268
|
+
-webkit-text-size-adjust: 100%;
|
|
1269
|
+
color: ${palette.text};
|
|
1270
|
+
line-height: 1.3rem;
|
|
1271
|
+
font-size: 1rem;
|
|
1272
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1273
|
+
font-weight: 400;
|
|
1274
|
+
box-sizing: inherit;
|
|
1275
|
+
display: flex;
|
|
1276
|
+
flex-direction: column;
|
|
1277
|
+
gap: 15px;
|
|
1278
|
+
height: 100%;
|
|
1279
|
+
background-color: #ffffff;
|
|
1280
|
+
border-radius: 8px;
|
|
1281
|
+
border: 1px solid ${palette.divider};
|
|
1282
|
+
position: relative;
|
|
1283
|
+
margin: 0;
|
|
1284
|
+
margin-top: 16px;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
.css-58t1oz-askk {
|
|
1288
|
+
-webkit-font-smoothing: antialiased;
|
|
1289
|
+
-webkit-text-size-adjust: 100%;
|
|
1290
|
+
color: ${palette.text};
|
|
1291
|
+
line-height: 1.3rem;
|
|
1292
|
+
font-size: 1rem;
|
|
1293
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1294
|
+
font-weight: 400;
|
|
1295
|
+
box-sizing: inherit;
|
|
1296
|
+
display: flex;
|
|
1297
|
+
flex-direction: row;
|
|
1298
|
+
-webkit-box-pack: justify;
|
|
1299
|
+
justify-content: space-between;
|
|
1300
|
+
-webkit-box-align: center;
|
|
1301
|
+
align-items: center;
|
|
1302
|
+
padding: 15px;
|
|
1303
|
+
background-color: #ffffff;
|
|
1304
|
+
border-top-right-radius: 8px;
|
|
1305
|
+
border-top-left-radius: 8px;
|
|
1306
|
+
border-bottom: 1px solid ${palette.divider};
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
.css-1z023sx-jskk {
|
|
1310
|
+
-webkit-font-smoothing: antialiased;
|
|
1311
|
+
-webkit-text-size-adjust: 100%;
|
|
1312
|
+
box-sizing: inherit;
|
|
1313
|
+
font-weight: 500;
|
|
1314
|
+
line-height: 1.38125rem;
|
|
1315
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1316
|
+
color: ${palette.success};
|
|
1317
|
+
font-size: 1rem;
|
|
1318
|
+
margin: 0;
|
|
1319
|
+
margin-left: 16px;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
.css-r1d07c-askk {
|
|
1323
|
+
-webkit-font-smoothing: antialiased;
|
|
1324
|
+
-webkit-text-size-adjust: 100%;
|
|
1325
|
+
color: ${palette.text};
|
|
1326
|
+
line-height: 1.3rem;
|
|
1327
|
+
font-size: 1rem;
|
|
1328
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1329
|
+
font-weight: 400;
|
|
1330
|
+
box-sizing: inherit;
|
|
1331
|
+
display: flex;
|
|
1332
|
+
flex-direction: column;
|
|
1333
|
+
gap: 15px;
|
|
1334
|
+
padding: 15px;
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
.css-nen11g-askk {
|
|
1338
|
+
-webkit-font-smoothing: antialiased;
|
|
1339
|
+
-webkit-text-size-adjust: 100%;
|
|
1340
|
+
color: ${palette.text};
|
|
1341
|
+
line-height: 1.3rem;
|
|
1342
|
+
font-size: 1rem;
|
|
1343
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1344
|
+
font-weight: 400;
|
|
1345
|
+
box-sizing: inherit;
|
|
1346
|
+
display: flex;
|
|
1347
|
+
flex-direction: column;
|
|
1348
|
+
margin: 0;
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
.css-1aua8yd-askk {
|
|
1352
|
+
-webkit-font-smoothing: antialiased;
|
|
1353
|
+
-webkit-text-size-adjust: 100%;
|
|
1354
|
+
color: ${palette.text};
|
|
1355
|
+
line-height: 1.3rem;
|
|
1356
|
+
font-size: 1rem;
|
|
1357
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1358
|
+
font-weight: 400;
|
|
1359
|
+
box-sizing: inherit;
|
|
1360
|
+
display: flex;
|
|
1361
|
+
flex-direction: row;
|
|
1362
|
+
align-items: flex-start;
|
|
1363
|
+
-webkit-box-pack: justify;
|
|
1364
|
+
justify-content: space-between;
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
.css-95rbei-askk {
|
|
1368
|
+
-webkit-font-smoothing: antialiased;
|
|
1369
|
+
-webkit-text-size-adjust: 100%;
|
|
1370
|
+
color: ${palette.text};
|
|
1371
|
+
line-height: 1.3rem;
|
|
1372
|
+
font-size: 1rem;
|
|
1373
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1374
|
+
font-weight: 400;
|
|
1375
|
+
box-sizing: inherit;
|
|
1376
|
+
display: flex;
|
|
1377
|
+
flex-direction: row;
|
|
1378
|
+
-webkit-box-align: start;
|
|
1379
|
+
align-items: flex-start;
|
|
1380
|
+
margin: 0;
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
.css-zfkluy-jskk {
|
|
1384
|
+
-webkit-font-smoothing: antialiased;
|
|
1385
|
+
-webkit-text-size-adjust: 100%;
|
|
1386
|
+
box-sizing: inherit;
|
|
1387
|
+
font-weight: 500;
|
|
1388
|
+
line-height: 1.3rem;
|
|
1389
|
+
font-size: 1rem;
|
|
1390
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1391
|
+
color: ${palette.info};
|
|
1392
|
+
margin: 0;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
.css-21997j-jskk {
|
|
1396
|
+
-webkit-font-smoothing: antialiased;
|
|
1397
|
+
-webkit-text-size-adjust: 100%;
|
|
1398
|
+
box-sizing: inherit;
|
|
1399
|
+
font-weight: 500;
|
|
1400
|
+
line-height: 1.3rem;
|
|
1401
|
+
font-size: 1rem;
|
|
1402
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1403
|
+
color: ${palette.text};
|
|
1404
|
+
margin: 0;
|
|
1405
|
+
margin-left: 4px;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
.css-16f6p1q-askk {
|
|
1409
|
+
-webkit-font-smoothing: antialiased;
|
|
1410
|
+
-webkit-text-size-adjust: 100%;
|
|
1411
|
+
color: ${palette.text};
|
|
1412
|
+
line-height: 1.3rem;
|
|
1413
|
+
font-size: 1rem;
|
|
1414
|
+
font-family: Roboto, Public Sans, sans-serif;
|
|
1415
|
+
font-weight: 400;
|
|
1416
|
+
box-sizing: inherit;
|
|
1417
|
+
display: flex;
|
|
1418
|
+
flex-direction: column;
|
|
1419
|
+
flex: 1;
|
|
1420
|
+
margin: 0;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
.grid-container {
|
|
1424
|
+
display: grid;
|
|
1425
|
+
grid-template-columns: repeat(3, 1fr);
|
|
1426
|
+
grid-gap: 16px;
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
.grid-item {
|
|
1430
|
+
background-color: rgb(255, 255, 255);
|
|
1431
|
+
box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
|
|
1432
|
+
height: 80px;
|
|
1433
|
+
padding: 15px;
|
|
1434
|
+
display: flex;
|
|
1435
|
+
flex-direction: column;
|
|
1436
|
+
justify-content: center;
|
|
1437
|
+
align-items: center;
|
|
1438
|
+
text-align: center;
|
|
1439
|
+
border-radius: 20px;
|
|
1440
|
+
gap: 10px;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
.css-1b6n5fl {
|
|
1444
|
+
margin: 0;
|
|
1445
|
+
font-weight: 500;
|
|
1446
|
+
font-size: 1.3125rem;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
.css-1tuemaa {
|
|
1450
|
+
margin: 0;
|
|
1451
|
+
color: rgb(0, 0, 255);
|
|
1452
|
+
font-weight: 500;
|
|
1453
|
+
font-size: 1.3125rem;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
.css-lh0dz3 {
|
|
1457
|
+
margin: 0;
|
|
1458
|
+
color: rgb(0, 128, 0);
|
|
1459
|
+
font-weight: 500;
|
|
1460
|
+
font-size: 1.3125rem;
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
.css-rr655p {
|
|
1464
|
+
margin: 0;
|
|
1465
|
+
color: rgb(255, 94, 14);
|
|
1466
|
+
font-weight: 500;
|
|
1467
|
+
font-size: 1.3125rem;
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
.css-i8f74p {
|
|
1471
|
+
-webkit-font-smoothing: antialiased;
|
|
1472
|
+
text-size-adjust: 100%;
|
|
1473
|
+
color: rgb(51, 51, 51);
|
|
1474
|
+
background-color: rgb(255, 255, 255);
|
|
1475
|
+
line-height: 1.3rem;
|
|
1476
|
+
font-size: 1rem;
|
|
1477
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1478
|
+
font-weight: 400;
|
|
1479
|
+
box-sizing: inherit;
|
|
1480
|
+
display: table;
|
|
1481
|
+
width: 100%;
|
|
1482
|
+
border-collapse: separate;
|
|
1483
|
+
border-spacing: 0px;
|
|
1484
|
+
margin: 0px;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
.css-1wbz3t9 {
|
|
1488
|
+
-webkit-font-smoothing: antialiased;
|
|
1489
|
+
text-size-adjust: 100%;
|
|
1490
|
+
color: rgb(51, 51, 51);
|
|
1491
|
+
line-height: 1.3rem;
|
|
1492
|
+
font-size: 1rem;
|
|
1493
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1494
|
+
font-weight: 400;
|
|
1495
|
+
border-collapse: separate;
|
|
1496
|
+
border-spacing: 0px;
|
|
1497
|
+
box-sizing: inherit;
|
|
1498
|
+
display: table-header-group;
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
.css-1lm8qhw {
|
|
1502
|
+
-webkit-font-smoothing: antialiased;
|
|
1503
|
+
text-size-adjust: 100%;
|
|
1504
|
+
line-height: 1.3rem;
|
|
1505
|
+
font-size: 1rem;
|
|
1506
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1507
|
+
font-weight: 400;
|
|
1508
|
+
border-collapse: separate;
|
|
1509
|
+
border-spacing: 0px;
|
|
1510
|
+
box-sizing: inherit;
|
|
1511
|
+
color: inherit;
|
|
1512
|
+
display: table-row;
|
|
1513
|
+
vertical-align: middle;
|
|
1514
|
+
outline: 0px;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
.css-1c5674j {
|
|
1518
|
+
-webkit-font-smoothing: antialiased;
|
|
1519
|
+
text-size-adjust: 100%;
|
|
1520
|
+
border-collapse: separate;
|
|
1521
|
+
border-spacing: 0px;
|
|
1522
|
+
box-sizing: inherit;
|
|
1523
|
+
line-height: 1.5rem;
|
|
1524
|
+
font-size: 0.875rem;
|
|
1525
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1526
|
+
font-weight: 500;
|
|
1527
|
+
display: table-cell;
|
|
1528
|
+
vertical-align: inherit;
|
|
1529
|
+
border-bottom: 1px solid rgb(250, 250, 250);
|
|
1530
|
+
text-align: left;
|
|
1531
|
+
padding: 16px;
|
|
1532
|
+
top: 0px;
|
|
1533
|
+
z-index: 2;
|
|
1534
|
+
background-color: rgb(67, 22, 101);
|
|
1535
|
+
color: rgb(255, 255, 255);
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
.css-gcb0n5 {
|
|
1539
|
+
-webkit-font-smoothing: antialiased;
|
|
1540
|
+
text-size-adjust: 100%;
|
|
1541
|
+
border-collapse: separate;
|
|
1542
|
+
border-spacing: 0px;
|
|
1543
|
+
box-sizing: inherit;
|
|
1544
|
+
line-height: 1.5rem;
|
|
1545
|
+
font-size: 0.875rem;
|
|
1546
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1547
|
+
font-weight: 500;
|
|
1548
|
+
display: table-cell;
|
|
1549
|
+
vertical-align: inherit;
|
|
1550
|
+
border-bottom: 1px solid rgb(250, 250, 250);
|
|
1551
|
+
text-align: right;
|
|
1552
|
+
padding: 16px;
|
|
1553
|
+
flex-direction: row-reverse;
|
|
1554
|
+
top: 0px;
|
|
1555
|
+
z-index: 2;
|
|
1556
|
+
background-color: rgb(67, 22, 101);
|
|
1557
|
+
color: rgb(255, 255, 255);
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
.css-olpyhf {
|
|
1561
|
+
-webkit-font-smoothing: antialiased;
|
|
1562
|
+
text-size-adjust: 100%;
|
|
1563
|
+
border-collapse: separate;
|
|
1564
|
+
border-spacing: 0px;
|
|
1565
|
+
text-align: inherit;
|
|
1566
|
+
color: rgb(255, 255, 255);
|
|
1567
|
+
box-sizing: inherit;
|
|
1568
|
+
margin: 0px;
|
|
1569
|
+
font-weight: 500;
|
|
1570
|
+
line-height: 1.38125rem;
|
|
1571
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1572
|
+
font-size: 1rem;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
.css-1xnox0e {
|
|
1576
|
+
-webkit-font-smoothing: antialiased;
|
|
1577
|
+
text-size-adjust: 100%;
|
|
1578
|
+
color: rgb(51, 51, 51);
|
|
1579
|
+
line-height: 1.3rem;
|
|
1580
|
+
font-size: 1rem;
|
|
1581
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1582
|
+
font-weight: 400;
|
|
1583
|
+
border-collapse: separate;
|
|
1584
|
+
border-spacing: 0px;
|
|
1585
|
+
box-sizing: inherit;
|
|
1586
|
+
display: table-row-group;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
.css-14kha3k {
|
|
1590
|
+
-webkit-font-smoothing: antialiased;
|
|
1591
|
+
text-size-adjust: 100%;
|
|
1592
|
+
line-height: 1.3rem;
|
|
1593
|
+
font-size: 1rem;
|
|
1594
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1595
|
+
font-weight: 400;
|
|
1596
|
+
border-collapse: separate;
|
|
1597
|
+
border-spacing: 0px;
|
|
1598
|
+
box-sizing: inherit;
|
|
1599
|
+
color: inherit;
|
|
1600
|
+
display: table-row;
|
|
1601
|
+
vertical-align: middle;
|
|
1602
|
+
outline: 0px;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
.css-1m25ajq {
|
|
1606
|
+
-webkit-font-smoothing: antialiased;
|
|
1607
|
+
text-size-adjust: 100%;
|
|
1608
|
+
border-collapse: separate;
|
|
1609
|
+
border-spacing: 0px;
|
|
1610
|
+
box-sizing: inherit;
|
|
1611
|
+
border: 0px solid;
|
|
1612
|
+
line-height: 1.1375rem;
|
|
1613
|
+
font-size: 0.875rem;
|
|
1614
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1615
|
+
font-weight: 400;
|
|
1616
|
+
display: table-cell;
|
|
1617
|
+
vertical-align: inherit;
|
|
1618
|
+
border-bottom: 1px solid rgb(250, 250, 250);
|
|
1619
|
+
text-align: left;
|
|
1620
|
+
padding: 16px;
|
|
1621
|
+
color: rgb(51, 51, 51);
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
.css-kqeuuk {
|
|
1625
|
+
-webkit-font-smoothing: antialiased;
|
|
1626
|
+
text-size-adjust: 100%;
|
|
1627
|
+
border-collapse: separate;
|
|
1628
|
+
border-spacing: 0px;
|
|
1629
|
+
color: rgb(51, 51, 51);
|
|
1630
|
+
box-sizing: inherit;
|
|
1631
|
+
margin: 0px;
|
|
1632
|
+
font-weight: 500;
|
|
1633
|
+
line-height: 1.4625rem;
|
|
1634
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1635
|
+
text-align: center;
|
|
1636
|
+
font-size: 1.3125rem;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
.css-1qi8dkl {
|
|
1640
|
+
-webkit-font-smoothing: antialiased;
|
|
1641
|
+
text-size-adjust: 100%;
|
|
1642
|
+
line-height: 1.3rem;
|
|
1643
|
+
font-size: 1rem;
|
|
1644
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1645
|
+
font-weight: 400;
|
|
1646
|
+
border-collapse: separate;
|
|
1647
|
+
border-spacing: 0px;
|
|
1648
|
+
box-sizing: inherit;
|
|
1649
|
+
color: inherit;
|
|
1650
|
+
display: table-row;
|
|
1651
|
+
vertical-align: middle;
|
|
1652
|
+
outline: 0px;
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
.css-3jfma9 {
|
|
1656
|
+
-webkit-font-smoothing: antialiased;
|
|
1657
|
+
text-size-adjust: 100%;
|
|
1658
|
+
border-collapse: separate;
|
|
1659
|
+
border-spacing: 0px;
|
|
1660
|
+
text-align: right;
|
|
1661
|
+
box-sizing: inherit;
|
|
1662
|
+
margin: 0px;
|
|
1663
|
+
font-weight: 500;
|
|
1664
|
+
line-height: 1.3rem;
|
|
1665
|
+
font-size: 1rem;
|
|
1666
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1667
|
+
color: rgb(119, 119, 119);
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
.css-4jfma8 {
|
|
1671
|
+
-webkit-font-smoothing: antialiased;
|
|
1672
|
+
text-size-adjust: 100%;
|
|
1673
|
+
border-collapse: separate;
|
|
1674
|
+
border-spacing: 0px;
|
|
1675
|
+
text-align: left;
|
|
1676
|
+
box-sizing: inherit;
|
|
1677
|
+
margin: 0px;
|
|
1678
|
+
font-weight: 500;
|
|
1679
|
+
line-height: 1.3rem;
|
|
1680
|
+
font-size: 1rem;
|
|
1681
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1682
|
+
color: rgb(119, 119, 119);
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
.css-5u79pd {
|
|
1686
|
+
-webkit-font-smoothing: antialiased;
|
|
1687
|
+
text-size-adjust: 100%;
|
|
1688
|
+
border-collapse: separate;
|
|
1689
|
+
border-spacing: 0px;
|
|
1690
|
+
box-sizing: inherit;
|
|
1691
|
+
line-height: 1.1375rem;
|
|
1692
|
+
font-size: 0.875rem;
|
|
1693
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1694
|
+
font-weight: 400;
|
|
1695
|
+
display: table-cell;
|
|
1696
|
+
vertical-align: inherit;
|
|
1697
|
+
text-align: right;
|
|
1698
|
+
padding: 16px;
|
|
1699
|
+
color: rgb(51, 51, 51);
|
|
1700
|
+
flex-direction: row-reverse;
|
|
1701
|
+
border: 0px solid;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
.css-1cw6d7s {
|
|
1705
|
+
-webkit-font-smoothing: antialiased;
|
|
1706
|
+
text-size-adjust: 100%;
|
|
1707
|
+
border-collapse: separate;
|
|
1708
|
+
border-spacing: 0px;
|
|
1709
|
+
box-sizing: inherit;
|
|
1710
|
+
line-height: 1.1375rem;
|
|
1711
|
+
font-size: 0.875rem;
|
|
1712
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1713
|
+
font-weight: 400;
|
|
1714
|
+
display: table-cell;
|
|
1715
|
+
vertical-align: inherit;
|
|
1716
|
+
border-bottom: 1px solid rgb(250, 250, 250);
|
|
1717
|
+
text-align: left;
|
|
1718
|
+
padding: 0px 16px 16px;
|
|
1719
|
+
color: rgb(51, 51, 51);
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
.css-j7qwjs {
|
|
1723
|
+
-webkit-font-smoothing: antialiased;
|
|
1724
|
+
text-size-adjust: 100%;
|
|
1725
|
+
border-collapse: separate;
|
|
1726
|
+
border-spacing: 0px;
|
|
1727
|
+
line-height: 1.1375rem;
|
|
1728
|
+
font-size: 0.875rem;
|
|
1729
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1730
|
+
font-weight: 400;
|
|
1731
|
+
text-align: left;
|
|
1732
|
+
color: rgb(51, 51, 51);
|
|
1733
|
+
box-sizing: inherit;
|
|
1734
|
+
display: flex;
|
|
1735
|
+
flex-direction: column;
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
.css-5ax1kt {
|
|
1739
|
+
-webkit-font-smoothing: antialiased;
|
|
1740
|
+
text-size-adjust: 100%;
|
|
1741
|
+
border-collapse: separate;
|
|
1742
|
+
border-spacing: 0px;
|
|
1743
|
+
line-height: 1.1375rem;
|
|
1744
|
+
font-size: 0.875rem;
|
|
1745
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1746
|
+
font-weight: 400;
|
|
1747
|
+
text-align: left;
|
|
1748
|
+
color: rgb(51, 51, 51);
|
|
1749
|
+
box-sizing: inherit;
|
|
1750
|
+
display: flex;
|
|
1751
|
+
flex-direction: row;
|
|
1752
|
+
gap: 8px;
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
.css-1qfrzlc {
|
|
1756
|
+
-webkit-font-smoothing: antialiased;
|
|
1757
|
+
text-size-adjust: 100%;
|
|
1758
|
+
border-collapse: separate;
|
|
1759
|
+
border-spacing: 0px;
|
|
1760
|
+
line-height: 1.1375rem;
|
|
1761
|
+
font-size: 0.875rem;
|
|
1762
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1763
|
+
font-weight: 400;
|
|
1764
|
+
text-align: left;
|
|
1765
|
+
color: rgb(51, 51, 51);
|
|
1766
|
+
box-sizing: inherit;
|
|
1767
|
+
height: 100%;
|
|
1768
|
+
min-height: 25px;
|
|
1769
|
+
border-left: 1px solid rgb(220, 220, 220);
|
|
1770
|
+
border-bottom: 1px solid rgb(220, 220, 220);
|
|
1771
|
+
width: 20px;
|
|
1772
|
+
margin-left: 0px;
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
.css-199tt1z {
|
|
1776
|
+
-webkit-font-smoothing: antialiased;
|
|
1777
|
+
text-size-adjust: 100%;
|
|
1778
|
+
border-collapse: separate;
|
|
1779
|
+
border-spacing: 0px;
|
|
1780
|
+
line-height: 1.1375rem;
|
|
1781
|
+
font-size: 0.875rem;
|
|
1782
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1783
|
+
font-weight: 400;
|
|
1784
|
+
text-align: left;
|
|
1785
|
+
color: rgb(51, 51, 51);
|
|
1786
|
+
box-sizing: inherit;
|
|
1787
|
+
display: flex;
|
|
1788
|
+
flex-direction: row;
|
|
1789
|
+
-webkit-box-align: center;
|
|
1790
|
+
align-items: center;
|
|
1791
|
+
-webkit-box-pack: justify;
|
|
1792
|
+
gap: 8px;
|
|
1793
|
+
padding-top: 10px;
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
.css-lmzl00 {
|
|
1797
|
+
-webkit-font-smoothing: antialiased;
|
|
1798
|
+
text-size-adjust: 100%;
|
|
1799
|
+
border-collapse: separate;
|
|
1800
|
+
border-spacing: 0px;
|
|
1801
|
+
line-height: 1.1375rem;
|
|
1802
|
+
font-size: 0.875rem;
|
|
1803
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1804
|
+
font-weight: 400;
|
|
1805
|
+
text-align: left;
|
|
1806
|
+
color: rgb(51, 51, 51);
|
|
1807
|
+
box-sizing: inherit;
|
|
1808
|
+
display: flex;
|
|
1809
|
+
flex-direction: row;
|
|
1810
|
+
-webkit-box-align: start;
|
|
1811
|
+
align-items: flex-start;
|
|
1812
|
+
margin: 0px;
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
.css-1tjle8i {
|
|
1816
|
+
-webkit-font-smoothing: antialiased;
|
|
1817
|
+
text-size-adjust: 100%;
|
|
1818
|
+
border-collapse: separate;
|
|
1819
|
+
border-spacing: 0px;
|
|
1820
|
+
text-align: left;
|
|
1821
|
+
box-sizing: inherit;
|
|
1822
|
+
font-weight: 500;
|
|
1823
|
+
line-height: 1.3rem;
|
|
1824
|
+
font-size: 1rem;
|
|
1825
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1826
|
+
color: rgb(51, 51, 51);
|
|
1827
|
+
margin: 0px;
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
.css-1qqbci {
|
|
1831
|
+
-webkit-font-smoothing: antialiased;
|
|
1832
|
+
text-size-adjust: 100%;
|
|
1833
|
+
border-collapse: separate;
|
|
1834
|
+
border-spacing: 0px;
|
|
1835
|
+
text-align: left;
|
|
1836
|
+
box-sizing: inherit;
|
|
1837
|
+
line-height: 1.3rem;
|
|
1838
|
+
font-size: 1rem;
|
|
1839
|
+
font-family: Roboto, "Public Sans", sans-serif;
|
|
1840
|
+
font-weight: 400;
|
|
1841
|
+
color: rgb(119, 119, 119);
|
|
1842
|
+
margin: 0px;
|
|
1843
|
+
margin-left: 4px;
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1846
|
+
.css-95rbey{
|
|
1847
|
+
-webkit-font-smoothing: antialiased;
|
|
1848
|
+
-webkit-text-size-adjust: 100%;
|
|
1849
|
+
border-collapse: separate;
|
|
1850
|
+
border-spacing: 0;
|
|
1851
|
+
line-height: 1.1375rem;
|
|
1852
|
+
font-size: 0.875rem;
|
|
1853
|
+
font-family: Roboto,Public Sans,sans-serif;
|
|
1854
|
+
font-weight: 400;
|
|
1855
|
+
text-align: left;
|
|
1856
|
+
color: #333333;
|
|
1857
|
+
box-sizing: inherit;
|
|
1858
|
+
display: flex;
|
|
1859
|
+
flex-direction: row;
|
|
1860
|
+
-webkit-box-align: start;
|
|
1861
|
+
align-items: flex-start;
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
.css-zfkluz{
|
|
1865
|
+
-webkit-font-smoothing: antialiased;
|
|
1866
|
+
-webkit-text-size-adjust: 100%;
|
|
1867
|
+
border-collapse: separate;
|
|
1868
|
+
border-spacing: 0;
|
|
1869
|
+
text-align: left;
|
|
1870
|
+
box-sizing: inherit;
|
|
1871
|
+
font-weight: 500;
|
|
1872
|
+
line-height: 1.3rem;
|
|
1873
|
+
font-size: 1rem;
|
|
1874
|
+
font-family: Roboto,Public Sans,sans-serif;
|
|
1875
|
+
color: #0000FF;
|
|
1876
|
+
margin: 0;
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
.css-21997z {
|
|
1880
|
+
-webkit-font-smoothing: antialiased;
|
|
1881
|
+
-webkit-text-size-adjust: 100%;
|
|
1882
|
+
border-collapse: separate;
|
|
1883
|
+
border-spacing: 0;
|
|
1884
|
+
text-align: left;
|
|
1885
|
+
box-sizing: inherit;
|
|
1886
|
+
font-weight: 500;
|
|
1887
|
+
line-height: 1.3rem;
|
|
1888
|
+
font-size: 1rem;
|
|
1889
|
+
font-family: Roboto,Public Sans,sans-serif;
|
|
1890
|
+
color: #777777;
|
|
1891
|
+
margin: 0;
|
|
1892
|
+
margin-left: 4px;
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
.css-186nt38{
|
|
1896
|
+
-webkit-font-smoothing: antialiased;
|
|
1897
|
+
-webkit-text-size-adjust: 100%;
|
|
1898
|
+
line-height: 1.3rem;
|
|
1899
|
+
font-size: 1rem;
|
|
1900
|
+
font-family: Roboto,Public Sans,sans-serif;
|
|
1901
|
+
font-weight: 400;
|
|
1902
|
+
border-collapse: separate;
|
|
1903
|
+
border-spacing: 0;
|
|
1904
|
+
box-sizing: inherit;
|
|
1905
|
+
color: inherit;
|
|
1906
|
+
display: table-row;
|
|
1907
|
+
vertical-align: middle;
|
|
1908
|
+
outline: 0;
|
|
1909
|
+
background-color: #FFFFFF;
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
.css-kj25c{
|
|
1913
|
+
-webkit-font-smoothing: antialiased;
|
|
1914
|
+
-webkit-text-size-adjust: 100%;
|
|
1915
|
+
border-collapse: separate;
|
|
1916
|
+
border-spacing: 0;
|
|
1917
|
+
box-sizing: inherit;
|
|
1918
|
+
line-height: 1.1375rem;
|
|
1919
|
+
font-size: 0.875rem;
|
|
1920
|
+
font-family: Roboto,Public Sans,sans-serif;
|
|
1921
|
+
font-weight: 400;
|
|
1922
|
+
display: table-cell;
|
|
1923
|
+
vertical-align: inherit;
|
|
1924
|
+
text-align: left;
|
|
1925
|
+
padding: 16px;
|
|
1926
|
+
color: #333333;
|
|
1927
|
+
border-top: 1px dashed #DCDCDC;
|
|
1928
|
+
border-bottom: 4px solid #DCDCDC;
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
.css-95rbeo {
|
|
1932
|
+
-webkit-font-smoothing: antialiased;
|
|
1933
|
+
-webkit-text-size-adjust: 100%;
|
|
1934
|
+
border-collapse: separate;
|
|
1935
|
+
border-spacing: 0;
|
|
1936
|
+
line-height: 1.1375rem;
|
|
1937
|
+
font-size: 0.875rem;
|
|
1938
|
+
font-family: Roboto,Public Sans,sans-serif;
|
|
1939
|
+
font-weight: 400;
|
|
1940
|
+
text-align: left;
|
|
1941
|
+
color: #333333;
|
|
1942
|
+
box-sizing: inherit;
|
|
1943
|
+
display: flex;
|
|
1944
|
+
flex-direction: row;
|
|
1945
|
+
-webkit-box-align: center;
|
|
1946
|
+
align-items: center;
|
|
1947
|
+
gap: 4px;
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
.css-1vlqrds {
|
|
1951
|
+
-webkit-font-smoothing: antialiased;
|
|
1952
|
+
-webkit-text-size-adjust: 100%;
|
|
1953
|
+
border-collapse: separate;
|
|
1954
|
+
border-spacing: 0;
|
|
1955
|
+
text-align: left;
|
|
1956
|
+
box-sizing: inherit;
|
|
1957
|
+
font-weight: 500;
|
|
1958
|
+
line-height: 1.38125rem;
|
|
1959
|
+
font-family: Roboto,Public Sans,sans-serif;
|
|
1960
|
+
color: #0000FF;
|
|
1961
|
+
font-size: 1rem;
|
|
1962
|
+
margin: 0;
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1965
|
+
.css-10h77yy {
|
|
1966
|
+
-webkit-font-smoothing: antialiased;
|
|
1967
|
+
-webkit-text-size-adjust: 100%;
|
|
1968
|
+
border-collapse: separate;
|
|
1969
|
+
border-spacing: 0;
|
|
1970
|
+
text-align: right;
|
|
1971
|
+
color: #333333;
|
|
1972
|
+
box-sizing: inherit;
|
|
1973
|
+
font-weight: 500;
|
|
1974
|
+
line-height: 1.38125rem;
|
|
1975
|
+
font-family: Roboto,Public Sans,sans-serif;
|
|
1976
|
+
font-size: 1rem;
|
|
1977
|
+
margin: 0;
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
.css-nz0srj {
|
|
1981
|
+
-webkit-font-smoothing: antialiased;
|
|
1982
|
+
-webkit-text-size-adjust: 100%;
|
|
1983
|
+
border-collapse: separate;
|
|
1984
|
+
border-spacing: 0;
|
|
1985
|
+
box-sizing: inherit;
|
|
1986
|
+
line-height: 1.1375rem;
|
|
1987
|
+
font-size: 0.875rem;
|
|
1988
|
+
font-family: Roboto,Public Sans,sans-serif;
|
|
1989
|
+
font-weight: 400;
|
|
1990
|
+
display: table-cell;
|
|
1991
|
+
vertical-align: inherit;
|
|
1992
|
+
text-align: right;
|
|
1993
|
+
padding: 16px;
|
|
1994
|
+
color: #333333;
|
|
1995
|
+
flex-direction: row-reverse;
|
|
1996
|
+
border-top: 1px dashed #DCDCDC;
|
|
1997
|
+
border-bottom: 4px solid #DCDCDC;
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
/* Media query for screens smaller than 800px */
|
|
2001
|
+
@media (max-width: 800px) {
|
|
2002
|
+
.grid-container {
|
|
2003
|
+
grid-template-columns: repeat(2, 1fr);
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
/* Media query for screens smaller than 500px */
|
|
2008
|
+
@media (max-width: 500px) {
|
|
2009
|
+
.grid-container {
|
|
2010
|
+
grid-template-columns: 1fr;
|
|
2011
|
+
}
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
${monochrome
|
|
2015
|
+
? `
|
|
2016
|
+
/* Receipt Printer Optimized Styles - Monochrome */
|
|
2017
|
+
* {
|
|
2018
|
+
font-family: "Roboto Condensed", Roboto, sans-serif !important;
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
.cssc-1owvoyj-asbq {
|
|
2022
|
+
font-size: 17px !important;
|
|
2023
|
+
line-height: 19px !important;
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2026
|
+
.cssc-h-1qeq10-askk,
|
|
2027
|
+
.cssc-1qeq10-askk {
|
|
2028
|
+
gap: 2px !important;
|
|
2029
|
+
margin-top: 4px !important;
|
|
2030
|
+
margin-bottom: 4px !important;
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2033
|
+
.cssc-1gb95rg-jskk,
|
|
2034
|
+
.cssc-1gb95rb2-jskk {
|
|
2035
|
+
font-size: 24px !important;
|
|
2036
|
+
line-height: 26px !important;
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
.cssc-1iy4zoj-jskk,
|
|
2040
|
+
.cssc-1ebo3of-jskk {
|
|
2041
|
+
font-size: 17px !important;
|
|
2042
|
+
line-height: 19px !important;
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
.css-13qsmk5-askk {
|
|
2046
|
+
padding: 4px !important;
|
|
2047
|
+
font-size: 17px !important;
|
|
2048
|
+
line-height: 19px !important;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
.css-1mt1wnh-jskk {
|
|
2052
|
+
font-size: 20px !important;
|
|
2053
|
+
line-height: 22px !important;
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
.css-58t1oz-askk {
|
|
2057
|
+
padding: 4px !important;
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
.css-1s8sakjsakl {
|
|
2061
|
+
gap: 4px !important;
|
|
2062
|
+
margin-top: 4px !important;
|
|
2063
|
+
}
|
|
2064
|
+
|
|
2065
|
+
.css-r1d07c-askk {
|
|
2066
|
+
gap: 4px !important;
|
|
2067
|
+
padding: 4px !important;
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
.css-1z023sx-jskk,
|
|
2071
|
+
.css-zfkluy-jskk,
|
|
2072
|
+
.css-21997j-jskk {
|
|
2073
|
+
font-size: 17px !important;
|
|
2074
|
+
line-height: 19px !important;
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
.grid-container {
|
|
2078
|
+
grid-gap: 4px !important;
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
.grid-item {
|
|
2082
|
+
height: auto !important;
|
|
2083
|
+
padding: 4px !important;
|
|
2084
|
+
gap: 2px !important;
|
|
2085
|
+
border-radius: 4px !important;
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
.css-1b6n5fl,
|
|
2089
|
+
.css-1tuemaa,
|
|
2090
|
+
.css-lh0dz3,
|
|
2091
|
+
.css-rr655p {
|
|
2092
|
+
font-size: 18px !important;
|
|
2093
|
+
line-height: 20px !important;
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
.css-i8f74p {
|
|
2097
|
+
font-size: 17px !important;
|
|
2098
|
+
line-height: 19px !important;
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
.css-1c5674j,
|
|
2102
|
+
.css-gcb0n5 {
|
|
2103
|
+
padding: 4px !important;
|
|
2104
|
+
font-size: 17px !important;
|
|
2105
|
+
line-height: 19px !important;
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
.css-olpyhf {
|
|
2109
|
+
font-size: 17px !important;
|
|
2110
|
+
line-height: 19px !important;
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
.css-1m25ajq,
|
|
2114
|
+
.css-5u79pd,
|
|
2115
|
+
.css-1cw6d7s,
|
|
2116
|
+
.css-kj25c,
|
|
2117
|
+
.css-nz0srj {
|
|
2118
|
+
padding: 4px !important;
|
|
2119
|
+
font-size: 17px !important;
|
|
2120
|
+
line-height: 19px !important;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
.css-kqeuuk {
|
|
2124
|
+
font-size: 18px !important;
|
|
2125
|
+
line-height: 20px !important;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
.css-3jfma9,
|
|
2129
|
+
.css-4jfma8,
|
|
2130
|
+
.css-1tjle8i,
|
|
2131
|
+
.css-1qqbci,
|
|
2132
|
+
.css-zfkluz,
|
|
2133
|
+
.css-21997z,
|
|
2134
|
+
.css-1vlqrds,
|
|
2135
|
+
.css-10h77yy {
|
|
2136
|
+
font-size: 17px !important;
|
|
2137
|
+
line-height: 19px !important;
|
|
2138
|
+
}
|
|
2139
|
+
|
|
2140
|
+
.css-j7qwjs,
|
|
2141
|
+
.css-5ax1kt,
|
|
2142
|
+
.css-199tt1z,
|
|
2143
|
+
.css-lmzl00,
|
|
2144
|
+
.css-95rbey,
|
|
2145
|
+
.css-95rbeo {
|
|
2146
|
+
font-size: 17px !important;
|
|
2147
|
+
line-height: 19px !important;
|
|
2148
|
+
}
|
|
2149
|
+
`
|
|
2150
|
+
: ''}
|
|
2151
|
+
|
|
2152
|
+
</style>
|
|
2153
|
+
<title>Item Sales Report</title>
|
|
2154
|
+
</head>`;
|
|
2155
|
+
};
|
|
2156
|
+
function getNewItemReportBody({ categoriesChannel, itemsChannels, modifiersChannel, currency_symbol, from, to, tenantName, menuName, itemNetAmount, count, itemAmount, itemDiscountAmount, itemGrossAmount, itemGstAmount, gstTitle, isFilterApplied, showRevenue, hideModifiersDescription, }) {
|
|
2157
|
+
// ======================>>>><<<<=====================
|
|
2158
|
+
const shouldShowRevenue = showRevenue ?? true;
|
|
2159
|
+
const shouldHideModifiersDescription = hideModifiersDescription ?? false;
|
|
2160
|
+
const itemTableColumns = shouldShowRevenue ? 7 : 1;
|
|
2161
|
+
let itemSales = '';
|
|
2162
|
+
if (itemsChannels != null && itemsChannels.length > 0) {
|
|
2163
|
+
let categoryItems = '';
|
|
2164
|
+
for (const category of itemsChannels) {
|
|
2165
|
+
let items = '';
|
|
2166
|
+
for (const item of category.channel) {
|
|
2167
|
+
let subItems = '';
|
|
2168
|
+
const dealCount = item.subChannels?.reduce((sum, subItem) => sum + (subItem.referenceId != null ? subItem.count : 0), 0) ?? 0;
|
|
2169
|
+
const individualCount = Math.max(0, item.count - dealCount);
|
|
2170
|
+
const hasDeal = dealCount > 0;
|
|
2171
|
+
for (const subItem of item.subChannels) {
|
|
2172
|
+
if (shouldHideModifiersDescription) {
|
|
2173
|
+
continue;
|
|
2174
|
+
}
|
|
2175
|
+
const isReferenced = subItem.referenceId != null;
|
|
2176
|
+
const subDealCount = subItem.dealCount ?? 0;
|
|
2177
|
+
const subIndividualCount = subItem.individualCount ?? Math.max(0, subItem.count - subDealCount);
|
|
2178
|
+
const showModifierSplit = !isReferenced && subDealCount > 0;
|
|
2179
|
+
const nameStyle = isReferenced ? 'color:#9e9e9e;font-style:italic;' : '';
|
|
2180
|
+
const dealBadge = isReferenced
|
|
2181
|
+
? '<span style="border:1px solid #f1c24a;color:#f1c24a;border-radius:10px;padding:2px 6px;margin-left:6px;font-size:12px;">Deal Item</span>'
|
|
2182
|
+
: '';
|
|
2183
|
+
subItems += `<div class="css-5ax1kt">
|
|
2184
|
+
<div class="css-1qfrzlc" style="margin-left: ${subItem.level * 30}px"></div>
|
|
2185
|
+
<div class="css-199tt1z">
|
|
2186
|
+
<div class="css-lmzl00">
|
|
2187
|
+
<h6 class="css-1tjle8i">${subItem.count}</h6>
|
|
2188
|
+
<div style="display:flex;flex-direction:column;gap:0;">
|
|
2189
|
+
<p class="css-1qqbci" style="${nameStyle}">${subItem.name}${dealBadge}</p>
|
|
2190
|
+
${showModifierSplit
|
|
2191
|
+
? `<p class="css-1qqbci" style="color:#777;font-size:10px;line-height:12px;display:block;margin-top:2px;">Individual: ${subIndividualCount} • Deal: ${subDealCount}</p>`
|
|
2192
|
+
: ''}
|
|
2193
|
+
</div>
|
|
2194
|
+
</div>
|
|
2195
|
+
|
|
2196
|
+
${shouldShowRevenue && subItem.grossAmount
|
|
2197
|
+
? `<h6 class="css-3jfma9" style="color: #000">${localeAmount(currency_symbol, subItem.grossAmount)}</h6>`
|
|
2198
|
+
: ''}
|
|
2199
|
+
</div>
|
|
2200
|
+
</div>`;
|
|
2201
|
+
}
|
|
2202
|
+
if (subItems.length > 0) {
|
|
2203
|
+
subItems = `<tr class="css-1lm8qhw">
|
|
2204
|
+
<td class="css-1cw6d7s" colspan="${itemTableColumns}">
|
|
2205
|
+
<div class="css-j7qwjs">
|
|
2206
|
+
${subItems}
|
|
2207
|
+
</div>
|
|
2208
|
+
</td>
|
|
2209
|
+
</tr>`;
|
|
2210
|
+
}
|
|
2211
|
+
items += `<tr class="css-1qi8dkl" ${subItems.length === 0 ? 'style="border-bottom: 1px solid rgb(250, 250, 250);"' : ''} >
|
|
2212
|
+
<td class="css-5u79pd">
|
|
2213
|
+
<div class="css-95rbey">
|
|
2214
|
+
<h6 class="css-zfkluz">
|
|
2215
|
+
${item.count}
|
|
2216
|
+
</h6>
|
|
2217
|
+
<div style="display:flex;flex-direction:column;gap:0;">
|
|
2218
|
+
<h6 class="css-21997z" style="margin-left:4px;">
|
|
2219
|
+
${item.name}
|
|
2220
|
+
</h6>
|
|
2221
|
+
${hasDeal
|
|
2222
|
+
? `<p class="css-1qqbci" style="color:#777;font-size:10px;line-height:12px;display:block;margin-top:2px;">Individual: ${individualCount} • Deal: ${dealCount}</p>`
|
|
2223
|
+
: ''}
|
|
2224
|
+
</div>
|
|
2225
|
+
</div>
|
|
2226
|
+
</td>
|
|
2227
|
+
${shouldShowRevenue
|
|
2228
|
+
? `<td class="css-5u79pd">
|
|
2229
|
+
<h6 class="css-3jfma9">
|
|
2230
|
+
${localeAmount(currency_symbol, item.itemAmount)}
|
|
2231
|
+
</h6>
|
|
2232
|
+
${hasDeal && item.itemAmount ? `<p class="css-1qqbci" style="color:#777;font-size:10px;line-height:12px;display:block;margin-top:2px;">Individual revenue</p>` : ''}
|
|
2233
|
+
</td>
|
|
2234
|
+
<td class="css-5u79pd">
|
|
2235
|
+
<h6 class="css-3jfma9">
|
|
2236
|
+
${localeAmount(currency_symbol, item.itemGstAmount)}
|
|
2237
|
+
</h6>
|
|
2238
|
+
</td>
|
|
2239
|
+
<td class="css-5u79pd">
|
|
2240
|
+
<h6 class="css-3jfma9">
|
|
2241
|
+
${localeAmount(currency_symbol, item.itemGrossAmount)}
|
|
2242
|
+
</h6>
|
|
2243
|
+
</td>
|
|
2244
|
+
<td class="css-5u79pd">
|
|
2245
|
+
<h6 class="css-3jfma9">
|
|
2246
|
+
${localeAmount(currency_symbol, item.itemDiscountAmount)}
|
|
2247
|
+
</h6>
|
|
2248
|
+
</td>
|
|
2249
|
+
<td class="css-5u79pd">
|
|
2250
|
+
<h6 class="css-3jfma9">
|
|
2251
|
+
${localeAmount(currency_symbol, item.itemNetAmount)}
|
|
2252
|
+
</h6>
|
|
2253
|
+
</td>
|
|
2254
|
+
<td class="css-5u79pd">
|
|
2255
|
+
<h6 class="css-3jfma9">
|
|
2256
|
+
${localeAmount(currency_symbol, item.itemNetAmount / (item.count || 1))}
|
|
2257
|
+
</h6>
|
|
2258
|
+
</td>`
|
|
2259
|
+
: ''}
|
|
2260
|
+
</tr>
|
|
2261
|
+
${subItems}
|
|
2262
|
+
`;
|
|
2263
|
+
}
|
|
2264
|
+
categoryItems += `<tr class="css-14kha3k">
|
|
2265
|
+
<td class="css-1m25ajq" colspan="${itemTableColumns}">
|
|
2266
|
+
<h5 class="css-kqeuuk">${category.category_name}</h5>
|
|
2267
|
+
</td>
|
|
2268
|
+
${items}
|
|
2269
|
+
</tr>`;
|
|
2270
|
+
categoryItems += `<tr class="css-186nt38">
|
|
2271
|
+
<td class="css-kj25c">
|
|
2272
|
+
<div class="css-95rbeo">
|
|
2273
|
+
<h6 class="css-1vlqrds">
|
|
2274
|
+
${category.count}
|
|
2275
|
+
</h6>
|
|
2276
|
+
<h6 class="css-10h77yy">
|
|
2277
|
+
${category.category_name}
|
|
2278
|
+
</h6>
|
|
2279
|
+
</div>
|
|
2280
|
+
</td>
|
|
2281
|
+
${shouldShowRevenue
|
|
2282
|
+
? `<td class="css-nz0srj">
|
|
2283
|
+
<h6 class="css-10h77yy">
|
|
2284
|
+
${localeAmount(currency_symbol, category.itemAmount)}
|
|
2285
|
+
</h6>
|
|
2286
|
+
</td>
|
|
2287
|
+
<td class="css-nz0srj">
|
|
2288
|
+
<h6 class="css-10h77yy">
|
|
2289
|
+
${localeAmount(currency_symbol, category.itemGstAmount)}
|
|
2290
|
+
</h6>
|
|
2291
|
+
</td>
|
|
2292
|
+
<td class="css-nz0srj">
|
|
2293
|
+
<h6 class="css-10h77yy">
|
|
2294
|
+
${localeAmount(currency_symbol, category.itemGrossAmount)}
|
|
2295
|
+
</h6>
|
|
2296
|
+
</td>
|
|
2297
|
+
<td class="css-nz0srj">
|
|
2298
|
+
<h6 class="css-10h77yy">
|
|
2299
|
+
${localeAmount(currency_symbol, category.itemDiscountAmount)}
|
|
2300
|
+
</h6>
|
|
2301
|
+
</td>
|
|
2302
|
+
<td class="css-nz0srj">
|
|
2303
|
+
<h6 class="css-10h77yy">
|
|
2304
|
+
${localeAmount(currency_symbol, category.itemNetAmount)}
|
|
2305
|
+
</h6>
|
|
2306
|
+
</td>
|
|
2307
|
+
<td class="css-nz0srj">
|
|
2308
|
+
<h6 class="css-10h77yy">
|
|
2309
|
+
${localeAmount(currency_symbol, category.itemNetAmount / category.count)}
|
|
2310
|
+
</h6>
|
|
2311
|
+
</td>`
|
|
2312
|
+
: ''}
|
|
2313
|
+
</tr>`;
|
|
2314
|
+
}
|
|
2315
|
+
itemSales = `<div class="css-1s8sakjsakl">
|
|
2316
|
+
<div class="css-58t1oz-askk">
|
|
2317
|
+
<h5 class="css-1mt1wnh-jskk">
|
|
2318
|
+
Item Sales
|
|
2319
|
+
</h5>
|
|
2320
|
+
</div>
|
|
2321
|
+
|
|
2322
|
+
<table class="css-i8f74p">
|
|
2323
|
+
<thead class="css-1wbz3t9">
|
|
2324
|
+
<tr class="css-1lm8qhw">
|
|
2325
|
+
<th class="css-1c5674j" scope="col">
|
|
2326
|
+
<h6 class="css-olpyhf">Item</h6>
|
|
2327
|
+
</th>
|
|
2328
|
+
${shouldShowRevenue
|
|
2329
|
+
? `<th class="css-gcb0n5" scope="col">
|
|
2330
|
+
<h6 class="css-olpyhf">Amount</h6>
|
|
2331
|
+
</th>
|
|
2332
|
+
<th class="css-gcb0n5" scope="col">
|
|
2333
|
+
<h6 class="css-olpyhf">${gstTitle}</h6>
|
|
2334
|
+
</th>
|
|
2335
|
+
<th class="css-gcb0n5" scope="col">
|
|
2336
|
+
<h6 class="css-olpyhf">Gross Sale</h6>
|
|
2337
|
+
</th>
|
|
2338
|
+
<th class="css-gcb0n5" scope="col">
|
|
2339
|
+
<h6 class="css-olpyhf">Discount</h6>
|
|
2340
|
+
</th>
|
|
2341
|
+
<th class="css-gcb0n5" scope="col">
|
|
2342
|
+
<h6 class="css-olpyhf">Net Sale</h6>
|
|
2343
|
+
</th>
|
|
2344
|
+
<th class="css-gcb0n5" scope="col">
|
|
2345
|
+
<h6 class="css-olpyhf">Av. Rate</h6>
|
|
2346
|
+
</th>`
|
|
2347
|
+
: ''}
|
|
2348
|
+
</tr>
|
|
2349
|
+
</thead>
|
|
2350
|
+
|
|
2351
|
+
<tbody class="css-1xnox0e">
|
|
2352
|
+
${categoryItems}
|
|
2353
|
+
</tbody>
|
|
2354
|
+
</table>
|
|
2355
|
+
</div>`;
|
|
2356
|
+
}
|
|
2357
|
+
let categorySales = '';
|
|
2358
|
+
let modifierSales = '';
|
|
2359
|
+
if (categoriesChannel != null && categoriesChannel.length > 0) {
|
|
2360
|
+
let categories = '';
|
|
2361
|
+
for (const category of categoriesChannel) {
|
|
2362
|
+
const categoryDealCount = category.dealCount ?? 0;
|
|
2363
|
+
const categoryIndividualCount = category.individualCount ?? Math.max(0, category.count - categoryDealCount);
|
|
2364
|
+
const showCategorySplit = categoryDealCount > 0;
|
|
2365
|
+
categories += `<tr class="css-1qi8dkl" style="border-bottom: 1px solid rgb(250, 250, 250);">
|
|
2366
|
+
<td class="css-5u79pd">
|
|
2367
|
+
<div class="css-95rbey">
|
|
2368
|
+
<h6 class="css-zfkluz">
|
|
2369
|
+
${category.count}
|
|
2370
|
+
</h6>
|
|
2371
|
+
<div style="display:flex;flex-direction:column;gap:0;">
|
|
2372
|
+
<h6 class="css-21997z" style="margin-left:4px;">
|
|
2373
|
+
${category.name}
|
|
2374
|
+
</h6>
|
|
2375
|
+
${showCategorySplit
|
|
2376
|
+
? `<p class="css-1qqbci" style="color:#777;font-size:10px;line-height:12px;display:block;margin-top:2px;">Individual: ${categoryIndividualCount} • Deal: ${categoryDealCount}</p>`
|
|
2377
|
+
: ''}
|
|
2378
|
+
</div>
|
|
2379
|
+
</div>
|
|
2380
|
+
</td>
|
|
2381
|
+
${shouldShowRevenue
|
|
2382
|
+
? `<td class="css-5u79pd">
|
|
2383
|
+
<h6 class="css-3jfma9">
|
|
2384
|
+
${localeAmount(currency_symbol, category.itemAmount)}
|
|
2385
|
+
</h6>
|
|
2386
|
+
</td>
|
|
2387
|
+
<td class="css-5u79pd">
|
|
2388
|
+
<h6 class="css-3jfma9">
|
|
2389
|
+
${localeAmount(currency_symbol, category.itemGstAmount)}
|
|
2390
|
+
</h6>
|
|
2391
|
+
</td>
|
|
2392
|
+
<td class="css-5u79pd">
|
|
2393
|
+
<h6 class="css-3jfma9">
|
|
2394
|
+
${localeAmount(currency_symbol, category.itemGrossAmount)}
|
|
2395
|
+
</h6>
|
|
2396
|
+
</td>
|
|
2397
|
+
<td class="css-5u79pd">
|
|
2398
|
+
<h6 class="css-3jfma9">
|
|
2399
|
+
${localeAmount(currency_symbol, category.itemDiscountAmount)}
|
|
2400
|
+
</h6>
|
|
2401
|
+
</td>
|
|
2402
|
+
<td class="css-5u79pd">
|
|
2403
|
+
<h6 class="css-3jfma9">
|
|
2404
|
+
${localeAmount(currency_symbol, category.itemNetAmount)}
|
|
2405
|
+
</h6>
|
|
2406
|
+
</td>
|
|
2407
|
+
<td class="css-5u79pd">
|
|
2408
|
+
<h6 class="css-3jfma9">
|
|
2409
|
+
${localeAmount(currency_symbol, category.itemNetAmount / category.count)}
|
|
2410
|
+
</h6>
|
|
2411
|
+
</td>`
|
|
2412
|
+
: ''}
|
|
2413
|
+
</tr>
|
|
2414
|
+
`;
|
|
2415
|
+
}
|
|
2416
|
+
categorySales = `<div class="css-1s8sakjsakl">
|
|
2417
|
+
<div class="css-58t1oz-askk">
|
|
2418
|
+
<h5 class="css-1mt1wnh-jskk">
|
|
2419
|
+
Category Sales
|
|
2420
|
+
</h5>
|
|
2421
|
+
</div>
|
|
2422
|
+
<table class="css-i8f74p">
|
|
2423
|
+
<thead class="css-1wbz3t9">
|
|
2424
|
+
<tr class="css-1lm8qhw">
|
|
2425
|
+
<th class="css-1c5674j" scope="col">
|
|
2426
|
+
<h6 class="css-olpyhf">Category</h6>
|
|
2427
|
+
</th>
|
|
2428
|
+
${shouldShowRevenue
|
|
2429
|
+
? `<th class="css-gcb0n5" scope="col">
|
|
2430
|
+
<h6 class="css-olpyhf">Amount</h6>
|
|
2431
|
+
</th>
|
|
2432
|
+
<th class="css-gcb0n5" scope="col">
|
|
2433
|
+
<h6 class="css-olpyhf">${gstTitle}</h6>
|
|
2434
|
+
</th>
|
|
2435
|
+
<th class="css-gcb0n5" scope="col">
|
|
2436
|
+
<h6 class="css-olpyhf">Gross Sale</h6>
|
|
2437
|
+
</th>
|
|
2438
|
+
<th class="css-gcb0n5" scope="col">
|
|
2439
|
+
<h6 class="css-olpyhf">Discount</h6>
|
|
2440
|
+
</th>
|
|
2441
|
+
<th class="css-gcb0n5" scope="col">
|
|
2442
|
+
<h6 class="css-olpyhf">Net Sale</h6>
|
|
2443
|
+
</th>
|
|
2444
|
+
<th class="css-gcb0n5" scope="col">
|
|
2445
|
+
<h6 class="css-olpyhf">Av. Rate</h6>
|
|
2446
|
+
</th>`
|
|
2447
|
+
: ''}
|
|
2448
|
+
</tr>
|
|
2449
|
+
</thead>
|
|
2450
|
+
|
|
2451
|
+
<tbody class="css-1xnox0e">
|
|
2452
|
+
${categories}
|
|
2453
|
+
</tbody>
|
|
2454
|
+
</table>
|
|
2455
|
+
</div>`;
|
|
2456
|
+
}
|
|
2457
|
+
if (modifiersChannel != null && modifiersChannel.length > 0) {
|
|
2458
|
+
const normalizeModifierName = (name) => {
|
|
2459
|
+
const parts = name.split(':');
|
|
2460
|
+
return (parts[1] ?? parts[0] ?? '').trim();
|
|
2461
|
+
};
|
|
2462
|
+
const getExtraSales = (title, channels) => {
|
|
2463
|
+
let items = '';
|
|
2464
|
+
for (const channel of channels) {
|
|
2465
|
+
const channelDealCount = channel.dealCount ?? 0;
|
|
2466
|
+
const channelIndividualCount = channel.individualCount ?? Math.max(0, channel.count - channelDealCount);
|
|
2467
|
+
const showChannelSplit = channelDealCount > 0;
|
|
2468
|
+
items += `<div class="css-nen11g-askk">
|
|
2469
|
+
<div class="css-1aua8yd-askk">
|
|
2470
|
+
<div class="css-95rbei-askk">
|
|
2471
|
+
<h6 class="css-zfkluy-jskk">${channel.count}</h6>
|
|
2472
|
+
<div style="display:flex;flex-direction:column;gap:0;">
|
|
2473
|
+
<h6 class="css-21997j-jskk" style="margin-left:4px;">
|
|
2474
|
+
${channel.name}
|
|
2475
|
+
</h6>
|
|
2476
|
+
${showChannelSplit
|
|
2477
|
+
? `<p class="css-1jq5hv-jskk" style="color:#777;font-size:10px;line-height:12px;display:block;margin-top:2px;">Individual: ${channelIndividualCount} • Deal: ${channelDealCount}</p>`
|
|
2478
|
+
: ''}
|
|
2479
|
+
</div>
|
|
2480
|
+
</div>
|
|
2481
|
+
${shouldShowRevenue && channel.grossAmount > 0
|
|
2482
|
+
? `<h6 class="css-1z023sx-jskk">${localeAmount(currency_symbol, channel.grossAmount)}</h6>`
|
|
2483
|
+
: ''}
|
|
2484
|
+
</div>
|
|
2485
|
+
</div>`;
|
|
2486
|
+
}
|
|
2487
|
+
return `<div class="css-16f6p1q-askk">
|
|
2488
|
+
<div class="css-1s8sakjsakl">
|
|
2489
|
+
<div class="css-58t1oz-askk">
|
|
2490
|
+
<h5 class="css-1mt1wnh-jskk">
|
|
2491
|
+
${title}
|
|
2492
|
+
</h5>
|
|
2493
|
+
</div>
|
|
2494
|
+
<div class="css-r1d07c-askk">
|
|
2495
|
+
${items}
|
|
2496
|
+
</div>
|
|
2497
|
+
</div>
|
|
2498
|
+
</div>`;
|
|
2499
|
+
};
|
|
2500
|
+
const modifiersDisplay = modifiersChannel.map((channel) => ({
|
|
2501
|
+
...channel,
|
|
2502
|
+
name: normalizeModifierName(channel.name),
|
|
2503
|
+
}));
|
|
2504
|
+
modifierSales += getExtraSales('Trending Modifiers', modifiersDisplay);
|
|
2505
|
+
}
|
|
2506
|
+
return `<div class="cssc-1owvoyj-asbq">
|
|
2507
|
+
<br />
|
|
2508
|
+
<div class="cssc-h-1qeq10-askk">
|
|
2509
|
+
<h4 class="cssc-1gb95rg-jskk" style="color: #000000">
|
|
2510
|
+
${menuName ? `${tenantName} - ${menuName}` : `${tenantName} - All Menus`}
|
|
2511
|
+
</h4>
|
|
2512
|
+
|
|
2513
|
+
<h5 class="cssc-1gb95rb2-jskk" style="color: #000000">
|
|
2514
|
+
Item Sales Report
|
|
2515
|
+
</h5>
|
|
2516
|
+
<p class="cssc-1iy4zoj-jskk">
|
|
2517
|
+
${moment(from).format('dddd')} ${moment(from).format('MMM DD, YYYY')}
|
|
2518
|
+
</p>
|
|
2519
|
+
<p class="cssc-1ebo3of-jskk">${moment(from).format('h:mm a, MMM DD')} - ${moment(to).format('h:mm a, MMM DD')}
|
|
2520
|
+
</p>
|
|
2521
|
+
</div>
|
|
2522
|
+
|
|
2523
|
+
<br />
|
|
2524
|
+
|
|
2525
|
+
<div class="css-13qsmk5-askk">
|
|
2526
|
+
<div class="grid-container">
|
|
2527
|
+
<div class="grid-item">
|
|
2528
|
+
<h5 class="css-1b6n5fl">Total Items Sold</h5>
|
|
2529
|
+
<h5 class="css-1tuemaa">${count}</h5>
|
|
2530
|
+
</div>
|
|
2531
|
+
${shouldShowRevenue
|
|
2532
|
+
? `<div class="grid-item">
|
|
2533
|
+
<h5 class="css-1b6n5fl">Amount</h5>
|
|
2534
|
+
<h5 class="css-lh0dz3">
|
|
2535
|
+
${localeAmount(currency_symbol, itemAmount)}
|
|
2536
|
+
</h5>
|
|
2537
|
+
</div>
|
|
2538
|
+
<div class="grid-item">
|
|
2539
|
+
<h5 class="css-1b6n5fl">
|
|
2540
|
+
${gstTitle}
|
|
2541
|
+
</h5>
|
|
2542
|
+
<h5 class="css-1tuemaa">
|
|
2543
|
+
${localeAmount(currency_symbol, itemGstAmount)}
|
|
2544
|
+
</h5>
|
|
2545
|
+
</div>
|
|
2546
|
+
<div class="grid-item">
|
|
2547
|
+
<h5 class="css-1b6n5fl">Gross Sale</h5>
|
|
2548
|
+
<h5 class="css-lh0dz3">
|
|
2549
|
+
${localeAmount(currency_symbol, itemGrossAmount)}
|
|
2550
|
+
</h5>
|
|
2551
|
+
</div>
|
|
2552
|
+
<div class="grid-item">
|
|
2553
|
+
<h5 class="css-1b6n5fl">Discount</h5>
|
|
2554
|
+
<h5 class="css-rr655p">
|
|
2555
|
+
${localeAmount(currency_symbol, itemDiscountAmount)}
|
|
2556
|
+
</h5>
|
|
2557
|
+
</div>
|
|
2558
|
+
<div class="grid-item">
|
|
2559
|
+
<h5 class="css-1b6n5fl">Net Sale</h5>
|
|
2560
|
+
<h5 class="css-lh0dz3">
|
|
2561
|
+
${localeAmount(currency_symbol, itemNetAmount)}
|
|
2562
|
+
</h5>
|
|
2563
|
+
</div>`
|
|
2564
|
+
: ''}
|
|
2565
|
+
</div>
|
|
2566
|
+
|
|
2567
|
+
${itemSales}
|
|
2568
|
+
${categorySales}
|
|
2569
|
+
${modifierSales}
|
|
2570
|
+
</div>
|
|
2571
|
+
|
|
2572
|
+
<br />
|
|
2573
|
+
|
|
2574
|
+
<div class="cssc-1qeq10-askk">
|
|
2575
|
+
<h5 class="cssc-1gb95rb2-jskk" style="color: #000000">
|
|
2576
|
+
${tenantName}
|
|
2577
|
+
</h5>
|
|
2578
|
+
<p class="cssc-1iy4zoj-jskk">
|
|
2579
|
+
Exported on ${moment().format('dddd')} ${moment().format('MMM DD, YYYY')} at ${moment().format('h:mm a')}
|
|
2580
|
+
</p>
|
|
2581
|
+
${isFilterApplied
|
|
2582
|
+
? `<p class="cssc-1iy4zoj-jskk"
|
|
2583
|
+
style="text-align: center; font-weight: bold; color: #FF0000"
|
|
2584
|
+
>
|
|
2585
|
+
Note: This report is filtered. Please ensure to tally the data on your end.
|
|
2586
|
+
</p>`
|
|
2587
|
+
: ''}
|
|
2588
|
+
</div>
|
|
2589
|
+
<br />
|
|
2590
|
+
</div>
|
|
2591
|
+
`;
|
|
2592
|
+
}
|
|
2593
|
+
export function getNewItemReportHtml(props) {
|
|
2594
|
+
const style = props.width ? `style=width: ${props.width}px; max-width: ${props.width}px;` : '';
|
|
2595
|
+
const html = `
|
|
2596
|
+
<html lang="en" ${style}>
|
|
2597
|
+
${getNewItemReportHead(props)}
|
|
2598
|
+
<body translate="no" ${style}>
|
|
2599
|
+
${getNewItemReportBody(props)}
|
|
2600
|
+
</body>
|
|
2601
|
+
</html>`;
|
|
2602
|
+
return html;
|
|
2603
|
+
}
|