digikhata-mashreq-sdk 0.1.1 → 1.1.0

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 (719) hide show
  1. package/README.md +8 -2
  2. package/lib/module/App.js +13 -26
  3. package/lib/module/App.js.map +1 -1
  4. package/lib/module/app/api/api.js +12 -0
  5. package/lib/module/app/api/api.js.map +1 -0
  6. package/lib/module/app/assets/Icons/Bill.png +0 -0
  7. package/lib/module/app/assets/Icons/Bill_Grey.png +0 -0
  8. package/lib/module/app/assets/Icons/Cash.png +0 -0
  9. package/lib/module/app/assets/Icons/Cash_Grey.png +0 -0
  10. package/lib/module/app/assets/Icons/Expense.png +0 -0
  11. package/lib/module/app/assets/Icons/Expense_Grey.png +0 -0
  12. package/lib/module/app/assets/Icons/Staff.png +0 -0
  13. package/lib/module/app/assets/Icons/Stock.png +0 -0
  14. package/lib/module/app/assets/Icons/Stock_Grey.png +0 -0
  15. package/lib/module/app/assets/Icons/abc.png +0 -0
  16. package/lib/module/app/assets/Icons/bank_logo.png +0 -0
  17. package/lib/module/app/assets/Icons/download_sale.png +0 -0
  18. package/lib/module/app/assets/Icons/recycle-bin.png +0 -0
  19. package/lib/module/app/assets/animations/recording.json +1 -0
  20. package/lib/module/app/assets/animations/success.json +1 -0
  21. package/lib/module/app/assets/animations/voice_visualization.json +1 -0
  22. package/lib/module/app/assets/businessCards/card_11.png +0 -0
  23. package/lib/module/app/assets/businessCards/card_12_bg.png +0 -0
  24. package/lib/module/app/assets/businessCards/card_wall_01.jpeg +0 -0
  25. package/lib/module/app/assets/businessCards/card_wall_02.jpeg +0 -0
  26. package/lib/module/app/assets/businessCards/card_wall_03.jpeg +0 -0
  27. package/lib/module/app/assets/businessCards/card_wall_04.jpeg +0 -0
  28. package/lib/module/app/assets/businessCards/card_wall_05.jpeg +0 -0
  29. package/lib/module/app/assets/businessCards/card_wall_06.jpeg +0 -0
  30. package/lib/module/app/assets/businessCards/card_wall_07.jpeg +0 -0
  31. package/lib/module/app/assets/businessCards/card_wall_08.jpeg +0 -0
  32. package/lib/module/app/assets/illustrations/empty.png +0 -0
  33. package/lib/module/app/assets/illustrations/packages.png +0 -0
  34. package/lib/module/app/assets/images/Digikhata_idzarHgH0q_0.png +0 -0
  35. package/lib/module/app/assets/images/bank.png +0 -0
  36. package/lib/module/app/assets/images/digiLogo-main.png +0 -0
  37. package/lib/module/app/assets/images/svgviewer-output.svg +57 -0
  38. package/lib/module/app/assets/images/user.png +0 -0
  39. package/lib/module/app/assets/oldIcons/BILL.svg +3 -0
  40. package/lib/module/app/assets/oldIcons/CASH.svg +4 -0
  41. package/lib/module/app/assets/oldIcons/EXPENSE.svg +6 -0
  42. package/lib/module/app/assets/oldIcons/STAFF.svg +3 -0
  43. package/lib/module/app/assets/oldIcons/Sale Active.svg +14 -0
  44. package/lib/module/app/assets/oldIcons/Stock.svg +5 -0
  45. package/lib/module/app/assets/svg/BILL.svg +4 -0
  46. package/lib/module/app/assets/svg/CASH.svg +6 -0
  47. package/lib/module/app/assets/svg/EXPENSE.svg +5 -0
  48. package/lib/module/app/assets/svg/More Icon.svg +6 -0
  49. package/lib/module/app/assets/svg/Payment Icon.svg +4 -0
  50. package/lib/module/app/assets/svg/Pos.svg +13 -0
  51. package/lib/module/app/assets/svg/STAFF.svg +5 -0
  52. package/lib/module/app/assets/svg/Sale Active.svg +8 -0
  53. package/lib/module/app/assets/svg/Sale Icon.svg +3 -0
  54. package/lib/module/app/assets/svg/Stock.svg +5 -0
  55. package/lib/module/app/components/AccountSetupSteps.js +64 -0
  56. package/lib/module/app/components/AccountSetupSteps.js.map +1 -0
  57. package/lib/module/app/components/AddItemBillParent.js +366 -0
  58. package/lib/module/app/components/AddItemBillParent.js.map +1 -0
  59. package/lib/module/app/components/AdditemBillChild.js +1123 -0
  60. package/lib/module/app/components/AdditemBillChild.js.map +1 -0
  61. package/lib/module/app/components/Balance.js +116 -70
  62. package/lib/module/app/components/Balance.js.map +1 -1
  63. package/lib/module/app/components/BillList.js +428 -0
  64. package/lib/module/app/components/BillList.js.map +1 -0
  65. package/lib/module/app/components/BillSetupSteps.js +64 -0
  66. package/lib/module/app/components/BillSetupSteps.js.map +1 -0
  67. package/lib/module/app/components/BottomView.js +35 -0
  68. package/lib/module/app/components/BottomView.js.map +1 -0
  69. package/lib/module/app/components/BusinessCards/Card1.js +202 -0
  70. package/lib/module/app/components/BusinessCards/Card1.js.map +1 -0
  71. package/lib/module/app/components/BusinessCards/Card10.js +234 -0
  72. package/lib/module/app/components/BusinessCards/Card10.js.map +1 -0
  73. package/lib/module/app/components/BusinessCards/Card2.js +190 -0
  74. package/lib/module/app/components/BusinessCards/Card2.js.map +1 -0
  75. package/lib/module/app/components/BusinessCards/Card3.js +186 -0
  76. package/lib/module/app/components/BusinessCards/Card3.js.map +1 -0
  77. package/lib/module/app/components/BusinessCards/Card4.js +186 -0
  78. package/lib/module/app/components/BusinessCards/Card4.js.map +1 -0
  79. package/lib/module/app/components/BusinessCards/Card5.js +189 -0
  80. package/lib/module/app/components/BusinessCards/Card5.js.map +1 -0
  81. package/lib/module/app/components/BusinessCards/Card6.js +198 -0
  82. package/lib/module/app/components/BusinessCards/Card6.js.map +1 -0
  83. package/lib/module/app/components/BusinessCards/Card7.js +185 -0
  84. package/lib/module/app/components/BusinessCards/Card7.js.map +1 -0
  85. package/lib/module/app/components/BusinessCards/Card8.js +187 -0
  86. package/lib/module/app/components/BusinessCards/Card8.js.map +1 -0
  87. package/lib/module/app/components/BusinessCards/Card9.js +234 -0
  88. package/lib/module/app/components/BusinessCards/Card9.js.map +1 -0
  89. package/lib/module/app/components/BusinessCards/index.js +13 -0
  90. package/lib/module/app/components/BusinessCards/index.js.map +1 -0
  91. package/lib/module/app/components/CashEntryComponent.js +256 -0
  92. package/lib/module/app/components/CashEntryComponent.js.map +1 -0
  93. package/lib/module/app/components/CityModal.js +116 -0
  94. package/lib/module/app/components/CityModal.js.map +1 -0
  95. package/lib/module/app/components/CountryPhoneInput.js +263 -166
  96. package/lib/module/app/components/CountryPhoneInput.js.map +1 -1
  97. package/lib/module/app/components/CreateExpenseAccount.js +139 -0
  98. package/lib/module/app/components/CreateExpenseAccount.js.map +1 -0
  99. package/lib/module/app/components/CustomStatusBar.js +29 -0
  100. package/lib/module/app/components/CustomStatusBar.js.map +1 -0
  101. package/lib/module/app/components/CustomToast.js +135 -0
  102. package/lib/module/app/components/CustomToast.js.map +1 -0
  103. package/lib/module/app/components/DeleteBusinessModal.js +174 -0
  104. package/lib/module/app/components/DeleteBusinessModal.js.map +1 -0
  105. package/lib/module/app/components/DiscountTaxModal.js +242 -0
  106. package/lib/module/app/components/DiscountTaxModal.js.map +1 -0
  107. package/lib/module/app/components/Entries.js +54 -32
  108. package/lib/module/app/components/Entries.js.map +1 -1
  109. package/lib/module/app/components/ExpenseList.js +402 -0
  110. package/lib/module/app/components/ExpenseList.js.map +1 -0
  111. package/lib/module/app/components/ExpenseParent.js +441 -0
  112. package/lib/module/app/components/ExpenseParent.js.map +1 -0
  113. package/lib/module/app/components/FloatingInput.js +159 -0
  114. package/lib/module/app/components/FloatingInput.js.map +1 -0
  115. package/lib/module/app/components/Header.js +107 -0
  116. package/lib/module/app/components/Header.js.map +1 -0
  117. package/lib/module/app/components/Loader.js +45 -0
  118. package/lib/module/app/components/Loader.js.map +1 -0
  119. package/lib/module/app/components/PartyModal.js +230 -0
  120. package/lib/module/app/components/PartyModal.js.map +1 -0
  121. package/lib/module/app/components/PickerModal.js +153 -0
  122. package/lib/module/app/components/PickerModal.js.map +1 -0
  123. package/lib/module/app/components/SalePaymentModal.js +743 -0
  124. package/lib/module/app/components/SalePaymentModal.js.map +1 -0
  125. package/lib/module/app/components/SearchBar.js +179 -42
  126. package/lib/module/app/components/SearchBar.js.map +1 -1
  127. package/lib/module/app/components/StockDetailChild.js +425 -0
  128. package/lib/module/app/components/StockDetailChild.js.map +1 -0
  129. package/lib/module/app/components/StockList.js +448 -0
  130. package/lib/module/app/components/StockList.js.map +1 -0
  131. package/lib/module/app/components/StockReportTransaction.js +182 -0
  132. package/lib/module/app/components/StockReportTransaction.js.map +1 -0
  133. package/lib/module/app/components/Transaction.js +193 -53
  134. package/lib/module/app/components/Transaction.js.map +1 -1
  135. package/lib/module/app/components/User.js +106 -51
  136. package/lib/module/app/components/User.js.map +1 -1
  137. package/lib/module/app/components/index.js +20 -1
  138. package/lib/module/app/components/index.js.map +1 -1
  139. package/lib/module/app/database/bill.js +247 -0
  140. package/lib/module/app/database/bill.js.map +1 -0
  141. package/lib/module/app/database/business.js +262 -0
  142. package/lib/module/app/database/business.js.map +1 -0
  143. package/lib/module/app/database/cash.js +299 -0
  144. package/lib/module/app/database/cash.js.map +1 -0
  145. package/lib/module/app/database/clients.js +1182 -36
  146. package/lib/module/app/database/clients.js.map +1 -1
  147. package/lib/module/app/database/expense.js +299 -0
  148. package/lib/module/app/database/expense.js.map +1 -0
  149. package/lib/module/app/database/schema.js +113 -3
  150. package/lib/module/app/database/schema.js.map +1 -1
  151. package/lib/module/app/database/stock.js +509 -0
  152. package/lib/module/app/database/stock.js.map +1 -0
  153. package/lib/module/app/htmlTemplates/htmlTemplates.js +2504 -0
  154. package/lib/module/app/htmlTemplates/htmlTemplates.js.map +1 -0
  155. package/lib/module/app/navigation/BillStack/BillStack.js +40 -0
  156. package/lib/module/app/navigation/BillStack/BillStack.js.map +1 -0
  157. package/lib/module/app/navigation/BottomTabs/BottomTabs.js +10 -5
  158. package/lib/module/app/navigation/BottomTabs/BottomTabs.js.map +1 -1
  159. package/lib/module/app/navigation/BusinessStack/BusinessStack.js +30 -0
  160. package/lib/module/app/navigation/BusinessStack/BusinessStack.js.map +1 -0
  161. package/lib/module/app/navigation/CashStack/CashStack.js +79 -0
  162. package/lib/module/app/navigation/CashStack/CashStack.js.map +1 -0
  163. package/lib/module/app/navigation/EntriesStack/EntriesStack.js +223 -0
  164. package/lib/module/app/navigation/EntriesStack/EntriesStack.js.map +1 -0
  165. package/lib/module/app/navigation/ExpenseStack.js/ExpenseStack.js +37 -0
  166. package/lib/module/app/navigation/ExpenseStack.js/ExpenseStack.js.map +1 -0
  167. package/lib/module/app/navigation/HomeStack/HomeStack.js +93 -1
  168. package/lib/module/app/navigation/HomeStack/HomeStack.js.map +1 -1
  169. package/lib/module/app/navigation/Root.js +10 -1
  170. package/lib/module/app/navigation/Root.js.map +1 -1
  171. package/lib/module/app/navigation/SaleStack/SaleStack.js +73 -0
  172. package/lib/module/app/navigation/SaleStack/SaleStack.js.map +1 -0
  173. package/lib/module/app/navigation/StockStack/StockStack.js +49 -0
  174. package/lib/module/app/navigation/StockStack/StockStack.js.map +1 -0
  175. package/lib/module/app/navigation/index.js +3 -1
  176. package/lib/module/app/navigation/index.js.map +1 -1
  177. package/lib/module/app/redux/Store.js +3 -1
  178. package/lib/module/app/redux/Store.js.map +1 -1
  179. package/lib/module/app/redux/reducers/client/client_reducers.js +23 -2
  180. package/lib/module/app/redux/reducers/client/client_reducers.js.map +1 -1
  181. package/lib/module/app/redux/reducers/client/client_types.js +5 -0
  182. package/lib/module/app/redux/reducers/client/client_types.js.map +1 -1
  183. package/lib/module/app/redux/reducers/user/user_reducers.js +22 -0
  184. package/lib/module/app/redux/reducers/user/user_reducers.js.map +1 -0
  185. package/lib/module/app/redux/reducers/user/user_types.js +6 -0
  186. package/lib/module/app/redux/reducers/user/user_types.js.map +1 -0
  187. package/lib/module/app/screens/AddBank.js +237 -0
  188. package/lib/module/app/screens/AddBank.js.map +1 -0
  189. package/lib/module/app/screens/AddBusiness.js +905 -0
  190. package/lib/module/app/screens/AddBusiness.js.map +1 -0
  191. package/lib/module/app/screens/AddItems.js +433 -0
  192. package/lib/module/app/screens/AddItems.js.map +1 -0
  193. package/lib/module/app/screens/AddScreen.js +341 -77
  194. package/lib/module/app/screens/AddScreen.js.map +1 -1
  195. package/lib/module/app/screens/All.js +836 -0
  196. package/lib/module/app/screens/All.js.map +1 -0
  197. package/lib/module/app/screens/AllTransactions.js +846 -0
  198. package/lib/module/app/screens/AllTransactions.js.map +1 -0
  199. package/lib/module/app/screens/Banks.js +807 -48
  200. package/lib/module/app/screens/Banks.js.map +1 -1
  201. package/lib/module/app/screens/BillDetails.js +1033 -0
  202. package/lib/module/app/screens/BillDetails.js.map +1 -0
  203. package/lib/module/app/screens/BillHome.js +102 -0
  204. package/lib/module/app/screens/BillHome.js.map +1 -0
  205. package/lib/module/app/screens/BillParent.js +373 -0
  206. package/lib/module/app/screens/BillParent.js.map +1 -0
  207. package/lib/module/app/screens/BusinessDetail.js +787 -0
  208. package/lib/module/app/screens/BusinessDetail.js.map +1 -0
  209. package/lib/module/app/screens/CashEntry.js +2429 -0
  210. package/lib/module/app/screens/CashEntry.js.map +1 -0
  211. package/lib/module/app/screens/CashEntryDetails.js +574 -0
  212. package/lib/module/app/screens/CashEntryDetails.js.map +1 -0
  213. package/lib/module/app/screens/CashHome.js +544 -0
  214. package/lib/module/app/screens/CashHome.js.map +1 -0
  215. package/lib/module/app/screens/CashReport.js +1297 -0
  216. package/lib/module/app/screens/CashReport.js.map +1 -0
  217. package/lib/module/app/screens/CashSummary.js +602 -0
  218. package/lib/module/app/screens/CashSummary.js.map +1 -0
  219. package/lib/module/app/screens/CreateBill.js +2137 -0
  220. package/lib/module/app/screens/CreateBill.js.map +1 -0
  221. package/lib/module/app/screens/CustomerEntries.js +1093 -184
  222. package/lib/module/app/screens/CustomerEntries.js.map +1 -1
  223. package/lib/module/app/screens/Customers.js +727 -96
  224. package/lib/module/app/screens/Customers.js.map +1 -1
  225. package/lib/module/app/screens/EditCategory.js +299 -0
  226. package/lib/module/app/screens/EditCategory.js.map +1 -0
  227. package/lib/module/app/screens/EditCategoryStock.js +302 -0
  228. package/lib/module/app/screens/EditCategoryStock.js.map +1 -0
  229. package/lib/module/app/screens/Entry.js +1838 -275
  230. package/lib/module/app/screens/Entry.js.map +1 -1
  231. package/lib/module/app/screens/ExpenseDetail.js +15 -0
  232. package/lib/module/app/screens/ExpenseDetail.js.map +1 -0
  233. package/lib/module/app/screens/ExpenseEntries.js +713 -0
  234. package/lib/module/app/screens/ExpenseEntries.js.map +1 -0
  235. package/lib/module/app/screens/ExpenseEntry.js +2095 -0
  236. package/lib/module/app/screens/ExpenseEntry.js.map +1 -0
  237. package/lib/module/app/screens/ExpenseEntryDetails.js +508 -0
  238. package/lib/module/app/screens/ExpenseEntryDetails.js.map +1 -0
  239. package/lib/module/app/screens/ExpenseEntryReport.js +792 -0
  240. package/lib/module/app/screens/ExpenseEntryReport.js.map +1 -0
  241. package/lib/module/app/screens/ExpenseReport.js +792 -0
  242. package/lib/module/app/screens/ExpenseReport.js.map +1 -0
  243. package/lib/module/app/screens/Geolocation.js +374 -0
  244. package/lib/module/app/screens/Geolocation.js.map +1 -0
  245. package/lib/module/app/screens/GetStarted.js +213 -0
  246. package/lib/module/app/screens/GetStarted.js.map +1 -0
  247. package/lib/module/app/screens/HomeScreen.js +202 -55
  248. package/lib/module/app/screens/HomeScreen.js.map +1 -1
  249. package/lib/module/app/screens/InBuy.js +854 -0
  250. package/lib/module/app/screens/InBuy.js.map +1 -0
  251. package/lib/module/app/screens/ItemEntryDetails.js +652 -0
  252. package/lib/module/app/screens/ItemEntryDetails.js.map +1 -0
  253. package/lib/module/app/screens/LowStock.js +372 -0
  254. package/lib/module/app/screens/LowStock.js.map +1 -0
  255. package/lib/module/app/screens/NewPin.js +234 -0
  256. package/lib/module/app/screens/NewPin.js.map +1 -0
  257. package/lib/module/app/screens/OutSell.js +1883 -0
  258. package/lib/module/app/screens/OutSell.js.map +1 -0
  259. package/lib/module/app/screens/POSSale.js +637 -0
  260. package/lib/module/app/screens/POSSale.js.map +1 -0
  261. package/lib/module/app/screens/PinScreen.js +663 -0
  262. package/lib/module/app/screens/PinScreen.js.map +1 -0
  263. package/lib/module/app/screens/PreviewBill.js +329 -0
  264. package/lib/module/app/screens/PreviewBill.js.map +1 -0
  265. package/lib/module/app/screens/Profile.js +1160 -0
  266. package/lib/module/app/screens/Profile.js.map +1 -0
  267. package/lib/module/app/screens/RateList.js +432 -0
  268. package/lib/module/app/screens/RateList.js.map +1 -0
  269. package/lib/module/app/screens/Report.js +1105 -0
  270. package/lib/module/app/screens/Report.js.map +1 -0
  271. package/lib/module/app/screens/SaleItemDetail.js +1047 -0
  272. package/lib/module/app/screens/SaleItemDetail.js.map +1 -0
  273. package/lib/module/app/screens/SaleParent.js +289 -0
  274. package/lib/module/app/screens/SaleParent.js.map +1 -0
  275. package/lib/module/app/screens/SelectBank.js +220 -0
  276. package/lib/module/app/screens/SelectBank.js.map +1 -0
  277. package/lib/module/app/screens/SelectBusiness.js +497 -93
  278. package/lib/module/app/screens/SelectBusiness.js.map +1 -1
  279. package/lib/module/app/screens/Splash.js +93 -20
  280. package/lib/module/app/screens/Splash.js.map +1 -1
  281. package/lib/module/app/screens/StockChild.js +362 -0
  282. package/lib/module/app/screens/StockChild.js.map +1 -0
  283. package/lib/module/app/screens/StockDetail.js +705 -0
  284. package/lib/module/app/screens/StockDetail.js.map +1 -0
  285. package/lib/module/app/screens/StockParent.js +260 -0
  286. package/lib/module/app/screens/StockParent.js.map +1 -0
  287. package/lib/module/app/screens/StockReport.js +1031 -0
  288. package/lib/module/app/screens/StockReport.js.map +1 -0
  289. package/lib/module/app/screens/StockValue.js +545 -0
  290. package/lib/module/app/screens/StockValue.js.map +1 -0
  291. package/lib/module/app/screens/Suppliers.js +753 -98
  292. package/lib/module/app/screens/Suppliers.js.map +1 -1
  293. package/lib/module/app/screens/TransactionDetails.js +1169 -81
  294. package/lib/module/app/screens/TransactionDetails.js.map +1 -1
  295. package/lib/module/app/screens/UpdateBusiness.js +707 -0
  296. package/lib/module/app/screens/UpdateBusiness.js.map +1 -0
  297. package/lib/module/app/screens/VisionCamera.js +60 -0
  298. package/lib/module/app/screens/VisionCamera.js.map +1 -0
  299. package/lib/module/app/screens/index.js +46 -1
  300. package/lib/module/app/screens/index.js.map +1 -1
  301. package/lib/module/app/screens/new.html +171 -0
  302. package/lib/module/app/themes/config.js +299 -30
  303. package/lib/module/app/themes/config.js.map +1 -1
  304. package/lib/module/app/utils/city.json +7265 -0
  305. package/lib/typescript/eslint.config.d.mts +1 -1
  306. package/lib/typescript/src/App.d.ts.map +1 -1
  307. package/lib/typescript/src/app/api/api.d.ts +10 -0
  308. package/lib/typescript/src/app/api/api.d.ts.map +1 -0
  309. package/lib/typescript/src/app/components/AccountSetupSteps.d.ts +3 -0
  310. package/lib/typescript/src/app/components/AccountSetupSteps.d.ts.map +1 -0
  311. package/lib/typescript/src/app/components/AddItemBillParent.d.ts +5 -0
  312. package/lib/typescript/src/app/components/AddItemBillParent.d.ts.map +1 -0
  313. package/lib/typescript/src/app/components/AdditemBillChild.d.ts +6 -0
  314. package/lib/typescript/src/app/components/AdditemBillChild.d.ts.map +1 -0
  315. package/lib/typescript/src/app/components/Balance.d.ts +3 -1
  316. package/lib/typescript/src/app/components/Balance.d.ts.map +1 -1
  317. package/lib/typescript/src/app/components/BillList.d.ts +5 -0
  318. package/lib/typescript/src/app/components/BillList.d.ts.map +1 -0
  319. package/lib/typescript/src/app/components/BillSetupSteps.d.ts +3 -0
  320. package/lib/typescript/src/app/components/BillSetupSteps.d.ts.map +1 -0
  321. package/lib/typescript/src/app/components/BottomView.d.ts +6 -0
  322. package/lib/typescript/src/app/components/BottomView.d.ts.map +1 -0
  323. package/lib/typescript/src/app/components/BusinessCards/Card1.d.ts +14 -0
  324. package/lib/typescript/src/app/components/BusinessCards/Card1.d.ts.map +1 -0
  325. package/lib/typescript/src/app/components/BusinessCards/Card10.d.ts +14 -0
  326. package/lib/typescript/src/app/components/BusinessCards/Card10.d.ts.map +1 -0
  327. package/lib/typescript/src/app/components/BusinessCards/Card2.d.ts +14 -0
  328. package/lib/typescript/src/app/components/BusinessCards/Card2.d.ts.map +1 -0
  329. package/lib/typescript/src/app/components/BusinessCards/Card3.d.ts +14 -0
  330. package/lib/typescript/src/app/components/BusinessCards/Card3.d.ts.map +1 -0
  331. package/lib/typescript/src/app/components/BusinessCards/Card4.d.ts +14 -0
  332. package/lib/typescript/src/app/components/BusinessCards/Card4.d.ts.map +1 -0
  333. package/lib/typescript/src/app/components/BusinessCards/Card5.d.ts +14 -0
  334. package/lib/typescript/src/app/components/BusinessCards/Card5.d.ts.map +1 -0
  335. package/lib/typescript/src/app/components/BusinessCards/Card6.d.ts +14 -0
  336. package/lib/typescript/src/app/components/BusinessCards/Card6.d.ts.map +1 -0
  337. package/lib/typescript/src/app/components/BusinessCards/Card7.d.ts +14 -0
  338. package/lib/typescript/src/app/components/BusinessCards/Card7.d.ts.map +1 -0
  339. package/lib/typescript/src/app/components/BusinessCards/Card8.d.ts +14 -0
  340. package/lib/typescript/src/app/components/BusinessCards/Card8.d.ts.map +1 -0
  341. package/lib/typescript/src/app/components/BusinessCards/Card9.d.ts +14 -0
  342. package/lib/typescript/src/app/components/BusinessCards/Card9.d.ts.map +1 -0
  343. package/lib/typescript/src/app/components/BusinessCards/index.d.ts +11 -0
  344. package/lib/typescript/src/app/components/BusinessCards/index.d.ts.map +1 -0
  345. package/lib/typescript/src/app/components/CashEntryComponent.d.ts +8 -0
  346. package/lib/typescript/src/app/components/CashEntryComponent.d.ts.map +1 -0
  347. package/lib/typescript/src/app/components/CityModal.d.ts +7 -0
  348. package/lib/typescript/src/app/components/CityModal.d.ts.map +1 -0
  349. package/lib/typescript/src/app/components/CountryPhoneInput.d.ts +4 -1
  350. package/lib/typescript/src/app/components/CountryPhoneInput.d.ts.map +1 -1
  351. package/lib/typescript/src/app/components/CreateExpenseAccount.d.ts +9 -0
  352. package/lib/typescript/src/app/components/CreateExpenseAccount.d.ts.map +1 -0
  353. package/lib/typescript/src/app/components/CustomStatusBar.d.ts +3 -0
  354. package/lib/typescript/src/app/components/CustomStatusBar.d.ts.map +1 -0
  355. package/lib/typescript/src/app/components/CustomToast.d.ts +10 -0
  356. package/lib/typescript/src/app/components/CustomToast.d.ts.map +1 -0
  357. package/lib/typescript/src/app/components/DeleteBusinessModal.d.ts +8 -0
  358. package/lib/typescript/src/app/components/DeleteBusinessModal.d.ts.map +1 -0
  359. package/lib/typescript/src/app/components/DiscountTaxModal.d.ts +9 -0
  360. package/lib/typescript/src/app/components/DiscountTaxModal.d.ts.map +1 -0
  361. package/lib/typescript/src/app/components/Entries.d.ts.map +1 -1
  362. package/lib/typescript/src/app/components/ExpenseList.d.ts +6 -0
  363. package/lib/typescript/src/app/components/ExpenseList.d.ts.map +1 -0
  364. package/lib/typescript/src/app/components/ExpenseParent.d.ts +4 -0
  365. package/lib/typescript/src/app/components/ExpenseParent.d.ts.map +1 -0
  366. package/lib/typescript/src/app/components/FloatingInput.d.ts +18 -0
  367. package/lib/typescript/src/app/components/FloatingInput.d.ts.map +1 -0
  368. package/lib/typescript/src/app/components/Header.d.ts +11 -0
  369. package/lib/typescript/src/app/components/Header.d.ts.map +1 -0
  370. package/lib/typescript/src/app/components/Loader.d.ts +5 -0
  371. package/lib/typescript/src/app/components/Loader.d.ts.map +1 -0
  372. package/lib/typescript/src/app/components/PartyModal.d.ts +7 -0
  373. package/lib/typescript/src/app/components/PartyModal.d.ts.map +1 -0
  374. package/lib/typescript/src/app/components/PickerModal.d.ts +8 -0
  375. package/lib/typescript/src/app/components/PickerModal.d.ts.map +1 -0
  376. package/lib/typescript/src/app/components/SalePaymentModal.d.ts +15 -0
  377. package/lib/typescript/src/app/components/SalePaymentModal.d.ts.map +1 -0
  378. package/lib/typescript/src/app/components/SearchBar.d.ts +2 -4
  379. package/lib/typescript/src/app/components/SearchBar.d.ts.map +1 -1
  380. package/lib/typescript/src/app/components/StockDetailChild.d.ts +5 -0
  381. package/lib/typescript/src/app/components/StockDetailChild.d.ts.map +1 -0
  382. package/lib/typescript/src/app/components/StockList.d.ts +6 -0
  383. package/lib/typescript/src/app/components/StockList.d.ts.map +1 -0
  384. package/lib/typescript/src/app/components/StockReportTransaction.d.ts +18 -0
  385. package/lib/typescript/src/app/components/StockReportTransaction.d.ts.map +1 -0
  386. package/lib/typescript/src/app/components/Transaction.d.ts +9 -2
  387. package/lib/typescript/src/app/components/Transaction.d.ts.map +1 -1
  388. package/lib/typescript/src/app/components/User.d.ts +3 -1
  389. package/lib/typescript/src/app/components/User.d.ts.map +1 -1
  390. package/lib/typescript/src/app/components/index.d.ts +26 -7
  391. package/lib/typescript/src/app/components/index.d.ts.map +1 -1
  392. package/lib/typescript/src/app/database/bill.d.ts +7 -0
  393. package/lib/typescript/src/app/database/bill.d.ts.map +1 -0
  394. package/lib/typescript/src/app/database/business.d.ts +9 -0
  395. package/lib/typescript/src/app/database/business.d.ts.map +1 -0
  396. package/lib/typescript/src/app/database/cash.d.ts +14 -0
  397. package/lib/typescript/src/app/database/cash.d.ts.map +1 -0
  398. package/lib/typescript/src/app/database/clients.d.ts +36 -5
  399. package/lib/typescript/src/app/database/clients.d.ts.map +1 -1
  400. package/lib/typescript/src/app/database/expense.d.ts +12 -0
  401. package/lib/typescript/src/app/database/expense.d.ts.map +1 -0
  402. package/lib/typescript/src/app/database/schema.d.ts.map +1 -1
  403. package/lib/typescript/src/app/database/stock.d.ts +16 -0
  404. package/lib/typescript/src/app/database/stock.d.ts.map +1 -0
  405. package/lib/typescript/src/app/htmlTemplates/htmlTemplates.d.ts +29 -0
  406. package/lib/typescript/src/app/htmlTemplates/htmlTemplates.d.ts.map +1 -0
  407. package/lib/typescript/src/app/navigation/BillStack/BillStack.d.ts +2 -0
  408. package/lib/typescript/src/app/navigation/BillStack/BillStack.d.ts.map +1 -0
  409. package/lib/typescript/src/app/navigation/BottomTabs/BottomTabs.d.ts.map +1 -1
  410. package/lib/typescript/src/app/navigation/BusinessStack/BusinessStack.d.ts +2 -0
  411. package/lib/typescript/src/app/navigation/BusinessStack/BusinessStack.d.ts.map +1 -0
  412. package/lib/typescript/src/app/navigation/CashStack/CashStack.d.ts +2 -0
  413. package/lib/typescript/src/app/navigation/CashStack/CashStack.d.ts.map +1 -0
  414. package/lib/typescript/src/app/navigation/EntriesStack/EntriesStack.d.ts +2 -0
  415. package/lib/typescript/src/app/navigation/EntriesStack/EntriesStack.d.ts.map +1 -0
  416. package/lib/typescript/src/app/navigation/ExpenseStack.js/ExpenseStack.d.ts +2 -0
  417. package/lib/typescript/src/app/navigation/ExpenseStack.js/ExpenseStack.d.ts.map +1 -0
  418. package/lib/typescript/src/app/navigation/HomeStack/HomeStack.d.ts.map +1 -1
  419. package/lib/typescript/src/app/navigation/Root.d.ts.map +1 -1
  420. package/lib/typescript/src/app/navigation/SaleStack/SaleStack.d.ts +2 -0
  421. package/lib/typescript/src/app/navigation/SaleStack/SaleStack.d.ts.map +1 -0
  422. package/lib/typescript/src/app/navigation/StockStack/StockStack.d.ts +2 -0
  423. package/lib/typescript/src/app/navigation/StockStack/StockStack.d.ts.map +1 -0
  424. package/lib/typescript/src/app/navigation/index.d.ts +3 -1
  425. package/lib/typescript/src/app/navigation/index.d.ts.map +1 -1
  426. package/lib/typescript/src/app/redux/Store.d.ts.map +1 -1
  427. package/lib/typescript/src/app/redux/reducers/client/client_reducers.d.ts.map +1 -1
  428. package/lib/typescript/src/app/redux/reducers/client/client_types.d.ts +5 -0
  429. package/lib/typescript/src/app/redux/reducers/client/client_types.d.ts.map +1 -1
  430. package/lib/typescript/src/app/redux/reducers/user/user_reducers.d.ts +3 -0
  431. package/lib/typescript/src/app/redux/reducers/user/user_reducers.d.ts.map +1 -0
  432. package/lib/typescript/src/app/redux/reducers/user/user_types.d.ts +4 -0
  433. package/lib/typescript/src/app/redux/reducers/user/user_types.d.ts.map +1 -0
  434. package/lib/typescript/src/app/screens/AddBank.d.ts +5 -0
  435. package/lib/typescript/src/app/screens/AddBank.d.ts.map +1 -0
  436. package/lib/typescript/src/app/screens/AddBusiness.d.ts +4 -0
  437. package/lib/typescript/src/app/screens/AddBusiness.d.ts.map +1 -0
  438. package/lib/typescript/src/app/screens/AddItems.d.ts +5 -0
  439. package/lib/typescript/src/app/screens/AddItems.d.ts.map +1 -0
  440. package/lib/typescript/src/app/screens/AddScreen.d.ts.map +1 -1
  441. package/lib/typescript/src/app/screens/All.d.ts +2 -0
  442. package/lib/typescript/src/app/screens/All.d.ts.map +1 -0
  443. package/lib/typescript/src/app/screens/AllTransactions.d.ts +5 -0
  444. package/lib/typescript/src/app/screens/AllTransactions.d.ts.map +1 -0
  445. package/lib/typescript/src/app/screens/Banks.d.ts.map +1 -1
  446. package/lib/typescript/src/app/screens/BillDetails.d.ts +6 -0
  447. package/lib/typescript/src/app/screens/BillDetails.d.ts.map +1 -0
  448. package/lib/typescript/src/app/screens/BillHome.d.ts +5 -0
  449. package/lib/typescript/src/app/screens/BillHome.d.ts.map +1 -0
  450. package/lib/typescript/src/app/screens/BillParent.d.ts +5 -0
  451. package/lib/typescript/src/app/screens/BillParent.d.ts.map +1 -0
  452. package/lib/typescript/src/app/screens/BusinessDetail.d.ts +4 -0
  453. package/lib/typescript/src/app/screens/BusinessDetail.d.ts.map +1 -0
  454. package/lib/typescript/src/app/screens/CashEntry.d.ts +5 -0
  455. package/lib/typescript/src/app/screens/CashEntry.d.ts.map +1 -0
  456. package/lib/typescript/src/app/screens/CashEntryDetails.d.ts +5 -0
  457. package/lib/typescript/src/app/screens/CashEntryDetails.d.ts.map +1 -0
  458. package/lib/typescript/src/app/screens/CashHome.d.ts +4 -0
  459. package/lib/typescript/src/app/screens/CashHome.d.ts.map +1 -0
  460. package/lib/typescript/src/app/screens/CashReport.d.ts +4 -0
  461. package/lib/typescript/src/app/screens/CashReport.d.ts.map +1 -0
  462. package/lib/typescript/src/app/screens/CashSummary.d.ts +5 -0
  463. package/lib/typescript/src/app/screens/CashSummary.d.ts.map +1 -0
  464. package/lib/typescript/src/app/screens/CreateBill.d.ts +5 -0
  465. package/lib/typescript/src/app/screens/CreateBill.d.ts.map +1 -0
  466. package/lib/typescript/src/app/screens/CustomerEntries.d.ts.map +1 -1
  467. package/lib/typescript/src/app/screens/Customers.d.ts +1 -3
  468. package/lib/typescript/src/app/screens/Customers.d.ts.map +1 -1
  469. package/lib/typescript/src/app/screens/EditCategory.d.ts +4 -0
  470. package/lib/typescript/src/app/screens/EditCategory.d.ts.map +1 -0
  471. package/lib/typescript/src/app/screens/EditCategoryStock.d.ts +4 -0
  472. package/lib/typescript/src/app/screens/EditCategoryStock.d.ts.map +1 -0
  473. package/lib/typescript/src/app/screens/Entry.d.ts.map +1 -1
  474. package/lib/typescript/src/app/screens/ExpenseDetail.d.ts +3 -0
  475. package/lib/typescript/src/app/screens/ExpenseDetail.d.ts.map +1 -0
  476. package/lib/typescript/src/app/screens/ExpenseEntries.d.ts +5 -0
  477. package/lib/typescript/src/app/screens/ExpenseEntries.d.ts.map +1 -0
  478. package/lib/typescript/src/app/screens/ExpenseEntry.d.ts +5 -0
  479. package/lib/typescript/src/app/screens/ExpenseEntry.d.ts.map +1 -0
  480. package/lib/typescript/src/app/screens/ExpenseEntryDetails.d.ts +5 -0
  481. package/lib/typescript/src/app/screens/ExpenseEntryDetails.d.ts.map +1 -0
  482. package/lib/typescript/src/app/screens/ExpenseEntryReport.d.ts +5 -0
  483. package/lib/typescript/src/app/screens/ExpenseEntryReport.d.ts.map +1 -0
  484. package/lib/typescript/src/app/screens/ExpenseReport.d.ts +5 -0
  485. package/lib/typescript/src/app/screens/ExpenseReport.d.ts.map +1 -0
  486. package/lib/typescript/src/app/screens/Geolocation.d.ts +5 -0
  487. package/lib/typescript/src/app/screens/Geolocation.d.ts.map +1 -0
  488. package/lib/typescript/src/app/screens/GetStarted.d.ts +4 -0
  489. package/lib/typescript/src/app/screens/GetStarted.d.ts.map +1 -0
  490. package/lib/typescript/src/app/screens/HomeScreen.d.ts.map +1 -1
  491. package/lib/typescript/src/app/screens/InBuy.d.ts +5 -0
  492. package/lib/typescript/src/app/screens/InBuy.d.ts.map +1 -0
  493. package/lib/typescript/src/app/screens/ItemEntryDetails.d.ts +5 -0
  494. package/lib/typescript/src/app/screens/ItemEntryDetails.d.ts.map +1 -0
  495. package/lib/typescript/src/app/screens/LowStock.d.ts +4 -0
  496. package/lib/typescript/src/app/screens/LowStock.d.ts.map +1 -0
  497. package/lib/typescript/src/app/screens/NewPin.d.ts +5 -0
  498. package/lib/typescript/src/app/screens/NewPin.d.ts.map +1 -0
  499. package/lib/typescript/src/app/screens/OutSell.d.ts +6 -0
  500. package/lib/typescript/src/app/screens/OutSell.d.ts.map +1 -0
  501. package/lib/typescript/src/app/screens/POSSale.d.ts +9 -0
  502. package/lib/typescript/src/app/screens/POSSale.d.ts.map +1 -0
  503. package/lib/typescript/src/app/screens/PinScreen.d.ts +5 -0
  504. package/lib/typescript/src/app/screens/PinScreen.d.ts.map +1 -0
  505. package/lib/typescript/src/app/screens/PreviewBill.d.ts +5 -0
  506. package/lib/typescript/src/app/screens/PreviewBill.d.ts.map +1 -0
  507. package/lib/typescript/src/app/screens/Profile.d.ts +5 -0
  508. package/lib/typescript/src/app/screens/Profile.d.ts.map +1 -0
  509. package/lib/typescript/src/app/screens/RateList.d.ts +5 -0
  510. package/lib/typescript/src/app/screens/RateList.d.ts.map +1 -0
  511. package/lib/typescript/src/app/screens/Report.d.ts +5 -0
  512. package/lib/typescript/src/app/screens/Report.d.ts.map +1 -0
  513. package/lib/typescript/src/app/screens/SaleItemDetail.d.ts +6 -0
  514. package/lib/typescript/src/app/screens/SaleItemDetail.d.ts.map +1 -0
  515. package/lib/typescript/src/app/screens/SaleParent.d.ts +2 -0
  516. package/lib/typescript/src/app/screens/SaleParent.d.ts.map +1 -0
  517. package/lib/typescript/src/app/screens/SelectBank.d.ts +4 -0
  518. package/lib/typescript/src/app/screens/SelectBank.d.ts.map +1 -0
  519. package/lib/typescript/src/app/screens/SelectBusiness.d.ts.map +1 -1
  520. package/lib/typescript/src/app/screens/Splash.d.ts.map +1 -1
  521. package/lib/typescript/src/app/screens/StockChild.d.ts +7 -0
  522. package/lib/typescript/src/app/screens/StockChild.d.ts.map +1 -0
  523. package/lib/typescript/src/app/screens/StockDetail.d.ts +5 -0
  524. package/lib/typescript/src/app/screens/StockDetail.d.ts.map +1 -0
  525. package/lib/typescript/src/app/screens/StockParent.d.ts +2 -0
  526. package/lib/typescript/src/app/screens/StockParent.d.ts.map +1 -0
  527. package/lib/typescript/src/app/screens/StockReport.d.ts +5 -0
  528. package/lib/typescript/src/app/screens/StockReport.d.ts.map +1 -0
  529. package/lib/typescript/src/app/screens/StockValue.d.ts +5 -0
  530. package/lib/typescript/src/app/screens/StockValue.d.ts.map +1 -0
  531. package/lib/typescript/src/app/screens/Suppliers.d.ts +1 -3
  532. package/lib/typescript/src/app/screens/Suppliers.d.ts.map +1 -1
  533. package/lib/typescript/src/app/screens/TransactionDetails.d.ts.map +1 -1
  534. package/lib/typescript/src/app/screens/UpdateBusiness.d.ts +5 -0
  535. package/lib/typescript/src/app/screens/UpdateBusiness.d.ts.map +1 -0
  536. package/lib/typescript/src/app/screens/VisionCamera.d.ts +2 -0
  537. package/lib/typescript/src/app/screens/VisionCamera.d.ts.map +1 -0
  538. package/lib/typescript/src/app/screens/index.d.ts +56 -11
  539. package/lib/typescript/src/app/screens/index.d.ts.map +1 -1
  540. package/lib/typescript/src/app/themes/config.d.ts +60 -8
  541. package/lib/typescript/src/app/themes/config.d.ts.map +1 -1
  542. package/package.json +6 -2
  543. package/src/App.js +30 -34
  544. package/src/app/api/api.js +11 -0
  545. package/src/app/assets/Icons/Bill.png +0 -0
  546. package/src/app/assets/Icons/Bill_Grey.png +0 -0
  547. package/src/app/assets/Icons/Cash.png +0 -0
  548. package/src/app/assets/Icons/Cash_Grey.png +0 -0
  549. package/src/app/assets/Icons/Expense.png +0 -0
  550. package/src/app/assets/Icons/Expense_Grey.png +0 -0
  551. package/src/app/assets/Icons/Staff.png +0 -0
  552. package/src/app/assets/Icons/Stock.png +0 -0
  553. package/src/app/assets/Icons/Stock_Grey.png +0 -0
  554. package/src/app/assets/Icons/abc.png +0 -0
  555. package/src/app/assets/Icons/bank_logo.png +0 -0
  556. package/src/app/assets/Icons/download_sale.png +0 -0
  557. package/src/app/assets/Icons/recycle-bin.png +0 -0
  558. package/src/app/assets/animations/recording.json +1 -0
  559. package/src/app/assets/animations/success.json +1 -0
  560. package/src/app/assets/animations/voice_visualization.json +1 -0
  561. package/src/app/assets/businessCards/card_11.png +0 -0
  562. package/src/app/assets/businessCards/card_12_bg.png +0 -0
  563. package/src/app/assets/businessCards/card_wall_01.jpeg +0 -0
  564. package/src/app/assets/businessCards/card_wall_02.jpeg +0 -0
  565. package/src/app/assets/businessCards/card_wall_03.jpeg +0 -0
  566. package/src/app/assets/businessCards/card_wall_04.jpeg +0 -0
  567. package/src/app/assets/businessCards/card_wall_05.jpeg +0 -0
  568. package/src/app/assets/businessCards/card_wall_06.jpeg +0 -0
  569. package/src/app/assets/businessCards/card_wall_07.jpeg +0 -0
  570. package/src/app/assets/businessCards/card_wall_08.jpeg +0 -0
  571. package/src/app/assets/illustrations/empty.png +0 -0
  572. package/src/app/assets/illustrations/packages.png +0 -0
  573. package/src/app/assets/images/Digikhata_idzarHgH0q_0.png +0 -0
  574. package/src/app/assets/images/bank.png +0 -0
  575. package/src/app/assets/images/digiLogo-main.png +0 -0
  576. package/src/app/assets/images/svgviewer-output.svg +57 -0
  577. package/src/app/assets/images/user.png +0 -0
  578. package/src/app/assets/oldIcons/BILL.svg +3 -0
  579. package/src/app/assets/oldIcons/CASH.svg +4 -0
  580. package/src/app/assets/oldIcons/EXPENSE.svg +6 -0
  581. package/src/app/assets/oldIcons/STAFF.svg +3 -0
  582. package/src/app/assets/oldIcons/Sale Active.svg +14 -0
  583. package/src/app/assets/oldIcons/Stock.svg +5 -0
  584. package/src/app/assets/svg/BILL.svg +4 -0
  585. package/src/app/assets/svg/CASH.svg +6 -0
  586. package/src/app/assets/svg/EXPENSE.svg +5 -0
  587. package/src/app/assets/svg/More Icon.svg +6 -0
  588. package/src/app/assets/svg/Payment Icon.svg +4 -0
  589. package/src/app/assets/svg/Pos.svg +13 -0
  590. package/src/app/assets/svg/STAFF.svg +5 -0
  591. package/src/app/assets/svg/Sale Active.svg +8 -0
  592. package/src/app/assets/svg/Sale Icon.svg +3 -0
  593. package/src/app/assets/svg/Stock.svg +5 -0
  594. package/src/app/components/AccountSetupSteps.js +58 -0
  595. package/src/app/components/AddItemBillParent.js +373 -0
  596. package/src/app/components/AdditemBillChild.js +1257 -0
  597. package/src/app/components/Balance.js +211 -114
  598. package/src/app/components/BillList.js +548 -0
  599. package/src/app/components/BillSetupSteps.js +56 -0
  600. package/src/app/components/BottomView.js +39 -0
  601. package/src/app/components/BusinessCards/Card1.js +160 -0
  602. package/src/app/components/BusinessCards/Card10.js +209 -0
  603. package/src/app/components/BusinessCards/Card2.js +148 -0
  604. package/src/app/components/BusinessCards/Card3.js +147 -0
  605. package/src/app/components/BusinessCards/Card4.js +147 -0
  606. package/src/app/components/BusinessCards/Card5.js +151 -0
  607. package/src/app/components/BusinessCards/Card6.js +157 -0
  608. package/src/app/components/BusinessCards/Card7.js +146 -0
  609. package/src/app/components/BusinessCards/Card8.js +170 -0
  610. package/src/app/components/BusinessCards/Card9.js +209 -0
  611. package/src/app/components/BusinessCards/index.js +10 -0
  612. package/src/app/components/CashEntryComponent.js +297 -0
  613. package/src/app/components/CityModal.js +117 -0
  614. package/src/app/components/CountryPhoneInput.js +373 -267
  615. package/src/app/components/CreateExpenseAccount.js +141 -0
  616. package/src/app/components/CustomStatusBar.js +33 -0
  617. package/src/app/components/CustomToast.js +143 -0
  618. package/src/app/components/DeleteBusinessModal.js +196 -0
  619. package/src/app/components/DiscountTaxModal.js +256 -0
  620. package/src/app/components/Entries.js +87 -67
  621. package/src/app/components/ExpenseList.js +507 -0
  622. package/src/app/components/ExpenseParent.js +446 -0
  623. package/src/app/components/FloatingInput.js +188 -0
  624. package/src/app/components/Header.js +121 -0
  625. package/src/app/components/Loader.js +35 -0
  626. package/src/app/components/PartyModal.js +213 -0
  627. package/src/app/components/PickerModal.js +176 -0
  628. package/src/app/components/SalePaymentModal.js +822 -0
  629. package/src/app/components/SearchBar.js +225 -47
  630. package/src/app/components/StockDetailChild.js +461 -0
  631. package/src/app/components/StockList.js +582 -0
  632. package/src/app/components/StockReportTransaction.js +192 -0
  633. package/src/app/components/Transaction.js +277 -86
  634. package/src/app/components/User.js +188 -80
  635. package/src/app/components/index.js +51 -13
  636. package/src/app/database/bill.js +305 -0
  637. package/src/app/database/business.js +499 -0
  638. package/src/app/database/cash.js +451 -0
  639. package/src/app/database/clients.js +1536 -43
  640. package/src/app/database/expense.js +439 -0
  641. package/src/app/database/schema.js +115 -4
  642. package/src/app/database/stock.js +724 -0
  643. package/src/app/htmlTemplates/htmlTemplates.js +2603 -0
  644. package/src/app/navigation/BillStack/BillStack.js +38 -0
  645. package/src/app/navigation/BottomTabs/BottomTabs.js +24 -19
  646. package/src/app/navigation/BusinessStack/BusinessStack.js +27 -0
  647. package/src/app/navigation/CashStack/CashStack.js +59 -0
  648. package/src/app/navigation/EntriesStack/EntriesStack.js +186 -0
  649. package/src/app/navigation/ExpenseStack.js/ExpenseStack.js +50 -0
  650. package/src/app/navigation/HomeStack/HomeStack.js +106 -39
  651. package/src/app/navigation/Root.js +16 -1
  652. package/src/app/navigation/SaleStack/SaleStack.js +62 -0
  653. package/src/app/navigation/StockStack/StockStack.js +48 -0
  654. package/src/app/navigation/index.js +5 -1
  655. package/src/app/redux/Store.js +2 -0
  656. package/src/app/redux/reducers/client/client_reducers.js +31 -2
  657. package/src/app/redux/reducers/client/client_types.js +8 -1
  658. package/src/app/redux/reducers/user/user_reducers.js +24 -0
  659. package/src/app/redux/reducers/user/user_types.js +3 -0
  660. package/src/app/screens/AddBank.js +353 -0
  661. package/src/app/screens/AddBusiness.js +1161 -0
  662. package/src/app/screens/AddItems.js +515 -0
  663. package/src/app/screens/AddScreen.js +525 -165
  664. package/src/app/screens/All.js +1074 -0
  665. package/src/app/screens/AllTransactions.js +1138 -0
  666. package/src/app/screens/Banks.js +1134 -133
  667. package/src/app/screens/BillDetails.js +989 -0
  668. package/src/app/screens/BillHome.js +97 -0
  669. package/src/app/screens/BillParent.js +419 -0
  670. package/src/app/screens/BusinessDetail.js +939 -0
  671. package/src/app/screens/CashEntry.js +2913 -0
  672. package/src/app/screens/CashEntryDetails.js +650 -0
  673. package/src/app/screens/CashHome.js +594 -0
  674. package/src/app/screens/CashReport.js +1658 -0
  675. package/src/app/screens/CashSummary.js +607 -0
  676. package/src/app/screens/CreateBill.js +2504 -0
  677. package/src/app/screens/CustomerEntries.js +1578 -350
  678. package/src/app/screens/Customers.js +1066 -213
  679. package/src/app/screens/EditCategory.js +316 -0
  680. package/src/app/screens/EditCategoryStock.js +320 -0
  681. package/src/app/screens/Entry.js +2555 -585
  682. package/src/app/screens/ExpenseDetail.js +14 -0
  683. package/src/app/screens/ExpenseEntries.js +837 -0
  684. package/src/app/screens/ExpenseEntry.js +2478 -0
  685. package/src/app/screens/ExpenseEntryDetails.js +612 -0
  686. package/src/app/screens/ExpenseEntryReport.js +1059 -0
  687. package/src/app/screens/ExpenseReport.js +1071 -0
  688. package/src/app/screens/Geolocation.js +435 -0
  689. package/src/app/screens/GetStarted.js +201 -0
  690. package/src/app/screens/HomeScreen.js +368 -132
  691. package/src/app/screens/InBuy.js +918 -0
  692. package/src/app/screens/ItemEntryDetails.js +582 -0
  693. package/src/app/screens/LowStock.js +417 -0
  694. package/src/app/screens/NewPin.js +225 -0
  695. package/src/app/screens/OutSell.js +2153 -0
  696. package/src/app/screens/POSSale.js +639 -0
  697. package/src/app/screens/PinScreen.js +720 -0
  698. package/src/app/screens/PreviewBill.js +302 -0
  699. package/src/app/screens/Profile.js +1594 -0
  700. package/src/app/screens/RateList.js +525 -0
  701. package/src/app/screens/Report.js +1401 -0
  702. package/src/app/screens/SaleItemDetail.js +1187 -0
  703. package/src/app/screens/SaleParent.js +345 -0
  704. package/src/app/screens/SelectBank.js +220 -0
  705. package/src/app/screens/SelectBusiness.js +670 -163
  706. package/src/app/screens/Splash.js +96 -15
  707. package/src/app/screens/StockChild.js +372 -0
  708. package/src/app/screens/StockDetail.js +758 -0
  709. package/src/app/screens/StockParent.js +287 -0
  710. package/src/app/screens/StockReport.js +1359 -0
  711. package/src/app/screens/StockValue.js +720 -0
  712. package/src/app/screens/Suppliers.js +1098 -205
  713. package/src/app/screens/TransactionDetails.js +1674 -180
  714. package/src/app/screens/UpdateBusiness.js +837 -0
  715. package/src/app/screens/VisionCamera.js +54 -0
  716. package/src/app/screens/index.js +111 -21
  717. package/src/app/screens/new.html +171 -0
  718. package/src/app/themes/config.js +431 -114
  719. package/src/app/utils/city.json +7265 -0
