@managesome/eposmatic-toolkit 0.2.212

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