From eb0fd2f5197ca2d022ac9d93ac9ca3380b730e3b Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 16 May 2024 16:29:11 +0100 Subject: [PATCH] Removed stricter validation :( Signed-off-by: snipe --- app/Models/Asset.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Models/Asset.php b/app/Models/Asset.php index b0ad2e0332..f31b872841 100644 --- a/app/Models/Asset.php +++ b/app/Models/Asset.php @@ -99,7 +99,8 @@ class Asset extends Depreciable 'last_checkin' => 'nullable|date_format:Y-m-d H:i:s', 'expected_checkin' => 'nullable|date', 'last_audit_date' => 'nullable|date_format:Y-m-d H:i:s', - 'next_audit_date' => 'nullable|date|after:last_audit_date', + // 'next_audit_date' => 'nullable|date|after:last_audit_date', + 'next_audit_date' => 'nullable|date', 'location_id' => 'nullable|exists:locations,id', 'rtd_location_id' => 'nullable|exists:locations,id', 'purchase_date' => 'nullable|date|date_format:Y-m-d',