ClockGU / ClockGU/clock-frontend

Allow bulk shift transfer to past contracts

Open
#849 0 comments 0 reactions 0 assignees View on GitHub
:atom: Enhancement
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.