├── .yarnrc.yml
├── src
├── react-app-env.d.ts
├── models
│ ├── SelectModel.ts
│ ├── LogModel.ts
│ ├── StatictisModel.ts
│ ├── NotificationModel.ts
│ ├── PromotionModel.ts
│ ├── SupplierModel.ts
│ ├── OrderModel.ts
│ ├── FormModel.ts
│ ├── Products.ts
│ └── BillModel.ts
├── utils
│ ├── add0toNumber.ts
│ ├── handleCurrency.ts
│ ├── formatNumber.ts
│ ├── replaceName.ts
│ ├── handleExportExcel.ts
│ ├── dateTime.ts
│ ├── getTreeValues.ts
│ └── uploadFile.ts
├── screens
│ ├── ManageStore.tsx
│ ├── categories
│ │ ├── CategoryDetail.tsx
│ │ └── Categories.tsx
│ ├── index.ts
│ ├── Actions.tsx
│ ├── auth
│ │ ├── components
│ │ │ └── SocialLogin.tsx
│ │ ├── Login.tsx
│ │ └── SignUp.tsx
│ ├── PromotionScreen.tsx
│ ├── bills
│ │ └── index.tsx
│ ├── Suppliers.tsx
│ ├── ReportScreen.tsx
│ ├── orther
│ │ ├── AddOrder.tsx
│ │ └── index.tsx
│ ├── inventories
│ │ ├── ProductDetail.tsx
│ │ ├── AddProduct.tsx
│ │ └── Inventories.tsx
│ └── HomeScreen.tsx
├── setupTests.ts
├── redux
│ ├── store.ts
│ └── reducers
│ │ └── authReducer.ts
├── App.test.tsx
├── apis
│ ├── handleAPI.ts
│ └── axiosClient.ts
├── constants
│ ├── appInfos.ts
│ └── colors.ts
├── modals
│ ├── index.ts
│ ├── ModalCategory.tsx
│ ├── ModalExportData.tsx
│ ├── ToogleSupplier.tsx
│ ├── AddPromotion.tsx
│ └── AddSubProductModal.tsx
├── index.tsx
├── reportWebVitals.ts
├── index.css
├── components
│ ├── index.ts
│ ├── FormItem.tsx
│ ├── StatisticComponent.tsx
│ ├── AddCategory.tsx
│ ├── SalesAndPurchaseStatistic.tsx
│ ├── SiderComponent.tsx
│ ├── TopSellingAndLowQuantityStatictis.tsx
│ ├── HeaderComponent.tsx
│ ├── TableComponent.tsx
│ └── FilterProduct.tsx
├── App.tsx
├── firebase
│ └── firebaseConfig.ts
├── routers
│ ├── Routers.tsx
│ ├── AuthRouter.tsx
│ └── MainRouter.tsx
├── App.css
└── logo.svg
├── public
├── favicon.ico
├── logo192.png
├── logo512.png
├── robots.txt
├── access
│ ├── icons8-profit-80.png
│ ├── icons8-revenue-50.png
│ └── icons8-sales-32.png
├── manifest.json
└── index.html
├── .gitignore
├── tsconfig.json
├── package.json
└── README.md
/.yarnrc.yml:
--------------------------------------------------------------------------------
1 | nodeLinker: node-modules
2 |
--------------------------------------------------------------------------------
/src/react-app-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
25 | |
98 | |
121 | );
122 | };
123 |
124 | return (
125 | <>
126 |
|---|