Skip to content

A free open source IT asset/license management system

Removed stricter validation :(

snipeeb0fd2f5197c
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',