Change a quick sale order before making starts
An unpaid order whose lines have no completed step can be reopened in the cart from the open orders list; saving replaces its lines with current prices and processes, moves the machine work list rows and keeps the pickup number. Keyboard browser tests cover changing and cancelling an order and moving production steps. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -186,6 +186,14 @@ return [
|
||||
'paid' => 'Order :number paid: :total, :method.',
|
||||
'cancel' => 'Cancel order',
|
||||
'cancel_named' => 'Cancel order :number',
|
||||
'change' => 'Change',
|
||||
'change_named' => 'Change order :number',
|
||||
'editing' => 'You are changing order :number. Its products and customer are in the cart.',
|
||||
'editing_notice' => 'You are changing order :number. The pickup number stays the same.',
|
||||
'stop_editing' => 'Discard change',
|
||||
'editing_stopped' => 'Order change discarded; the cart is empty.',
|
||||
'save_change' => 'Save order change',
|
||||
'changed' => 'Order :number changed, total :total.',
|
||||
'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.',
|
||||
@@ -197,6 +205,8 @@ return [
|
||||
'errors' => [
|
||||
'step' => 'The step could not be completed: the order has changed. Refresh the list.',
|
||||
'closed' => 'The order is already paid or cancelled.',
|
||||
'started' => 'The order can no longer be changed: making has started or it is paid or cancelled.',
|
||||
'no_production' => 'An order needs at least one product that is made. Sell the other products as an ordinary sale.',
|
||||
],
|
||||
],
|
||||
'errors' => [
|
||||
|
||||
Reference in New Issue
Block a user