-
when the user navigate to specifec url, don't navigate him to the beggining if he already signed in.
-
reset bill button
-
all balance for the bill
-
write a comments for understadable objects in maps, etc.
-
remove all of the console.log
-
let the bill item has to divs and sturcure the style for better look
-
make the the icon green , icon path in the "./order.jsx".
-
when submiting the bill you should also include the name of the submitter
-
add the summ of the bill.
-
a lot of things in ./readme.md file.
-
I made for each component A ClassName with the name of the component file so we can debbug easily if there is an issue.
-
bills pages like all and pending bills and add them to the route and setUp them.
-
Responsivity in order component: "./src/components/Order.jsx ".
-
add the bill id number so they kinda identify the the order number and if the bills reached to 300 then set them to 0 again.
-
change the files to be nested in the components folder
-
get the quantity of the items in the current bill
-
Logout button
-
include the tax macanizme
-
add the macenazim of the deleted bills
-
write comments asap for the ./src/components/bills.jsx
-
when subbmiting the bill avoid allowing the employee to submit the another bill while we are sending the bill by disabling the Done button.
-
if there isn't any bill then print There is not any bill
-
if there isn't any current bill then show "select any bill to show here"
-
add the macanezim of edit bill
-
when the bill recieved on the same time is created or so near, it will return a date of NaN , that will be caused by the fast internet so we need to to make it be 0s 0m, so we fix it by knowing if they are A nan number so if it is then return "now" instead of the date if not then put the date.
-
make a better edit button in the bills component.
-
make the number of edits in the bills component.
-
make the bill when its deleted then show you can't delete a bill until you recover it.
-
add the edit bill
-
make the user when going to "/welcome/order/", make him have the ability of editing.
-
add finished bills
-
when the user goes to /welcome/bill/:billId show him the bill he came for
-
creating the app routes structure in ./readme.md file.
-
Responsivity
-
[z] change the links inside the routes panel to be only links without btns inside it.
In progress.
Global tasks
- active setLoading for requests.
- change the the navigate("/welcome/*") in every directory.
- change dashboard btn for admins to be in the branches coponents.
- make when an admin wants to order, let show him a panel of branches he wants to order with.
- make the currency all the branches has their own currency;
- make when a non-admin goes to the dashboard, show him with a div that says you don't have the premision to get into the dashboard, and show him a button or a link that says go to the home page.
- make a wrapper around the routes panel .
- when you finish ordering show him a panel if he want to see the bill in the bills component
- when sending something to the db you should make a comment of what the structure of the object or the thing you are going to send
- Handle Errors
- get the static data from cache if possible
- change the the confirmations alerts and popups from the browser built-in popups to custome popups
- HardcoreOne: changing the ID's from charcters and numbers to numbers only
- tax and impelement it in the bill itslef in the db
Restaurant-Casher
├── dist
| ├── assets
│ │ ├── index.0a65ef83.js
│ │ ├── index.d77ff996.css
│ │ └── vendor.beb58e85.js
│ └── index.html
├── index.html
├── package-lock.json
├── package.json
├── readme.md
├── senstive
│ ├── appStructurePainted.png
│ ├── billuidesign.jpg
│ └── exampleOfHowTheDBisSturcured.js
├── src
│ ├── App.jsx
│ ├── components
│ │ ├── bills
│ │ │ ├── Bill.jsx
│ │ │ └── CurrentBill.jsx
│ │ ├── Bills.jsx
│ │ ├── Dashboard.jsx
│ │ ├── Login.jsx
│ │ ├── order
│ │ │ ├── BillItem.jsx
│ │ │ ├── CategoriesBtn.jsx
│ │ │ └── CategoryItem.jsx
│ │ ├── Order.jsx
│ │ ├── others
│ │ │ ├── btn.jsx
│ │ │ ├── contexts.js
│ │ │ ├── Loading.jsx
│ │ │ ├── PageNotFound.jsx
│ │ │ ├── PrettyDate.jsx
│ │ │ └── Problem.jsx
│ │ └── Welcome.jsx
│ ├── firebase-config.js
│ ├── functions.js
│ ├── main.jsx
│ ├── scripts
│ │ └── shorcutFunctions.js
│ ├── styles
│ │ └── App.css
│ └── tailwind
│ └── output.css
├── tailwind.config.js
└── vite.config.js
Restaurant-casher
├── /Login
└── /Welcome
├── /Order
| └── /:billID
|
├── /Bills
| └── /:billID
|
└── /Dashboard
Right now I don't accept any contribution, and thanks for all who thinks for that.
If you saw a bug or a problem you can report about it and we will try fix it as soon as we can.
Thanks for all of the support and my greetings me Ammar co founder of this app.