 
 <div class="modal fade" id="editModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
     aria-labelledby="modalEdit" aria-hidden="true">
     <div class="modal-dialog ">
         <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title titleBox"><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('updateStartReading')); ?>"
                     class="row g-3 fv-plugins-bootstrap5 fv-plugins-framework needs-validation" novalidate>
                     <?php echo csrf_field(); ?>
                     <input type="hidden" id="id" name="id">
                     <div class="col-md-12 mb-2">
                        <label class="form-label" for="employeeName">اسم العامل</label>
                        <select id="selectEmployName" 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-12 col-md-12 fv-plugins-icon-container">
                         <label class="form-label" for="startOfDayRead"> قراءة الصباح</label>
                         <input type="number" id="start-of-dayRead" 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 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>
 </div>
 </div>
 </div>
 </div>
<?php /**PATH C:\Users\Nasser\Desktop\petrol_store\resources\views/readings/modals/update_start_reading.blade.php ENDPATH**/ ?>