fix(user,trash): fix 500 server error when deleting user with operational history and protect audit integrity

This commit is contained in:
Ray1111-aa
2026-11-03 09:14:53 +07:00
parent 5a4969b467
commit ff3ab616e0
9 changed files with 236 additions and 52 deletions
+2
View File
@@ -155,6 +155,7 @@ class QmaModuleTest extends TestCase
'category' => 'unit_support',
'brand_type' => 'Caterpillar D6R',
'unit_category' => 'Bulldozer',
'operational_group' => 'HEAVY',
'unit_type' => 'Track-type Tractor',
'brand' => 'Caterpillar',
'model_number' => 'D6R XL',
@@ -174,6 +175,7 @@ class QmaModuleTest extends TestCase
'code' => 'DZ01',
'category' => 'unit_support',
'unit_category' => 'Bulldozer',
'operational_group' => 'HEAVY',
'silo_document' => 'SILO-2026/01',
]);
}