Einstellung: Vorabkriterien Eintritt und Besetzung, Planstellen zum Eintrittstag, Springen in der Leiste
- Neuer erster Schritt "Eintritt": Eintrittsdatum und Besetzung (intern/ extern). Die Besetzung steht nicht mehr im Schritt Position, das Eintrittsdatum nicht mehr im Vertrag. - Im Schritt Position stehen die Planstellen, die am Eintrittstag frei sind (offenePlanstellenZum) — auch eine, die heute noch besetzt ist und bis dahin durch einen Austritt frei wird. - Fortschrittsleiste: vorwaerts springen, sofern alle Schritte davor vollstaendig sind. Wiedereintritt unveraendert (Besetzung weiter im Schritt Position). Geprueft: lint, tsc, Tests, Uebergabe-Waechter
This commit is contained in:
@@ -220,8 +220,7 @@ export async function resolveOpenPositions(
|
||||
* Zwei sind das Minimum — was in der zweiten steht, hängt vom Ergebnis der
|
||||
* ersten ab.
|
||||
*/
|
||||
export async function loadOpenPositions(tx: Tx): Promise<OpenPositionResolved[]> {
|
||||
const asOf = todayIso();
|
||||
export async function loadOpenPositions(tx: Tx, asOf: string = todayIso()): Promise<OpenPositionResolved[]> {
|
||||
|
||||
const { units, locations, open } = await tx
|
||||
.selectNoFrom((eb) => [
|
||||
|
||||
Reference in New Issue
Block a user