Return stock of cancelled maintenance, throttle the PIN page's password
Cancelling a maintenance record now reverses the stock it used, through Inventory's new ReverseMaintenanceStockUse behind the MaintenanceMaterials port, in the same transaction as the cancellation. The PIN page allows 5 wrong current passwords a minute per user, as the login form does, so a signed-in session cannot be used to guess the password. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -208,7 +208,7 @@ return [
|
||||
'cancel' => 'Mark as cancelled',
|
||||
'cancel_named' => 'Mark as cancelled: :name :at',
|
||||
'cancel_title' => 'Mark the maintenance as cancelled?',
|
||||
'cancel_text' => 'The record stays in the history marked as cancelled, and it no longer resets the interval.',
|
||||
'cancel_text' => 'The record stays in the history marked as cancelled, and it no longer resets the interval. The stock it used is returned with a reversal.',
|
||||
'cancelled' => 'Maintenance :name marked as cancelled.',
|
||||
'errors' => [
|
||||
'needs_interval' => 'Give a counter-based interval, a time-based interval or both.',
|
||||
|
||||
Reference in New Issue
Block a user