From 22c4d79cfb6d175ddab7c438fbb4d88ca84fef87 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 1 Dec 2017 17:52:56 -0800 Subject: [PATCH] Fixed #4345 - Disallow future date for checkin date, disallow past date for expected checkin --- resources/views/hardware/bulk-checkout.blade.php | 4 ++-- resources/views/hardware/checkout.blade.php | 15 +++++++++++++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/resources/views/hardware/bulk-checkout.blade.php b/resources/views/hardware/bulk-checkout.blade.php index 3e0e0341a9..f188cd4e26 100644 --- a/resources/views/hardware/bulk-checkout.blade.php +++ b/resources/views/hardware/bulk-checkout.blade.php @@ -34,7 +34,7 @@
{{ Form::label('name', trans('admin/hardware/form.checkout_date'), array('class' => 'col-md-3 control-label')) }}
-
+
@@ -46,7 +46,7 @@
{{ Form::label('name', trans('admin/hardware/form.expected_checkin'), array('class' => 'col-md-3 control-label')) }}
-
+
diff --git a/resources/views/hardware/checkout.blade.php b/resources/views/hardware/checkout.blade.php index 2ec61fc429..77cbbbf6ea 100755 --- a/resources/views/hardware/checkout.blade.php +++ b/resources/views/hardware/checkout.blade.php @@ -69,7 +69,7 @@
{{ Form::label('name', trans('admin/hardware/form.checkout_date'), array('class' => 'col-md-3 control-label')) }}
-
+
@@ -81,7 +81,7 @@
{{ Form::label('name', trans('admin/hardware/form.expected_checkin'), array('class' => 'col-md-3 control-label')) }}
-
+
@@ -144,4 +144,15 @@ @section('moar_scripts') @include('partials/assets-assigned') + + @stop