

<?php $__env->startSection('content'); ?>
    <?php Fun::lang()?>
    <div class="page">
        <div class="top-content">
            <div class="row">
                <div class="col-sm-6 col-xs-12">
                    <div class="title-add">
                        <div class="pull-left">
                            <h3>Currency histories</h3>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6 col-xs-12">

                </div>
            </div>
        </div>
        <div class="box-body">
            <table id="datatable_products" width="100%" class="table table-striped table-hover  ">
                <thead>
                <tr>
                    <th width="5%">#</th>
                    <th><?php echo e(__('administrator.currency')); ?></th>
                    <th><?php echo e(__('administrator.rate')); ?></th>
                    <th><?php echo e(__('administrator.date')); ?></th>
                </tr>
                </thead>
                <tbody style="text-align: center">
                    <?php $__currentLoopData = $history; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($key+1); ?></td>
                            <td><?php echo e(findCurrency($row->currency_id)->name); ?></td>
                            <td><?php echo e(findCurrency($row->currency_id)->symbol); ?><?php echo e($row->old_rate); ?></td>
                            <td><?php echo e(date('d-m-Y',strtotime($row->date))); ?></td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </tbody>
            </table>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#datatable_products').DataTable();
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/nsowos/public_html/shr-brand/resources/views/administrator/currency/history.blade.php ENDPATH**/ ?>