File: /home/armgroup/libs/storage/framework/views/9e299266f931461733fc5ea2f598896b1ad6534f.php
<?php $__env->startSection('content'); ?>
<div class="container my-5 body-content">
<div class="row">
<div class="col-lg-3 col-sm-12">
<?php echo $__env->make('account.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
<div class="col-lg-9 col-sm-12">
<div class="card">
<h5 class="card-header"><?php echo e(__('Points')); ?>
<?php if(settings('point-exchange-rate') > 0): ?>
<span class="float-end">
<a href="<?php echo e(route('account.points.show-exchange')); ?>" class="btn btn-sm btn-primary">
<span class="fa fa-exchange-alt"></span> <?php echo e(__('Convert points to credits')); ?>
</a>
</span>
<?php endif; ?>
</h5>
<div class="card-body">
<table class="table table-sm">
<thead class="thead-dark">
<tr>
<th scope="col"><?php echo e(__('Point')); ?></th>
<th scope="col"><?php echo e(__('Description')); ?></th>
<th scope="col"><?php echo e(__('Date')); ?></th>
<th scope="col"><?php echo e(__('Actions')); ?></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $points; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $point): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td>
<span style="direction: ltr !important;"
class="badge bg-<?php echo e($point->amount > 0 ? 'success' : 'danger'); ?>">
<?php echo e(to_persian_numbers($point->amount)); ?>
</span>
</td>
<td><?php echo e(words($point->description, 15)); ?></td>
<td><?php echo e(to_persian_numbers(jdate($point->created_at))); ?></td>
<td>
<a href="<?php echo e(route('account.points.show', $point->id)); ?>" class="btn btn-info btn-sm">
<span class="fa fa-info-circle"></span> <?php echo e(__('Detail')); ?>
</a>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
<?php echo e($points->links()); ?>
<div class="row mt-2">
<div class="col-lg-6 offset-lg-3 col-12">
<div class="alert alert-primary text-center" role="alert">
<?php echo e(__('Current Point')); ?>: <u><?php echo e(to_persian_numbers(auth()->user()->point)); ?></u>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/technova/technovar/resources/views/account/points/index.blade.php ENDPATH**/ ?>