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:
@@ -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.',
|
||||
|
||||
@@ -168,6 +168,32 @@ return [
|
||||
'negative_warning' => 'The balance is negative. Correct it with a purchase or a stock count.',
|
||||
],
|
||||
|
||||
'task' => [
|
||||
'title' => 'Used material',
|
||||
'list_of' => 'Used material: :title',
|
||||
'search' => 'Search material',
|
||||
'search_hint' => 'Type part of the name or code, or scan a barcode.',
|
||||
'results' => '{0} No matches|{1} 1 match|[2,*] :count matches',
|
||||
'choose' => 'Choose :item, balance :balance',
|
||||
'balance' => 'balance :balance',
|
||||
'quantity' => 'Quantity (:unit)',
|
||||
'quantity_of' => ':item (:unit)',
|
||||
'record' => 'Record use',
|
||||
'change_item' => 'Change item',
|
||||
'recorded' => 'Recorded :item :quantity. Balance now :balance.',
|
||||
'suggestions' => 'Default materials of the workflow template: check the quantity and record.',
|
||||
'confirm' => 'Record',
|
||||
'confirm_named' => 'Record default material :item',
|
||||
'dismiss' => 'Skip',
|
||||
'dismiss_named' => 'Skip default material :item',
|
||||
'dismissed' => 'Default material :item skipped.',
|
||||
'none' => 'No material has been recorded on the task.',
|
||||
'undo' => 'Undo',
|
||||
'undo_named' => 'Undo use :item :quantity',
|
||||
'undone' => 'Use undone: :item :quantity.',
|
||||
'undone_mark' => 'undone',
|
||||
],
|
||||
|
||||
'errors' => [
|
||||
'name' => 'Enter a name (1–150 characters).',
|
||||
'name_taken' => 'The name is already in use.',
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ return [
|
||||
'edit_named' => 'Edit task :title',
|
||||
'remove_named' => 'Remove task :title',
|
||||
'remove_question' => 'Remove task :title? This cannot be undone.',
|
||||
'has_time_entries' => 'Task :title was not removed because hours have been entered on it.',
|
||||
'has_time_entries' => 'Task :title was not removed because hours or used material have been recorded on it.',
|
||||
'book_time' => 'Enter hours',
|
||||
'book_time_named' => 'Enter hours on task :title',
|
||||
'from_template' => [
|
||||
|
||||
Reference in New Issue
Block a user