ClockGU / ClockGU/clock-frontend
Allow bulk shift transfer to past contracts
- Dominant language
- Vue
- Stars
- 0
- Forks
- 0
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
Currently, it is not possible to bulk-transfer shifts to a non-active contracts.
Available targets explicitly exclude expired contracts:
https://github.com/ClockGU/clock-frontend/blob/c0b9bd6081a681605f297af6d1d599c5959b0fa4/src/components/shifts/ShiftAssignContractDialog.vue#L20-L30
https://github.com/ClockGU/clock-frontend/blob/c0b9bd6081a681605f297af6d1d599c5959b0fa4/src/components/shifts/ShiftAssignContractDialog.vue#L70-L74
Since users often need to retrospectively clean up contracts and move shifts to a (potentially) expired contract, I suggest to remove this restriction.
However: There is no check if the month in the target contract is already locked, this would make more sense.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.