Sid Gifari File Manager
🏠 Root
/
home2
/
meumer25
/
painelsexshoptentacao.meumercado.app
/
storage
/
framework
/
views
/
Editing: 35932b83717e005455bffe2be6c75dacd2973dd0.php
<?php $__env->startSection('title', translate('Settings')); ?> <?php $__env->startPush('css_or_js'); ?> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <div class="content container-fluid"> <?php ($branch_count=\App\Model\Branch::count()); ?> <!-- Page Header --> <div class="page-header"> <div class="row align-items-center"> <div class="col-sm mb-2 mb-sm-0"> <h1 class="page-header-title"><?php echo e(\App\CentralLogics\translate('location')); ?> <?php echo e(\App\CentralLogics\translate('coverage')); ?> <?php echo e(\App\CentralLogics\translate('setup')); ?></h1> <span class="badge badge-soft-danger" style="text-align: left"> <?php echo e(translate("This location setup is for your Main branch. Carefully set your restaurant location and coverage area. If you want to ignore the coverage area then keep the input box empty.<br> You can ignore this when you have only the default branch and you don't want coverage area.")); ?> </span> </div> </div> </div> <!-- End Page Header --> <div class="row gx-2 gx-lg-3"> <div class="col-sm-12 col-lg-12 mb-3 mb-lg-2"> <form action="<?php echo e(route('admin.business-settings.update-location')); ?>" method="post" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <?php ($data=\App\Model\Branch::find(1)); ?> <div class="row"> <div class="col-md-4 col-12"> <div class="form-group"> <label class="input-label" for="exampleFormControlInput1"><?php echo e(\App\CentralLogics\translate('latitude')); ?></label> <input type="text" value="<?php echo e($data['latitude']); ?>" name="latitude" class="form-control" placeholder="<?php echo e(translate('Ex : -94.22213')); ?>" <?php echo e($branch_count>1?'required':''); ?>> </div> </div> <div class="col-md-4 col-12"> <div class="form-group"> <label class="input-label" for="exampleFormControlInput1"><?php echo e(\App\CentralLogics\translate('longitude')); ?></label> <input type="text" value="<?php echo e($data['longitude']); ?>" name="longitude" class="form-control" placeholder="<?php echo e(translate('Ex : 103.344322')); ?>" <?php echo e($branch_count>1?'required':''); ?>> </div> </div> <div class="col-md-4 col-12"> <div class="form-group"> <label class="input-label" for=""> <i class="tio-info-outined" data-toggle="tooltip" data-placement="top" title="<?php echo e(translate('This value is the radius from your restaurant location, and customer can order food inside the circle calculated by this radius.')); ?>"></i> <?php echo e(\App\CentralLogics\translate('coverage')); ?> ( <?php echo e(\App\CentralLogics\translate('km')); ?> ) </label> <input type="number" value="<?php echo e($data['coverage']); ?>" name="coverage" class="form-control" placeholder="<?php echo e(translate('Ex : 3')); ?>" <?php echo e($branch_count>1?'required':''); ?>> </div> </div> </div> <hr> <?php if(env('APP_MODE')=='demo'): ?> <button type="button" onclick="call_demo()" class="btn btn-primary"><?php echo e(\App\CentralLogics\translate('update')); ?> </button> <?php else: ?> <button type="submit" class="btn btn-primary"><?php echo e(\App\CentralLogics\translate('update')); ?></button> <?php endif; ?> </form> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('script_2'); ?> <script> function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload = function (e) { $('#viewer').attr('src', e.target.result); } reader.readAsDataURL(input.files[0]); } } $("#customFileEg1").change(function () { readURL(this); }); </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.admin.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/meumer25/painelestilopetshop.meupet.app/resources/views/admin-views/business-settings/location-index.blade.php ENDPATH**/ ?>
Save
Cancel