File: /home/armgroup/libs/storage/framework/views/aa892794795caebaaea1a35e86cba6f51edfa861.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(__('Wallet')); ?>
<span class="float-end">
<a href="<?php echo e(route('account.wallets.create')); ?>" class="btn btn-sm btn-primary">
<span class="fa fa-plus"></span> <?php echo e(__('Increase credit')); ?>
</a>
</span>
</h5>
<div class="card-body">
<div class="alert p-3" style="background-color: #eee;">
<?php
if (! isset($_instance)) {
$html = \Livewire\Livewire::mount('account.card.edit', [])->html();
} elseif ($_instance->childHasBeenRendered('l78gR7C')) {
$componentId = $_instance->getRenderedChildComponentId('l78gR7C');
$componentTag = $_instance->getRenderedChildComponentTagName('l78gR7C');
$html = \Livewire\Livewire::dummyMount($componentId, $componentTag);
$_instance->preserveRenderedChild('l78gR7C');
} else {
$response = \Livewire\Livewire::mount('account.card.edit', []);
$html = $response->html();
$_instance->logRenderedChild('l78gR7C', $response->id(), \Livewire\Livewire::getRootElementTagName($html));
}
echo $html;
?>
</div>
<table class="table table-sm mt-5">
<thead class="thead-dark">
<tr>
<th scope="col"><?php echo e(__('Amount')); ?></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 = $wallets; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $wallet): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td>
<span style="direction: ltr !important;"
class="badge bg-<?php echo e($wallet->amount > 0 ? 'success' : 'danger'); ?>">
<?php echo e(to_persian_numbers(number_format($wallet->amount))); ?>
</span>
</td>
<td><?php echo e(words($wallet->description, 15)); ?></td>
<td><?php echo e(to_persian_numbers(jdate($wallet->created_at))); ?></td>
<td>
<a href="<?php echo e(route('account.wallets.show', $wallet->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($wallets->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 Credit')); ?>: <u><?php echo e(to_persian_numbers(number_format(auth()->user()->credit))); ?></u> <?php echo e(__('Toman')); ?>
</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/masomi/armshop/resources/views/account/wallets/index.blade.php ENDPATH**/ ?>