To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorTake back
As a lending manager
To put items back on the shelve so they can be borrowed again
I want to mark them as back in stock in.
- Background
-
- Given
- I am Pius
- Scenarios
-
- Taking back an item
- Deselecting a line
- Item to return is overdue
- Making a note of who took back an item
- Showing whether a user is suspended
- Returning an option
- Returning partial quantity of options
- Correct order for contracts
- Treating options with multiple time windows
- Taking back an item
-
- Given
- I am taking something back
- When
- I take back an item using the assignment field
- Then
- the line is selected
- And
- the line is highlighted in green
- And
- I receive a notification of success
- Deselecting a line
-
- Given
- I am taking something back
- When
- I take back an item using the assignment field
- And
- I deselect the line
- Then
- the line is no longer highlighted in green
- Item to return is overdue
-
- Given
- I am taking back at least one overdue item
- When
- I take back an overdue item using the assignment field
- Then
- the line is highlighted in green
- And
- the line is selected
- And
- the problem indicator for the line is displayed
- Then
- I receive a notification of success
- Making a note of who took back an item
-
- When
- I open a take back
- And
- I select all reservations of an open contract via Barcode
- And
- I click take back
- And
- I see a summary of the things I selected for take back
- And
- I click take back inside the dialog
- And
- the contract is closed and all items are returned
- Then
- a note is made that it was me who took back the item
- Showing whether a user is suspended
-
- Given
- I navigate to the open orders
- And
- I open a suspended user's order
- Then
- I see the note 'Suspended!' next to their name
- Returning an option
-
- Given
- I open a take back with at least two of the same options
- When
- I take back an option using the assignment field
- Then
- the line is selected
- And
- the line is not highlighted in green
- When
- I take back all options of the same line
- Then
- the line is highlighted in green
- And
- I receive a notification of success
- Returning partial quantity of options
-
- Given
- I open a take back with at least two of the same options
- When
- I take back an option using the assignment field
- Then
- the line is selected
- And
- the line is not highlighted in green
- When
- I click take back
- And
- I see a summary of the things I selected for take back
- And
- I click take back inside the dialog
- Then
- the contract is not closed yet
- And
- not all reservations of that option are closed and returned
- Correct order for contracts
-
- Given
- there is a user with at least 2 take back s on 2 different days
- When
- I open a take back for this user
- Then
- the take backs are ordered by date in ascending order
- Treating options with multiple time windows
-
- Given
- there is a user with an option to return in two different time windows
- And
- I open a take back for this user
- When
- I take back this option
- Then
- the option is added to the first time window
- When
- the first time window has already reached the maximum quantity of this option
- And
- I add the same option again
- Then
- the option is added to the second time window
Last published over 3 years ago by mkmit.