<?php if (isset($component)) { $__componentOriginalfcbcb094a4e25784fc05a845b0fe2686439b0eb5 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\AdminPanelLayout::class, []); ?>
<?php $component->withName('admin-panel-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
     <?php $__env->slot('title'); ?>
        جزئیات بیشتر سفارش
     <?php $__env->endSlot(); ?>
     <?php $__env->slot('main'); ?>
        <!-- Checked checkbox -->
        <div class="content-header">
            <div class="container-fluid">
                <div class="row mb-2">
                    <div class="col-sm-6">
                        <h5 class="m-0 text-dark">جزئیات بیشتر سفارش <?php echo e($order->code); ?></h5>
                    </div><!-- /.col -->
                    <div class="col-sm-6">
                        <ol class="breadcrumb float-sm-left">

                            <li class="breadcrumb-item">مدیریت سفارشات</li>
                            <li class="breadcrumb-item active">جزئیات بیشتر سفارش</li>
                        </ol>
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.container-fluid -->
        </div>
        <section class="content mt-sm-3">
            <div class="tab-content mt-3" id="nav-tabContent">
                <div class="tab-pane fade show active" id="nav-home" role="tabpanel" aria-labelledby="nav-home-tab">
                    <div class="card p-0 card-primary col-md-8 mx-auto">
                        <ul class="list-group">
                            <li class="list-group-item d-flex justify-content-between">
                                <span>کد رهگیری سفارش</span>
                                <span><?php echo e($order->code); ?></span>
                            </li>
                            <li class="list-group-item d-flex justify-content-between">
                                <span>مشتری</span>
                                <span><?php echo e($order->user->mobile); ?> | id :<?php echo e($order->user->id); ?></span>
                            </li>
                            <li class="list-group-item d-flex justify-content-between">
                                <span>خدمت مد نظر</span>
                                <span><?php echo e($order->service->name); ?></span>
                            </li>
                            <li class="list-group-item d-flex justify-content-between">
                                <span>هزینه</span>
                                <span><?php echo e($order->getPrice()); ?></span>
                            </li>
                            <li class="list-group-item d-flex justify-content-between">
                                <span>منطقه</span>
                                <span><?php echo e($order->region->city->name); ?>-<?php echo e($order->region->name); ?></span>
                            </li>
                            <li class="list-group-item d-flex justify-content-between">
                                <span>وضعیت</span>
                                <span><?php echo app('translator')->get($order->status); ?></span>
                            </li>
                            <?php if(array_key_exists('start_work',$order->meta)): ?>
                                <li class="list-group-item d-flex justify-content-between">
                                    <span>زمان شروع کار</span>
                                    <span><?php echo e(IR_TimestampToDate($order->meta['start_work'])); ?></span>
                                </li>
                            <?php endif; ?>
                            <?php if(array_key_exists('end_work',$order->meta)): ?>
                                <li class="list-group-item d-flex justify-content-between">
                                    <span>زمان پایان کار</span>
                                    <span><?php echo e(IR_TimestampToDate($order->meta['end_work'])); ?></span>
                                </li>
                            <?php endif; ?>
                            <li class="list-group-item d-flex justify-content-between">
                                <span>تاریخ ثبت</span>
                                <span><?php echo e($order->created_at); ?></span>
                            </li>
                            <li class="list-group-item d-flex justify-content-between">
                                <span>موعد انجام</span>
                                <span><?php echo e($order->time_todo); ?><?php echo app('translator')->get($order->getTimeToDoStatus()); ?></span>
                            </li>
                            <?php if($order->extra_number): ?>
                                <li class="list-group-item d-flex justify-content-between">
                                    <span>شماره هماهنگی</span>
                                    <span><?php echo e($order->extra_number); ?></span>
                                </li>
                            <?php endif; ?>
                            <?php if($order->operator_id): ?>
                                <li class="list-group-item d-flex justify-content-between">
                                    <span>اپراتور مربوطه</span>
                                    <span>اپراتور <?php echo e($order->operator_id); ?></span>
                                </li>
                            <?php endif; ?>
                            <?php if($order->team_leader_id): ?>
                                <li class="list-group-item d-flex justify-content-between">
                                    <span>سرتیم مربوطه</span>
                                    <span>سرتیم <?php echo e($order->team_leader_id); ?></span>
                                </li>
                            <?php endif; ?>
                            <?php if($order->expert_id): ?>
                                <li class="list-group-item d-flex justify-content-between">
                                    <span>متخصص مربوطه</span>
                                    <span>متخصص <?php echo e($order->expert_id); ?></span>
                                </li>
                            <?php endif; ?>
                        </ul>
                    </div>
                </div>
            </div>
        </section>
     <?php $__env->endSlot(); ?>
    <?php if(session()->get('status') == 'done'): ?>
         <?php $__env->slot('linkScript'); ?>
            <script>
                Swal.fire({
                    icon: 'success',
                    text: 'ویرایش جزئیات سفارش با موفقیت انجام شد',
                })
            </script>
         <?php $__env->endSlot(); ?>
    <?php endif; ?>
    <?php if(session()->get('status') == 'error'): ?>
         <?php $__env->slot('linkScript'); ?>
            <script>
                Swal.fire({
                    icon: 'error',
                    text: 'ویرایش جزئیات سفارش با خطا مواجه شد',
                })
            </script>
         <?php $__env->endSlot(); ?>
    <?php endif; ?>
 <?php if (isset($__componentOriginalfcbcb094a4e25784fc05a845b0fe2686439b0eb5)): ?>
<?php $component = $__componentOriginalfcbcb094a4e25784fc05a845b0fe2686439b0eb5; ?>
<?php unset($__componentOriginalfcbcb094a4e25784fc05a845b0fe2686439b0eb5); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php /**PATH C:\xampp\htdocs\newer\Modules\Mehrab\OrderService\Providers/../Resources/Views//Admin/show_order_service_details.blade.php ENDPATH**/ ?>
