<?php $__env->startSection('content'); ?>
<div class="row">
    <div class="col-12">
        <div class="card">
            <div class="card-body">
                <h4 class="card-title"><?php echo app('translator')->get('app.edit'); ?></h4>

                <form id="editSettings" class="ajax-form">
                    <?php echo csrf_field(); ?>
                    <?php echo method_field('PUT'); ?>

                    <div class="form-group">
                        <label for="company_name"><?php echo app('translator')->get('modules.currency.currencyName'); ?></label>
                        <input type="text" class="form-control" id="currency_name" name="currency_name" value="<?php echo e($currency->currency_name); ?>">
                    </div>
                    <div class="form-group">
                        <label for="company_email"><?php echo app('translator')->get('modules.currency.currencySymbol'); ?></label>
                        <input type="email" class="form-control" id="currency_symbol" name="currency_symbol" value="<?php echo e($currency->currency_symbol); ?>">
                    </div>
                    <div class="form-group">
                        <label for="company_phone"><?php echo app('translator')->get('modules.currency.currencyCode'); ?></label>
                        <input type="tel" class="form-control" id="currency_code" name="currency_code" value="<?php echo e($currency->currency_code); ?>">
                    </div>

                    <button type="button" id="save-form" class="btn btn-success waves-effect waves-light m-r-10">
                            <?php echo app('translator')->get('app.save'); ?>
                        </button>
                    <button type="reset" class="btn btn-inverse waves-effect waves-light"><?php echo app('translator')->get('app.reset'); ?></button>
                </form>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('footer-script'); ?>

<script>

        $('#save-form').click(function () {
            $.easyAjax({
                url: '<?php echo e(route("admin.currency-settings.update", $currency->id)); ?>',
                container: '#editSettings',
                type: "POST",
                redirect: true,
                file: true
            })
        });
</script>

<?php $__env->stopPush(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/hoseadevimcon/hr.hosea.dev-imcon.com/resources/views/admin/Currency/edit.blade.php ENDPATH**/ ?>