Browse Source

When NA bills as generic - add checkboxes to confirm work was done

Vijayakrishnan 3 years ago
parent
commit
0bc69a6a4f

+ 6 - 0
public/css/style.css

@@ -1860,3 +1860,9 @@ form.non-interactive .form-content * {
     overflow-y: auto;
     max-height: calc(100vh - 60px);
 }
+.zero-height-field {
+    height: 1px !important;
+    opacity: 0 !important;
+    pointer-events: none;
+    position: absolute;
+}

+ 2 - 2
resources/views/app/generic-bills/add-bill-form/Note.blade.php

@@ -9,8 +9,8 @@
     @else
         @include('app.generic-bills.add-bill-form._default-fields')
         <div class="mb-2 border px-2 pt-2 generic-bill-actions">
-            <p class="text-sm mb-2 text-secondary font-weight-bold">Please indicate the activities time was spent on:</p>
-            <input type="hidden" name="genericDescription" value="">
+            <p class="text-sm mb-1 text-secondary font-weight-bold">Please indicate the activities time was spent on:</p>
+            <input type="text" name="genericDescription" value="" class="zero-height-field m-0 p-0 border-0" required>
             <label class="d-flex align-items-center">
                 <input type="checkbox" class="mr-2 my-0 generic-bill-action"
                        data-action="Note reviewed."