digikhata-mashreq-sdk 1.0.0 → 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.
- package/lib/module/App.js +13 -26
- package/lib/module/App.js.map +1 -1
- package/lib/module/app/api/api.js +12 -0
- package/lib/module/app/api/api.js.map +1 -0
- package/lib/module/app/assets/Icons/Bill.png +0 -0
- package/lib/module/app/assets/Icons/Bill_Grey.png +0 -0
- package/lib/module/app/assets/Icons/Cash.png +0 -0
- package/lib/module/app/assets/Icons/Cash_Grey.png +0 -0
- package/lib/module/app/assets/Icons/Expense.png +0 -0
- package/lib/module/app/assets/Icons/Expense_Grey.png +0 -0
- package/lib/module/app/assets/Icons/Staff.png +0 -0
- package/lib/module/app/assets/Icons/Stock.png +0 -0
- package/lib/module/app/assets/Icons/Stock_Grey.png +0 -0
- package/lib/module/app/assets/Icons/abc.png +0 -0
- package/lib/module/app/assets/Icons/bank_logo.png +0 -0
- package/lib/module/app/assets/Icons/download_sale.png +0 -0
- package/lib/module/app/assets/Icons/recycle-bin.png +0 -0
- package/lib/module/app/assets/animations/recording.json +1 -0
- package/lib/module/app/assets/animations/success.json +1 -0
- package/lib/module/app/assets/animations/voice_visualization.json +1 -0
- package/lib/module/app/assets/businessCards/card_11.png +0 -0
- package/lib/module/app/assets/businessCards/card_12_bg.png +0 -0
- package/lib/module/app/assets/businessCards/card_wall_01.jpeg +0 -0
- package/lib/module/app/assets/businessCards/card_wall_02.jpeg +0 -0
- package/lib/module/app/assets/businessCards/card_wall_03.jpeg +0 -0
- package/lib/module/app/assets/businessCards/card_wall_04.jpeg +0 -0
- package/lib/module/app/assets/businessCards/card_wall_05.jpeg +0 -0
- package/lib/module/app/assets/businessCards/card_wall_06.jpeg +0 -0
- package/lib/module/app/assets/businessCards/card_wall_07.jpeg +0 -0
- package/lib/module/app/assets/businessCards/card_wall_08.jpeg +0 -0
- package/lib/module/app/assets/illustrations/empty.png +0 -0
- package/lib/module/app/assets/illustrations/packages.png +0 -0
- package/lib/module/app/assets/images/Digikhata_idzarHgH0q_0.png +0 -0
- package/lib/module/app/assets/images/bank.png +0 -0
- package/lib/module/app/assets/images/digiLogo-main.png +0 -0
- package/lib/module/app/assets/images/svgviewer-output.svg +57 -0
- package/lib/module/app/assets/images/user.png +0 -0
- package/lib/module/app/assets/oldIcons/BILL.svg +3 -0
- package/lib/module/app/assets/oldIcons/CASH.svg +4 -0
- package/lib/module/app/assets/oldIcons/EXPENSE.svg +6 -0
- package/lib/module/app/assets/oldIcons/STAFF.svg +3 -0
- package/lib/module/app/assets/oldIcons/Sale Active.svg +14 -0
- package/lib/module/app/assets/oldIcons/Stock.svg +5 -0
- package/lib/module/app/assets/svg/BILL.svg +4 -0
- package/lib/module/app/assets/svg/CASH.svg +6 -0
- package/lib/module/app/assets/svg/EXPENSE.svg +5 -0
- package/lib/module/app/assets/svg/More Icon.svg +6 -0
- package/lib/module/app/assets/svg/Payment Icon.svg +4 -0
- package/lib/module/app/assets/svg/Pos.svg +13 -0
- package/lib/module/app/assets/svg/STAFF.svg +5 -0
- package/lib/module/app/assets/svg/Sale Active.svg +8 -0
- package/lib/module/app/assets/svg/Sale Icon.svg +3 -0
- package/lib/module/app/assets/svg/Stock.svg +5 -0
- package/lib/module/app/components/AccountSetupSteps.js +64 -0
- package/lib/module/app/components/AccountSetupSteps.js.map +1 -0
- package/lib/module/app/components/AddItemBillParent.js +366 -0
- package/lib/module/app/components/AddItemBillParent.js.map +1 -0
- package/lib/module/app/components/AdditemBillChild.js +1123 -0
- package/lib/module/app/components/AdditemBillChild.js.map +1 -0
- package/lib/module/app/components/Balance.js +116 -70
- package/lib/module/app/components/Balance.js.map +1 -1
- package/lib/module/app/components/BillList.js +428 -0
- package/lib/module/app/components/BillList.js.map +1 -0
- package/lib/module/app/components/BillSetupSteps.js +64 -0
- package/lib/module/app/components/BillSetupSteps.js.map +1 -0
- package/lib/module/app/components/BottomView.js +35 -0
- package/lib/module/app/components/BottomView.js.map +1 -0
- package/lib/module/app/components/BusinessCards/Card1.js +202 -0
- package/lib/module/app/components/BusinessCards/Card1.js.map +1 -0
- package/lib/module/app/components/BusinessCards/Card10.js +234 -0
- package/lib/module/app/components/BusinessCards/Card10.js.map +1 -0
- package/lib/module/app/components/BusinessCards/Card2.js +190 -0
- package/lib/module/app/components/BusinessCards/Card2.js.map +1 -0
- package/lib/module/app/components/BusinessCards/Card3.js +186 -0
- package/lib/module/app/components/BusinessCards/Card3.js.map +1 -0
- package/lib/module/app/components/BusinessCards/Card4.js +186 -0
- package/lib/module/app/components/BusinessCards/Card4.js.map +1 -0
- package/lib/module/app/components/BusinessCards/Card5.js +189 -0
- package/lib/module/app/components/BusinessCards/Card5.js.map +1 -0
- package/lib/module/app/components/BusinessCards/Card6.js +198 -0
- package/lib/module/app/components/BusinessCards/Card6.js.map +1 -0
- package/lib/module/app/components/BusinessCards/Card7.js +185 -0
- package/lib/module/app/components/BusinessCards/Card7.js.map +1 -0
- package/lib/module/app/components/BusinessCards/Card8.js +187 -0
- package/lib/module/app/components/BusinessCards/Card8.js.map +1 -0
- package/lib/module/app/components/BusinessCards/Card9.js +234 -0
- package/lib/module/app/components/BusinessCards/Card9.js.map +1 -0
- package/lib/module/app/components/BusinessCards/index.js +13 -0
- package/lib/module/app/components/BusinessCards/index.js.map +1 -0
- package/lib/module/app/components/CashEntryComponent.js +256 -0
- package/lib/module/app/components/CashEntryComponent.js.map +1 -0
- package/lib/module/app/components/CityModal.js +116 -0
- package/lib/module/app/components/CityModal.js.map +1 -0
- package/lib/module/app/components/CountryPhoneInput.js +263 -166
- package/lib/module/app/components/CountryPhoneInput.js.map +1 -1
- package/lib/module/app/components/CreateExpenseAccount.js +139 -0
- package/lib/module/app/components/CreateExpenseAccount.js.map +1 -0
- package/lib/module/app/components/CustomStatusBar.js +29 -0
- package/lib/module/app/components/CustomStatusBar.js.map +1 -0
- package/lib/module/app/components/CustomToast.js +135 -0
- package/lib/module/app/components/CustomToast.js.map +1 -0
- package/lib/module/app/components/DeleteBusinessModal.js +174 -0
- package/lib/module/app/components/DeleteBusinessModal.js.map +1 -0
- package/lib/module/app/components/DiscountTaxModal.js +242 -0
- package/lib/module/app/components/DiscountTaxModal.js.map +1 -0
- package/lib/module/app/components/Entries.js +54 -32
- package/lib/module/app/components/Entries.js.map +1 -1
- package/lib/module/app/components/ExpenseList.js +402 -0
- package/lib/module/app/components/ExpenseList.js.map +1 -0
- package/lib/module/app/components/ExpenseParent.js +441 -0
- package/lib/module/app/components/ExpenseParent.js.map +1 -0
- package/lib/module/app/components/FloatingInput.js +159 -0
- package/lib/module/app/components/FloatingInput.js.map +1 -0
- package/lib/module/app/components/Header.js +107 -0
- package/lib/module/app/components/Header.js.map +1 -0
- package/lib/module/app/components/Loader.js +45 -0
- package/lib/module/app/components/Loader.js.map +1 -0
- package/lib/module/app/components/PartyModal.js +230 -0
- package/lib/module/app/components/PartyModal.js.map +1 -0
- package/lib/module/app/components/PickerModal.js +153 -0
- package/lib/module/app/components/PickerModal.js.map +1 -0
- package/lib/module/app/components/SalePaymentModal.js +743 -0
- package/lib/module/app/components/SalePaymentModal.js.map +1 -0
- package/lib/module/app/components/SearchBar.js +179 -42
- package/lib/module/app/components/SearchBar.js.map +1 -1
- package/lib/module/app/components/StockDetailChild.js +425 -0
- package/lib/module/app/components/StockDetailChild.js.map +1 -0
- package/lib/module/app/components/StockList.js +448 -0
- package/lib/module/app/components/StockList.js.map +1 -0
- package/lib/module/app/components/StockReportTransaction.js +182 -0
- package/lib/module/app/components/StockReportTransaction.js.map +1 -0
- package/lib/module/app/components/Transaction.js +193 -53
- package/lib/module/app/components/Transaction.js.map +1 -1
- package/lib/module/app/components/User.js +106 -51
- package/lib/module/app/components/User.js.map +1 -1
- package/lib/module/app/components/index.js +20 -1
- package/lib/module/app/components/index.js.map +1 -1
- package/lib/module/app/database/bill.js +247 -0
- package/lib/module/app/database/bill.js.map +1 -0
- package/lib/module/app/database/business.js +262 -0
- package/lib/module/app/database/business.js.map +1 -0
- package/lib/module/app/database/cash.js +299 -0
- package/lib/module/app/database/cash.js.map +1 -0
- package/lib/module/app/database/clients.js +1182 -36
- package/lib/module/app/database/clients.js.map +1 -1
- package/lib/module/app/database/expense.js +299 -0
- package/lib/module/app/database/expense.js.map +1 -0
- package/lib/module/app/database/schema.js +113 -3
- package/lib/module/app/database/schema.js.map +1 -1
- package/lib/module/app/database/stock.js +509 -0
- package/lib/module/app/database/stock.js.map +1 -0
- package/lib/module/app/htmlTemplates/htmlTemplates.js +2504 -0
- package/lib/module/app/htmlTemplates/htmlTemplates.js.map +1 -0
- package/lib/module/app/navigation/BillStack/BillStack.js +40 -0
- package/lib/module/app/navigation/BillStack/BillStack.js.map +1 -0
- package/lib/module/app/navigation/BottomTabs/BottomTabs.js +10 -5
- package/lib/module/app/navigation/BottomTabs/BottomTabs.js.map +1 -1
- package/lib/module/app/navigation/BusinessStack/BusinessStack.js +30 -0
- package/lib/module/app/navigation/BusinessStack/BusinessStack.js.map +1 -0
- package/lib/module/app/navigation/CashStack/CashStack.js +79 -0
- package/lib/module/app/navigation/CashStack/CashStack.js.map +1 -0
- package/lib/module/app/navigation/EntriesStack/EntriesStack.js +223 -0
- package/lib/module/app/navigation/EntriesStack/EntriesStack.js.map +1 -0
- package/lib/module/app/navigation/ExpenseStack.js/ExpenseStack.js +37 -0
- package/lib/module/app/navigation/ExpenseStack.js/ExpenseStack.js.map +1 -0
- package/lib/module/app/navigation/HomeStack/HomeStack.js +93 -1
- package/lib/module/app/navigation/HomeStack/HomeStack.js.map +1 -1
- package/lib/module/app/navigation/Root.js +10 -1
- package/lib/module/app/navigation/Root.js.map +1 -1
- package/lib/module/app/navigation/SaleStack/SaleStack.js +73 -0
- package/lib/module/app/navigation/SaleStack/SaleStack.js.map +1 -0
- package/lib/module/app/navigation/StockStack/StockStack.js +49 -0
- package/lib/module/app/navigation/StockStack/StockStack.js.map +1 -0
- package/lib/module/app/navigation/index.js +3 -1
- package/lib/module/app/navigation/index.js.map +1 -1
- package/lib/module/app/redux/Store.js +3 -1
- package/lib/module/app/redux/Store.js.map +1 -1
- package/lib/module/app/redux/reducers/client/client_reducers.js +23 -2
- package/lib/module/app/redux/reducers/client/client_reducers.js.map +1 -1
- package/lib/module/app/redux/reducers/client/client_types.js +5 -0
- package/lib/module/app/redux/reducers/client/client_types.js.map +1 -1
- package/lib/module/app/redux/reducers/user/user_reducers.js +22 -0
- package/lib/module/app/redux/reducers/user/user_reducers.js.map +1 -0
- package/lib/module/app/redux/reducers/user/user_types.js +6 -0
- package/lib/module/app/redux/reducers/user/user_types.js.map +1 -0
- package/lib/module/app/screens/AddBank.js +237 -0
- package/lib/module/app/screens/AddBank.js.map +1 -0
- package/lib/module/app/screens/AddBusiness.js +905 -0
- package/lib/module/app/screens/AddBusiness.js.map +1 -0
- package/lib/module/app/screens/AddItems.js +433 -0
- package/lib/module/app/screens/AddItems.js.map +1 -0
- package/lib/module/app/screens/AddScreen.js +341 -77
- package/lib/module/app/screens/AddScreen.js.map +1 -1
- package/lib/module/app/screens/All.js +836 -0
- package/lib/module/app/screens/All.js.map +1 -0
- package/lib/module/app/screens/AllTransactions.js +846 -0
- package/lib/module/app/screens/AllTransactions.js.map +1 -0
- package/lib/module/app/screens/Banks.js +807 -48
- package/lib/module/app/screens/Banks.js.map +1 -1
- package/lib/module/app/screens/BillDetails.js +1033 -0
- package/lib/module/app/screens/BillDetails.js.map +1 -0
- package/lib/module/app/screens/BillHome.js +102 -0
- package/lib/module/app/screens/BillHome.js.map +1 -0
- package/lib/module/app/screens/BillParent.js +373 -0
- package/lib/module/app/screens/BillParent.js.map +1 -0
- package/lib/module/app/screens/BusinessDetail.js +787 -0
- package/lib/module/app/screens/BusinessDetail.js.map +1 -0
- package/lib/module/app/screens/CashEntry.js +2429 -0
- package/lib/module/app/screens/CashEntry.js.map +1 -0
- package/lib/module/app/screens/CashEntryDetails.js +574 -0
- package/lib/module/app/screens/CashEntryDetails.js.map +1 -0
- package/lib/module/app/screens/CashHome.js +544 -0
- package/lib/module/app/screens/CashHome.js.map +1 -0
- package/lib/module/app/screens/CashReport.js +1297 -0
- package/lib/module/app/screens/CashReport.js.map +1 -0
- package/lib/module/app/screens/CashSummary.js +602 -0
- package/lib/module/app/screens/CashSummary.js.map +1 -0
- package/lib/module/app/screens/CreateBill.js +2137 -0
- package/lib/module/app/screens/CreateBill.js.map +1 -0
- package/lib/module/app/screens/CustomerEntries.js +1093 -184
- package/lib/module/app/screens/CustomerEntries.js.map +1 -1
- package/lib/module/app/screens/Customers.js +727 -96
- package/lib/module/app/screens/Customers.js.map +1 -1
- package/lib/module/app/screens/EditCategory.js +299 -0
- package/lib/module/app/screens/EditCategory.js.map +1 -0
- package/lib/module/app/screens/EditCategoryStock.js +302 -0
- package/lib/module/app/screens/EditCategoryStock.js.map +1 -0
- package/lib/module/app/screens/Entry.js +1838 -275
- package/lib/module/app/screens/Entry.js.map +1 -1
- package/lib/module/app/screens/ExpenseDetail.js +15 -0
- package/lib/module/app/screens/ExpenseDetail.js.map +1 -0
- package/lib/module/app/screens/ExpenseEntries.js +713 -0
- package/lib/module/app/screens/ExpenseEntries.js.map +1 -0
- package/lib/module/app/screens/ExpenseEntry.js +2095 -0
- package/lib/module/app/screens/ExpenseEntry.js.map +1 -0
- package/lib/module/app/screens/ExpenseEntryDetails.js +508 -0
- package/lib/module/app/screens/ExpenseEntryDetails.js.map +1 -0
- package/lib/module/app/screens/ExpenseEntryReport.js +792 -0
- package/lib/module/app/screens/ExpenseEntryReport.js.map +1 -0
- package/lib/module/app/screens/ExpenseReport.js +792 -0
- package/lib/module/app/screens/ExpenseReport.js.map +1 -0
- package/lib/module/app/screens/Geolocation.js +374 -0
- package/lib/module/app/screens/Geolocation.js.map +1 -0
- package/lib/module/app/screens/GetStarted.js +213 -0
- package/lib/module/app/screens/GetStarted.js.map +1 -0
- package/lib/module/app/screens/HomeScreen.js +202 -55
- package/lib/module/app/screens/HomeScreen.js.map +1 -1
- package/lib/module/app/screens/InBuy.js +854 -0
- package/lib/module/app/screens/InBuy.js.map +1 -0
- package/lib/module/app/screens/ItemEntryDetails.js +652 -0
- package/lib/module/app/screens/ItemEntryDetails.js.map +1 -0
- package/lib/module/app/screens/LowStock.js +372 -0
- package/lib/module/app/screens/LowStock.js.map +1 -0
- package/lib/module/app/screens/NewPin.js +234 -0
- package/lib/module/app/screens/NewPin.js.map +1 -0
- package/lib/module/app/screens/OutSell.js +1883 -0
- package/lib/module/app/screens/OutSell.js.map +1 -0
- package/lib/module/app/screens/POSSale.js +637 -0
- package/lib/module/app/screens/POSSale.js.map +1 -0
- package/lib/module/app/screens/PinScreen.js +663 -0
- package/lib/module/app/screens/PinScreen.js.map +1 -0
- package/lib/module/app/screens/PreviewBill.js +329 -0
- package/lib/module/app/screens/PreviewBill.js.map +1 -0
- package/lib/module/app/screens/Profile.js +1160 -0
- package/lib/module/app/screens/Profile.js.map +1 -0
- package/lib/module/app/screens/RateList.js +432 -0
- package/lib/module/app/screens/RateList.js.map +1 -0
- package/lib/module/app/screens/Report.js +1105 -0
- package/lib/module/app/screens/Report.js.map +1 -0
- package/lib/module/app/screens/SaleItemDetail.js +1047 -0
- package/lib/module/app/screens/SaleItemDetail.js.map +1 -0
- package/lib/module/app/screens/SaleParent.js +289 -0
- package/lib/module/app/screens/SaleParent.js.map +1 -0
- package/lib/module/app/screens/SelectBank.js +220 -0
- package/lib/module/app/screens/SelectBank.js.map +1 -0
- package/lib/module/app/screens/SelectBusiness.js +497 -93
- package/lib/module/app/screens/SelectBusiness.js.map +1 -1
- package/lib/module/app/screens/Splash.js +93 -20
- package/lib/module/app/screens/Splash.js.map +1 -1
- package/lib/module/app/screens/StockChild.js +362 -0
- package/lib/module/app/screens/StockChild.js.map +1 -0
- package/lib/module/app/screens/StockDetail.js +705 -0
- package/lib/module/app/screens/StockDetail.js.map +1 -0
- package/lib/module/app/screens/StockParent.js +260 -0
- package/lib/module/app/screens/StockParent.js.map +1 -0
- package/lib/module/app/screens/StockReport.js +1031 -0
- package/lib/module/app/screens/StockReport.js.map +1 -0
- package/lib/module/app/screens/StockValue.js +545 -0
- package/lib/module/app/screens/StockValue.js.map +1 -0
- package/lib/module/app/screens/Suppliers.js +753 -98
- package/lib/module/app/screens/Suppliers.js.map +1 -1
- package/lib/module/app/screens/TransactionDetails.js +1169 -81
- package/lib/module/app/screens/TransactionDetails.js.map +1 -1
- package/lib/module/app/screens/UpdateBusiness.js +707 -0
- package/lib/module/app/screens/UpdateBusiness.js.map +1 -0
- package/lib/module/app/screens/VisionCamera.js +60 -0
- package/lib/module/app/screens/VisionCamera.js.map +1 -0
- package/lib/module/app/screens/index.js +46 -1
- package/lib/module/app/screens/index.js.map +1 -1
- package/lib/module/app/screens/new.html +171 -0
- package/lib/module/app/themes/config.js +299 -30
- package/lib/module/app/themes/config.js.map +1 -1
- package/lib/module/app/utils/city.json +7265 -0
- package/lib/typescript/eslint.config.d.mts +1 -1
- package/lib/typescript/src/App.d.ts.map +1 -1
- package/lib/typescript/src/app/api/api.d.ts +10 -0
- package/lib/typescript/src/app/api/api.d.ts.map +1 -0
- package/lib/typescript/src/app/components/AccountSetupSteps.d.ts +3 -0
- package/lib/typescript/src/app/components/AccountSetupSteps.d.ts.map +1 -0
- package/lib/typescript/src/app/components/AddItemBillParent.d.ts +5 -0
- package/lib/typescript/src/app/components/AddItemBillParent.d.ts.map +1 -0
- package/lib/typescript/src/app/components/AdditemBillChild.d.ts +6 -0
- package/lib/typescript/src/app/components/AdditemBillChild.d.ts.map +1 -0
- package/lib/typescript/src/app/components/Balance.d.ts +3 -1
- package/lib/typescript/src/app/components/Balance.d.ts.map +1 -1
- package/lib/typescript/src/app/components/BillList.d.ts +5 -0
- package/lib/typescript/src/app/components/BillList.d.ts.map +1 -0
- package/lib/typescript/src/app/components/BillSetupSteps.d.ts +3 -0
- package/lib/typescript/src/app/components/BillSetupSteps.d.ts.map +1 -0
- package/lib/typescript/src/app/components/BottomView.d.ts +6 -0
- package/lib/typescript/src/app/components/BottomView.d.ts.map +1 -0
- package/lib/typescript/src/app/components/BusinessCards/Card1.d.ts +14 -0
- package/lib/typescript/src/app/components/BusinessCards/Card1.d.ts.map +1 -0
- package/lib/typescript/src/app/components/BusinessCards/Card10.d.ts +14 -0
- package/lib/typescript/src/app/components/BusinessCards/Card10.d.ts.map +1 -0
- package/lib/typescript/src/app/components/BusinessCards/Card2.d.ts +14 -0
- package/lib/typescript/src/app/components/BusinessCards/Card2.d.ts.map +1 -0
- package/lib/typescript/src/app/components/BusinessCards/Card3.d.ts +14 -0
- package/lib/typescript/src/app/components/BusinessCards/Card3.d.ts.map +1 -0
- package/lib/typescript/src/app/components/BusinessCards/Card4.d.ts +14 -0
- package/lib/typescript/src/app/components/BusinessCards/Card4.d.ts.map +1 -0
- package/lib/typescript/src/app/components/BusinessCards/Card5.d.ts +14 -0
- package/lib/typescript/src/app/components/BusinessCards/Card5.d.ts.map +1 -0
- package/lib/typescript/src/app/components/BusinessCards/Card6.d.ts +14 -0
- package/lib/typescript/src/app/components/BusinessCards/Card6.d.ts.map +1 -0
- package/lib/typescript/src/app/components/BusinessCards/Card7.d.ts +14 -0
- package/lib/typescript/src/app/components/BusinessCards/Card7.d.ts.map +1 -0
- package/lib/typescript/src/app/components/BusinessCards/Card8.d.ts +14 -0
- package/lib/typescript/src/app/components/BusinessCards/Card8.d.ts.map +1 -0
- package/lib/typescript/src/app/components/BusinessCards/Card9.d.ts +14 -0
- package/lib/typescript/src/app/components/BusinessCards/Card9.d.ts.map +1 -0
- package/lib/typescript/src/app/components/BusinessCards/index.d.ts +11 -0
- package/lib/typescript/src/app/components/BusinessCards/index.d.ts.map +1 -0
- package/lib/typescript/src/app/components/CashEntryComponent.d.ts +8 -0
- package/lib/typescript/src/app/components/CashEntryComponent.d.ts.map +1 -0
- package/lib/typescript/src/app/components/CityModal.d.ts +7 -0
- package/lib/typescript/src/app/components/CityModal.d.ts.map +1 -0
- package/lib/typescript/src/app/components/CountryPhoneInput.d.ts +4 -1
- package/lib/typescript/src/app/components/CountryPhoneInput.d.ts.map +1 -1
- package/lib/typescript/src/app/components/CreateExpenseAccount.d.ts +9 -0
- package/lib/typescript/src/app/components/CreateExpenseAccount.d.ts.map +1 -0
- package/lib/typescript/src/app/components/CustomStatusBar.d.ts +3 -0
- package/lib/typescript/src/app/components/CustomStatusBar.d.ts.map +1 -0
- package/lib/typescript/src/app/components/CustomToast.d.ts +10 -0
- package/lib/typescript/src/app/components/CustomToast.d.ts.map +1 -0
- package/lib/typescript/src/app/components/DeleteBusinessModal.d.ts +8 -0
- package/lib/typescript/src/app/components/DeleteBusinessModal.d.ts.map +1 -0
- package/lib/typescript/src/app/components/DiscountTaxModal.d.ts +9 -0
- package/lib/typescript/src/app/components/DiscountTaxModal.d.ts.map +1 -0
- package/lib/typescript/src/app/components/Entries.d.ts.map +1 -1
- package/lib/typescript/src/app/components/ExpenseList.d.ts +6 -0
- package/lib/typescript/src/app/components/ExpenseList.d.ts.map +1 -0
- package/lib/typescript/src/app/components/ExpenseParent.d.ts +4 -0
- package/lib/typescript/src/app/components/ExpenseParent.d.ts.map +1 -0
- package/lib/typescript/src/app/components/FloatingInput.d.ts +18 -0
- package/lib/typescript/src/app/components/FloatingInput.d.ts.map +1 -0
- package/lib/typescript/src/app/components/Header.d.ts +11 -0
- package/lib/typescript/src/app/components/Header.d.ts.map +1 -0
- package/lib/typescript/src/app/components/Loader.d.ts +5 -0
- package/lib/typescript/src/app/components/Loader.d.ts.map +1 -0
- package/lib/typescript/src/app/components/PartyModal.d.ts +7 -0
- package/lib/typescript/src/app/components/PartyModal.d.ts.map +1 -0
- package/lib/typescript/src/app/components/PickerModal.d.ts +8 -0
- package/lib/typescript/src/app/components/PickerModal.d.ts.map +1 -0
- package/lib/typescript/src/app/components/SalePaymentModal.d.ts +15 -0
- package/lib/typescript/src/app/components/SalePaymentModal.d.ts.map +1 -0
- package/lib/typescript/src/app/components/SearchBar.d.ts +2 -4
- package/lib/typescript/src/app/components/SearchBar.d.ts.map +1 -1
- package/lib/typescript/src/app/components/StockDetailChild.d.ts +5 -0
- package/lib/typescript/src/app/components/StockDetailChild.d.ts.map +1 -0
- package/lib/typescript/src/app/components/StockList.d.ts +6 -0
- package/lib/typescript/src/app/components/StockList.d.ts.map +1 -0
- package/lib/typescript/src/app/components/StockReportTransaction.d.ts +18 -0
- package/lib/typescript/src/app/components/StockReportTransaction.d.ts.map +1 -0
- package/lib/typescript/src/app/components/Transaction.d.ts +9 -2
- package/lib/typescript/src/app/components/Transaction.d.ts.map +1 -1
- package/lib/typescript/src/app/components/User.d.ts +3 -1
- package/lib/typescript/src/app/components/User.d.ts.map +1 -1
- package/lib/typescript/src/app/components/index.d.ts +26 -7
- package/lib/typescript/src/app/components/index.d.ts.map +1 -1
- package/lib/typescript/src/app/database/bill.d.ts +7 -0
- package/lib/typescript/src/app/database/bill.d.ts.map +1 -0
- package/lib/typescript/src/app/database/business.d.ts +9 -0
- package/lib/typescript/src/app/database/business.d.ts.map +1 -0
- package/lib/typescript/src/app/database/cash.d.ts +14 -0
- package/lib/typescript/src/app/database/cash.d.ts.map +1 -0
- package/lib/typescript/src/app/database/clients.d.ts +36 -5
- package/lib/typescript/src/app/database/clients.d.ts.map +1 -1
- package/lib/typescript/src/app/database/expense.d.ts +12 -0
- package/lib/typescript/src/app/database/expense.d.ts.map +1 -0
- package/lib/typescript/src/app/database/schema.d.ts.map +1 -1
- package/lib/typescript/src/app/database/stock.d.ts +16 -0
- package/lib/typescript/src/app/database/stock.d.ts.map +1 -0
- package/lib/typescript/src/app/htmlTemplates/htmlTemplates.d.ts +29 -0
- package/lib/typescript/src/app/htmlTemplates/htmlTemplates.d.ts.map +1 -0
- package/lib/typescript/src/app/navigation/BillStack/BillStack.d.ts +2 -0
- package/lib/typescript/src/app/navigation/BillStack/BillStack.d.ts.map +1 -0
- package/lib/typescript/src/app/navigation/BottomTabs/BottomTabs.d.ts.map +1 -1
- package/lib/typescript/src/app/navigation/BusinessStack/BusinessStack.d.ts +2 -0
- package/lib/typescript/src/app/navigation/BusinessStack/BusinessStack.d.ts.map +1 -0
- package/lib/typescript/src/app/navigation/CashStack/CashStack.d.ts +2 -0
- package/lib/typescript/src/app/navigation/CashStack/CashStack.d.ts.map +1 -0
- package/lib/typescript/src/app/navigation/EntriesStack/EntriesStack.d.ts +2 -0
- package/lib/typescript/src/app/navigation/EntriesStack/EntriesStack.d.ts.map +1 -0
- package/lib/typescript/src/app/navigation/ExpenseStack.js/ExpenseStack.d.ts +2 -0
- package/lib/typescript/src/app/navigation/ExpenseStack.js/ExpenseStack.d.ts.map +1 -0
- package/lib/typescript/src/app/navigation/HomeStack/HomeStack.d.ts.map +1 -1
- package/lib/typescript/src/app/navigation/Root.d.ts.map +1 -1
- package/lib/typescript/src/app/navigation/SaleStack/SaleStack.d.ts +2 -0
- package/lib/typescript/src/app/navigation/SaleStack/SaleStack.d.ts.map +1 -0
- package/lib/typescript/src/app/navigation/StockStack/StockStack.d.ts +2 -0
- package/lib/typescript/src/app/navigation/StockStack/StockStack.d.ts.map +1 -0
- package/lib/typescript/src/app/navigation/index.d.ts +3 -1
- package/lib/typescript/src/app/navigation/index.d.ts.map +1 -1
- package/lib/typescript/src/app/redux/Store.d.ts.map +1 -1
- package/lib/typescript/src/app/redux/reducers/client/client_reducers.d.ts.map +1 -1
- package/lib/typescript/src/app/redux/reducers/client/client_types.d.ts +5 -0
- package/lib/typescript/src/app/redux/reducers/client/client_types.d.ts.map +1 -1
- package/lib/typescript/src/app/redux/reducers/user/user_reducers.d.ts +3 -0
- package/lib/typescript/src/app/redux/reducers/user/user_reducers.d.ts.map +1 -0
- package/lib/typescript/src/app/redux/reducers/user/user_types.d.ts +4 -0
- package/lib/typescript/src/app/redux/reducers/user/user_types.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/AddBank.d.ts +5 -0
- package/lib/typescript/src/app/screens/AddBank.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/AddBusiness.d.ts +4 -0
- package/lib/typescript/src/app/screens/AddBusiness.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/AddItems.d.ts +5 -0
- package/lib/typescript/src/app/screens/AddItems.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/AddScreen.d.ts.map +1 -1
- package/lib/typescript/src/app/screens/All.d.ts +2 -0
- package/lib/typescript/src/app/screens/All.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/AllTransactions.d.ts +5 -0
- package/lib/typescript/src/app/screens/AllTransactions.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/Banks.d.ts.map +1 -1
- package/lib/typescript/src/app/screens/BillDetails.d.ts +6 -0
- package/lib/typescript/src/app/screens/BillDetails.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/BillHome.d.ts +5 -0
- package/lib/typescript/src/app/screens/BillHome.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/BillParent.d.ts +5 -0
- package/lib/typescript/src/app/screens/BillParent.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/BusinessDetail.d.ts +4 -0
- package/lib/typescript/src/app/screens/BusinessDetail.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/CashEntry.d.ts +5 -0
- package/lib/typescript/src/app/screens/CashEntry.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/CashEntryDetails.d.ts +5 -0
- package/lib/typescript/src/app/screens/CashEntryDetails.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/CashHome.d.ts +4 -0
- package/lib/typescript/src/app/screens/CashHome.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/CashReport.d.ts +4 -0
- package/lib/typescript/src/app/screens/CashReport.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/CashSummary.d.ts +5 -0
- package/lib/typescript/src/app/screens/CashSummary.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/CreateBill.d.ts +5 -0
- package/lib/typescript/src/app/screens/CreateBill.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/CustomerEntries.d.ts.map +1 -1
- package/lib/typescript/src/app/screens/Customers.d.ts +1 -3
- package/lib/typescript/src/app/screens/Customers.d.ts.map +1 -1
- package/lib/typescript/src/app/screens/EditCategory.d.ts +4 -0
- package/lib/typescript/src/app/screens/EditCategory.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/EditCategoryStock.d.ts +4 -0
- package/lib/typescript/src/app/screens/EditCategoryStock.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/Entry.d.ts.map +1 -1
- package/lib/typescript/src/app/screens/ExpenseDetail.d.ts +3 -0
- package/lib/typescript/src/app/screens/ExpenseDetail.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/ExpenseEntries.d.ts +5 -0
- package/lib/typescript/src/app/screens/ExpenseEntries.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/ExpenseEntry.d.ts +5 -0
- package/lib/typescript/src/app/screens/ExpenseEntry.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/ExpenseEntryDetails.d.ts +5 -0
- package/lib/typescript/src/app/screens/ExpenseEntryDetails.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/ExpenseEntryReport.d.ts +5 -0
- package/lib/typescript/src/app/screens/ExpenseEntryReport.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/ExpenseReport.d.ts +5 -0
- package/lib/typescript/src/app/screens/ExpenseReport.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/Geolocation.d.ts +5 -0
- package/lib/typescript/src/app/screens/Geolocation.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/GetStarted.d.ts +4 -0
- package/lib/typescript/src/app/screens/GetStarted.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/HomeScreen.d.ts.map +1 -1
- package/lib/typescript/src/app/screens/InBuy.d.ts +5 -0
- package/lib/typescript/src/app/screens/InBuy.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/ItemEntryDetails.d.ts +5 -0
- package/lib/typescript/src/app/screens/ItemEntryDetails.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/LowStock.d.ts +4 -0
- package/lib/typescript/src/app/screens/LowStock.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/NewPin.d.ts +5 -0
- package/lib/typescript/src/app/screens/NewPin.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/OutSell.d.ts +6 -0
- package/lib/typescript/src/app/screens/OutSell.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/POSSale.d.ts +9 -0
- package/lib/typescript/src/app/screens/POSSale.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/PinScreen.d.ts +5 -0
- package/lib/typescript/src/app/screens/PinScreen.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/PreviewBill.d.ts +5 -0
- package/lib/typescript/src/app/screens/PreviewBill.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/Profile.d.ts +5 -0
- package/lib/typescript/src/app/screens/Profile.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/RateList.d.ts +5 -0
- package/lib/typescript/src/app/screens/RateList.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/Report.d.ts +5 -0
- package/lib/typescript/src/app/screens/Report.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/SaleItemDetail.d.ts +6 -0
- package/lib/typescript/src/app/screens/SaleItemDetail.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/SaleParent.d.ts +2 -0
- package/lib/typescript/src/app/screens/SaleParent.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/SelectBank.d.ts +4 -0
- package/lib/typescript/src/app/screens/SelectBank.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/SelectBusiness.d.ts.map +1 -1
- package/lib/typescript/src/app/screens/Splash.d.ts.map +1 -1
- package/lib/typescript/src/app/screens/StockChild.d.ts +7 -0
- package/lib/typescript/src/app/screens/StockChild.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/StockDetail.d.ts +5 -0
- package/lib/typescript/src/app/screens/StockDetail.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/StockParent.d.ts +2 -0
- package/lib/typescript/src/app/screens/StockParent.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/StockReport.d.ts +5 -0
- package/lib/typescript/src/app/screens/StockReport.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/StockValue.d.ts +5 -0
- package/lib/typescript/src/app/screens/StockValue.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/Suppliers.d.ts +1 -3
- package/lib/typescript/src/app/screens/Suppliers.d.ts.map +1 -1
- package/lib/typescript/src/app/screens/TransactionDetails.d.ts.map +1 -1
- package/lib/typescript/src/app/screens/UpdateBusiness.d.ts +5 -0
- package/lib/typescript/src/app/screens/UpdateBusiness.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/VisionCamera.d.ts +2 -0
- package/lib/typescript/src/app/screens/VisionCamera.d.ts.map +1 -0
- package/lib/typescript/src/app/screens/index.d.ts +56 -11
- package/lib/typescript/src/app/screens/index.d.ts.map +1 -1
- package/lib/typescript/src/app/themes/config.d.ts +60 -8
- package/lib/typescript/src/app/themes/config.d.ts.map +1 -1
- package/package.json +6 -2
- package/src/App.js +30 -34
- package/src/app/api/api.js +11 -0
- package/src/app/assets/Icons/Bill.png +0 -0
- package/src/app/assets/Icons/Bill_Grey.png +0 -0
- package/src/app/assets/Icons/Cash.png +0 -0
- package/src/app/assets/Icons/Cash_Grey.png +0 -0
- package/src/app/assets/Icons/Expense.png +0 -0
- package/src/app/assets/Icons/Expense_Grey.png +0 -0
- package/src/app/assets/Icons/Staff.png +0 -0
- package/src/app/assets/Icons/Stock.png +0 -0
- package/src/app/assets/Icons/Stock_Grey.png +0 -0
- package/src/app/assets/Icons/abc.png +0 -0
- package/src/app/assets/Icons/bank_logo.png +0 -0
- package/src/app/assets/Icons/download_sale.png +0 -0
- package/src/app/assets/Icons/recycle-bin.png +0 -0
- package/src/app/assets/animations/recording.json +1 -0
- package/src/app/assets/animations/success.json +1 -0
- package/src/app/assets/animations/voice_visualization.json +1 -0
- package/src/app/assets/businessCards/card_11.png +0 -0
- package/src/app/assets/businessCards/card_12_bg.png +0 -0
- package/src/app/assets/businessCards/card_wall_01.jpeg +0 -0
- package/src/app/assets/businessCards/card_wall_02.jpeg +0 -0
- package/src/app/assets/businessCards/card_wall_03.jpeg +0 -0
- package/src/app/assets/businessCards/card_wall_04.jpeg +0 -0
- package/src/app/assets/businessCards/card_wall_05.jpeg +0 -0
- package/src/app/assets/businessCards/card_wall_06.jpeg +0 -0
- package/src/app/assets/businessCards/card_wall_07.jpeg +0 -0
- package/src/app/assets/businessCards/card_wall_08.jpeg +0 -0
- package/src/app/assets/illustrations/empty.png +0 -0
- package/src/app/assets/illustrations/packages.png +0 -0
- package/src/app/assets/images/Digikhata_idzarHgH0q_0.png +0 -0
- package/src/app/assets/images/bank.png +0 -0
- package/src/app/assets/images/digiLogo-main.png +0 -0
- package/src/app/assets/images/svgviewer-output.svg +57 -0
- package/src/app/assets/images/user.png +0 -0
- package/src/app/assets/oldIcons/BILL.svg +3 -0
- package/src/app/assets/oldIcons/CASH.svg +4 -0
- package/src/app/assets/oldIcons/EXPENSE.svg +6 -0
- package/src/app/assets/oldIcons/STAFF.svg +3 -0
- package/src/app/assets/oldIcons/Sale Active.svg +14 -0
- package/src/app/assets/oldIcons/Stock.svg +5 -0
- package/src/app/assets/svg/BILL.svg +4 -0
- package/src/app/assets/svg/CASH.svg +6 -0
- package/src/app/assets/svg/EXPENSE.svg +5 -0
- package/src/app/assets/svg/More Icon.svg +6 -0
- package/src/app/assets/svg/Payment Icon.svg +4 -0
- package/src/app/assets/svg/Pos.svg +13 -0
- package/src/app/assets/svg/STAFF.svg +5 -0
- package/src/app/assets/svg/Sale Active.svg +8 -0
- package/src/app/assets/svg/Sale Icon.svg +3 -0
- package/src/app/assets/svg/Stock.svg +5 -0
- package/src/app/components/AccountSetupSteps.js +58 -0
- package/src/app/components/AddItemBillParent.js +373 -0
- package/src/app/components/AdditemBillChild.js +1257 -0
- package/src/app/components/Balance.js +211 -114
- package/src/app/components/BillList.js +548 -0
- package/src/app/components/BillSetupSteps.js +56 -0
- package/src/app/components/BottomView.js +39 -0
- package/src/app/components/BusinessCards/Card1.js +160 -0
- package/src/app/components/BusinessCards/Card10.js +209 -0
- package/src/app/components/BusinessCards/Card2.js +148 -0
- package/src/app/components/BusinessCards/Card3.js +147 -0
- package/src/app/components/BusinessCards/Card4.js +147 -0
- package/src/app/components/BusinessCards/Card5.js +151 -0
- package/src/app/components/BusinessCards/Card6.js +157 -0
- package/src/app/components/BusinessCards/Card7.js +146 -0
- package/src/app/components/BusinessCards/Card8.js +170 -0
- package/src/app/components/BusinessCards/Card9.js +209 -0
- package/src/app/components/BusinessCards/index.js +10 -0
- package/src/app/components/CashEntryComponent.js +297 -0
- package/src/app/components/CityModal.js +117 -0
- package/src/app/components/CountryPhoneInput.js +373 -267
- package/src/app/components/CreateExpenseAccount.js +141 -0
- package/src/app/components/CustomStatusBar.js +33 -0
- package/src/app/components/CustomToast.js +143 -0
- package/src/app/components/DeleteBusinessModal.js +196 -0
- package/src/app/components/DiscountTaxModal.js +256 -0
- package/src/app/components/Entries.js +87 -67
- package/src/app/components/ExpenseList.js +507 -0
- package/src/app/components/ExpenseParent.js +446 -0
- package/src/app/components/FloatingInput.js +188 -0
- package/src/app/components/Header.js +121 -0
- package/src/app/components/Loader.js +35 -0
- package/src/app/components/PartyModal.js +213 -0
- package/src/app/components/PickerModal.js +176 -0
- package/src/app/components/SalePaymentModal.js +822 -0
- package/src/app/components/SearchBar.js +225 -47
- package/src/app/components/StockDetailChild.js +461 -0
- package/src/app/components/StockList.js +582 -0
- package/src/app/components/StockReportTransaction.js +192 -0
- package/src/app/components/Transaction.js +277 -86
- package/src/app/components/User.js +188 -80
- package/src/app/components/index.js +51 -13
- package/src/app/database/bill.js +305 -0
- package/src/app/database/business.js +499 -0
- package/src/app/database/cash.js +451 -0
- package/src/app/database/clients.js +1536 -43
- package/src/app/database/expense.js +439 -0
- package/src/app/database/schema.js +115 -4
- package/src/app/database/stock.js +724 -0
- package/src/app/htmlTemplates/htmlTemplates.js +2603 -0
- package/src/app/navigation/BillStack/BillStack.js +38 -0
- package/src/app/navigation/BottomTabs/BottomTabs.js +24 -19
- package/src/app/navigation/BusinessStack/BusinessStack.js +27 -0
- package/src/app/navigation/CashStack/CashStack.js +59 -0
- package/src/app/navigation/EntriesStack/EntriesStack.js +186 -0
- package/src/app/navigation/ExpenseStack.js/ExpenseStack.js +50 -0
- package/src/app/navigation/HomeStack/HomeStack.js +106 -39
- package/src/app/navigation/Root.js +16 -1
- package/src/app/navigation/SaleStack/SaleStack.js +62 -0
- package/src/app/navigation/StockStack/StockStack.js +48 -0
- package/src/app/navigation/index.js +5 -1
- package/src/app/redux/Store.js +2 -0
- package/src/app/redux/reducers/client/client_reducers.js +31 -2
- package/src/app/redux/reducers/client/client_types.js +8 -1
- package/src/app/redux/reducers/user/user_reducers.js +24 -0
- package/src/app/redux/reducers/user/user_types.js +3 -0
- package/src/app/screens/AddBank.js +353 -0
- package/src/app/screens/AddBusiness.js +1161 -0
- package/src/app/screens/AddItems.js +515 -0
- package/src/app/screens/AddScreen.js +525 -165
- package/src/app/screens/All.js +1074 -0
- package/src/app/screens/AllTransactions.js +1138 -0
- package/src/app/screens/Banks.js +1134 -133
- package/src/app/screens/BillDetails.js +989 -0
- package/src/app/screens/BillHome.js +97 -0
- package/src/app/screens/BillParent.js +419 -0
- package/src/app/screens/BusinessDetail.js +939 -0
- package/src/app/screens/CashEntry.js +2913 -0
- package/src/app/screens/CashEntryDetails.js +650 -0
- package/src/app/screens/CashHome.js +594 -0
- package/src/app/screens/CashReport.js +1658 -0
- package/src/app/screens/CashSummary.js +607 -0
- package/src/app/screens/CreateBill.js +2504 -0
- package/src/app/screens/CustomerEntries.js +1578 -350
- package/src/app/screens/Customers.js +1066 -213
- package/src/app/screens/EditCategory.js +316 -0
- package/src/app/screens/EditCategoryStock.js +320 -0
- package/src/app/screens/Entry.js +2555 -585
- package/src/app/screens/ExpenseDetail.js +14 -0
- package/src/app/screens/ExpenseEntries.js +837 -0
- package/src/app/screens/ExpenseEntry.js +2478 -0
- package/src/app/screens/ExpenseEntryDetails.js +612 -0
- package/src/app/screens/ExpenseEntryReport.js +1059 -0
- package/src/app/screens/ExpenseReport.js +1071 -0
- package/src/app/screens/Geolocation.js +435 -0
- package/src/app/screens/GetStarted.js +201 -0
- package/src/app/screens/HomeScreen.js +368 -132
- package/src/app/screens/InBuy.js +918 -0
- package/src/app/screens/ItemEntryDetails.js +582 -0
- package/src/app/screens/LowStock.js +417 -0
- package/src/app/screens/NewPin.js +225 -0
- package/src/app/screens/OutSell.js +2153 -0
- package/src/app/screens/POSSale.js +639 -0
- package/src/app/screens/PinScreen.js +720 -0
- package/src/app/screens/PreviewBill.js +302 -0
- package/src/app/screens/Profile.js +1594 -0
- package/src/app/screens/RateList.js +525 -0
- package/src/app/screens/Report.js +1401 -0
- package/src/app/screens/SaleItemDetail.js +1187 -0
- package/src/app/screens/SaleParent.js +345 -0
- package/src/app/screens/SelectBank.js +220 -0
- package/src/app/screens/SelectBusiness.js +670 -163
- package/src/app/screens/Splash.js +96 -15
- package/src/app/screens/StockChild.js +372 -0
- package/src/app/screens/StockDetail.js +758 -0
- package/src/app/screens/StockParent.js +287 -0
- package/src/app/screens/StockReport.js +1359 -0
- package/src/app/screens/StockValue.js +720 -0
- package/src/app/screens/Suppliers.js +1098 -205
- package/src/app/screens/TransactionDetails.js +1674 -180
- package/src/app/screens/UpdateBusiness.js +837 -0
- package/src/app/screens/VisionCamera.js +54 -0
- package/src/app/screens/index.js +111 -21
- package/src/app/screens/new.html +171 -0
- package/src/app/themes/config.js +431 -114
- package/src/app/utils/city.json +7265 -0
|
@@ -0,0 +1,705 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useEffect, useState } from 'react';
|
|
4
|
+
import { View, Text, StyleSheet, TouchableOpacity, Platform, FlatList, ScrollView, Image, Pressable, Modal, Alert } from 'react-native';
|
|
5
|
+
import { addCommas, Button_Text_SIZES, COLORS, FONT_BOLD, FONT_MEDIUM, FONT_NORMAL, formatDateTime, formatTime, fromJsDateToSql, HP, ICON_SIZES, TEXT_SIZES, WP } from "../themes/config.js";
|
|
6
|
+
import { Header, BillList, SearchBar, StockDetailChild, BottomView } from "../components/index.js";
|
|
7
|
+
import LinearGradient from 'react-native-linear-gradient';
|
|
8
|
+
import Ionicons from 'react-native-vector-icons/Ionicons';
|
|
9
|
+
import { getCashRegisterEntries } from "../database/cash.js";
|
|
10
|
+
import { AutoSizeText, ResizeTextMode } from 'react-native-auto-size-text';
|
|
11
|
+
import { useSelector } from 'react-redux';
|
|
12
|
+
import { DateTimePickerAndroid } from '@react-native-community/datetimepicker';
|
|
13
|
+
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
14
|
+
import { useDispatch } from 'react-redux';
|
|
15
|
+
import { Menu, MenuOptions, MenuOption, MenuTrigger } from 'react-native-popup-menu';
|
|
16
|
+
import { STATUS_BAR_COLOR } from "../redux/reducers/client/client_types.js";
|
|
17
|
+
import { getItemDetailsByItemId, getItemsByBusiness, softDeleteItem } from "../database/stock.js";
|
|
18
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
|
+
export default function StockDetail({
|
|
20
|
+
navigation,
|
|
21
|
+
route
|
|
22
|
+
}) {
|
|
23
|
+
const itemId = route?.params?.itemId;
|
|
24
|
+
const selectBusiness = useSelector(state => state.client.selected_business);
|
|
25
|
+
const dispatch = useDispatch();
|
|
26
|
+
const [CashEntries, setCashEntries] = useState([]);
|
|
27
|
+
const [Balance, setBalance] = useState('');
|
|
28
|
+
const [filteredEntries, setFilteredEntries] = useState([]);
|
|
29
|
+
const [searchText, setSearchText] = useState('');
|
|
30
|
+
const [StartDate, setStartDate] = useState('');
|
|
31
|
+
const [EndDate, setEndDate] = useState('');
|
|
32
|
+
const insets = useSafeAreaInsets();
|
|
33
|
+
const [Business, setBusiness] = useState([]);
|
|
34
|
+
const [deleteModalVisible, setDeleteModalVisible] = useState(false);
|
|
35
|
+
const [ItemDetails, setItemDetails] = useState(null);
|
|
36
|
+
const [Entries, setEntries] = useState([]);
|
|
37
|
+
const totalCashIN = CashEntries.reduce((sum, item) => sum + Number(item.cashIN || 0), 0);
|
|
38
|
+
const totalCashOUT = CashEntries.reduce((sum, item) => sum + Number(item.cashOUT || 0), 0);
|
|
39
|
+
const balance = totalCashIN - totalCashOUT;
|
|
40
|
+
useEffect(() => {
|
|
41
|
+
const unsubscribe = navigation.addListener('focus', async () => {
|
|
42
|
+
try {
|
|
43
|
+
dispatch({
|
|
44
|
+
type: STATUS_BAR_COLOR,
|
|
45
|
+
color: COLORS.primaryColor
|
|
46
|
+
});
|
|
47
|
+
await getItemDetails();
|
|
48
|
+
} catch (error) {
|
|
49
|
+
console.log('❌ Error fetching item details:', error);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
return unsubscribe;
|
|
53
|
+
}, [navigation]);
|
|
54
|
+
const showStartDate = () => {
|
|
55
|
+
DateTimePickerAndroid.open({
|
|
56
|
+
value: StartDate || new Date(),
|
|
57
|
+
onChange: (event, date) => {
|
|
58
|
+
if (event?.type == 'set') setStartDate(date);
|
|
59
|
+
},
|
|
60
|
+
mode: 'date',
|
|
61
|
+
maximumDate: EndDate || new Date()
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
const showEndDate = () => {
|
|
65
|
+
DateTimePickerAndroid.open({
|
|
66
|
+
value: EndDate || new Date(),
|
|
67
|
+
onChange: (event, date) => {
|
|
68
|
+
if (event?.type == 'set') setEndDate(date);
|
|
69
|
+
},
|
|
70
|
+
mode: 'date',
|
|
71
|
+
minimumDate: StartDate || undefined,
|
|
72
|
+
maximumDate: new Date()
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
const handleDeleteConfirm = () => {
|
|
76
|
+
// TODO: replace with real delete API / redux dispatch
|
|
77
|
+
setDeleteModalVisible(false);
|
|
78
|
+
Alert.alert('Deleted', 'Entry deleted successfully.');
|
|
79
|
+
// If you want to go back after delete:
|
|
80
|
+
// navigation.goBack();
|
|
81
|
+
};
|
|
82
|
+
const getItemDetails = async () => {
|
|
83
|
+
let all = await getItemsByBusiness(selectBusiness?.id);
|
|
84
|
+
let filtered = all.find(item => item?.id == itemId);
|
|
85
|
+
setItemDetails(filtered);
|
|
86
|
+
};
|
|
87
|
+
useEffect(() => {
|
|
88
|
+
if (!ItemDetails?.id) return;
|
|
89
|
+
getItemDetailsByItemId(ItemDetails.id).then(res => {
|
|
90
|
+
setEntries(res);
|
|
91
|
+
}).catch(error => {
|
|
92
|
+
console.log('Error fetching item details:', error);
|
|
93
|
+
});
|
|
94
|
+
}, [ItemDetails]);
|
|
95
|
+
const onDelete = () => {
|
|
96
|
+
Alert.alert('Delete Item', 'Are you sure you want to delete this item?', [{
|
|
97
|
+
text: 'Cancel',
|
|
98
|
+
onPress: () => console.log('❌ Deletion cancelled'),
|
|
99
|
+
style: 'cancel'
|
|
100
|
+
}, {
|
|
101
|
+
text: 'Delete',
|
|
102
|
+
style: 'destructive',
|
|
103
|
+
onPress: async () => {
|
|
104
|
+
try {
|
|
105
|
+
await softDeleteItem(ItemDetails?.id); // make sure itemId is defined in your component
|
|
106
|
+
console.log('✅ Item soft deleted successfully');
|
|
107
|
+
navigation.goBack(); // or reset navigation if needed
|
|
108
|
+
} catch (error) {
|
|
109
|
+
console.log('❌ Error soft deleting item:', error);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}], {
|
|
113
|
+
cancelable: true
|
|
114
|
+
});
|
|
115
|
+
};
|
|
116
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
117
|
+
style: styles.container,
|
|
118
|
+
children: [/*#__PURE__*/_jsx(LinearGradient, {
|
|
119
|
+
start: {
|
|
120
|
+
x: 0,
|
|
121
|
+
y: 0
|
|
122
|
+
},
|
|
123
|
+
end: {
|
|
124
|
+
x: 1,
|
|
125
|
+
y: 0
|
|
126
|
+
},
|
|
127
|
+
colors: [COLORS.secondaryColor, COLORS.primaryColor],
|
|
128
|
+
style: styles._linearGradient,
|
|
129
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
130
|
+
style: {
|
|
131
|
+
flexDirection: 'row',
|
|
132
|
+
width: '95%',
|
|
133
|
+
justifyContent: 'space-between',
|
|
134
|
+
alignContent: 'center',
|
|
135
|
+
alignSelf: 'center'
|
|
136
|
+
},
|
|
137
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
138
|
+
style: styles._titleMain,
|
|
139
|
+
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
140
|
+
activeOpacity: 0.8,
|
|
141
|
+
onPress: () => {
|
|
142
|
+
navigation.goBack();
|
|
143
|
+
},
|
|
144
|
+
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
145
|
+
name: 'chevron-back',
|
|
146
|
+
color: COLORS.whiteColor,
|
|
147
|
+
size: 24
|
|
148
|
+
})
|
|
149
|
+
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
150
|
+
onPress: () => {
|
|
151
|
+
navigation.navigate('AdditemBillChild', {
|
|
152
|
+
itemId
|
|
153
|
+
});
|
|
154
|
+
},
|
|
155
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
156
|
+
style: styles._title,
|
|
157
|
+
children: ItemDetails?.name
|
|
158
|
+
})
|
|
159
|
+
})]
|
|
160
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
161
|
+
style: styles.ellipsisIcon,
|
|
162
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
163
|
+
style: {
|
|
164
|
+
flexDirection: 'row',
|
|
165
|
+
gap: 10
|
|
166
|
+
},
|
|
167
|
+
children: /*#__PURE__*/_jsxs(Menu, {
|
|
168
|
+
children: [/*#__PURE__*/_jsx(MenuTrigger, {
|
|
169
|
+
customStyles: {
|
|
170
|
+
TriggerTouchableComponent: TouchableOpacity,
|
|
171
|
+
triggerWrapper: styles.triggerWrapper
|
|
172
|
+
},
|
|
173
|
+
children: /*#__PURE__*/_jsx(Ionicons, {
|
|
174
|
+
name: "ellipsis-vertical",
|
|
175
|
+
color: COLORS.whiteColor,
|
|
176
|
+
size: 20
|
|
177
|
+
})
|
|
178
|
+
}), /*#__PURE__*/_jsxs(MenuOptions, {
|
|
179
|
+
optionsContainerStyle: styles.menuContainer,
|
|
180
|
+
children: [/*#__PURE__*/_jsx(MenuOption, {
|
|
181
|
+
onSelect: () => {
|
|
182
|
+
navigation.navigate('AdditemBillChild', {
|
|
183
|
+
itemId
|
|
184
|
+
});
|
|
185
|
+
},
|
|
186
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
187
|
+
style: styles.menuText,
|
|
188
|
+
children: "Item Profile"
|
|
189
|
+
})
|
|
190
|
+
}), /*#__PURE__*/_jsx(MenuOption, {
|
|
191
|
+
onSelect: () => navigation.navigate('StockReport', {
|
|
192
|
+
itemId
|
|
193
|
+
}),
|
|
194
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
195
|
+
style: styles.menuText,
|
|
196
|
+
children: "View Report"
|
|
197
|
+
})
|
|
198
|
+
}), /*#__PURE__*/_jsx(MenuOption, {
|
|
199
|
+
onSelect: () => onDelete(),
|
|
200
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
201
|
+
style: styles.menuText,
|
|
202
|
+
children: "Delete Item"
|
|
203
|
+
})
|
|
204
|
+
})]
|
|
205
|
+
})]
|
|
206
|
+
})
|
|
207
|
+
})
|
|
208
|
+
})]
|
|
209
|
+
})
|
|
210
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
211
|
+
style: styles.summaryCard,
|
|
212
|
+
children: [/*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
213
|
+
style: {
|
|
214
|
+
flexDirection: 'column',
|
|
215
|
+
gap: 2
|
|
216
|
+
},
|
|
217
|
+
onPress: () => {
|
|
218
|
+
console.log({
|
|
219
|
+
itemId
|
|
220
|
+
});
|
|
221
|
+
navigation.navigate('StockReport', {
|
|
222
|
+
itemId
|
|
223
|
+
});
|
|
224
|
+
},
|
|
225
|
+
children: [/*#__PURE__*/_jsxs(Text, {
|
|
226
|
+
style: [styles.sectionLabel, {
|
|
227
|
+
color: Number(ItemDetails?.qty) > 0 ? COLORS.greenColor : Number(ItemDetails?.qty) < 0 ? COLORS.redColor : COLORS.primaryColor,
|
|
228
|
+
fontFamily: FONT_MEDIUM
|
|
229
|
+
}],
|
|
230
|
+
children: [Math.abs(Number(ItemDetails?.qty)), " ", ItemDetails?.unit]
|
|
231
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
232
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
233
|
+
style: [styles.sectionLabelFooter, {
|
|
234
|
+
color: COLORS.blackColor,
|
|
235
|
+
fontFamily: FONT_NORMAL
|
|
236
|
+
}],
|
|
237
|
+
children: "Stock In Hand"
|
|
238
|
+
})
|
|
239
|
+
})]
|
|
240
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
241
|
+
style: {
|
|
242
|
+
borderLeftColor: COLORS.borderColor,
|
|
243
|
+
borderLeftWidth: 1,
|
|
244
|
+
height: 50,
|
|
245
|
+
justifyContent: 'center',
|
|
246
|
+
paddingLeft: 20
|
|
247
|
+
}
|
|
248
|
+
}), /*#__PURE__*/_jsxs(TouchableOpacity, {
|
|
249
|
+
style: {
|
|
250
|
+
flexDirection: 'column',
|
|
251
|
+
gap: 2
|
|
252
|
+
},
|
|
253
|
+
onPress: () => {
|
|
254
|
+
navigation.navigate('StockReport', {
|
|
255
|
+
itemId
|
|
256
|
+
});
|
|
257
|
+
},
|
|
258
|
+
children: [/*#__PURE__*/_jsxs(Text, {
|
|
259
|
+
style: [styles.sectionLabel, {
|
|
260
|
+
color: Number(ItemDetails?.qty) * Number(ItemDetails?.costPrice) > 0 ? COLORS.greenColor : Number(ItemDetails?.qty) * Number(ItemDetails?.costPrice) < 0 ? COLORS.redColor : COLORS.primaryColor,
|
|
261
|
+
fontFamily: FONT_MEDIUM
|
|
262
|
+
}],
|
|
263
|
+
children: ["Rs", ' ', addCommas(Math.abs(Number(ItemDetails?.qty) * Number(ItemDetails?.costPrice)))]
|
|
264
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
265
|
+
onPress: () => {
|
|
266
|
+
navigation.navigate('RateList');
|
|
267
|
+
},
|
|
268
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
269
|
+
style: [styles.sectionLabelFooter, {
|
|
270
|
+
color: COLORS.blackColor,
|
|
271
|
+
fontFamily: FONT_NORMAL
|
|
272
|
+
}],
|
|
273
|
+
children: "Stock Value"
|
|
274
|
+
})
|
|
275
|
+
})]
|
|
276
|
+
})]
|
|
277
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
278
|
+
style: styles.listContainer,
|
|
279
|
+
children: /*#__PURE__*/_jsx(StockDetailChild, {
|
|
280
|
+
Entries: Entries
|
|
281
|
+
})
|
|
282
|
+
}), /*#__PURE__*/_jsxs(BottomView, {
|
|
283
|
+
style: styles.bottomBar,
|
|
284
|
+
children: [/*#__PURE__*/_jsx(TouchableOpacity, {
|
|
285
|
+
style: [styles.totalButton, {
|
|
286
|
+
backgroundColor: COLORS.greenColor,
|
|
287
|
+
borderColor: COLORS.greenColor
|
|
288
|
+
}],
|
|
289
|
+
onPress: () => {
|
|
290
|
+
navigation.navigate('OutSell', {
|
|
291
|
+
type: 'IN',
|
|
292
|
+
itemId
|
|
293
|
+
});
|
|
294
|
+
},
|
|
295
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
296
|
+
style: styles.totalText,
|
|
297
|
+
children: "IN / BUY"
|
|
298
|
+
})
|
|
299
|
+
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
300
|
+
style: [styles.totalButton, {
|
|
301
|
+
backgroundColor: COLORS.redColor,
|
|
302
|
+
borderColor: COLORS.redColor
|
|
303
|
+
}],
|
|
304
|
+
onPress: () => {
|
|
305
|
+
navigation.navigate('OutSell', {
|
|
306
|
+
type: 'OUT',
|
|
307
|
+
itemId
|
|
308
|
+
});
|
|
309
|
+
},
|
|
310
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
311
|
+
style: styles.totalText,
|
|
312
|
+
children: "OUT / SELL"
|
|
313
|
+
})
|
|
314
|
+
})]
|
|
315
|
+
}), /*#__PURE__*/_jsxs(Modal, {
|
|
316
|
+
animationType: "fade",
|
|
317
|
+
transparent: true,
|
|
318
|
+
visible: deleteModalVisible,
|
|
319
|
+
onRequestClose: () => setDeleteModalVisible(false),
|
|
320
|
+
children: [/*#__PURE__*/_jsx(Pressable, {
|
|
321
|
+
style: styles.modalBackdrop,
|
|
322
|
+
onPress: () => setDeleteModalVisible(false)
|
|
323
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
324
|
+
style: styles.modalCentered,
|
|
325
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
326
|
+
style: styles.modalBox,
|
|
327
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
328
|
+
style: styles.modalTitle,
|
|
329
|
+
children: "Delete Entry"
|
|
330
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
331
|
+
style: styles.modalSubtitle,
|
|
332
|
+
children: "Are you sure you want to delete this entry?"
|
|
333
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
334
|
+
style: styles.modalBtns,
|
|
335
|
+
children: [/*#__PURE__*/_jsx(Pressable, {
|
|
336
|
+
style: [styles.modalBtn, styles.modalCancel],
|
|
337
|
+
onPress: () => setDeleteModalVisible(false),
|
|
338
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
339
|
+
style: styles.modalCancelText,
|
|
340
|
+
children: "Cancel"
|
|
341
|
+
})
|
|
342
|
+
}), /*#__PURE__*/_jsx(Pressable, {
|
|
343
|
+
style: [styles.modalBtn, styles.modalOk],
|
|
344
|
+
onPress: handleDeleteConfirm,
|
|
345
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
346
|
+
style: styles.modalOkText,
|
|
347
|
+
children: "OK"
|
|
348
|
+
})
|
|
349
|
+
})]
|
|
350
|
+
})]
|
|
351
|
+
})
|
|
352
|
+
})]
|
|
353
|
+
})]
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
const styles = StyleSheet.create({
|
|
357
|
+
container: {
|
|
358
|
+
flex: 1,
|
|
359
|
+
backgroundColor: COLORS.backgroundColor,
|
|
360
|
+
alignItems: 'center'
|
|
361
|
+
// marginTop: 30,
|
|
362
|
+
},
|
|
363
|
+
_headerMain: {
|
|
364
|
+
width: WP(100),
|
|
365
|
+
height: 100
|
|
366
|
+
// backgroundColor:COLORS.primaryColor,
|
|
367
|
+
// justifyContent: 'center',
|
|
368
|
+
// alignItems: 'center',
|
|
369
|
+
// position: "absolute",
|
|
370
|
+
},
|
|
371
|
+
gradientHeader: {
|
|
372
|
+
width: '100%'
|
|
373
|
+
},
|
|
374
|
+
summaryCard: {
|
|
375
|
+
width: '95%',
|
|
376
|
+
backgroundColor: COLORS.whiteColor,
|
|
377
|
+
borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
378
|
+
marginTop: -35,
|
|
379
|
+
// paddingVertical: 15,
|
|
380
|
+
height: 60,
|
|
381
|
+
paddingHorizontal: 20,
|
|
382
|
+
shadowColor: '#000',
|
|
383
|
+
shadowOffset: {
|
|
384
|
+
width: 0,
|
|
385
|
+
height: 2
|
|
386
|
+
},
|
|
387
|
+
shadowOpacity: 0.2,
|
|
388
|
+
shadowRadius: 3.84,
|
|
389
|
+
elevation: 4,
|
|
390
|
+
flexDirection: 'row',
|
|
391
|
+
justifyContent: 'space-between',
|
|
392
|
+
alignItems: 'center'
|
|
393
|
+
},
|
|
394
|
+
sectionLabel: {
|
|
395
|
+
fontFamily: FONT_MEDIUM,
|
|
396
|
+
fontSize: 14
|
|
397
|
+
// width: '95%',
|
|
398
|
+
},
|
|
399
|
+
sectionLabelFooter: {
|
|
400
|
+
fontFamily: FONT_MEDIUM,
|
|
401
|
+
fontSize: 10
|
|
402
|
+
},
|
|
403
|
+
sectionValue: {
|
|
404
|
+
fontFamily: FONT_MEDIUM,
|
|
405
|
+
fontSize: 15
|
|
406
|
+
},
|
|
407
|
+
dateFilterContainer: {
|
|
408
|
+
// flexDirection: 'column',
|
|
409
|
+
width: '43.5%',
|
|
410
|
+
backgroundColor: COLORS.whiteColor,
|
|
411
|
+
borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
412
|
+
marginTop: 10,
|
|
413
|
+
paddingVertical: 10,
|
|
414
|
+
justifyContent: 'space-around',
|
|
415
|
+
alignItems: 'center',
|
|
416
|
+
elevation: 3
|
|
417
|
+
},
|
|
418
|
+
dateFilterContainerParent: {
|
|
419
|
+
flexDirection: 'row',
|
|
420
|
+
width: '100%',
|
|
421
|
+
// backgroundColor: COLORS.whiteColor,
|
|
422
|
+
// borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
423
|
+
// marginTop: 10,
|
|
424
|
+
// paddingVertical: 10,
|
|
425
|
+
// justifyContent: 'space-around',
|
|
426
|
+
justifyContent: 'center',
|
|
427
|
+
gap: 10,
|
|
428
|
+
alignItems: 'center'
|
|
429
|
+
// elevation: 3,
|
|
430
|
+
},
|
|
431
|
+
dateBtn: {
|
|
432
|
+
flexDirection: 'row',
|
|
433
|
+
alignItems: 'center',
|
|
434
|
+
gap: 6
|
|
435
|
+
},
|
|
436
|
+
dateBtnText: {
|
|
437
|
+
color: COLORS.primaryColor,
|
|
438
|
+
fontFamily: FONT_NORMAL,
|
|
439
|
+
fontSize: 12
|
|
440
|
+
},
|
|
441
|
+
entriesSummary: {
|
|
442
|
+
width: '90%',
|
|
443
|
+
flexDirection: 'row',
|
|
444
|
+
justifyContent: 'space-between',
|
|
445
|
+
alignItems: 'center',
|
|
446
|
+
marginTop: 15,
|
|
447
|
+
borderBottomWidth: 0.7,
|
|
448
|
+
borderBottomColor: COLORS.darkGrey,
|
|
449
|
+
paddingBottom: 8
|
|
450
|
+
},
|
|
451
|
+
summaryRow: {
|
|
452
|
+
width: '50%'
|
|
453
|
+
},
|
|
454
|
+
summaryRight: {
|
|
455
|
+
alignItems: 'flex-end',
|
|
456
|
+
width: '25%'
|
|
457
|
+
},
|
|
458
|
+
summaryDate: {
|
|
459
|
+
color: COLORS.blackColor,
|
|
460
|
+
fontFamily: FONT_MEDIUM,
|
|
461
|
+
fontSize: 14
|
|
462
|
+
},
|
|
463
|
+
summarySub: {
|
|
464
|
+
color: COLORS.darkGrey,
|
|
465
|
+
fontFamily: FONT_NORMAL,
|
|
466
|
+
fontSize: 12
|
|
467
|
+
},
|
|
468
|
+
listContainer: {
|
|
469
|
+
flex: 1,
|
|
470
|
+
width: '100%',
|
|
471
|
+
marginTop: 15,
|
|
472
|
+
alignItems: 'center'
|
|
473
|
+
},
|
|
474
|
+
footer: {
|
|
475
|
+
width: '90%',
|
|
476
|
+
paddingVertical: 15,
|
|
477
|
+
justifyContent: 'center',
|
|
478
|
+
alignItems: 'center'
|
|
479
|
+
},
|
|
480
|
+
createBtn: {
|
|
481
|
+
width: '100%',
|
|
482
|
+
height: 50,
|
|
483
|
+
backgroundColor: COLORS.primaryColor,
|
|
484
|
+
borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
485
|
+
justifyContent: 'center',
|
|
486
|
+
alignItems: 'center',
|
|
487
|
+
flexDirection: 'row'
|
|
488
|
+
},
|
|
489
|
+
createBtnText: {
|
|
490
|
+
color: COLORS.whiteColor,
|
|
491
|
+
fontFamily: FONT_NORMAL,
|
|
492
|
+
fontSize: Button_Text_SIZES.Button_Text
|
|
493
|
+
},
|
|
494
|
+
_floatingBtn: {
|
|
495
|
+
// width: WP(42),
|
|
496
|
+
height: 45,
|
|
497
|
+
position: 'absolute',
|
|
498
|
+
right: 12,
|
|
499
|
+
bottom: 70,
|
|
500
|
+
borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
501
|
+
overflow: 'hidden',
|
|
502
|
+
shadowColor: '#000',
|
|
503
|
+
shadowOffset: {
|
|
504
|
+
width: 0,
|
|
505
|
+
height: 2
|
|
506
|
+
},
|
|
507
|
+
shadowOpacity: 0.2,
|
|
508
|
+
shadowRadius: 3.84,
|
|
509
|
+
elevation: 5
|
|
510
|
+
},
|
|
511
|
+
_linearGradient: {
|
|
512
|
+
width: WP(100),
|
|
513
|
+
height: 100,
|
|
514
|
+
alignItems: 'center',
|
|
515
|
+
justifyContent: 'center',
|
|
516
|
+
flexDirection: 'row'
|
|
517
|
+
},
|
|
518
|
+
_titleMain: {
|
|
519
|
+
// width: WP(94),
|
|
520
|
+
height: 30,
|
|
521
|
+
// backgroundColor: "red",
|
|
522
|
+
flexDirection: 'row',
|
|
523
|
+
// alignItems: 'center',
|
|
524
|
+
marginBottom: 30
|
|
525
|
+
// marginTop: 10,
|
|
526
|
+
},
|
|
527
|
+
ellipsisIcon: {
|
|
528
|
+
marginBottom: 30
|
|
529
|
+
// marginTop: 10,
|
|
530
|
+
},
|
|
531
|
+
_title: {
|
|
532
|
+
color: COLORS.whiteColor,
|
|
533
|
+
fontFamily: FONT_MEDIUM,
|
|
534
|
+
fontSize: 18,
|
|
535
|
+
marginLeft: 15
|
|
536
|
+
},
|
|
537
|
+
_fabTxt: {
|
|
538
|
+
color: COLORS.whiteColor,
|
|
539
|
+
fontSize: TEXT_SIZES.FLOATING_BUTTON_TEXT,
|
|
540
|
+
fontFamily: FONT_MEDIUM,
|
|
541
|
+
paddingRight: 10
|
|
542
|
+
},
|
|
543
|
+
_grdientContainer: {
|
|
544
|
+
width: '100%',
|
|
545
|
+
height: HP(6)
|
|
546
|
+
// alignItems: 'center',
|
|
547
|
+
// marginRight: 6
|
|
548
|
+
},
|
|
549
|
+
bottomBar: {
|
|
550
|
+
position: 'absolute',
|
|
551
|
+
bottom: 0,
|
|
552
|
+
width: '100%',
|
|
553
|
+
left: 0,
|
|
554
|
+
right: 0,
|
|
555
|
+
backgroundColor: '#fff',
|
|
556
|
+
borderTopLeftRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
557
|
+
borderTopRightRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
558
|
+
alignItems: 'center',
|
|
559
|
+
justifyContent: 'center',
|
|
560
|
+
flexDirection: 'row',
|
|
561
|
+
paddingVertical: 10,
|
|
562
|
+
elevation: 10,
|
|
563
|
+
gap: 15,
|
|
564
|
+
alignSelf: 'center',
|
|
565
|
+
alignContent: 'center'
|
|
566
|
+
},
|
|
567
|
+
totalButton: {
|
|
568
|
+
borderWidth: 1,
|
|
569
|
+
marginBottom: 10,
|
|
570
|
+
borderColor: '#FF3B30',
|
|
571
|
+
backgroundColor: COLORS.primaryColor,
|
|
572
|
+
borderRadius: 100,
|
|
573
|
+
width: '50%',
|
|
574
|
+
height: 50,
|
|
575
|
+
alignItems: 'center',
|
|
576
|
+
justifyContent: 'center'
|
|
577
|
+
},
|
|
578
|
+
totalText: {
|
|
579
|
+
color: COLORS.whiteColor,
|
|
580
|
+
fontFamily: FONT_NORMAL,
|
|
581
|
+
fontSize: 13
|
|
582
|
+
},
|
|
583
|
+
_tableHeader: {
|
|
584
|
+
width: '100%',
|
|
585
|
+
// height: 30,
|
|
586
|
+
backgroundColor: COLORS.whiteColor,
|
|
587
|
+
flexDirection: 'row',
|
|
588
|
+
// marginTop: 10,
|
|
589
|
+
borderBottomColor: COLORS.darkGrey,
|
|
590
|
+
borderBottomWidth: 0.7,
|
|
591
|
+
paddingHorizontal: 10
|
|
592
|
+
},
|
|
593
|
+
_headerCell: {
|
|
594
|
+
width: '30%',
|
|
595
|
+
// height: "100%",
|
|
596
|
+
// backgroundColor: "pink",
|
|
597
|
+
justifyContent: 'center',
|
|
598
|
+
paddingLeft: 5,
|
|
599
|
+
paddingVertical: 5,
|
|
600
|
+
gap: 3
|
|
601
|
+
},
|
|
602
|
+
_headerCellText: {
|
|
603
|
+
color: COLORS.blackColor,
|
|
604
|
+
opacity: 0.5,
|
|
605
|
+
fontFamily: FONT_MEDIUM,
|
|
606
|
+
fontSize: 10
|
|
607
|
+
},
|
|
608
|
+
_tableCal: {
|
|
609
|
+
color: COLORS.blackColor,
|
|
610
|
+
fontFamily: FONT_NORMAL,
|
|
611
|
+
fontSize: 10
|
|
612
|
+
},
|
|
613
|
+
_inputMain: {
|
|
614
|
+
// width: '90%',
|
|
615
|
+
// marginVertical: 20,
|
|
616
|
+
},
|
|
617
|
+
/// Menu style
|
|
618
|
+
|
|
619
|
+
triggerWrapper: {
|
|
620
|
+
padding: 6,
|
|
621
|
+
flexDirection: 'row',
|
|
622
|
+
gap: WP(5)
|
|
623
|
+
},
|
|
624
|
+
menuContainer: {
|
|
625
|
+
borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
626
|
+
// paddingVertical: 5,
|
|
627
|
+
backgroundColor: '#fff',
|
|
628
|
+
elevation: 6,
|
|
629
|
+
shadowColor: '#000',
|
|
630
|
+
shadowOpacity: 0.15,
|
|
631
|
+
shadowRadius: 4,
|
|
632
|
+
shadowOffset: {
|
|
633
|
+
width: 0,
|
|
634
|
+
height: 2
|
|
635
|
+
},
|
|
636
|
+
minWidth: 160
|
|
637
|
+
},
|
|
638
|
+
menuText: {
|
|
639
|
+
fontSize: 15,
|
|
640
|
+
paddingVertical: 5,
|
|
641
|
+
paddingHorizontal: 14,
|
|
642
|
+
color: COLORS.blackColor
|
|
643
|
+
},
|
|
644
|
+
/// Delete Modal styling
|
|
645
|
+
|
|
646
|
+
modalBackdrop: {
|
|
647
|
+
flex: 1,
|
|
648
|
+
backgroundColor: '#00000055'
|
|
649
|
+
},
|
|
650
|
+
modalCentered: {
|
|
651
|
+
position: 'absolute',
|
|
652
|
+
left: 20,
|
|
653
|
+
right: 20,
|
|
654
|
+
top: '40%',
|
|
655
|
+
transform: [{
|
|
656
|
+
translateY: -50
|
|
657
|
+
}],
|
|
658
|
+
alignItems: 'center'
|
|
659
|
+
},
|
|
660
|
+
modalBox: {
|
|
661
|
+
width: '100%',
|
|
662
|
+
backgroundColor: '#fff',
|
|
663
|
+
borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
664
|
+
padding: 20,
|
|
665
|
+
alignItems: 'center',
|
|
666
|
+
elevation: 6
|
|
667
|
+
},
|
|
668
|
+
modalTitle: {
|
|
669
|
+
fontSize: 18,
|
|
670
|
+
fontWeight: '800',
|
|
671
|
+
marginBottom: 6
|
|
672
|
+
},
|
|
673
|
+
modalSubtitle: {
|
|
674
|
+
color: '#666',
|
|
675
|
+
textAlign: 'center',
|
|
676
|
+
marginBottom: 18
|
|
677
|
+
},
|
|
678
|
+
modalBtns: {
|
|
679
|
+
flexDirection: 'row',
|
|
680
|
+
width: '100%',
|
|
681
|
+
justifyContent: 'space-between'
|
|
682
|
+
},
|
|
683
|
+
modalBtn: {
|
|
684
|
+
flex: 1,
|
|
685
|
+
paddingVertical: 12,
|
|
686
|
+
borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
687
|
+
alignItems: 'center',
|
|
688
|
+
marginHorizontal: 6
|
|
689
|
+
},
|
|
690
|
+
modalCancel: {
|
|
691
|
+
backgroundColor: '#f3f3f3'
|
|
692
|
+
},
|
|
693
|
+
modalOk: {
|
|
694
|
+
backgroundColor: '#e53935'
|
|
695
|
+
},
|
|
696
|
+
modalCancelText: {
|
|
697
|
+
color: '#333',
|
|
698
|
+
fontWeight: '700'
|
|
699
|
+
},
|
|
700
|
+
modalOkText: {
|
|
701
|
+
color: '#fff',
|
|
702
|
+
fontWeight: '700'
|
|
703
|
+
}
|
|
704
|
+
});
|
|
705
|
+
//# sourceMappingURL=StockDetail.js.map
|