Add the task calendar, holidays, workflow templates and customer removal

Task calendar (/jobs/calendar) replaces per-unit task Kanban columns
(K34): a two-week Gantt of tasks per person. Bars move, resize and
change person by dragging or through a keyboard dialog. Each task's
estimate is booked evenly over working days into task_bookings, and
what exceeds the daily maximum (jobs.daily_capacity_hours, 8 h) moves
to the next working day. Tasks get planned_from/planned_to on the form.

Holidays (/settings/holidays): Finnish public holidays calculated per
year, which the admin can take out of use, plus company days off.

Also includes the earlier uncommitted work: workflow templates with
adding tasks from a template, and removing customers no module refers to.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-24 18:13:11 +02:00
co-authored by Claude Opus 5.5
parent dfe4941f02
commit b4f2f1cfaa
134 changed files with 6930 additions and 45 deletions
+49
View File
@@ -12,6 +12,55 @@ return [
'yes' => 'Kyllä',
'no' => 'Ei',
'prices_link' => 'Hinnasto: tuntihinnat, tuotteet ja km-hinta',
'workflows_link' => 'Työnkulkupohjat: valmiit tehtävälistat työtehtäville',
'workflows' => [
'title' => 'Työnkulkupohjat',
'intro' => 'Pohjasta luodaan asiakastyölle valmis tehtävälista, esim. videokuvaus: suunnittelu → kuvaus → editointi → tarkastus → toimitus. Pohjan muutos ei muuta jo luotuja tehtäviä. Pohjia ei poisteta, vaan ne poistetaan käytöstä.',
'back_to_catalog' => 'Takaisin pohjatietoihin',
'none' => 'Ei vielä pohjia.',
'add' => 'Lisää pohja',
'create_title' => 'Uusi työnkulkupohja',
'edit_title' => 'Muokkaa työnkulkupohjaa',
'name_help' => 'Esim. Lyhyt video. Samalla työtehtävällä voi olla useita pohjia.',
'work_type' => 'Työtehtävä',
'work_type_help' => 'Pohja tarjotaan töille, joiden palveluyksikössä työtehtävä on (kaikille yhteisten työtehtävien pohjat kaikille töille).',
'choose_work_type' => 'Valitse työtehtävä',
'step_count' => 'Vaiheita',
'steps' => 'Vaiheet',
'steps_help' => 'Jokaisesta vaiheesta tulee tehtävä tässä järjestyksessä.',
'step_legend' => 'Vaihe :number',
'step_title' => 'Tehtävän nimi',
'step_work_type' => 'Tehtävän työtehtävä',
'step_work_type_named' => 'Tehtävän työtehtävä, vaihe :number',
'step_work_type_help' => 'Tunnit hinnoitellaan tämän työtehtävän tuntihinnalla.',
'template_work_type' => 'Pohjan työtehtävä',
'step_description' => 'Kuvaus',
'add_step' => 'Lisää vaihe',
'move_up' => 'Siirrä ylös',
'move_down' => 'Siirrä alas',
'move_up_named' => 'Siirrä ylös: vaihe :number',
'move_down_named' => 'Siirrä alas: vaihe :number',
'remove_step' => 'Poista vaihe',
'remove_step_named' => 'Poista vaihe :number',
'status' => [
'step_added' => 'Vaihe :number lisätty.',
'step_moved' => 'Vaihe :from siirretty kohtaan :to.',
'step_removed' => 'Vaihe :number poistettu.',
'already_first' => 'Vaihe :number on jo ensimmäisenä.',
'already_last' => 'Vaihe :number on jo viimeisenä.',
'deactivated' => ':name poistettu käytöstä. Sitä ei tarjota töille.',
],
'errors' => [
'name_taken' => 'Työtehtävällä on jo tämänniminen pohja.',
'work_type_required' => 'Valitse työtehtävä.',
'steps_required' => 'Lisää pohjaan vähintään yksi vaihe.',
'step_title_required' => 'Anna tehtävän nimi.',
'invalid_step_title' => 'Tehtävän nimen pituus voi olla enintään 255 merkkiä.',
'step_work_type_not_allowed' => 'Valitse käytössä oleva työtehtävä pohjan palveluyksiköstä tai kaikille yhteisistä.',
'description_too_long' => 'Kuvauksen pituus voi olla enintään 5 000 merkkiä.',
],
],
'actions' => [
'edit' => 'Muokkaa',