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/4fdb9191ab89a0a2cce33ca78c0652b61c4f273d.php
<?php $__env->startSection('content'); ?>
    <main class="body-content container-fluid my-5">
        <h3 class="text-secondary text-center">جزئیات سفارش</h3>
        <?php if(settings('checkout-note')): ?>
            <div class="alert alert-info"><?php echo settings('checkout-note'); ?></div>
        <?php endif; ?>
        <hr>
        <?php echo csrf_field(); ?>
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-8 col-sm-12">
                    <div class="card">
                        <div class="card-header">آدرس گیرنده (<?php echo e($address->name); ?>)
                            <a href="<?php echo e(route('addresses.index')); ?>" class="btn btn-sm btn-info float-end">تغییر آدرس</a>
                        </div>
                        <div class="card-body">
                            <p class="card-text">
                                <?php echo e($address->city->name); ?>، <?php echo e($address->address); ?>

                                <br>
                                کد پستی <?php echo e($address->postal_code); ?>

                                /
                                پلاک <?php echo e($address->plaque); ?>

                                <?php if($address->floor): ?>
                                    /
                                    واحد<?php echo e($address->floor); ?>

                                <?php endif; ?>
                            </p>
                        </div>
                    </div>
                    <div class="card mt-3">
                        <div class="card-header">لیست محصولات
                            <a href="<?php echo e(route('cart.index')); ?>" class="btn btn-sm btn-info float-end">سبد خرید</a>
                        </div>
                        <div class="card-body">
                            <div class="table-responsive">
                                <table class="table table-hover table-bordered">
                                    <thead>
                                    <tr class="text-center">
                                        <th scope="col">تصویر</th>
                                        <th scope="col">محصول</th>
                                        <th scope="col">قیمت واحد</th>
                                        <th scope="col">تعداد</th>
                                        <th scope="col">جمع کل</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <?php $__currentLoopData = $carts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cart): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <?php
                                            $product = $products->find($cart->id);
                                        ?>
                                        <tr class="text-center">
                                            <td>
                                                <a href="<?php echo e(route('products.show', $product->slug)); ?>">
                                                    <img src="<?php echo e(asset($product->image)); ?>"
                                                         alt="<?php echo e($product->name); ?>"
                                                         width="60"
                                                         height="40">
                                                </a>
                                            </td>
                                            <td>
                                                <p>
                                                    <a class="text-dark unde"
                                                       href="<?php echo e(route('products.show', $product->slug)); ?>">
                                                        <u><?php echo e($product->name); ?></u>
                                                    </a>
                                                    <?php if(count($cart->options)): ?>
                                                        <span class="text-secondary">(<?php echo e($cart->options['name']); ?>)</span>
                                                    <?php endif; ?>
                                                </p>
                                            </td>
                                            <td>
                                                <?php if($cart->name != 'none'): ?>
                                                    <del class="text-danger">
                                                        <?php echo e(to_persian_numbers(number_format($cart->name))); ?>

                                                    </del>
                                                    <br>
                                                <?php endif; ?>
                                                <?php echo e(to_persian_numbers(number_format($cart->price))); ?>

                                            </td>
                                            <td><?php echo e(to_persian_numbers(number_format($cart->qty))); ?></td>
                                            <td><?php echo e(to_persian_numbers(number_format($cart->price * $cart->qty))); ?></td>
                                        </tr>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    <tr class="text-center">
                                        <td colspan="4"><b>جمع کل</b></td>
                                        <td><b><?php echo e(to_persian_numbers(number_format($total))); ?></b></td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-4 col-sm-12">
                    <div class="card mt-3 mt-lg-0">
                        <div class="card-header">صورتحساب</div>
                        <?php
if (! isset($_instance)) {
    $html = \Livewire\Livewire::mount('frontend.checkout.index', ['cartTotal' => $total,'address' => $address])->html();
} elseif ($_instance->childHasBeenRendered('5a93bmu')) {
    $componentId = $_instance->getRenderedChildComponentId('5a93bmu');
    $componentTag = $_instance->getRenderedChildComponentTagName('5a93bmu');
    $html = \Livewire\Livewire::dummyMount($componentId, $componentTag);
    $_instance->preserveRenderedChild('5a93bmu');
} else {
    $response = \Livewire\Livewire::mount('frontend.checkout.index', ['cartTotal' => $total,'address' => $address]);
    $html = $response->html();
    $_instance->logRenderedChild('5a93bmu', $response->id(), \Livewire\Livewire::getRootElementTagName($html));
}
echo $html;
?>
                    </div>
                </div>
            </div>
        </div>
    </main>
<?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/frontend/checkout/index.blade.php ENDPATH**/ ?>