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
+52
View File
@@ -147,6 +147,58 @@ return [
'reopen_text' => 'The balance is removed, and it is formed again when the day is closed.',
'reopened_message' => 'Cash day :day reopened.',
],
'orders' => [
'title' => 'Open orders',
'refresh' => 'Refresh',
'refreshed' => 'Refreshed at :time.',
'none' => 'No open orders.',
'made' => 'Made before payment',
'order_note' => 'The sale has products that are made first: it is sent to production as an order, and the order is paid when it is ready (or in advance).',
'customer_name' => 'Customer name',
'customer_name_hint' => 'An optional name to call the customer by when the order is ready.',
'send' => 'Send to production',
'sent' => 'Order sent to production. Pickup number :number, total :total.',
'pickup' => 'No. :number',
'statuses' => [
'in_production' => 'Being made',
'ready' => 'Ready, to be paid',
'completed' => 'Ready and paid',
'cancelled' => 'Cancelled',
],
'is_paid' => 'paid',
'line_ready' => 'ready',
'line_no_production' => 'not made',
'line_step' => 'step :step/:steps: :where',
'by_hand' => 'by hand, completed on this page',
'complete_step' => 'Complete step',
'complete_step_named' => 'Complete step: order :number, :product',
'complete_title' => 'Step done: :product',
'complete_hint' => 'The materials are prefilled. A quantity over the plan is recorded as a write-off (reprint). The step\'s hours are recorded on you.',
'complete' => 'Mark done',
'open_console' => 'Open the machine console of :machine',
'step_done' => 'Step of :product in order :number completed; the next step is on a work list.',
'line_made' => ':product of order :number is ready.',
'became_ready' => '{1} Order :numbers is ready.|[2,*] Orders :numbers are ready.',
'pay' => 'Take payment',
'pay_named' => 'Take payment: order :number',
'pay_title' => 'Payment of order :number, total :total',
'take_payment' => 'Record payment',
'paid' => 'Order :number paid: :total, :method.',
'cancel' => 'Cancel order',
'cancel_named' => 'Cancel order :number',
'cancel_title' => 'Cancel the order?',
'cancel_text' => 'The order leaves the machines\' work lists and no sale is made. Material and hours already recorded stay.',
'cancelled' => 'Order :number cancelled.',
'unpaid' => '{1} 1 order is unpaid; it stays open for the next day.|[2,*] :count orders are unpaid; they stay open for the next day.',
'hours_note' => 'Quick sale order :number',
'reasons' => [
'reprint' => 'reprint',
],
'errors' => [
'step' => 'The step could not be completed: the order has changed. Refresh the list.',
'closed' => 'The order is already paid or cancelled.',
],
],
'errors' => [
'receipt_email' => 'Enter a valid email address, e.g. [email protected].',
'empty' => 'Enter a quantity for at least one product.',