@@ -0,0 +1,1123 @@
1
+ "use strict";
2
+
3
+ import React, { useEffect, useRef, useState } from 'react';
4
+ import { View, Text, TextInput, TouchableOpacity, FlatList, StyleSheet, ScrollView, Animated, Dimensions, Modal, Image } from 'react-native';
5
+ // import { LinearGradient } from 'expo-linear-gradient';
6
+ import LinearGradient from 'react-native-linear-gradient';
7
+ import { Feather } from '@expo/vector-icons'; // or react-native-vector-icons/Feather
8
+ import { useDispatch, useSelector } from 'react-redux';
9
+ import Ionicons from 'react-native-vector-icons/Ionicons';
10
+ import { COLORS, FONT_MEDIUM, FONT_NORMAL, HP, Input_Field_SIZES, TEXT_SIZES, WP } from "../themes/config.js";
11
+ import SearchBar from "./SearchBar.js";
12
+ import FloatingInput from "./FloatingInput.js";
13
+ import BottomView from "./BottomView.js";
14
+ import { addItem, addItemCategory, editItem, getItemCategories, getItemsByBusiness } from "../database/stock.js";
15
+ import PickerModal from "./PickerModal.js";
16
+ import NewModal from 'react-native-modal';
17
+ import { getCashCategories } from "../database/cash.js";
18
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
19
+ const {
20
+ height
21
+ } = Dimensions.get('window');
22
+ const PREDEFINED_UNITS = ['Pieces (pcs)', 'Bags (bags)', 'Bundle (bdl)', 'Kilogram (kg)', 'Gram (gm)', 'Milligram (mg)', 'Litre (ltr)', 'Meter (m)', 'Tola (tola)', 'Foot (ft)', 'Box (box)', 'Packet (pkt)', 'Carton (ctn)', 'Dozen (dzn)', 'Rim (rim)', 'Bottles (btl)', 'Pound (lbs)', 'Roll (roll)', 'Gallon (gln)', 'Quarter (qtr)', 'Can (can)'];
23
+ const AdditemBillChild = ({
24
+ navigation,
25
+ route
26
+ }) => {
27
+ const dispatch = useDispatch();
28
+ const animationRef = useRef(null);
29
+ const keyboardRef = useRef(null);
30
+ const selectBusiness = useSelector(state => state.client.selected_business);
31
+ const itemId = route?.params?.itemId;
32
+ const categoryId = route?.params?.categoryId;
33
+ const [search, setSearch] = useState('');
34
+ const [drawerVisible, setDrawerVisible] = useState(false);
35
+ const [businessCategoryVisible, setBusinessCategoryVisible] = useState(false);
36
+ const [units, setUnits] = useState(['Kg', 'Liter', 'Piece']);
37
+ const [newUnit, setNewUnit] = useState('');
38
+ const slideAnim = useRef(new Animated.Value(height)).current;
39
+ const [showAddUnit, setShowAddUnit] = useState(false);
40
+ const [IsPicker, setIsPicker] = useState(false);
41
+ const [SelectedImage, setSelectedImage] = useState(null);
42
+ const [CategoryModal, setCategoryModal] = useState(false);
43
+ const [SelectedCategory, setSelectedCategory] = useState(null);
44
+ const [ItemCategories, setItemCategories] = useState([]);
45
+ const [AddCategoryModal, setAddCategoryModal] = useState(false);
46
+ const [NewCategoryName, setNewCategoryName] = useState('');
47
+ const [ItemDetails, setItemDetails] = useState(null);
48
+ const [Title, setTitle] = useState('');
49
+
50
+ // Animate drawer
51
+ useEffect(() => {
52
+ Animated.timing(slideAnim, {
53
+ toValue: drawerVisible ? 0 : height,
54
+ duration: 300,
55
+ useNativeDriver: true
56
+ }).start();
57
+ }, [drawerVisible]);
58
+ const handleAddUnit = () => {
59
+ if (newUnit.trim()) {
60
+ setUnits([...units, newUnit]);
61
+ setForm({
62
+ ...form,
63
+ unit: newUnit
64
+ });
65
+ setNewUnit('');
66
+ setDrawerVisible(false);
67
+ }
68
+ };
69
+ const [form, setForm] = useState({
70
+ name: '',
71
+ unit: '',
72
+ category: '',
73
+ barcode: '',
74
+ rateSale: '',
75
+ ratePurchase: '',
76
+ lowStockLimit: ''
77
+ });
78
+ const renderUnitButton = ({
79
+ item
80
+ }) => /*#__PURE__*/_jsx(TouchableOpacity, {
81
+ style: styles.unitButton,
82
+ onPress: () => {
83
+ setForm({
84
+ ...form,
85
+ unit: item
86
+ });
87
+ setDrawerVisible(false);
88
+ },
89
+ children: /*#__PURE__*/_jsx(Text, {
90
+ style: styles.unitText,
91
+ children: item
92
+ })
93
+ });
94
+ const insertItem = () => {
95
+ addItem(form?.name, selectBusiness?.id, form?.unit, '0', form?.lowStockLimit, form?.ratePurchase, form?.rateSale, SelectedImage?.uri, SelectedCategory?.id, form?.barcode).then(res => {
96
+ setForm({
97
+ name: '',
98
+ unit: '',
99
+ category: '',
100
+ barcode: '',
101
+ rateSale: '',
102
+ ratePurchase: '',
103
+ lowStockLimit: ''
104
+ });
105
+ navigation?.goBack();
106
+ }).catch(err => {
107
+ console.log(err, 'insertItemError');
108
+ });
109
+ };
110
+ const togglePicker = () => {
111
+ setIsPicker(!IsPicker);
112
+ };
113
+ useEffect(() => {
114
+ const unsubscribe = navigation.addListener('focus', () => {
115
+ getItemDetails();
116
+ getItemCategories().then(res => {
117
+ setItemCategories(res);
118
+ });
119
+ });
120
+ return () => unsubscribe();
121
+ }, [navigation]);
122
+ const addDefaultCategories = async () => {
123
+ let toAdd = ['Appliances', 'Clothing', 'Food', 'Mobile', 'Retail', 'Sale'];
124
+ let all = await getItemCategories();
125
+ if (!all || all.length === 0) {
126
+ console.log('if');
127
+ for (const category of toAdd) {
128
+ await addItemCategory(category, selectBusiness?.id);
129
+ }
130
+ }
131
+
132
+ // Fetch categories again after adding
133
+ all = await getItemCategories();
134
+ setItemCategories(all);
135
+ };
136
+ useEffect(() => {
137
+ const initializeCategories = async () => {
138
+ try {
139
+ await addDefaultCategories();
140
+ } catch (error) {
141
+ console.error('Failed to add default categories:', error);
142
+ }
143
+ };
144
+ initializeCategories();
145
+ }, []);
146
+ const getItemDetails = async () => {
147
+ let all = await getItemsByBusiness(selectBusiness?.id);
148
+ let filtered = all.find(item => item?.id == itemId);
149
+ setItemDetails(filtered);
150
+ };
151
+ useEffect(() => {
152
+ if (ItemDetails) {
153
+ const selectedCategory = ItemCategories?.find(i => String(i?.id) === String(ItemDetails?.catId));
154
+ setSelectedCategory(selectedCategory || null);
155
+ ItemDetails?.local_path ? setSelectedImage({
156
+ uri: ItemDetails?.local_path
157
+ }) : setSelectedImage(null);
158
+ setForm(prev => ({
159
+ ...prev,
160
+ name: ItemDetails?.name ? String(ItemDetails.name) : '',
161
+ unit: ItemDetails?.unit ? String(ItemDetails?.unit) : '',
162
+ barcode: ItemDetails?.barcode ? String(ItemDetails?.barcode) : '',
163
+ rateSale: ItemDetails?.sellingPrice ? String(ItemDetails?.sellingPrice) : '',
164
+ ratePurchase: ItemDetails?.costPrice ? String(ItemDetails?.costPrice) : '',
165
+ category: selectedCategory?.name || '',
166
+ lowStockLimit: ItemDetails?.lowStock ? String(ItemDetails?.lowStock) : ''
167
+ }));
168
+ }
169
+ }, [ItemDetails, ItemCategories]);
170
+ const updateItem = () => {
171
+ editItem(ItemDetails?.id, form?.name, selectBusiness?.id, form?.unit, String(ItemDetails?.qty), form?.lowStockLimit, form?.ratePurchase, form?.rateSale, SelectedImage?.uri, SelectedCategory?.id, form?.barcode).then(res => {
172
+ setForm({
173
+ name: '',
174
+ unit: '',
175
+ category: '',
176
+ barcode: '',
177
+ rateSale: '',
178
+ ratePurchase: '',
179
+ lowStockLimit: ''
180
+ });
181
+ navigation?.goBack();
182
+ }).catch(err => {
183
+ console.log(err, 'insertItemError');
184
+ });
185
+ };
186
+ useEffect(() => {
187
+ if (categoryId) {
188
+ const selectedCategory = ItemCategories?.find(i => String(i?.id) === String(categoryId));
189
+ setSelectedCategory(selectedCategory || null);
190
+ }
191
+ }, [categoryId, ItemCategories]);
192
+ return /*#__PURE__*/_jsxs(View, {
193
+ style: {
194
+ flex: 1,
195
+ backgroundColor: '#F5F5F5'
196
+ },
197
+ children: [/*#__PURE__*/_jsxs(LinearGradient, {
198
+ style: styles._headerMain,
199
+ start: {
200
+ x: 0,
201
+ y: 0
202
+ },
203
+ end: {
204
+ x: 1,
205
+ y: 0
206
+ },
207
+ colors: [COLORS.secondaryColor, COLORS.primaryColor],
208
+ children: [/*#__PURE__*/_jsx(TouchableOpacity, {
209
+ activeOpacity: 0.8,
210
+ onPress: () => navigation?.goBack(),
211
+ style: {
212
+ padding: 10
213
+ },
214
+ children: /*#__PURE__*/_jsx(Ionicons, {
215
+ name: "chevron-back",
216
+ color: COLORS.whiteColor,
217
+ size: 25
218
+ })
219
+ }), /*#__PURE__*/_jsx(Text, {
220
+ style: styles._headerTitle,
221
+ children: itemId ? 'Item Profile' : 'Add Item'
222
+ })]
223
+ }), /*#__PURE__*/_jsx(LinearGradient, {
224
+ style: [styles._headerMain, {
225
+ height: 30
226
+ }],
227
+ start: {
228
+ x: 0,
229
+ y: 0
230
+ },
231
+ end: {
232
+ x: 1,
233
+ y: 0
234
+ },
235
+ colors: [COLORS.secondaryColor, COLORS.primaryColor]
236
+ }), /*#__PURE__*/_jsx(View, {
237
+ style: styles.cardContainer,
238
+ children: /*#__PURE__*/_jsxs(ScrollView, {
239
+ contentContainerStyle: styles.scrollContainer,
240
+ keyboardShouldPersistTaps: "handled",
241
+ children: [/*#__PURE__*/_jsxs(View, {
242
+ style: styles._picMain,
243
+ children: [SelectedImage ? /*#__PURE__*/_jsx(Image, {
244
+ source: {
245
+ uri: SelectedImage?.uri
246
+ },
247
+ style: [styles._pic, {
248
+ width: '100%',
249
+ height: '100%',
250
+ borderRadius: 100
251
+ }],
252
+ resizeMode: "cover"
253
+ }) : /*#__PURE__*/_jsx(Image, {
254
+ source: require('../assets/images/user.png'),
255
+ style: styles._pic,
256
+ resizeMode: "contain"
257
+ }), /*#__PURE__*/_jsx(TouchableOpacity, {
258
+ style: styles._selectMain,
259
+ activeOpacity: 0.8,
260
+ onPress: togglePicker,
261
+ children: /*#__PURE__*/_jsx(Ionicons, {
262
+ name: "camera-outline",
263
+ color: COLORS.whiteColor,
264
+ size: 20
265
+ })
266
+ })]
267
+ }), /*#__PURE__*/_jsxs(View, {
268
+ style: styles.form,
269
+ children: [/*#__PURE__*/_jsxs(View, {
270
+ style: styles.inputContainer,
271
+ children: [/*#__PURE__*/_jsx(Text, {
272
+ style: styles.label,
273
+ children: "Item Name"
274
+ }), /*#__PURE__*/_jsx(FloatingInput, {
275
+ label: "Name"
276
+ // iconName="pricetag-outline"
277
+ ,
278
+ iconPosition: "right",
279
+ value: form.name,
280
+ onChangeText: text => setForm({
281
+ ...form,
282
+ name: text
283
+ }),
284
+ maxLength: 15
285
+ })]
286
+ }), /*#__PURE__*/_jsxs(View, {
287
+ style: [styles.inputContainer, {
288
+ marginTop: 5
289
+ }],
290
+ children: [/*#__PURE__*/_jsx(Text, {
291
+ style: [styles.label, {
292
+ marginBottom: 15
293
+ }],
294
+ children: "Category"
295
+ }), /*#__PURE__*/_jsxs(TouchableOpacity, {
296
+ style: styles.dropdown,
297
+ activeOpacity: 0.8,
298
+ onPress: () => setCategoryModal(true),
299
+ children: [SelectedCategory ? /*#__PURE__*/_jsxs(TouchableOpacity, {
300
+ activeOpacity: 0.8,
301
+ style: styles._categoryChip,
302
+ children: [/*#__PURE__*/_jsx(Text, {
303
+ style: styles._chipText,
304
+ children: SelectedCategory?.name
305
+ }), /*#__PURE__*/_jsx(TouchableOpacity, {
306
+ activeOpacity: 0.8,
307
+ style: {
308
+ padding: 0
309
+ },
310
+ onPress: () => setSelectedCategory(null),
311
+ children: /*#__PURE__*/_jsx(Ionicons, {
312
+ name: "close-circle",
313
+ color: COLORS.darkGrey,
314
+ size: 20
315
+ })
316
+ })]
317
+ }) : /*#__PURE__*/_jsx(Text, {
318
+ style: styles.placeholder,
319
+ children: "Choose Category"
320
+ }), /*#__PURE__*/_jsx(Ionicons, {
321
+ name: 'chevron-down',
322
+ size: 22,
323
+ color: COLORS.primaryColor // ✅ use prop
324
+ ,
325
+ style: styles.iconRight
326
+ })]
327
+ })]
328
+ }), /*#__PURE__*/_jsxs(View, {
329
+ style: [styles.inputContainer, {
330
+ marginTop: 10
331
+ }],
332
+ children: [/*#__PURE__*/_jsx(Text, {
333
+ style: styles.label,
334
+ children: "Unit"
335
+ }), /*#__PURE__*/_jsx(FloatingInput, {
336
+ label: "Choose Unit",
337
+ iconName: "chevron-down",
338
+ iconPosition: "right",
339
+ editable: false,
340
+ value: form.unit,
341
+ onPress: () => setDrawerVisible(true)
342
+ })]
343
+ }), /*#__PURE__*/_jsxs(View, {
344
+ style: styles.inputContainer,
345
+ children: [/*#__PURE__*/_jsx(Text, {
346
+ style: styles.label,
347
+ children: "Sale Price"
348
+ }), /*#__PURE__*/_jsx(FloatingInput, {
349
+ label: "Enter Sale Price"
350
+ // iconName="cash-outline"
351
+ ,
352
+ iconPosition: "right",
353
+ value: form.rateSale,
354
+ onChangeText: text => setForm({
355
+ ...form,
356
+ rateSale: text
357
+ }),
358
+ keyboardType: "numeric",
359
+ maxLength: 10
360
+ })]
361
+ }), /*#__PURE__*/_jsxs(View, {
362
+ style: styles.inputContainer,
363
+ children: [/*#__PURE__*/_jsx(Text, {
364
+ style: styles.label,
365
+ children: "Barcode"
366
+ }), /*#__PURE__*/_jsx(FloatingInput, {
367
+ label: "Scan Barcode",
368
+ iconName: "barcode-outline",
369
+ iconPosition: "right",
370
+ value: form.barcode,
371
+ onChangeText: text => setForm({
372
+ ...form,
373
+ barcode: text
374
+ }),
375
+ onPress: () => {
376
+ navigation.navigate('BarcodeScannerScreen', {
377
+ onScan: code => setForm({
378
+ ...form,
379
+ barcode: code
380
+ })
381
+ });
382
+ },
383
+ maxLength: 30,
384
+ keyboardType: "numeric"
385
+ })]
386
+ }), /*#__PURE__*/_jsxs(View, {
387
+ style: styles.inputContainer,
388
+ children: [/*#__PURE__*/_jsx(Text, {
389
+ style: styles.label,
390
+ children: "Purchase Price"
391
+ }), /*#__PURE__*/_jsx(FloatingInput, {
392
+ label: "Enter Purchase Price"
393
+ // iconName="cash-outline"
394
+ ,
395
+ iconPosition: "right",
396
+ value: form.ratePurchase,
397
+ onChangeText: text => setForm({
398
+ ...form,
399
+ ratePurchase: text
400
+ }),
401
+ keyboardType: "numeric",
402
+ maxLength: 10
403
+ })]
404
+ }), /*#__PURE__*/_jsxs(View, {
405
+ style: styles.inputContainer,
406
+ children: [/*#__PURE__*/_jsx(Text, {
407
+ style: styles.label,
408
+ children: "Low Stock Limit"
409
+ }), /*#__PURE__*/_jsx(FloatingInput, {
410
+ label: "Enter Low Stock Limit"
411
+ // iconName="cube-outline"
412
+ ,
413
+ iconPosition: "right",
414
+ value: form.lowStockLimit,
415
+ onChangeText: text => setForm({
416
+ ...form,
417
+ lowStockLimit: text
418
+ }),
419
+ keyboardType: "numeric",
420
+ maxLength: 15
421
+ })]
422
+ })]
423
+ })]
424
+ })
425
+ }), /*#__PURE__*/_jsx(PickerModal, {
426
+ isVisible: IsPicker,
427
+ onBackButtonPress: togglePicker,
428
+ onBackdropPress: togglePicker,
429
+ onCameraPress: a => setSelectedImage(a),
430
+ onGalleryPress: a => setSelectedImage(a)
431
+ }), /*#__PURE__*/_jsx(NewModal, {
432
+ isVisible: CategoryModal,
433
+ style: styles._categoryModal,
434
+ onBackButtonPress: () => setCategoryModal(false),
435
+ onBackdropPress: () => setCategoryModal(false),
436
+ children: /*#__PURE__*/_jsxs(View, {
437
+ style: styles._categoryModalMain,
438
+ children: [/*#__PURE__*/_jsxs(View, {
439
+ style: styles._categoryModalHeader,
440
+ children: [/*#__PURE__*/_jsx(Text, {
441
+ style: styles._categoryModalHeaderTitle,
442
+ children: "Choose One Category"
443
+ }), /*#__PURE__*/_jsx(TouchableOpacity, {
444
+ activeOpacity: 0.8,
445
+ style: {
446
+ padding: 5
447
+ },
448
+ onPress: () => setCategoryModal(false),
449
+ children: /*#__PURE__*/_jsx(Ionicons, {
450
+ name: 'close',
451
+ color: COLORS.darkGrey,
452
+ size: 25
453
+ })
454
+ })]
455
+ }), /*#__PURE__*/_jsx(ScrollView, {
456
+ showsVerticalScrollIndicator: false,
457
+ children: ItemCategories.map((item, index) => /*#__PURE__*/_jsxs(TouchableOpacity, {
458
+ activeOpacity: 0.8,
459
+ style: styles._categoryCard,
460
+ onPress: () => {
461
+ setSelectedCategory(item);
462
+ setCategoryModal(false);
463
+ },
464
+ children: [/*#__PURE__*/_jsx(Ionicons, {
465
+ name: item?.id == SelectedCategory?.id ? 'radio-button-on-outline' : 'radio-button-off-outline',
466
+ color: item?.id == SelectedCategory?.id ? COLORS.primaryColor : COLORS.darkGrey,
467
+ size: 30
468
+ }), /*#__PURE__*/_jsx(Text, {
469
+ style: [styles._categoryCardText, {
470
+ color: item?.id == SelectedCategory?.id ? COLORS.primaryColor : COLORS.darkGrey
471
+ }],
472
+ children: item?.name
473
+ })]
474
+ }, index))
475
+ }), /*#__PURE__*/_jsxs(View, {
476
+ style: styles._categoryModalFooter,
477
+ children: [/*#__PURE__*/_jsxs(TouchableOpacity, {
478
+ activeOpacity: 0.8,
479
+ style: styles._categoryModalBtn,
480
+ onPress: () => {
481
+ setCategoryModal(false);
482
+ setTimeout(() => {
483
+ setAddCategoryModal(true);
484
+ }, 350);
485
+ },
486
+ children: [/*#__PURE__*/_jsx(Ionicons, {
487
+ name: 'add',
488
+ color: COLORS.whiteColor,
489
+ size: 25
490
+ }), /*#__PURE__*/_jsx(Text, {
491
+ style: styles._categoryModalBtnTxt,
492
+ children: "ADD NEW CATEGORY"
493
+ })]
494
+ }), /*#__PURE__*/_jsxs(TouchableOpacity, {
495
+ activeOpacity: 0.8,
496
+ onPress: () => {
497
+ setCategoryModal(false);
498
+ setTimeout(() => {
499
+ navigation.navigate('EditCategoryStock');
500
+ }, 300);
501
+ },
502
+ style: [styles._categoryModalBtn, {
503
+ width: '25%',
504
+ gap: 10,
505
+ backgroundColor: COLORS.whiteColor,
506
+ borderColor: COLORS.primaryColor,
507
+ borderWidth: 2
508
+ }],
509
+ children: [/*#__PURE__*/_jsx(Ionicons, {
510
+ name: 'pencil',
511
+ color: COLORS.primaryColor,
512
+ size: 25
513
+ }), /*#__PURE__*/_jsx(Text, {
514
+ style: [styles._categoryModalBtnTxt, {
515
+ color: COLORS.primaryColor
516
+ }],
517
+ children: "EDIT"
518
+ })]
519
+ })]
520
+ })]
521
+ })
522
+ }), /*#__PURE__*/_jsx(NewModal, {
523
+ isVisible: AddCategoryModal,
524
+ onBackButtonPress: () => setAddCategoryModal(false),
525
+ onBackdropPress: () => setAddCategoryModal(false),
526
+ style: styles._categoryModal,
527
+ onModalShow: () => {
528
+ if (keyboardRef.current) {
529
+ keyboardRef.current.focus();
530
+ }
531
+ },
532
+ children: /*#__PURE__*/_jsxs(View, {
533
+ style: styles._addCategoryMain,
534
+ children: [/*#__PURE__*/_jsxs(View, {
535
+ style: [styles._categoryModalHeader, {
536
+ borderBottomColor: COLORS.whiteColor
537
+ }],
538
+ children: [/*#__PURE__*/_jsx(Text, {
539
+ style: styles._categoryModalHeaderTitle,
540
+ children: "Add New Category"
541
+ }), /*#__PURE__*/_jsx(TouchableOpacity, {
542
+ activeOpacity: 0.8,
543
+ style: {
544
+ padding: 5
545
+ },
546
+ onPress: () => setAddCategoryModal(false),
547
+ children: /*#__PURE__*/_jsx(Ionicons, {
548
+ name: 'close',
549
+ color: COLORS.darkGrey,
550
+ size: 25
551
+ })
552
+ })]
553
+ }), /*#__PURE__*/_jsx(FloatingInput, {
554
+ label: "Add Category"
555
+ // iconName="business-outline"
556
+ ,
557
+ iconPosition: "right",
558
+ value: NewCategoryName,
559
+ onChangeText: text => {
560
+ setNewCategoryName(text);
561
+ },
562
+ allowedChars: /[^A-Za-z0-9\s]/g,
563
+ containerStyle: {
564
+ width: '95%',
565
+ marginTop: 0
566
+ },
567
+ maxLength: 15
568
+ }), /*#__PURE__*/_jsx(TouchableOpacity, {
569
+ activeOpacity: 0.8,
570
+ style: [styles._continueBtn, {
571
+ backgroundColor: NewCategoryName?.trim() ? COLORS.primaryColor : COLORS.gray
572
+ }],
573
+ onPress: async () => {
574
+ if (NewCategoryName.trim()) {
575
+ try {
576
+ let exist = ItemCategories.find(e => e?.name?.trim()?.toLowerCase() === NewCategoryName.trim().toLowerCase());
577
+ if (exist) {
578
+ setSelectedCategory(exist);
579
+ setNewCategoryName('');
580
+ setAddCategoryModal(false);
581
+ } else {
582
+ let resp = await addItemCategory(NewCategoryName, selectBusiness?.id);
583
+ setNewCategoryName('');
584
+ setAddCategoryModal(false);
585
+ let all = await getItemCategories();
586
+ let filtered = all.find(i => i?.id === resp?.insertId);
587
+ setSelectedCategory(filtered);
588
+ setItemCategories(all);
589
+ }
590
+ } catch (error) {
591
+ console.log('Error adding category:', error);
592
+ }
593
+ }
594
+ },
595
+ children: /*#__PURE__*/_jsx(Text, {
596
+ style: styles._continueBtnTxt,
597
+ children: "Save"
598
+ })
599
+ })]
600
+ })
601
+ }), /*#__PURE__*/_jsx(View, {
602
+ style: styles.bottomBar,
603
+ children: /*#__PURE__*/_jsx(TouchableOpacity, {
604
+ style: [styles.totalButton, {
605
+ opacity: form?.name === '' || form?.unit === '' || form?.rateSale === '' || form?.ratePurchase === '' ? 0.6 : 1
606
+ }],
607
+ activeOpacity: 0.8,
608
+ onPress: () => {
609
+ if (form?.name !== '' && form?.unit !== '' && form?.rateSale && form?.ratePurchase) {
610
+ if (ItemDetails) {
611
+ updateItem();
612
+ } else {
613
+ insertItem();
614
+ }
615
+ }
616
+ },
617
+ children: /*#__PURE__*/_jsx(Text, {
618
+ style: styles.totalText,
619
+ children: ItemDetails ? 'UPDATE' : 'CONTINUE'
620
+ })
621
+ })
622
+ }), /*#__PURE__*/_jsx(Modal, {
623
+ transparent: true,
624
+ visible: drawerVisible,
625
+ animationType: "fade",
626
+ onRequestClose: () => {
627
+ if (showAddUnit) setShowAddUnit(false);else setDrawerVisible(false);
628
+ },
629
+ children: /*#__PURE__*/_jsxs(View, {
630
+ style: styles.modalBackdrop,
631
+ children: [/*#__PURE__*/_jsx(TouchableOpacity, {
632
+ style: styles.overlay,
633
+ activeOpacity: 1,
634
+ onPress: () => {
635
+ if (showAddUnit) setShowAddUnit(false);else setDrawerVisible(false);
636
+ }
637
+ }), /*#__PURE__*/_jsx(Animated.View, {
638
+ style: [styles.bottomDrawer, {
639
+ transform: [{
640
+ translateY: slideAnim
641
+ }]
642
+ }],
643
+ children: !showAddUnit ? /*#__PURE__*/_jsxs(_Fragment, {
644
+ children: [/*#__PURE__*/_jsxs(View, {
645
+ style: styles.drawerHeader,
646
+ children: [/*#__PURE__*/_jsx(Text, {
647
+ style: styles.drawerTitle,
648
+ children: "Select Unit"
649
+ }), /*#__PURE__*/_jsxs(TouchableOpacity, {
650
+ style: styles.addNewButton,
651
+ onPress: () => setShowAddUnit(true),
652
+ children: [/*#__PURE__*/_jsx(Feather, {
653
+ name: "plus",
654
+ size: 16,
655
+ color: "#fff"
656
+ }), /*#__PURE__*/_jsx(Text, {
657
+ style: styles.addNewText,
658
+ children: "ADD NEW UNIT"
659
+ })]
660
+ })]
661
+ }), /*#__PURE__*/_jsx(FlatList, {
662
+ data: PREDEFINED_UNITS,
663
+ renderItem: renderUnitButton,
664
+ keyExtractor: (item, index) => index.toString(),
665
+ numColumns: 3,
666
+ columnWrapperStyle: {
667
+ justifyContent: 'space-between'
668
+ },
669
+ contentContainerStyle: styles.unitGrid
670
+ })]
671
+ }) : /*#__PURE__*/_jsxs(View, {
672
+ style: {
673
+ marginTop: 20
674
+ },
675
+ children: [/*#__PURE__*/_jsx(Text, {
676
+ style: styles.drawerTitle,
677
+ children: "Add New Unit"
678
+ }), /*#__PURE__*/_jsx(FloatingInput, {
679
+ label: "Enter Unit Name",
680
+ iconName: "resize-outline",
681
+ iconPosition: "right",
682
+ value: newUnit,
683
+ onChangeText: setNewUnit,
684
+ maxLength: 15
685
+ }), /*#__PURE__*/_jsx(TouchableOpacity, {
686
+ style: styles.nextButton,
687
+ onPress: handleAddUnit,
688
+ activeOpacity: 0.8,
689
+ children: /*#__PURE__*/_jsx(Text, {
690
+ style: styles.nextText,
691
+ children: "SAVE"
692
+ })
693
+ })]
694
+ })
695
+ })]
696
+ })
697
+ })]
698
+ });
699
+ };
700
+ export default AdditemBillChild;
701
+ const styles = StyleSheet.create({
702
+ _headerMain: {
703
+ width: WP(100),
704
+ height: 60,
705
+ flexDirection: 'row',
706
+ alignItems: 'center',
707
+ justifyContent: 'flex-start',
708
+ gap: 10
709
+ },
710
+ _headerTitle: {
711
+ color: COLORS.whiteColor,
712
+ fontFamily: FONT_MEDIUM,
713
+ fontSize: 18
714
+ },
715
+ _contentMain: {
716
+ width: WP(94),
717
+ // height: "90%",
718
+ backgroundColor: COLORS.whiteColor,
719
+ // position: "absolute",
720
+ // top: 55,
721
+ shadowColor: '#000',
722
+ shadowOffset: {
723
+ width: 0,
724
+ height: 2
725
+ },
726
+ shadowOpacity: 0.2,
727
+ shadowRadius: 3.84,
728
+ elevation: 5,
729
+ borderRadius: TEXT_SIZES.BORDER_RADIUS,
730
+ alignItems: 'center',
731
+ justifyContent: 'space-between',
732
+ paddingVertical: 12,
733
+ overflow: 'hidden',
734
+ alignSelf: 'center'
735
+ // paddingTop: 30
736
+ },
737
+ headerContainer: {
738
+ paddingTop: 60,
739
+ paddingBottom: 20,
740
+ paddingHorizontal: 20,
741
+ flexDirection: 'row',
742
+ alignItems: 'center'
743
+ },
744
+ scrollContainer: {
745
+ paddingBottom: 400
746
+ },
747
+ header: {
748
+ flexDirection: 'row',
749
+ alignItems: 'center',
750
+ backgroundColor: '#FF5C00',
751
+ paddingVertical: 20,
752
+ paddingHorizontal: 20,
753
+ borderBottomLeftRadius: 20,
754
+ borderBottomRightRadius: 20
755
+ },
756
+ headerTitle: {
757
+ color: '#fff',
758
+ fontSize: 20,
759
+ fontFamily: FONT_NORMAL,
760
+ marginLeft: 10
761
+ },
762
+ form: {
763
+ backgroundColor: COLORS.whiteColor,
764
+ // margin: 15,
765
+ padding: 10,
766
+ // borderRadius: 150,
767
+ width: '100%'
768
+ },
769
+ inputContainer: {
770
+ marginBottom: 5
771
+ // width: '100%',
772
+ },
773
+ label: {
774
+ fontSize: 13,
775
+ color: '#000',
776
+ marginBottom: 8
777
+ // paddingLeft: 10,
778
+ },
779
+ input: {
780
+ borderWidth: 1,
781
+ borderColor: '#ddd',
782
+ borderRadius: TEXT_SIZES.BORDER_RADIUS,
783
+ height: 60,
784
+ padding: 12,
785
+ fontSize: 14,
786
+ color: '#000',
787
+ backgroundColor: '#fff'
788
+ },
789
+ inputUnitName: {
790
+ borderWidth: 1,
791
+ borderColor: '#ddd',
792
+ borderRadius: TEXT_SIZES.BORDER_RADIUS,
793
+ height: 60,
794
+ padding: 12,
795
+ fontSize: 14,
796
+ color: '#000',
797
+ backgroundColor: '#fff',
798
+ marginBottom: 20
799
+ },
800
+ dropdown: {
801
+ borderWidth: 1,
802
+ borderColor: COLORS.gray,
803
+ borderRadius: TEXT_SIZES.BORDER_RADIUS,
804
+ height: 60,
805
+ // padding: 12,
806
+ paddingVertical: 2,
807
+ paddingHorizontal: 12,
808
+ flexDirection: 'row',
809
+ justifyContent: 'space-between',
810
+ alignItems: 'center'
811
+ },
812
+ placeholder: {
813
+ color: COLORS.gray,
814
+ fontSize: 15
815
+ },
816
+ barcodeContainer: {
817
+ flexDirection: 'row',
818
+ alignItems: 'center',
819
+ borderWidth: 1,
820
+ borderColor: '#ddd',
821
+ borderRadius: TEXT_SIZES.BORDER_RADIUS,
822
+ paddingHorizontal: 10,
823
+ height: 60
824
+ },
825
+ footer: {
826
+ position: 'absolute',
827
+ bottom: 80,
828
+ left: 0,
829
+ right: 0,
830
+ backgroundColor: COLORS.whiteColor,
831
+ paddingVertical: 10,
832
+ paddingHorizontal: 15
833
+ },
834
+ nextButton: {
835
+ backgroundColor: COLORS.primaryColor,
836
+ borderRadius: TEXT_SIZES.BORDER_RADIUS,
837
+ alignItems: 'center',
838
+ paddingVertical: 15,
839
+ marginTop: 10
840
+ },
841
+ nextButtonText: {
842
+ color: '#fff',
843
+ fontSize: 16,
844
+ fontFamily: FONT_NORMAL
845
+ },
846
+ cardContainer: {
847
+ backgroundColor: '#fff',
848
+ marginHorizontal: 15,
849
+ width: '95%',
850
+ alignSelf: 'center',
851
+ // height: 60,
852
+ borderRadius: TEXT_SIZES.BORDER_RADIUS,
853
+ marginTop: -35,
854
+ // paddingVertical: 10,
855
+ elevation: 5
856
+ // alignItems: 'flex-start',
857
+ // paddingLeft: 10,
858
+ // justifyContent: 'center',
859
+ },
860
+ bottomBar: {
861
+ position: 'absolute',
862
+ bottom: 30,
863
+ left: 0,
864
+ right: 0,
865
+ backgroundColor: '#fff',
866
+ borderTopLeftRadius: TEXT_SIZES.BORDER_RADIUS,
867
+ borderTopRightRadius: TEXT_SIZES.BORDER_RADIUS,
868
+ alignItems: 'center',
869
+ justifyContent: 'center',
870
+ paddingVertical: 10,
871
+ elevation: 10
872
+ },
873
+ totalButton: {
874
+ borderWidth: 1,
875
+ marginBottom: 10,
876
+ borderColor: COLORS.primaryColor,
877
+ backgroundColor: COLORS.primaryColor,
878
+ borderRadius: 100,
879
+ width: '95%',
880
+ height: 50,
881
+ alignItems: 'center',
882
+ justifyContent: 'center'
883
+ },
884
+ totalText: {
885
+ color: COLORS.whiteColor,
886
+ fontFamily: FONT_NORMAL,
887
+ fontSize: 13
888
+ },
889
+ _inputMain: {
890
+ width: '90%',
891
+ alignSelf: 'center',
892
+ marginTop: 10
893
+ },
894
+ // dropdown: {
895
+ // borderWidth: 1,
896
+ // borderColor: '#E0E0E0',
897
+ // borderRadius: 10,
898
+ // padding: 12,
899
+ // flexDirection: 'row',
900
+ // justifyContent: 'space-between',
901
+ // alignItems: 'center',
902
+ // },
903
+ valueText: {
904
+ fontSize: 15,
905
+ color: '#000'
906
+ },
907
+ modalBackdrop: {
908
+ flex: 1,
909
+ backgroundColor: 'rgba(0,0,0,0.3)',
910
+ justifyContent: 'flex-end'
911
+ },
912
+ overlay: {
913
+ ...StyleSheet.absoluteFillObject
914
+ },
915
+ bottomDrawer: {
916
+ backgroundColor: '#fff',
917
+ padding: 20,
918
+ borderTopLeftRadius: 20,
919
+ borderTopRightRadius: 20,
920
+ minHeight: height * 0.45
921
+ },
922
+ drawerHeader: {
923
+ flexDirection: 'row',
924
+ justifyContent: 'space-between',
925
+ alignItems: 'center',
926
+ marginBottom: 10
927
+ },
928
+ drawerTitle: {
929
+ fontSize: 18,
930
+ fontFamily: FONT_NORMAL,
931
+ marginBottom: 20
932
+ },
933
+ addNewButton: {
934
+ flexDirection: 'row',
935
+ alignItems: 'center',
936
+ backgroundColor: COLORS.primaryColor,
937
+ paddingHorizontal: 14,
938
+ paddingVertical: 8,
939
+ borderRadius: TEXT_SIZES.BORDER_RADIUS
940
+ },
941
+ addNewText: {
942
+ color: COLORS.whiteColor,
943
+ fontSize: 12,
944
+ marginLeft: 6,
945
+ fontFamily: FONT_NORMAL
946
+ },
947
+ unitGrid: {
948
+ paddingVertical: 10
949
+ },
950
+ unitButton: {
951
+ backgroundColor: '#F3F3F3',
952
+ borderRadius: TEXT_SIZES.BORDER_RADIUS,
953
+ borderColor: COLORS.borderColor,
954
+ borderWidth: 1,
955
+ paddingVertical: 15,
956
+ paddingHorizontal: 15,
957
+ // height: 50,
958
+ marginBottom: 10,
959
+ flex: 1,
960
+ alignItems: 'center',
961
+ marginHorizontal: 4,
962
+ justifyContent: 'center'
963
+ },
964
+ unitText: {
965
+ color: '#000',
966
+ fontSize: 13
967
+ },
968
+ nextText: {
969
+ color: '#fff',
970
+ fontSize: 16,
971
+ fontFamily: FONT_NORMAL
972
+ },
973
+ _picMain: {
974
+ width: 120,
975
+ height: 120,
976
+ borderRadius: 60,
977
+ backgroundColor: '#f2f2f2',
978
+ justifyContent: 'center',
979
+ alignItems: 'center',
980
+ position: 'relative',
981
+ alignSelf: 'center',
982
+ marginVertical: 20
983
+ },
984
+ _pic: {
985
+ width: 60,
986
+ height: 60
987
+ },
988
+ _selectMain: {
989
+ position: 'absolute',
990
+ bottom: 0,
991
+ right: 0,
992
+ backgroundColor: '#F44336',
993
+ width: 45,
994
+ height: 45,
995
+ borderRadius: 50,
996
+ justifyContent: 'center',
997
+ alignItems: 'center',
998
+ borderWidth: 3,
999
+ borderColor: '#fff'
1000
+ },
1001
+ _categoryModal: {
1002
+ justifyContent: 'flex-end',
1003
+ margin: 0,
1004
+ padding: 0
1005
+ },
1006
+ _categoryModalMain: {
1007
+ width: WP(100),
1008
+ height: HP(50),
1009
+ backgroundColor: COLORS.whiteColor,
1010
+ borderTopRightRadius: TEXT_SIZES.BORDER_RADIUS,
1011
+ borderTopLeftRadius: TEXT_SIZES.BORDER_RADIUS
1012
+ },
1013
+ _categoryModalHeader: {
1014
+ width: '100%',
1015
+ height: 50,
1016
+ flexDirection: 'row',
1017
+ justifyContent: 'space-between',
1018
+ alignItems: 'center',
1019
+ marginTop: 5,
1020
+ borderBottomColor: COLORS.darkGrey,
1021
+ borderBottomWidth: 0.7,
1022
+ paddingHorizontal: 20
1023
+ },
1024
+ _categoryModalHeaderTitle: {
1025
+ fontFamily: FONT_MEDIUM,
1026
+ color: COLORS.primaryColor,
1027
+ fontSize: 15
1028
+ },
1029
+ _categoryModalFooter: {
1030
+ width: '100%',
1031
+ height: 60,
1032
+ // backgroundColor:"green",
1033
+ flexDirection: 'row',
1034
+ justifyContent: 'space-between',
1035
+ alignItems: 'center',
1036
+ paddingHorizontal: 20
1037
+ },
1038
+ _categoryModalBtn: {
1039
+ height: 45,
1040
+ width: '70%',
1041
+ backgroundColor: COLORS.primaryColor,
1042
+ justifyContent: 'center',
1043
+ alignItems: 'center',
1044
+ borderRadius: TEXT_SIZES.BORDER_RADIUS,
1045
+ flexDirection: 'row',
1046
+ justifyContent: 'center',
1047
+ alignSelf: 'center',
1048
+ gap: 20
1049
+ },
1050
+ _categoryModalBtnTxt: {
1051
+ color: COLORS.whiteColor,
1052
+ fontFamily: FONT_MEDIUM,
1053
+ fontSize: 14
1054
+ },
1055
+ _categoryCard: {
1056
+ width: '100%',
1057
+ height: 60,
1058
+ // backgroundColor: "red",
1059
+ flexDirection: 'row',
1060
+ // justifyContent:"center",
1061
+ alignItems: 'center',
1062
+ gap: 10,
1063
+ paddingHorizontal: 20,
1064
+ borderBottomColor: COLORS.gray,
1065
+ borderBottomWidth: 0.7
1066
+ },
1067
+ _categoryCardText: {
1068
+ fontFamily: FONT_NORMAL,
1069
+ color: COLORS.darkGrey,
1070
+ fontSize: 15
1071
+ },
1072
+ _categoryChip: {
1073
+ backgroundColor: COLORS.gray,
1074
+ paddingHorizontal: 10,
1075
+ height: '60%',
1076
+ flexDirection: 'row',
1077
+ justifyContent: 'center',
1078
+ alignItems: 'center',
1079
+ borderRadius: 100,
1080
+ borderColor: COLORS.darkGrey,
1081
+ borderWidth: 1,
1082
+ gap: 5
1083
+ },
1084
+ _chipText: {
1085
+ color: COLORS.blackColor,
1086
+ fontFamily: FONT_NORMAL,
1087
+ fontSize: 13
1088
+ },
1089
+ _addCategoryMain: {
1090
+ width: WP(100),
1091
+ height: HP(25),
1092
+ backgroundColor: COLORS.whiteColor,
1093
+ borderTopRightRadius: TEXT_SIZES.BORDER_RADIUS,
1094
+ borderTopLeftRadius: TEXT_SIZES.BORDER_RADIUS,
1095
+ alignItems: 'center',
1096
+ gap: 10
1097
+ },
1098
+ _billNoMain: {
1099
+ width: '91%',
1100
+ height: 60,
1101
+ borderColor: COLORS.grey,
1102
+ borderWidth: 1,
1103
+ borderRadius: TEXT_SIZES.BORDER_RADIUS,
1104
+ paddingHorizontal: 15,
1105
+ color: COLORS.blackColor,
1106
+ fontSize: Input_Field_SIZES.Input_Font_Size,
1107
+ fontFamily: FONT_MEDIUM
1108
+ },
1109
+ _continueBtn: {
1110
+ width: '95%',
1111
+ height: TEXT_SIZES.BUTTON_HEIGHT,
1112
+ backgroundColor: COLORS.primaryColor,
1113
+ borderRadius: TEXT_SIZES.BORDER_RADIUS,
1114
+ justifyContent: 'center',
1115
+ alignItems: 'center'
1116
+ },
1117
+ _continueBtnTxt: {
1118
+ color: COLORS.whiteColor,
1119
+ fontFamily: FONT_MEDIUM,
1120
+ fontSize: TEXT_SIZES.BUTTON_TEXT
1121
+ }
1122
+ });
1123
+ //# sourceMappingURL=AdditemBillChild.js.map