Skip to content

Commit

Permalink
Edit list_total_sales and formatting of UG.
Browse files Browse the repository at this point in the history
  • Loading branch information
NaychiMin committed Nov 13, 2023
1 parent ad6fa2b commit ac8fddf
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,31 +327,28 @@ Example: `list_total_sales`

Output:
- list_total_sales lists the dishes sold along with the total sales for every operating day of the cafe.
- in this case, the cafe has operated for two days.

```
+---------------------------------------------------------------------------+
Day 1:
+---------------------------------------------------------------------------+
| Day 1: |
+----------------------------------------+--------------+-------------------+
| Dish Name | Dish Qty | Total Cost Price |
+----------------------------------------+--------------+-------------------+
| chicken chop | 3 | 6.00 |
| chicken sandwhich | 7 | 21.00 |
| Chicken Rice | 2 | 5.00 |
| Chicken Nuggets | 4 | 6.00 |
+---------------------------------------------------------------------------+
| Total for day: | $27.00 |
| Total for day: | $11.00 |
+---------------------------------------------------------------------------+
Day 2:
+---------------------------------------------------------------------------+
| Day 2: |
+----------------------------------------+--------------+-------------------+
| Dish Name | Dish Qty | Total Cost Price |
+----------------------------------------+--------------+-------------------+
| chicken chop | 2 | 4.00 |
| chicken sandwhich | 2 | 6.00 |
| chicken noodles | 1 | 2.00 |
| Chicken Rice | 2 | 5.00 |
| Chicken Nuggets | 3 | 4.50 |
+---------------------------------------------------------------------------+
| Total for day: | $12.00 |
| Total for day: | $9.50 |
+---------------------------------------------------------------------------+
```

Expand Down

0 comments on commit ac8fddf

Please sign in to comment.