Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Add restaurant branch and unit testing #19

Merged
merged 6 commits into from
May 25, 2024
Merged

Conversation

haneeva
Copy link
Collaborator

@haneeva haneeva commented May 18, 2024

No description provided.

@haneeva
Copy link
Collaborator Author

haneeva commented May 22, 2024

Add New Branch

  1. Create Branch Success
  2. Create branch without Branch name
  3. Create branch without Branch address
  4. Create branch without Branch contact
  5. Create branch without Opening hours
  6. Create branch with existing branch
  7. Create branch with empty data
  8. Create branch with existing day opening hours
  9. User is flexible to remove row day opening hours and create new branch
  10. User is able to add new opening hours and create new branch
  11. Cancel branch creation

Note :

  • Remove button should not show in the first row day
  • When getting duplicated day error, remove button in the second row will be dissapear

Update Branch

  1. Update branch name
  2. Update branch Address
  3. Update branch contact
  4. Update branch image
  5. Update opening hours
  6. Delete opening hours and update it
  7. Cancel branch updating

Note :

  • Remove button should not show in the first-row day
  • When getting a duplicated day error, the remove button in the second row will disappear
  • Delete checkbox is for deleting the objects (delete the days) -> it's showing because Django built-in
  • if you want to remove the days, then you should check the delete and click the remove button)

Delete Branch

  1. Delete Branch

Copy link
Collaborator

@Naqibullah-sediqi Naqibullah-sediqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@mmafrar mmafrar merged commit adddf44 into main May 25, 2024
1 check failed
@mmafrar mmafrar deleted the add-restaurant-branch branch May 25, 2024 09:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants