From 9305789b7b8762eeb34761099efe12d4a0dcde04 Mon Sep 17 00:00:00 2001 From: cp6 Date: Sat, 5 Mar 2022 15:05:35 +1100 Subject: [PATCH] Updated servers edit next_due_date to be date validated Updated servers edit next_due_date to be date validated --- app/Http/Controllers/ServerController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/ServerController.php b/app/Http/Controllers/ServerController.php index e3bfd66..a3101e1 100644 --- a/app/Http/Controllers/ServerController.php +++ b/app/Http/Controllers/ServerController.php @@ -251,7 +251,8 @@ class ServerController extends Controller 'location_id' => 'numeric', 'price' => 'numeric', 'cpu' => 'numeric', - 'was_promo' => 'numeric' + 'was_promo' => 'numeric', + 'next_due_date' => 'date' ]);