
<form id="addNewAddressForm" class="row g-3 fv-plugins-bootstrap5 fv-plugins-framework validation" novalidate=""
    method="POST" action="<?php echo e(route('storeSupply')); ?>">
    <?php echo csrf_field(); ?>
    <div class="modal fade modalFeather" id="addTank" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
        aria-labelledby="staticBackdropLabel" aria-hidden="true" style="z-index: 11;">
        <div class="modal-dialog modal-lg modal-simple modal-add-new-address">
            <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">
                    <div class="row g-3 fv-plugins-bootstrap5 fv-plugins-framework ">
                        <?php echo csrf_field(); ?>
                        <div class="row">
                            <div class="col-xl-6">
                                <div class="mb-3 row">
                                    <label class="col-lg-12 col-form-label titleInput" for="validationCustom01">اسم
                                        المورد<span class="text-danger">*</span>
                                    </label>
                                    <div class="col-lg-12">
                                        <select class="form-control form-white inputRead"
                                            data-placeholder="Choose a color..." name="supplierName" required>
                                            <option disabled="disabled" selected value="">الرجاء اختيار احد
                                                الموردين</option>
                                            <?php $__currentLoopData = $niceNames; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $niceName): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($niceName); ?>"><?php echo e($niceName); ?></option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                        <div class="invalid-feedback">
                                            يرجاء ادخال اسم المورد
                                        </div>
                                        <?php $__errorArgs = ['supplierName'];
$__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 class="mb-3 row">
                                    <label class="col-lg-12 col-form-label titleInput " for="">العمولة
                                        <span class="text-success">*</span>
                                    </label>
                                    <div class="col-lg-12">
                                        <input name="rate" value="0" type="number" class="form-control inputRead"
                                             placeholder="ادخل العمولة..">
                                        
                                        <?php $__errorArgs = ['rate'];
$__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="col-xl-6">
                                <div class="mb-3 row">
                                    <label class="col-lg-12 col-form-label titleInput" for="validationCustom05">النوع
                                        <span class="text-danger">*</span>
                                    </label>
                                    <div class="col-lg-12">
                                        <select class="form-control form-white inputRead"
                                            data-placeholder="Choose a color..." name="type" required>
                                            <option disabled="disabled" selected value="">الرجاء اختيار نوع الكمية
                                            </option>
                                            <option value="0">بترول</option>
                                            <option value="1">ديزل</option>
                                        </select>
                                        <div class="invalid-feedback">
                                            يرجاء تحديد نوع المشتقات
                                        </div>
                                        <?php $__errorArgs = ['type'];
$__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 class="mb-3 row">
                                    <label class="col-lg-12 col-form-label titleInput" for="validationCustom06">الكمية
                                        <span class="text-danger">*</span>
                                    </label>
                                    <div class="col-lg-12">
                                        <input name="quantity" type="number" class="form-control inputRead"
                                            id="validationCustom06" placeholder="ادخل الكمية.." required="">
                                        <div class="invalid-feedback">
                                            يرجاء ادخل الكمية بشكل صحيح
                                        </div>
                                        <?php $__errorArgs = ['quantity'];
$__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="col-xl-12">
                                <div class="mb-3 row">
                                    <label class="col-lg-12 col-form-label titleInput" for="validationCustom02">ملاحظة
                                        لعملية التوريد<span class="text-danger">*</span>
                                    </label>
                                    <div class="col-lg-12">
                                        <input name="notice" value="<?php echo e(old('notice')); ?>" type="text"
                                            class="form-control form-control-sm inputRead" id="validationCustom02"
                                            placeholder="ادخل  ملاحظة " required="">
                                        <div class="invalid-feedback">
                                            الرجاء ادخال ملاحظة لعملية التوريد
                                        </div>
                                        <?php $__errorArgs = ['notice'];
$__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>
                        <div class="modal-footer">
                            <button type="button" class="btn  btn-outline-primary  me-1" data-bs-toggle="modal"
                                data-bs-target="#addSuplier">
                                <i class="mdi mdi-plus-circle ms-2"></i>اضافة مورد جديد
                            </button>
                            <button type="button" class="btn btn-primary me-sm-3 me-1 showModal"
                                data-title="هل انت متأكد من هذه التوريدة ؟">حفظ</button>
                            <button type="reset" class="btn btn-label-secondary" data-bs-dismiss="modal"
                                aria-label="Close">الغاء</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <?php echo $__env->make('print_confirmation.print_confirmation', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</form>
<?php /**PATH C:\Users\Nasser\Desktop\petrol_store\resources\views/supply/modals_supply/new.blade.php ENDPATH**/ ?>