CSR-LC / csr-be

Back-end application for CSR project
0 stars 1 forks source link

Equipment blocking does not reset equipment reservation #83

Open elenalshv opened 1 month ago

elenalshv commented 1 month ago

Steps to Reproduce the Bug:

  1. Log in.
  2. Navigate to the "Equipment" section.
  3. Click on the "Block" button. A modal window titled "Equipment Blocking" appears.
  4. Select the block dates (reserved period) and click the "Block" button.
  5. A modal window with the message "The equipment is reserved for these dates. Blocking will reset the reservation. To view the list of orders for this equipment, use the list of orders pic button" appears.
  6. Click the "Block" button. The equipment status changes to "Blocked".

The result obtained:

  1. The block does not reset the reservation. If you click on the block period selection button, both the reservation period and the block period are visible.

Expected behaviour:

  1. The lock should reset the reservation.
elenalshv commented 1 month ago