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
+26
View File
@@ -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.',