Make quick sale products on machines as orders paid when ready

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-26 17:11:54 +02:00
co-authored by Claude Sonnet 5.5
parent 920fecdeb2
commit 38b8075a9c
58 changed files with 3435 additions and 26 deletions
+39
View File
@@ -222,6 +222,18 @@ return [
],
],
'console' => [
'ordered_at' => 'ordered at :time',
'order_step' => 'step :step/:steps',
'order_materials' => 'Materials of the step: check the quantities and confirm.',
'less_of' => 'Less: :item',
'more_of' => 'More: :item',
'confirm_order' => 'Confirm as done',
'order_finish_named' => 'Done: order :number',
'order_done' => ':product of order :number completed.',
'move_to' => 'Move to machine',
'move_to_named' => 'Move order :number to machine',
'move' => 'Move',
'order_moved' => 'Order :number moved to :machine.',
'title' => 'Machine console: :name',
'user' => 'User: :name',
'refresh' => 'Refresh',
@@ -264,6 +276,33 @@ return [
'counters_and_maintenance' => 'Counters and maintenance',
'latest' => 'Latest reading :reading',
],
'process' => [
'title' => 'Production process',
'intro' => 'A product with a production process is sold as an order: the order goes on the work list of the first step\'s machine, and the product is paid when it is ready. A step by hand (e.g. finishing) holds the auxiliary materials no machine needs. Changes do not touch orders already sent.',
'step' => 'Step :number',
'machine' => 'Machine',
'machine_of' => 'Machine of step :number',
'by_hand' => 'No machine (by hand)',
'duration' => 'Duration per piece (h)',
'work_type' => 'Work type',
'work_type_of' => 'Work type of step :number',
'materials' => 'Materials per piece',
'material' => 'Item',
'material_of' => 'Material :number of step :step',
'per_piece' => 'Quantity / pc',
'remove_material' => 'Remove material :number of step :step',
'add_step' => 'Add step',
'save' => 'Save production process',
'saved' => 'Production process saved.',
'removed' => 'Production process removed: the product is paid at once.',
'step_added' => 'Step :number added.',
'step_removed' => 'Step :number removed.',
'step_moved' => 'Step :from moved to :to.',
'errors' => [
'invalid' => 'Check the steps: a duration of 0–24 h in steps of 0.25 h, a work type and material quantities greater than zero.',
'machine' => 'A step\'s machine must be in use and in the service unit of the product\'s work type.',
],
],
'errors' => [
'name' => 'Enter a name (1–150 characters).',
'name_taken' => 'The name is already in use.',