HEX
Server: LiteSpeed
System: Linux sv4.hami.host 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: armgroup (1008)
PHP: 8.2.32
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, mail, socket_create, socket_create_listen, socket_create_pair, link, dl, openlog, syslog, stream_socket_server, curl_multi_init
Upload Files
File: /home/armgroup/libs/storage/framework/views/66110abc7d5f0c264fc14e6c73838bd7e3bcf402.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/masomi/armshop/resources/views/account/address/index.blade.php ENDPATH**/ ?>