<?php $request = app('Illuminate\Http\Request'); ?>

<?php $__env->startSection('content'); ?>
    <h3 class="page-title"><?php echo app('translator')->get('quickadmin.currencyRate.title_singular'); ?></h3>
    <div class="panel panel-default presentation-phone">
        <div class="panel-heading">
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('currency_rate_create')): ?>
                <a class="btn btn-success" href="<?php echo e(route('admin.currency-rates.create')); ?>">
                    <?php echo e(trans('quickadmin.qa_add_new')); ?>

                </a>
            <?php endif; ?>
        </div>
        <div class="panel-body table-responsive">

                
                <table class=" table table-bordered table-striped datatable">
                    <thead>
                    <tr>





                        
                        
                        
                        <th>
                            <?php echo e(trans('quickadmin.currencyRate.fields.currency_from')); ?>

                        </th>
                        <th>
                            <?php echo e(trans('quickadmin.currencyRate.fields.currency_to')); ?>

                        </th>
                        <th>
                            <?php echo e(trans('quickadmin.currencyRate.fields.rate')); ?>

                        </th>
                        <th>
                            <?php echo app('translator')->get('quickadmin.qa_action'); ?>
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    <?php $__currentLoopData = $currencyRates; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $currencyRate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr data-entry-id="<?php echo e($currencyRate->id); ?>">



                            
                            
                            
                            <td>
                                <?php echo e($currencyRate->currency_from->name ?? ''); ?>

                            </td>
                            <td>
                                <?php echo e($currencyRate->currency_to->name ?? ''); ?>

                            </td>
                            <td>
                                <?php echo e($currencyRate->rate ?? ''); ?>

                            </td>
                            <td class="action">
                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('currency_rate_show')): ?>
                                    <a class="btn btn-xs btn-primary"
                                       href="<?php echo e(route('admin.currency-rates.show', $currencyRate->id)); ?>">
                                        <?php echo e(trans('quickadmin.qa_view')); ?>

                                    </a>
                                <?php endif; ?>

                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('currency_rate_edit')): ?>
                                    <a class="btn btn-xs btn-info"
                                       href="<?php echo e(route('admin.currency-rates.edit', $currencyRate->id)); ?>">
                                        <?php echo e(trans('quickadmin.qa_edit')); ?>

                                    </a>
                                <?php endif; ?>











                            </td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                </table>
                <?php echo e($currencyRates->links()); ?>


        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
    <script>




    </script>
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    
    

    
    

    
    
    
    
    
    
    
    
    
    
    
    

    
    
    
    
    
    
    
    
    
    

    

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

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/vdoma/resources/views/admin/currencyRates/index.blade.php ENDPATH**/ ?>