<?php $__env->startSection('title','Invoice Setting'); ?>
<?php $__env->startPush('style'); ?>

<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>

    <div class="page-title">
        <div class="title_left">
            <h3>General Setting</h3>
        </div>


        <div class="title_right">
            <div class="form-group pull-right top_search">

            </div>
        </div>
    </div>
    <form id="mail_setup" name="mail_setup" role="form" method="POST"
          action="<?php echo e(route('date-timezone.update',$GeneralSettings->id)); ?>" enctype="multipart/form-data"
          autocomplete="off">
        <?php echo csrf_field(); ?>
        <input type="hidden" name="_method" value="PATCH">
        <div class="clearfix"></div>

        <div class="row">
            <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                    <div class="x_content">
                        <?php echo $__env->make('admin.settings.setting-header', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>


                        <div class="row">

                            <div class="col-md-4 col-sm-12 col-xs-12 form-group">

                            </div>


                        </div>


                        <div class="row">


                        </div>
                        <div class="row">
                            <div class="col-md-12 col-sm-12 col-xs-12 form-group">
                                <label for="fullname">Date Formet </label><br>

                                <input type="radio" id="test3" name="forment"
                                       value="1" <?php echo e((!empty($GeneralSettings) && $GeneralSettings->date_formet=='1')?'checked':''); ?> <?php echo e(empty($GeneralSettings)?'checked':''); ?>>
                                &nbsp;&nbsp;DD-MM-YYYY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <input type="radio" id="test4" name="forment"
                                       value="2" <?php echo e((!empty($GeneralSettings) && $GeneralSettings->date_formet=='2')?'checked':''); ?>>&nbsp;&nbsp;YYYY-MM-DD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <input type="radio" id="test5" name="forment"
                                       value="3" <?php echo e((!empty($GeneralSettings) && $GeneralSettings->date_formet=='3')?'checked':''); ?>>&nbsp;&nbsp;MM-DD-YYYY&nbsp;&nbsp;&nbsp;


                            </div>
                        </div>


                        <div class="row">
                            <br>
                            <div class="col-md-4 col-sm-12 col-xs-12 form-group">
                                <label for="timezone">Timezone<span class="text-danger">*</span></label>
                                <select name="timezone" id="timezone" class="form-control">

                                    <?php $__currentLoopData = $timezone; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $t): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($t->zone_id); ?>"
                                                <?php if(isset($GeneralSettings) && $GeneralSettings->timezone== $t->zone_id): ?> selected <?php endif; ?>><?php echo e($t->zone_name); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                            </div>
                        </div>

                        <div class="form-group pull-right">
                            <div class="col-md-12 col-sm-6 col-xs-12">

                                <button type="submit" class="btn btn-success" name="btn_add_smtp"><i class="fa fa-save"
                                                                                                     id="show_loader"></i>&nbsp;Save
                                </button>
                            </div>
                        </div>


                    </div>

                </div>
            </div>
        </div>
    </form>

<?php $__env->stopSection(); ?>



<?php $__env->startPush('js'); ?>
    <script src="<?php echo e(asset('assets/admin/js/selectjs.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/jquery.checkImageSize.js')); ?>"></script>
    <script src="http://cdn.jsdelivr.net/jquery.validation/1.15.0/additional-methods.min.js"></script>

    <script type="text/javascript">
        "use strict";
        $("#timezone").select2();
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('admin.layout.app', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>