
<?php $__env->startSection('content'); ?>
<div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h5 class="modal-title"><?php echo e(trans('application.edit_currency')); ?></h5>
        </div>
        <?php echo Form::model($currency, ['route' => ['currency.update', $currency->uuid], 'method'=>'PATCH', 'class'=>"ajax-submit"]); ?>
        <div class="modal-body">
            <div class="form-group">
                <?php echo Form::label('name', trans('application.currency_name')); ?>
                <?php echo Form::text('name', null, ['class' => "form-control input-sm", 'required', 'readonly']); ?>
            </div>
            <div class="form-group">
                <?php echo Form::label('code', trans('application.code')); ?>
                <?php echo Form::text('code', null, ['class' => "form-control input-sm", 'required', 'readonly']); ?>
            </div>
            <div class="form-group">
                <?php echo Form::label('symbol', trans('application.symbol')); ?>
                <?php echo Form::text('symbol', null, ['class' => "form-control input-sm", 'required', 'readonly']); ?>
            </div>
            <div class="form-group">
                <?php echo Form::label('exchange_rate', trans('application.exchange_rate')); ?>
                <div class="input-group">
                    <span class="input-group-addon input-sm"><strong>1 USD = </strong></span>
                    <?php echo Form::text('exchange_rate', null, ['class' => "form-control input-sm", 'required', 'readonly']); ?>
                </div>
            </div>
            <div class="form-group">
                <?php echo Form::label('active', trans('application.active')); ?>
                <?php echo Form::select('active', array('0'=>'No',  '1' => 'Yes'),  null, ['class' => "form-control input-sm"]); ?>
            </div>
            <div class="form-group">
                <?php echo Form::label('default_currency', trans('application.default_currency')); ?>
                <?php echo Form::select('default_currency', array('0'=>'No',  '1' => 'Yes'),  null, ['class' => "form-control input-sm"]); ?>
            </div>
        </div>
        <div class="modal-footer">
        <?php echo form_buttons(); ?>
        </div>
        <?php echo Form::close(); ?>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('modal', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>