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,758 @@
|
|
|
1
|
+
import React, { useEffect, useState } from 'react';
|
|
2
|
+
import {
|
|
3
|
+
View,
|
|
4
|
+
Text,
|
|
5
|
+
StyleSheet,
|
|
6
|
+
TouchableOpacity,
|
|
7
|
+
Platform,
|
|
8
|
+
FlatList,
|
|
9
|
+
ScrollView,
|
|
10
|
+
Image,
|
|
11
|
+
Pressable,
|
|
12
|
+
Modal,
|
|
13
|
+
Alert,
|
|
14
|
+
} from 'react-native';
|
|
15
|
+
import {
|
|
16
|
+
addCommas,
|
|
17
|
+
Button_Text_SIZES,
|
|
18
|
+
COLORS,
|
|
19
|
+
FONT_BOLD,
|
|
20
|
+
FONT_MEDIUM,
|
|
21
|
+
FONT_NORMAL,
|
|
22
|
+
formatDateTime,
|
|
23
|
+
formatTime,
|
|
24
|
+
fromJsDateToSql,
|
|
25
|
+
HP,
|
|
26
|
+
ICON_SIZES,
|
|
27
|
+
TEXT_SIZES,
|
|
28
|
+
WP,
|
|
29
|
+
} from '../themes/config';
|
|
30
|
+
import {
|
|
31
|
+
Header,
|
|
32
|
+
BillList,
|
|
33
|
+
SearchBar,
|
|
34
|
+
StockDetailChild,
|
|
35
|
+
BottomView,
|
|
36
|
+
} from '../components';
|
|
37
|
+
import LinearGradient from 'react-native-linear-gradient';
|
|
38
|
+
import Ionicons from 'react-native-vector-icons/Ionicons';
|
|
39
|
+
import { getCashRegisterEntries } from '../database/cash';
|
|
40
|
+
import { AutoSizeText, ResizeTextMode } from 'react-native-auto-size-text';
|
|
41
|
+
import { useSelector } from 'react-redux';
|
|
42
|
+
import { DateTimePickerAndroid } from '@react-native-community/datetimepicker';
|
|
43
|
+
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
44
|
+
import { useDispatch } from 'react-redux';
|
|
45
|
+
|
|
46
|
+
import {
|
|
47
|
+
Menu,
|
|
48
|
+
MenuOptions,
|
|
49
|
+
MenuOption,
|
|
50
|
+
MenuTrigger,
|
|
51
|
+
} from 'react-native-popup-menu';
|
|
52
|
+
import { STATUS_BAR_COLOR } from '../redux/reducers/client/client_types';
|
|
53
|
+
import {
|
|
54
|
+
getItemDetailsByItemId,
|
|
55
|
+
getItemsByBusiness,
|
|
56
|
+
softDeleteItem,
|
|
57
|
+
} from '../database/stock';
|
|
58
|
+
|
|
59
|
+
export default function StockDetail({ navigation, route }) {
|
|
60
|
+
const itemId = route?.params?.itemId;
|
|
61
|
+
const selectBusiness = useSelector((state) => state.client.selected_business);
|
|
62
|
+
const dispatch = useDispatch();
|
|
63
|
+
|
|
64
|
+
const [CashEntries, setCashEntries] = useState([]);
|
|
65
|
+
const [Balance, setBalance] = useState('');
|
|
66
|
+
const [filteredEntries, setFilteredEntries] = useState([]);
|
|
67
|
+
const [searchText, setSearchText] = useState('');
|
|
68
|
+
const [StartDate, setStartDate] = useState('');
|
|
69
|
+
const [EndDate, setEndDate] = useState('');
|
|
70
|
+
const insets = useSafeAreaInsets();
|
|
71
|
+
const [Business, setBusiness] = useState([]);
|
|
72
|
+
const [deleteModalVisible, setDeleteModalVisible] = useState(false);
|
|
73
|
+
const [ItemDetails, setItemDetails] = useState(null);
|
|
74
|
+
const [Entries, setEntries] = useState([]);
|
|
75
|
+
|
|
76
|
+
const totalCashIN = CashEntries.reduce(
|
|
77
|
+
(sum, item) => sum + Number(item.cashIN || 0),
|
|
78
|
+
0
|
|
79
|
+
);
|
|
80
|
+
|
|
81
|
+
const totalCashOUT = CashEntries.reduce(
|
|
82
|
+
(sum, item) => sum + Number(item.cashOUT || 0),
|
|
83
|
+
0
|
|
84
|
+
);
|
|
85
|
+
|
|
86
|
+
const balance = totalCashIN - totalCashOUT;
|
|
87
|
+
|
|
88
|
+
useEffect(() => {
|
|
89
|
+
const unsubscribe = navigation.addListener('focus', async () => {
|
|
90
|
+
try {
|
|
91
|
+
dispatch({
|
|
92
|
+
type: STATUS_BAR_COLOR,
|
|
93
|
+
color: COLORS.primaryColor,
|
|
94
|
+
});
|
|
95
|
+
await getItemDetails();
|
|
96
|
+
} catch (error) {
|
|
97
|
+
console.log('❌ Error fetching item details:', error);
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
return unsubscribe;
|
|
102
|
+
}, [navigation]);
|
|
103
|
+
|
|
104
|
+
const showStartDate = () => {
|
|
105
|
+
DateTimePickerAndroid.open({
|
|
106
|
+
value: StartDate || new Date(),
|
|
107
|
+
onChange: (event, date) => {
|
|
108
|
+
if (event?.type == 'set') setStartDate(date);
|
|
109
|
+
},
|
|
110
|
+
mode: 'date',
|
|
111
|
+
maximumDate: EndDate || new Date(),
|
|
112
|
+
});
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
const showEndDate = () => {
|
|
116
|
+
DateTimePickerAndroid.open({
|
|
117
|
+
value: EndDate || new Date(),
|
|
118
|
+
onChange: (event, date) => {
|
|
119
|
+
if (event?.type == 'set') setEndDate(date);
|
|
120
|
+
},
|
|
121
|
+
mode: 'date',
|
|
122
|
+
minimumDate: StartDate || undefined,
|
|
123
|
+
maximumDate: new Date(),
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
const handleDeleteConfirm = () => {
|
|
128
|
+
// TODO: replace with real delete API / redux dispatch
|
|
129
|
+
setDeleteModalVisible(false);
|
|
130
|
+
Alert.alert('Deleted', 'Entry deleted successfully.');
|
|
131
|
+
// If you want to go back after delete:
|
|
132
|
+
// navigation.goBack();
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
const getItemDetails = async () => {
|
|
136
|
+
let all = await getItemsByBusiness(selectBusiness?.id);
|
|
137
|
+
let filtered = all.find((item) => item?.id == itemId);
|
|
138
|
+
setItemDetails(filtered);
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
useEffect(() => {
|
|
142
|
+
if (!ItemDetails?.id) return;
|
|
143
|
+
|
|
144
|
+
getItemDetailsByItemId(ItemDetails.id)
|
|
145
|
+
.then((res) => {
|
|
146
|
+
setEntries(res);
|
|
147
|
+
})
|
|
148
|
+
.catch((error) => {
|
|
149
|
+
console.log('Error fetching item details:', error);
|
|
150
|
+
});
|
|
151
|
+
}, [ItemDetails]);
|
|
152
|
+
|
|
153
|
+
const onDelete = () => {
|
|
154
|
+
Alert.alert(
|
|
155
|
+
'Delete Item',
|
|
156
|
+
'Are you sure you want to delete this item?',
|
|
157
|
+
[
|
|
158
|
+
{
|
|
159
|
+
text: 'Cancel',
|
|
160
|
+
onPress: () => console.log('❌ Deletion cancelled'),
|
|
161
|
+
style: 'cancel',
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
text: 'Delete',
|
|
165
|
+
style: 'destructive',
|
|
166
|
+
onPress: async () => {
|
|
167
|
+
try {
|
|
168
|
+
await softDeleteItem(ItemDetails?.id); // make sure itemId is defined in your component
|
|
169
|
+
console.log('✅ Item soft deleted successfully');
|
|
170
|
+
navigation.goBack(); // or reset navigation if needed
|
|
171
|
+
} catch (error) {
|
|
172
|
+
console.log('❌ Error soft deleting item:', error);
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
{ cancelable: true }
|
|
178
|
+
);
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
return (
|
|
182
|
+
<View style={styles.container}>
|
|
183
|
+
{/* Summary Card */}
|
|
184
|
+
<LinearGradient
|
|
185
|
+
start={{ x: 0, y: 0 }}
|
|
186
|
+
end={{ x: 1, y: 0 }}
|
|
187
|
+
colors={[COLORS.secondaryColor, COLORS.primaryColor]}
|
|
188
|
+
style={styles._linearGradient}
|
|
189
|
+
>
|
|
190
|
+
<View
|
|
191
|
+
style={{
|
|
192
|
+
flexDirection: 'row',
|
|
193
|
+
width: '95%',
|
|
194
|
+
justifyContent: 'space-between',
|
|
195
|
+
alignContent: 'center',
|
|
196
|
+
alignSelf: 'center',
|
|
197
|
+
}}
|
|
198
|
+
>
|
|
199
|
+
<View style={styles._titleMain}>
|
|
200
|
+
<TouchableOpacity
|
|
201
|
+
activeOpacity={0.8}
|
|
202
|
+
onPress={() => {
|
|
203
|
+
navigation.goBack();
|
|
204
|
+
}}
|
|
205
|
+
>
|
|
206
|
+
<Ionicons
|
|
207
|
+
name={'chevron-back'}
|
|
208
|
+
color={COLORS.whiteColor}
|
|
209
|
+
size={24}
|
|
210
|
+
/>
|
|
211
|
+
</TouchableOpacity>
|
|
212
|
+
|
|
213
|
+
<TouchableOpacity
|
|
214
|
+
onPress={() => {
|
|
215
|
+
navigation.navigate('AdditemBillChild', { itemId });
|
|
216
|
+
}}
|
|
217
|
+
>
|
|
218
|
+
<Text style={styles._title}>{ItemDetails?.name}</Text>
|
|
219
|
+
</TouchableOpacity>
|
|
220
|
+
</View>
|
|
221
|
+
<View style={styles.ellipsisIcon}>
|
|
222
|
+
<View style={{ flexDirection: 'row', gap: 10 }}>
|
|
223
|
+
<Menu>
|
|
224
|
+
<MenuTrigger
|
|
225
|
+
customStyles={{
|
|
226
|
+
TriggerTouchableComponent: TouchableOpacity,
|
|
227
|
+
triggerWrapper: styles.triggerWrapper,
|
|
228
|
+
}}
|
|
229
|
+
>
|
|
230
|
+
<Ionicons
|
|
231
|
+
name="ellipsis-vertical"
|
|
232
|
+
color={COLORS.whiteColor}
|
|
233
|
+
size={20}
|
|
234
|
+
/>
|
|
235
|
+
</MenuTrigger>
|
|
236
|
+
|
|
237
|
+
<MenuOptions optionsContainerStyle={styles.menuContainer}>
|
|
238
|
+
<MenuOption
|
|
239
|
+
onSelect={() => {
|
|
240
|
+
navigation.navigate('AdditemBillChild', { itemId });
|
|
241
|
+
}}
|
|
242
|
+
>
|
|
243
|
+
<Text style={styles.menuText}>Item Profile</Text>
|
|
244
|
+
</MenuOption>
|
|
245
|
+
<MenuOption
|
|
246
|
+
onSelect={() =>
|
|
247
|
+
navigation.navigate('StockReport', { itemId })
|
|
248
|
+
}
|
|
249
|
+
>
|
|
250
|
+
<Text style={styles.menuText}>View Report</Text>
|
|
251
|
+
</MenuOption>
|
|
252
|
+
<MenuOption onSelect={() => onDelete()}>
|
|
253
|
+
<Text style={styles.menuText}>Delete Item</Text>
|
|
254
|
+
</MenuOption>
|
|
255
|
+
</MenuOptions>
|
|
256
|
+
</Menu>
|
|
257
|
+
</View>
|
|
258
|
+
</View>
|
|
259
|
+
</View>
|
|
260
|
+
</LinearGradient>
|
|
261
|
+
|
|
262
|
+
<View style={styles.summaryCard}>
|
|
263
|
+
<TouchableOpacity
|
|
264
|
+
style={{ flexDirection: 'column', gap: 2 }}
|
|
265
|
+
onPress={() => {
|
|
266
|
+
console.log({ itemId });
|
|
267
|
+
navigation.navigate('StockReport', { itemId });
|
|
268
|
+
}}
|
|
269
|
+
>
|
|
270
|
+
<Text
|
|
271
|
+
style={[
|
|
272
|
+
styles.sectionLabel,
|
|
273
|
+
{
|
|
274
|
+
color:
|
|
275
|
+
Number(ItemDetails?.qty) > 0
|
|
276
|
+
? COLORS.greenColor
|
|
277
|
+
: Number(ItemDetails?.qty) < 0
|
|
278
|
+
? COLORS.redColor
|
|
279
|
+
: COLORS.primaryColor,
|
|
280
|
+
fontFamily: FONT_MEDIUM,
|
|
281
|
+
},
|
|
282
|
+
]}
|
|
283
|
+
>
|
|
284
|
+
{Math.abs(Number(ItemDetails?.qty))} {ItemDetails?.unit}
|
|
285
|
+
</Text>
|
|
286
|
+
|
|
287
|
+
<View>
|
|
288
|
+
<Text
|
|
289
|
+
style={[
|
|
290
|
+
styles.sectionLabelFooter,
|
|
291
|
+
{ color: COLORS.blackColor, fontFamily: FONT_NORMAL },
|
|
292
|
+
]}
|
|
293
|
+
>
|
|
294
|
+
Stock In Hand
|
|
295
|
+
</Text>
|
|
296
|
+
</View>
|
|
297
|
+
</TouchableOpacity>
|
|
298
|
+
|
|
299
|
+
<View
|
|
300
|
+
style={{
|
|
301
|
+
borderLeftColor: COLORS.borderColor,
|
|
302
|
+
borderLeftWidth: 1,
|
|
303
|
+
height: 50,
|
|
304
|
+
justifyContent: 'center',
|
|
305
|
+
paddingLeft: 20,
|
|
306
|
+
}}
|
|
307
|
+
/>
|
|
308
|
+
|
|
309
|
+
<TouchableOpacity
|
|
310
|
+
style={{ flexDirection: 'column', gap: 2 }}
|
|
311
|
+
onPress={() => {
|
|
312
|
+
navigation.navigate('StockReport', { itemId });
|
|
313
|
+
}}
|
|
314
|
+
>
|
|
315
|
+
<Text
|
|
316
|
+
style={[
|
|
317
|
+
styles.sectionLabel,
|
|
318
|
+
{
|
|
319
|
+
color:
|
|
320
|
+
Number(ItemDetails?.qty) * Number(ItemDetails?.costPrice) > 0
|
|
321
|
+
? COLORS.greenColor
|
|
322
|
+
: Number(ItemDetails?.qty) *
|
|
323
|
+
Number(ItemDetails?.costPrice) <
|
|
324
|
+
0
|
|
325
|
+
? COLORS.redColor
|
|
326
|
+
: COLORS.primaryColor,
|
|
327
|
+
fontFamily: FONT_MEDIUM,
|
|
328
|
+
},
|
|
329
|
+
]}
|
|
330
|
+
>
|
|
331
|
+
Rs{' '}
|
|
332
|
+
{addCommas(
|
|
333
|
+
Math.abs(
|
|
334
|
+
Number(ItemDetails?.qty) * Number(ItemDetails?.costPrice)
|
|
335
|
+
)
|
|
336
|
+
)}
|
|
337
|
+
</Text>
|
|
338
|
+
|
|
339
|
+
<View
|
|
340
|
+
onPress={() => {
|
|
341
|
+
navigation.navigate('RateList');
|
|
342
|
+
}}
|
|
343
|
+
>
|
|
344
|
+
<Text
|
|
345
|
+
style={[
|
|
346
|
+
styles.sectionLabelFooter,
|
|
347
|
+
{ color: COLORS.blackColor, fontFamily: FONT_NORMAL },
|
|
348
|
+
]}
|
|
349
|
+
>
|
|
350
|
+
Stock Value
|
|
351
|
+
</Text>
|
|
352
|
+
</View>
|
|
353
|
+
</TouchableOpacity>
|
|
354
|
+
</View>
|
|
355
|
+
|
|
356
|
+
{/* Bill List */}
|
|
357
|
+
<View style={styles.listContainer}>
|
|
358
|
+
<StockDetailChild Entries={Entries} />
|
|
359
|
+
</View>
|
|
360
|
+
|
|
361
|
+
{/* Create Bill Button */}
|
|
362
|
+
|
|
363
|
+
<BottomView style={styles.bottomBar}>
|
|
364
|
+
<TouchableOpacity
|
|
365
|
+
style={[
|
|
366
|
+
styles.totalButton,
|
|
367
|
+
{
|
|
368
|
+
backgroundColor: COLORS.greenColor,
|
|
369
|
+
borderColor: COLORS.greenColor,
|
|
370
|
+
},
|
|
371
|
+
]}
|
|
372
|
+
onPress={() => {
|
|
373
|
+
navigation.navigate('OutSell', { type: 'IN', itemId });
|
|
374
|
+
}}
|
|
375
|
+
>
|
|
376
|
+
<Text style={styles.totalText}>IN / BUY</Text>
|
|
377
|
+
</TouchableOpacity>
|
|
378
|
+
<TouchableOpacity
|
|
379
|
+
style={[styles.totalButton, { backgroundColor: COLORS.redColor, borderColor: COLORS.redColor }]}
|
|
380
|
+
onPress={() => {
|
|
381
|
+
navigation.navigate('OutSell', { type: 'OUT', itemId });
|
|
382
|
+
}}
|
|
383
|
+
>
|
|
384
|
+
<Text style={styles.totalText}>OUT / SELL</Text>
|
|
385
|
+
</TouchableOpacity>
|
|
386
|
+
</BottomView>
|
|
387
|
+
|
|
388
|
+
<Modal
|
|
389
|
+
animationType="fade"
|
|
390
|
+
transparent
|
|
391
|
+
visible={deleteModalVisible}
|
|
392
|
+
onRequestClose={() => setDeleteModalVisible(false)}
|
|
393
|
+
>
|
|
394
|
+
<Pressable
|
|
395
|
+
style={styles.modalBackdrop}
|
|
396
|
+
onPress={() => setDeleteModalVisible(false)}
|
|
397
|
+
>
|
|
398
|
+
{/* empty to allow dismiss by tapping outside */}
|
|
399
|
+
</Pressable>
|
|
400
|
+
<View style={styles.modalCentered}>
|
|
401
|
+
<View style={styles.modalBox}>
|
|
402
|
+
<Text style={styles.modalTitle}>Delete Entry</Text>
|
|
403
|
+
<Text style={styles.modalSubtitle}>
|
|
404
|
+
Are you sure you want to delete this entry?
|
|
405
|
+
</Text>
|
|
406
|
+
|
|
407
|
+
<View style={styles.modalBtns}>
|
|
408
|
+
<Pressable
|
|
409
|
+
style={[styles.modalBtn, styles.modalCancel]}
|
|
410
|
+
onPress={() => setDeleteModalVisible(false)}
|
|
411
|
+
>
|
|
412
|
+
<Text style={styles.modalCancelText}>Cancel</Text>
|
|
413
|
+
</Pressable>
|
|
414
|
+
|
|
415
|
+
<Pressable
|
|
416
|
+
style={[styles.modalBtn, styles.modalOk]}
|
|
417
|
+
onPress={handleDeleteConfirm}
|
|
418
|
+
>
|
|
419
|
+
<Text style={styles.modalOkText}>OK</Text>
|
|
420
|
+
</Pressable>
|
|
421
|
+
</View>
|
|
422
|
+
</View>
|
|
423
|
+
</View>
|
|
424
|
+
</Modal>
|
|
425
|
+
</View>
|
|
426
|
+
);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
const styles = StyleSheet.create({
|
|
430
|
+
container: {
|
|
431
|
+
flex: 1,
|
|
432
|
+
backgroundColor: COLORS.backgroundColor,
|
|
433
|
+
alignItems: 'center',
|
|
434
|
+
// marginTop: 30,
|
|
435
|
+
},
|
|
436
|
+
_headerMain: {
|
|
437
|
+
width: WP(100),
|
|
438
|
+
height: 100,
|
|
439
|
+
// backgroundColor:COLORS.primaryColor,
|
|
440
|
+
// justifyContent: 'center',
|
|
441
|
+
// alignItems: 'center',
|
|
442
|
+
// position: "absolute",
|
|
443
|
+
},
|
|
444
|
+
gradientHeader: {
|
|
445
|
+
width: '100%',
|
|
446
|
+
},
|
|
447
|
+
summaryCard: {
|
|
448
|
+
width: '95%',
|
|
449
|
+
backgroundColor: COLORS.whiteColor,
|
|
450
|
+
borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
451
|
+
marginTop: -35,
|
|
452
|
+
// paddingVertical: 15,
|
|
453
|
+
height: 60,
|
|
454
|
+
paddingHorizontal: 20,
|
|
455
|
+
shadowColor: '#000',
|
|
456
|
+
shadowOffset: { width: 0, height: 2 },
|
|
457
|
+
shadowOpacity: 0.2,
|
|
458
|
+
shadowRadius: 3.84,
|
|
459
|
+
elevation: 4,
|
|
460
|
+
flexDirection: 'row',
|
|
461
|
+
justifyContent: 'space-between',
|
|
462
|
+
alignItems: 'center',
|
|
463
|
+
},
|
|
464
|
+
sectionLabel: {
|
|
465
|
+
fontFamily: FONT_MEDIUM,
|
|
466
|
+
fontSize: 14,
|
|
467
|
+
// width: '95%',
|
|
468
|
+
},
|
|
469
|
+
sectionLabelFooter: {
|
|
470
|
+
fontFamily: FONT_MEDIUM,
|
|
471
|
+
fontSize: 10,
|
|
472
|
+
},
|
|
473
|
+
sectionValue: {
|
|
474
|
+
fontFamily: FONT_MEDIUM,
|
|
475
|
+
fontSize: 15,
|
|
476
|
+
},
|
|
477
|
+
dateFilterContainer: {
|
|
478
|
+
// flexDirection: 'column',
|
|
479
|
+
width: '43.5%',
|
|
480
|
+
backgroundColor: COLORS.whiteColor,
|
|
481
|
+
borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
482
|
+
marginTop: 10,
|
|
483
|
+
paddingVertical: 10,
|
|
484
|
+
justifyContent: 'space-around',
|
|
485
|
+
alignItems: 'center',
|
|
486
|
+
elevation: 3,
|
|
487
|
+
},
|
|
488
|
+
dateFilterContainerParent: {
|
|
489
|
+
flexDirection: 'row',
|
|
490
|
+
width: '100%',
|
|
491
|
+
// backgroundColor: COLORS.whiteColor,
|
|
492
|
+
// borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
493
|
+
// marginTop: 10,
|
|
494
|
+
// paddingVertical: 10,
|
|
495
|
+
// justifyContent: 'space-around',
|
|
496
|
+
justifyContent: 'center',
|
|
497
|
+
gap: 10,
|
|
498
|
+
alignItems: 'center',
|
|
499
|
+
// elevation: 3,
|
|
500
|
+
},
|
|
501
|
+
dateBtn: {
|
|
502
|
+
flexDirection: 'row',
|
|
503
|
+
alignItems: 'center',
|
|
504
|
+
gap: 6,
|
|
505
|
+
},
|
|
506
|
+
dateBtnText: {
|
|
507
|
+
color: COLORS.primaryColor,
|
|
508
|
+
fontFamily: FONT_NORMAL,
|
|
509
|
+
fontSize: 12,
|
|
510
|
+
},
|
|
511
|
+
entriesSummary: {
|
|
512
|
+
width: '90%',
|
|
513
|
+
flexDirection: 'row',
|
|
514
|
+
justifyContent: 'space-between',
|
|
515
|
+
alignItems: 'center',
|
|
516
|
+
marginTop: 15,
|
|
517
|
+
borderBottomWidth: 0.7,
|
|
518
|
+
borderBottomColor: COLORS.darkGrey,
|
|
519
|
+
paddingBottom: 8,
|
|
520
|
+
},
|
|
521
|
+
summaryRow: {
|
|
522
|
+
width: '50%',
|
|
523
|
+
},
|
|
524
|
+
summaryRight: {
|
|
525
|
+
alignItems: 'flex-end',
|
|
526
|
+
width: '25%',
|
|
527
|
+
},
|
|
528
|
+
summaryDate: {
|
|
529
|
+
color: COLORS.blackColor,
|
|
530
|
+
fontFamily: FONT_MEDIUM,
|
|
531
|
+
fontSize: 14,
|
|
532
|
+
},
|
|
533
|
+
summarySub: {
|
|
534
|
+
color: COLORS.darkGrey,
|
|
535
|
+
fontFamily: FONT_NORMAL,
|
|
536
|
+
fontSize: 12,
|
|
537
|
+
},
|
|
538
|
+
listContainer: {
|
|
539
|
+
flex: 1,
|
|
540
|
+
width: '100%',
|
|
541
|
+
marginTop: 15,
|
|
542
|
+
alignItems: 'center',
|
|
543
|
+
},
|
|
544
|
+
footer: {
|
|
545
|
+
width: '90%',
|
|
546
|
+
paddingVertical: 15,
|
|
547
|
+
justifyContent: 'center',
|
|
548
|
+
alignItems: 'center',
|
|
549
|
+
},
|
|
550
|
+
createBtn: {
|
|
551
|
+
width: '100%',
|
|
552
|
+
height: 50,
|
|
553
|
+
backgroundColor: COLORS.primaryColor,
|
|
554
|
+
borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
555
|
+
justifyContent: 'center',
|
|
556
|
+
alignItems: 'center',
|
|
557
|
+
flexDirection: 'row',
|
|
558
|
+
},
|
|
559
|
+
createBtnText: {
|
|
560
|
+
color: COLORS.whiteColor,
|
|
561
|
+
fontFamily: FONT_NORMAL,
|
|
562
|
+
fontSize: Button_Text_SIZES.Button_Text,
|
|
563
|
+
},
|
|
564
|
+
|
|
565
|
+
_floatingBtn: {
|
|
566
|
+
// width: WP(42),
|
|
567
|
+
height: 45,
|
|
568
|
+
position: 'absolute',
|
|
569
|
+
right: 12,
|
|
570
|
+
bottom: 70,
|
|
571
|
+
borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
572
|
+
overflow: 'hidden',
|
|
573
|
+
shadowColor: '#000',
|
|
574
|
+
shadowOffset: {
|
|
575
|
+
width: 0,
|
|
576
|
+
height: 2,
|
|
577
|
+
},
|
|
578
|
+
shadowOpacity: 0.2,
|
|
579
|
+
shadowRadius: 3.84,
|
|
580
|
+
elevation: 5,
|
|
581
|
+
},
|
|
582
|
+
_linearGradient: {
|
|
583
|
+
width: WP(100),
|
|
584
|
+
height: 100,
|
|
585
|
+
alignItems: 'center',
|
|
586
|
+
justifyContent: 'center',
|
|
587
|
+
flexDirection: 'row',
|
|
588
|
+
},
|
|
589
|
+
_titleMain: {
|
|
590
|
+
// width: WP(94),
|
|
591
|
+
height: 30,
|
|
592
|
+
// backgroundColor: "red",
|
|
593
|
+
flexDirection: 'row',
|
|
594
|
+
// alignItems: 'center',
|
|
595
|
+
marginBottom: 30,
|
|
596
|
+
// marginTop: 10,
|
|
597
|
+
},
|
|
598
|
+
ellipsisIcon: {
|
|
599
|
+
marginBottom: 30,
|
|
600
|
+
// marginTop: 10,
|
|
601
|
+
},
|
|
602
|
+
_title: {
|
|
603
|
+
color: COLORS.whiteColor,
|
|
604
|
+
fontFamily: FONT_MEDIUM,
|
|
605
|
+
fontSize: 18,
|
|
606
|
+
marginLeft: 15,
|
|
607
|
+
},
|
|
608
|
+
_fabTxt: {
|
|
609
|
+
color: COLORS.whiteColor,
|
|
610
|
+
fontSize: TEXT_SIZES.FLOATING_BUTTON_TEXT,
|
|
611
|
+
fontFamily: FONT_MEDIUM,
|
|
612
|
+
paddingRight: 10,
|
|
613
|
+
},
|
|
614
|
+
_grdientContainer: {
|
|
615
|
+
width: '100%',
|
|
616
|
+
height: HP(6),
|
|
617
|
+
// alignItems: 'center',
|
|
618
|
+
// marginRight: 6
|
|
619
|
+
},
|
|
620
|
+
|
|
621
|
+
bottomBar: {
|
|
622
|
+
position: 'absolute',
|
|
623
|
+
bottom: 0,
|
|
624
|
+
width: '100%',
|
|
625
|
+
left: 0,
|
|
626
|
+
right: 0,
|
|
627
|
+
backgroundColor: '#fff',
|
|
628
|
+
borderTopLeftRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
629
|
+
borderTopRightRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
630
|
+
alignItems: 'center',
|
|
631
|
+
justifyContent: 'center',
|
|
632
|
+
flexDirection: 'row',
|
|
633
|
+
paddingVertical: 10,
|
|
634
|
+
elevation: 10,
|
|
635
|
+
gap: 15,
|
|
636
|
+
alignSelf: 'center',
|
|
637
|
+
alignContent: 'center',
|
|
638
|
+
},
|
|
639
|
+
|
|
640
|
+
totalButton: {
|
|
641
|
+
borderWidth: 1,
|
|
642
|
+
marginBottom: 10,
|
|
643
|
+
borderColor: '#FF3B30',
|
|
644
|
+
backgroundColor: COLORS.primaryColor,
|
|
645
|
+
borderRadius: 100,
|
|
646
|
+
width: '50%',
|
|
647
|
+
height: 50,
|
|
648
|
+
alignItems: 'center',
|
|
649
|
+
justifyContent: 'center',
|
|
650
|
+
},
|
|
651
|
+
totalText: {
|
|
652
|
+
color: COLORS.whiteColor,
|
|
653
|
+
fontFamily: FONT_NORMAL,
|
|
654
|
+
fontSize: 13,
|
|
655
|
+
},
|
|
656
|
+
|
|
657
|
+
_tableHeader: {
|
|
658
|
+
width: '100%',
|
|
659
|
+
// height: 30,
|
|
660
|
+
backgroundColor: COLORS.whiteColor,
|
|
661
|
+
flexDirection: 'row',
|
|
662
|
+
// marginTop: 10,
|
|
663
|
+
borderBottomColor: COLORS.darkGrey,
|
|
664
|
+
borderBottomWidth: 0.7,
|
|
665
|
+
paddingHorizontal: 10,
|
|
666
|
+
},
|
|
667
|
+
_headerCell: {
|
|
668
|
+
width: '30%',
|
|
669
|
+
// height: "100%",
|
|
670
|
+
// backgroundColor: "pink",
|
|
671
|
+
justifyContent: 'center',
|
|
672
|
+
paddingLeft: 5,
|
|
673
|
+
paddingVertical: 5,
|
|
674
|
+
gap: 3,
|
|
675
|
+
},
|
|
676
|
+
_headerCellText: {
|
|
677
|
+
color: COLORS.blackColor,
|
|
678
|
+
opacity: 0.5,
|
|
679
|
+
fontFamily: FONT_MEDIUM,
|
|
680
|
+
fontSize: 10,
|
|
681
|
+
},
|
|
682
|
+
_tableCal: {
|
|
683
|
+
color: COLORS.blackColor,
|
|
684
|
+
fontFamily: FONT_NORMAL,
|
|
685
|
+
fontSize: 10,
|
|
686
|
+
},
|
|
687
|
+
_inputMain: {
|
|
688
|
+
// width: '90%',
|
|
689
|
+
// marginVertical: 20,
|
|
690
|
+
},
|
|
691
|
+
|
|
692
|
+
/// Menu style
|
|
693
|
+
|
|
694
|
+
triggerWrapper: {
|
|
695
|
+
padding: 6,
|
|
696
|
+
flexDirection: 'row',
|
|
697
|
+
gap: WP(5),
|
|
698
|
+
},
|
|
699
|
+
menuContainer: {
|
|
700
|
+
borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
701
|
+
// paddingVertical: 5,
|
|
702
|
+
backgroundColor: '#fff',
|
|
703
|
+
elevation: 6,
|
|
704
|
+
shadowColor: '#000',
|
|
705
|
+
shadowOpacity: 0.15,
|
|
706
|
+
shadowRadius: 4,
|
|
707
|
+
shadowOffset: { width: 0, height: 2 },
|
|
708
|
+
minWidth: 160,
|
|
709
|
+
},
|
|
710
|
+
menuText: {
|
|
711
|
+
fontSize: 15,
|
|
712
|
+
paddingVertical: 5,
|
|
713
|
+
paddingHorizontal: 14,
|
|
714
|
+
color: COLORS.blackColor,
|
|
715
|
+
},
|
|
716
|
+
|
|
717
|
+
/// Delete Modal styling
|
|
718
|
+
|
|
719
|
+
modalBackdrop: {
|
|
720
|
+
flex: 1,
|
|
721
|
+
backgroundColor: '#00000055',
|
|
722
|
+
},
|
|
723
|
+
modalCentered: {
|
|
724
|
+
position: 'absolute',
|
|
725
|
+
left: 20,
|
|
726
|
+
right: 20,
|
|
727
|
+
top: '40%',
|
|
728
|
+
transform: [{ translateY: -50 }],
|
|
729
|
+
alignItems: 'center',
|
|
730
|
+
},
|
|
731
|
+
modalBox: {
|
|
732
|
+
width: '100%',
|
|
733
|
+
backgroundColor: '#fff',
|
|
734
|
+
borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
735
|
+
padding: 20,
|
|
736
|
+
alignItems: 'center',
|
|
737
|
+
elevation: 6,
|
|
738
|
+
},
|
|
739
|
+
modalTitle: { fontSize: 18, fontWeight: '800', marginBottom: 6 },
|
|
740
|
+
modalSubtitle: { color: '#666', textAlign: 'center', marginBottom: 18 },
|
|
741
|
+
|
|
742
|
+
modalBtns: {
|
|
743
|
+
flexDirection: 'row',
|
|
744
|
+
width: '100%',
|
|
745
|
+
justifyContent: 'space-between',
|
|
746
|
+
},
|
|
747
|
+
modalBtn: {
|
|
748
|
+
flex: 1,
|
|
749
|
+
paddingVertical: 12,
|
|
750
|
+
borderRadius: TEXT_SIZES.BORDER_RADIUS,
|
|
751
|
+
alignItems: 'center',
|
|
752
|
+
marginHorizontal: 6,
|
|
753
|
+
},
|
|
754
|
+
modalCancel: { backgroundColor: '#f3f3f3' },
|
|
755
|
+
modalOk: { backgroundColor: '#e53935' },
|
|
756
|
+
modalCancelText: { color: '#333', fontWeight: '700' },
|
|
757
|
+
modalOkText: { color: '#fff', fontWeight: '700' },
|
|
758
|
+
});
|