Edit File: cf7d02c23f857a2c2a8aa75c3d84b27b0c37cddd.php
<?php $__env->startSection('css'); ?> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css" integrity="sha512-H9jrZiiopUdsLpg94A333EfumgUBpO9MdbxStdeITo+KEIMaNfHNvwyjjDJb+ERPaRS6DpyRlKbvPUasNItRyw==" crossorigin="anonymous" referrerpolicy="no-referrer" /> <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" /> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/css-rtl/plugins/forms/validation/form-validation.css')); ?>"> <link rel="stylesheet" type="text/css" href="<?php echo e(asset('admin/app-assets/vendors/css/extensions/sweetalert2.min.css')); ?>"> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <!-- // Basic multiple Column Form section start --> <section id="multiple-column-form"> <div class="row match-height"> <div class="col-12"> <div class="card"> <div class="card-header"> <?php if($row->store_id == null): ?> <h4 class="card-title"><?php echo e(awtTrans(' عرض بيانات متجر ') .' '. $row->name); ?></h4> <?php else: ?> <h4 class="card-title"><?php echo e(awtTrans(' عرض بيانات متجر ') .' '. $row->name .' '. awtTrans(' تابع لمتجر ') . $row->parent->name); ?></h4> <?php endif; ?> </div> <div class="card-content"> <div class="card-body"> <form class="store form-horizontal" > <div class="form-body"> <div class="row"> <div class="col-12"> <div class="imgMontg text-center"> <div class="dropBox"> <div class="textCenter"> <div class="imagesUploadBlock"> <label class="uploadImg"> <span><i class="feather icon-image"></i></span> <input type="file" accept="image/*" name="icon" class="imageUploader"> </label> <div class="uploadedBlock"> <img src="<?php echo e($row->iconPath); ?>"> <button class="close"><i class="la la-times"></i></button> </div> </div> </div> <span><?php echo e(awtTrans('صورة الغلاف ')); ?></span> </div> </div> </div> <div class="col-md-6 col-12 "> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('الاسم باللغة العربية')); ?></label> <div class="controls"> <input type="text" name="name_ar" value="<?php echo e($row->getTranslations('name')['ar']); ?>" class="form-control" placeholder="<?php echo e(awtTrans('اكتب الاسم بالعربية')); ?>" required data-validation-required-message="<?php echo e(awtTrans('هذا الحقل مطلوب')); ?>" > </div> </div> </div> <div class="col-md-6 col-12 "> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('الاسم باللغة الانجليزية')); ?></label> <div class="controls"> <input type="text" name="name_en" class="form-control" value="<?php echo e($row->getTranslations('name')['en']); ?>" placeholder="<?php echo e(awtTrans('اكتب الاسم بالانجليزية')); ?>" required data-validation-required-message="<?php echo e(awtTrans('هذا الحقل مطلوب')); ?>" > </div> </div> </div> <?php if($row->has_contract == 'true'): ?> <div class="col-md-6 col-12 "> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('اسم البنك ')); ?></label> <div class="controls"> <input type="text" name="bank_name" value="<?php echo e($row->bank_name); ?>" class="form-control" placeholder="<?php echo e(awtTrans('اسم الحساب البنكي ')); ?>" > </div> </div> </div> <div class="col-md-6 col-12 "> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('اسم الحساب البنكي ')); ?></label> <div class="controls"> <input type="text" name="bank_owner_name" value="<?php echo e($row->bank_acc_name); ?>" class="form-control" placeholder="<?php echo e(awtTrans('اسم الحساب البنكي ')); ?>" > </div> </div> </div> <div class="col-md-6 col-12 "> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('رقم الحساب البنكي ')); ?></label> <div class="controls"> <input type="text" name="bank_number" value="<?php echo e($row->bank_number); ?>" class="form-control" placeholder="<?php echo e(awtTrans('رقم الحساب البنكي ')); ?>" > </div> </div> </div> <div class="col-md-6 col-12 "> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('رقم الايبان')); ?></label> <div class="controls"> <input type="text" name="iban_number" value="<?php echo e($row->iban_number); ?>" class="form-control" placeholder="<?php echo e(awtTrans('رقم الايبان')); ?>" > </div> </div> </div> <?php endif; ?> <div class="col-md-6 col-12"> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('القسم')); ?></label> <div class="controls"> <select name="category" class="select2 form-control" required data-validation-required-message="<?php echo e(awtTrans('هذا الحقل مطلوب')); ?>" > <option selected><?php echo e($row->getCategory()); ?></option> </select> </div> </div> </div> <div class="col-md-6 col-12" > <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('القسم الفرعي')); ?></label> <div class="controls"> <select name="category_id[]" multiple class="select2 form-control" id="category_div" > <?php $__currentLoopData = $subcategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option <?php if(in_array($category->id , $ids)): ?> selected <?php endif; ?> value="<?php echo e($category->id); ?>"><?php echo e($category->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> </div> <?php if($row->has_contract == 'true'): ?> <div class="col-md-6 col-12"> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('الحاله')); ?></label> <div class="controls"> <select name="status" class="select2 form-control" required data-validation-required-message="<?php echo e(awtTrans('هذا الحقل مطلوب')); ?>" > <option <?php echo e($row->user->status == 'active' ? 'selected' : ''); ?> value="active"><?php echo e(awtTrans('نشط')); ?></option> <option <?php echo e($row->user->status == 'pending' ? 'selected' : ''); ?> value="pending"><?php echo e(awtTrans('في انتظار التفعيل')); ?></option> <option <?php echo e($row->user->status == 'block' ? 'selected' : ''); ?> value="block"><?php echo e(awtTrans('محظور')); ?></option> </select> </div> </div> </div> <?php endif; ?> <div class="col-md-12 col-12 "> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('العنوان')); ?></label> <div class="controls"> <input type="text" name="address" value="<?php echo e($row->address); ?>" id="address" class="form-control" placeholder="<?php echo e(awtTrans('العنوان')); ?>" required data-validation-required-message="<?php echo e(awtTrans('هذا الحقل مطلوب')); ?>" > </div> </div> </div> <div class="col-md-12 col-12 "> <div class="form-group pl-5 pr-5 mt-4 position-relative"> <label for="" class="d-block mb-3 siz13 font-weight-bolder"><?php echo e(awtTrans('تحديد الموقع')); ?></label> <div class="controls"> <input type="hidden" class="form-control position-absolute w-25" style="z-index: 11111; top:14%; left:7%" id="searchTextField" value="" placeholder="<?php echo e(awtTrans('تحديد موقعك')); ?>"> </div> <div id="map" style="height: 400px; margin-top: 20px"> </div> <input type="hidden" id="lat" name="lat" value="<?php echo e($row->lat); ?>"> <input type="hidden" id="lng" name="long" value="<?php echo e($row->long); ?>"> </div> </div> <input type="hidden" name="has_contract" value="<?php echo e($row->has_contract == 'true' ? 1 : 0); ?>"> <input type="hidden" name="user_id" value="<?php echo e($row->user_id); ?>"> <div class="col-md-12 col-12 d-flex justify-content-center mt-1 has_contract_hide"> <p><?php echo e(awtTrans('بيانات مدير النظام')); ?></p> </div> <div class="col-md-6 col-12 has_contract_hide"> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('اسم المدير')); ?></label> <div class="controls"> <input type="text" value="<?php echo e($row->user->name); ?>" name="name" class="has_contract_input form-control" > </div> </div> </div> <?php if($row->user->approve != 'pending'): ?> <div class="col-md-6 col-12 has_contract_hide"> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('عمولة التطبيق')); ?></label> <div class="controls"> <input type="number" name="app_commission" value="<?php echo e($row->app_commission); ?>" class="has_contract_input form-control" > </div> </div> </div> <div class="col-md-6 col-12 has_contract_hide"> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('نوع العمولة')); ?></label> <div class="controls"> <select name="commission_type" class="form-control" required data-validation-required-message="<?php echo e(awtTrans('هذا الحقل مطلوب')); ?>" > <option disabled><?php echo e(awtTrans('اختر نوع العمولة')); ?></option> <option <?php if($row->commission_type == 'percentage'): ?> selected <?php endif; ?> value="percentage"><?php echo e(awtTrans('مئوية')); ?></option> <option <?php if($row->commission_type == 'static_price'): ?> selected <?php endif; ?> value="static_price"><?php echo e(awtTrans('ثابتة')); ?></option> </select> </div> </div> </div> <?php endif; ?> <div class="col-md-6 col-12 has_contract_hide"> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('رقم الهاتف')); ?></label> <div class="controls"> <select style="width: 20% ; position: absolute; left: 3%;" name="country_key" class="select2 form-control" > <option selected><?php echo e($row->user->country_key ?? '966'); ?></option> </select> <input type="number" name="phone" value="<?php echo e($row->user->phone); ?>" class="has_contract_input form-control" placeholder="<?php echo e(awtTrans('اكتب رقم الهاتف')); ?>" > </div> </div> </div> <div class="col-md-6 col-12 has_contract_hide "> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('البريد الالكتروني')); ?></label> <div class="controls"> <input type="email" name="email" value="<?php echo e($row->user->email); ?>" class="has_contract_input form-control" placeholder="<?php echo e(awtTrans('اكتب البريد الالكتروني')); ?>" > </div> </div> </div> <div class="col-md-6 col-12 has_contract_hide"> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('كلمة السر')); ?></label> <div class="controls"> <input type="password" name="password" class="has_contract_input form-control" > </div> </div> </div> <?php if($row->timings()->count() > 0 && $row->user->approve == 'pending'): ?> <div class="col-12 row time-div"> <?php $__currentLoopData = $row->timings()->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $time): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-12 row mt-4"> <div class="col-md-4 col-3 "> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('اليوم')); ?></label> <div class="controls"> <select name="day[]"class="form-control day_input" required data-validation-required-message="<?php echo e(awtTrans('هذا الحقل مطلوب')); ?>" > <option value><?php echo e(awtTrans('اختر اليوم')); ?></option> <option <?php echo e($time->day == 'saturday' ? 'selected' : ''); ?> value="saturday"><?php echo e(awtTrans('السبت')); ?></option> <option <?php echo e($time->day == 'sunday' ? 'selected' : ''); ?> value="sunday"><?php echo e(awtTrans('الاحد')); ?></option> <option <?php echo e($time->day == 'monday' ? 'selected' : ''); ?> value="monday"><?php echo e(awtTrans('الاثنين')); ?></option> <option <?php echo e($time->day == 'tuesday' ? 'selected' : ''); ?> value="tuesday"><?php echo e(awtTrans('الثلاثاء')); ?></option> <option <?php echo e($time->day == 'wednesday' ? 'selected' : ''); ?> value="wednesday"><?php echo e(awtTrans('الاربعاء')); ?></option> <option <?php echo e($time->day == 'thursday' ? 'selected' : ''); ?> value="thursday"><?php echo e(awtTrans('الخميس')); ?></option> <option <?php echo e($time->day == 'friday' ? 'selected' : ''); ?> value="friday"><?php echo e(awtTrans('الجمعة')); ?></option> </select> </div> </div> </div> <div class="col-md-3 col-3 "> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('من')); ?></label> <div class="controls"> <input type="time" value="<?php echo e($time->from); ?>" name="from[]" class="from_input form-control" id="id_`+count+`" required data-validation-required-message="<?php echo e(awtTrans('هذا الحقل مطلوب')); ?>" > </div> </div> </div> <div class="col-md-3 col-3 "> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('الي')); ?></label> <div class="controls"> <input type="time" name="to[]" value="<?php echo e($time->to); ?>" class="to_input form-control" data-from="id_`+count+`" required data-validation-required-message="<?php echo e(awtTrans('هذا الحقل مطلوب')); ?>" > </div> </div> </div> <div class="col-md-2 col-3 "> <div class="form-group"> <label for="first-name-column"><?php echo e(awtTrans('مغلق')); ?></label> <div class="controls"> <input type="checkbox" <?php echo e($time->is_closed == true ? "checked" : ''); ?> class="to_input form-control" required data-validation-required-message="<?php echo e(awtTrans('هذا الحقل مطلوب')); ?>" > </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> <div class="col-12 d-flex justify-content-center mt-3"> <a href="<?php echo e(url()->previous()); ?>" type="reset" class="btn btn-outline-warning mr-1 mb-1"><?php echo e(awtTrans(' رجوع ')); ?></a> </div> </div> </div> </form> </div> </div> </div> </div> </div> </section> <?php $__env->stopSection(); ?> <?php $__env->startSection('js'); ?> <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script> <script> $('#category_div').select2() </script> <script> $('.store input').attr('disabled' , true) $('.store textarea').attr('disabled' , true) $('.store select').attr('disabled' , true) </script> <script> function initMap() { var uluru = {lat: Number($('#lat').val()), lng: Number($('#lng').val())}; var map = new google.maps.Map(document.getElementById('map'), { zoom: 10, center: uluru }); var marker = new google.maps.Marker({ position: uluru, map: map }); } </script> <script async defer src="https://maps.googleapis.com/maps/api/js?key=<?php echo e($setting['google_places']); ?>&callback=initMap" type="text/javascript"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js" integrity="sha512-uURl+ZXMBrF4AwGaWmEetzrd+J5/8NRkWAvJx5sbPSSuOb0bZLqf+tOzniObO00BjHa/dD7gub9oCGMLPQHtQA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.layout.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/wwineerc/public_html/resources/views/admin/stores/show.blade.php ENDPATH**/ ?>
Back to File Manager