 <!--  Modal Strat Reading -->
 <div class="modal fade" id="addReading" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
     aria-labelledby="addReading" aria-hidden="true">
     <div class="modal-dialog">
         <div class="modal-content">
             <div class="modal-header">
                 <h4 class="modal-title"><strong>إضافة قراءة الصباح</strong></h4>
                 <i type="reset" data-bs-dismiss="modal" aria-label="Close" class="las las la-times text-danger scale5"></i>
             </div>
             <div class="modal-body">
                 <form id="addNewAddressForm" method="POST" action="<?php echo e(route('storeReading')); ?>"
                     class="row g-3 fv-plugins-bootstrap5 fv-plugins-framework needs-validation" novalidate>
                     <?php echo csrf_field(); ?>
                     <div class="row">
                         <div class="col-md-12 mb-2">
                             <label class="form-label" for="employeeName">اسم العامل</label>
                             <select id="employName" name="employeeName" class="form-control" required="">
                                 <option value="" selected disabled>اختار احدى العمال</option>
                                 <?php if(isset($employees)): ?>
                                     <?php $__currentLoopData = $employees; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $employ): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                         <?php if($employ->user->role == 3): ?>
                                             <option value="<?php echo e($employ->user->name); ?>">
                                                 <?php if(isset($employ->user->name)): ?>
                                                     <?php echo e($employ->user->name); ?>

                                                 <?php endif; ?>
                                             </option>
                                         <?php endif; ?>
                                     <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                 <?php endif; ?>
                             </select>
                             <div class="fv-plugins-message-container invalid-feedback ">
                                 الرجاء اختيار احدى العمال
                             </div>
                             <?php $__errorArgs = ['employeeId'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                 <div class="text-danger px-2 showModalAdd">
                                     <?php echo e($message); ?>

                                 </div>
                             <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                         </div>
                         <div class="col-md-12 mb-2">
                             <label class="form-label" for="pumpId">رقم الطرمبة</label>
                             <select id="pumpId" name="pumpId" class="form-control" required="">
                                 <option value="" selected disabled>اختار رقم الطرمبة</option>
                                 <?php if(isset($pumps)): ?>
                                     <?php $__currentLoopData = $pumps; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pump): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                         <option value="<?php echo e($pump->id); ?>">
                                             <?php if(isset($pump->id)): ?>
                                                 الطرمبة رقم
                                                 <?php echo e($pump->id); ?>

                                             <?php endif; ?>
                                             النوع
                                             <?php if(isset($pump->tank->type)): ?>
                                                 <?php if($pump->tank->type == 0): ?>
                                                     بترول
                                                 <?php else: ?>
                                                     ديزل
                                                 <?php endif; ?>
                                             <?php endif; ?>
                                         </option>
                                     <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                 <?php endif; ?>
                             </select>
                             <div class="fv-plugins-message-container invalid-feedback ">
                                 الرجاء احدى الطرمبات
                             </div>
                             <?php $__errorArgs = ['pumpId'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                 <div class="text-danger px-2 showModalAdd">
                                     <?php echo e($message); ?>

                                 </div>
                             <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                         </div>
                         <div class="col-md-12 mb-2">
                             <label class="form-label" for="startOfDayRead"> قراءة الصباح</label>
                             <input type="number" id="startOfDayRead" required value="<?php echo e(old('startOfDayRead')); ?>"
                                 name="startOfDayRead" class="form-control" placeholder="يرجى ادخال قراءة الصباح">
                             <div class="fv-plugins-message-container invalid-feedback">
                                 يرجاء ادخال قراءة الصباح
                             </div>
                             <?php $__errorArgs = ['startOfDayRead'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                 <div class="text-danger px-2 showModalAdd">
                                     <?php echo e($message); ?>

                                 </div>
                             <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                         </div>
                     </div>
             </div>
             <div class="modal-footer">
                 <button type="submit" class="btn btn-primary me-sm-3 me-1">إضافة</button>
                 <button type="reset" class="btn btn-label-secondary btnClear" data-bs-dismiss="modal" aria-label="Close">الغاء</button>
             </div>
         </div>
     </div>
 </div>
 </form>

 <!--  End Modal Strat Reading -->

<?php /**PATH C:\Users\Nasser\Desktop\petrol_store\resources\views/readings/modals/start_reading.blade.php ENDPATH**/ ?>