Record used material on tasks and suggest workflow steps' default materials

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-26 16:28:16 +02:00
co-authored by Claude Sonnet 5.5
parent 30132deb0e
commit bca1eed166
41 changed files with 1521 additions and 19 deletions
+12
View File
@@ -15,6 +15,15 @@ return [
'workflows_link' => 'Workflow templates: ready-made task lists for work types',
'workflows' => [
'materials' => 'Default materials',
'materials_help' => 'The materials are prefilled in the Used material section of the task made of the step. They are taken from stock only when the assignee confirms them.',
'material_item' => 'Item',
'material_item_named' => 'Material :number of step :step',
'choose_material' => 'Choose an item',
'material_quantity' => 'Quantity',
'remove_material_named' => 'Remove material :number of step :step',
'add_material' => 'Add material',
'add_material_named' => 'Add material to step :number',
'title' => 'Workflow templates',
'intro' => 'A template creates a ready-made task list for a customer job, e.g. video shoot: planning → shooting → editing → review → delivery. Changing a template does not change tasks already created. Templates are not deleted but taken out of use.',
'back_to_catalog' => 'Back to basic data',
@@ -44,6 +53,8 @@ return [
'remove_step' => 'Remove step',
'remove_step_named' => 'Remove step :number',
'status' => [
'material_added' => 'Material row added to step :number.',
'material_removed' => 'Material row removed from step :number.',
'step_added' => 'Step :number added.',
'step_moved' => 'Step :from moved to position :to.',
'step_removed' => 'Step :number removed.',
@@ -52,6 +63,7 @@ return [
'deactivated' => ':name taken out of use. It is not offered for jobs.',
],
'errors' => [
'invalid_material' => 'Choose an item and enter a quantity greater than zero, at most three decimals.',
'name_taken' => 'The work type already has a template with this name.',
'work_type_required' => 'Choose a work type.',
'steps_required' => 'Add at least one step to the template.',