Normalize Person in Charge naming and enhance asset movement with user transfer

This commit is contained in:
Arya Dwi Putra
2025-12-01 09:26:30 +07:00
parent 5f74e2f20f
commit 497d22423f
7 changed files with 55 additions and 6 deletions

View File

@@ -19,6 +19,7 @@ class AssetTransactionController extends Controller
$data = $request->validate([
'to_location_id' => ['nullable', 'uuid', 'exists:asset_locations,id'],
'to_department_id' => ['nullable', 'uuid', 'exists:departments,id'],
'to_asset_user_id' => ['nullable', 'uuid', 'exists:asset_users,id'],
'notes' => ['nullable', 'string'],
'performed_at' => ['nullable', 'date'],
]);