Commit Graph

22 Commits

Author SHA1 Message Date
Joel Thomas ec31206437 Implement Controller updateRestaurantStatus()
- Implement Controller updateRestaurantStatus()
- Avoid unecessary copies, keep ownerRestaurant reference
2026-02-19 19:16:23 +05:30
Joel Thomas b74989859e Implement controller listRestaurants and addNewRestaurant()
- Implement Controller listRestaurants()
    - Add and Implement new controller method addNewRestaurant()
    - Add new controller helper method checkAccess()
    - Add static unique id counter in Restaurant class
    - Add new Restaurant class method getName()
    - Add new option in RestaurantOwnerMenu: Add New Restaurant
2026-02-19 17:37:11 +05:30
Joel Thomas 3d436af779 bugfix: Fix User Full Name not being displayed 2026-02-19 16:00:26 +05:30
Joel Thomas c5e4ecbe02 Implement Controller run()
- Implement Controller run()
- Remove Do you want to continue prompts for util::pressEnter
- change type of choice from char -> int
- Display Invalid Password on bad login
- Create empty controller method definitions
2026-02-19 15:39:37 +05:30
Joel Thomas e959c32bd3 Add pressEnter() inputHelper 2026-02-19 15:39:27 +05:30
Joel Thomas cd0f7694b9 Implement Controller registerUser()
- Implement Controller registerUser()
    - Add Parent Constructor Initialization for User Sub Classes
2026-02-19 13:48:44 +05:30
Joel Thomas a491187e3d Implement Controller login()
- Implement Controller login()
- Add getType() method in User to determine User Type to create
  corresponding menu object
- Remove logout() method from Controller, as login() can procedurally
  logout
- Remove unused includes from Controller
2026-02-19 10:33:58 +05:30
Joel Thomas 135ccffa72 Add readString inputHelper 2026-02-19 10:33:28 +05:30
Joel Thomas 7faa6a076f Rename outputHelper 2026-02-19 00:24:04 +05:30
Joel Thomas c334a64a45 Add View My Profile option 2026-02-18 23:50:51 +05:30
Joel Thomas bd60fd6884 Add Delivery Partner Menu definitions 2026-02-18 23:41:56 +05:30
Joel Thomas a6c4d2d392 Add Customer Menu definitions 2026-02-18 23:36:49 +05:30
Joel Thomas c0913f27ec Add forward declarations in FoodDeliveryController and Menu headers 2026-02-18 23:25:33 +05:30
Joel Thomas 82fa90e786 Add RestaurantOwner Menu definitions
- Add RestaurantOwner Menu definitions
- Remove unused id attribute in class User
2026-02-18 20:47:53 +05:30
Joel Thomas 42d2fac9dd Add output helper 2026-02-18 20:40:35 +05:30
Joel Thomas 5fa4d68493 Fix syntax issues 2026-02-18 19:02:01 +05:30
Joel Thomas 549ff26481 Add DeliveryAssignment class definition 2026-02-18 18:56:11 +05:30
Joel Thomas 22a146a560 Add Input Helper 2026-02-18 18:37:48 +05:30
Joel Thomas 1785aefe52 Add Non user class definitions 2026-02-18 17:02:49 +05:30
Joel Thomas b213cb1698 User class definitions 2026-02-18 13:14:08 +05:30
Joel Thomas 7c17576e8c Class Definitions 2026-02-18 01:43:34 +05:30
Joel Thomas 915df9dd61 Project Structure 2026-02-17 13:34:28 +05:30