File: /home/armgroup/libs/storage/framework/views/4cf00cd7969f0172a18aa64e89f76106f7cad782.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(__('Addresses')); ?>
<span class="float-end">
<a href="<?php echo e(route('account.addresses.create')); ?>" class="btn btn-sm btn-primary">
<span class="fa fa-plus"></span> <?php echo e(__('Add')); ?>
</a>
</span>
</h5>
<div class="card-body">
<table class="table table-sm">
<thead class="thead-dark">
<tr>
<th scope="col"><?php echo e(__('Recipient Name')); ?></th>
<th scope="col"><?php echo e(__('Mobile')); ?></th>
<th scope="col"><?php echo e(__('City')); ?></th>
<th scope="col"><?php echo e(__('Address')); ?></th>
<th scope="col"><?php echo e(__('Actions')); ?></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $addresses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $address): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($address->name); ?></td>
<td><?php echo e(to_persian_numbers($address->mobile)); ?></td>
<td><?php echo e($address->city->name); ?></td>
<td><?php echo e(words($address->address, 10)); ?></td>
<td>
<a href="<?php echo e(route('account.addresses.edit', $address->id)); ?>" class="btn btn-info btn-sm">
<span class="fa fa-pencil-alt"></span> <?php echo e(__('Edit')); ?>
</a>
<form method="post" action="<?php echo e(route('account.addresses.destroy', $address->id)); ?>" class="d-inline">
<?php echo csrf_field(); ?>
<?php echo method_field('DELETE'); ?>
<button type="submit" class="btn btn-danger btn-sm" onclick="return confirm('<?php echo e(__('Are you sure?')); ?>');">
<span class="fa fa-trash"></span> <?php echo e(__('Delete')); ?>
</button>
</form>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</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/address/index.blade.php ENDPATH**/ ?>