
<?php $__env->startSection('styles'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('title'); ?>
    View Order
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <!-- Begin Page Content -->
    <div class="container">

        <!-- Page Heading -->
        
        <div class="d-flex align-items-center p-3 my-3 text-white bg-primary rounded shadow-sm">
            <svg class="bd-placeholder-img flex-shrink-0 me-2 rounded" width="32" height="32"
                xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: 32x32"
                preserveAspectRatio="xMidYMid slice" focusable="false">
                <title>Placeholder</title>
                <rect width="100%" height="100%" fill="var(--white)"></rect><text x="50%" y="50%"
                    fill="var(--white)" dy=".3em">32x32</text>
            </svg>

            <div class="ml-2">
                <h1 class="h6 mb-0 text-white lh-1">View Order</h1>
                <small><a class="text-white" href="<?php echo e(url('admin/dashboard')); ?>">dashboard</a> > <a class="text-white"
                        href="<?php echo e(url($prefix . 'manage')); ?>">manage orders</a> > view order</small>
            </div>
        </div>
        <!-- Content Row -->
        <div class="row">
            <div class="col-sm-12">
                <div class="card mb-4 shadow">
                    <div class="card-body">
                        <div class="row small">
                            <div class="col-sm-6">
                                Domain
                                <div class="form-group font-weight-bold">
                                    <select disabled class="font-weight-bold">
                                        <?php $__currentLoopData = $authorized_domains; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($item->id); ?>"
                                                <?php if($data->domain_id == $item->id): ?> selected <?php endif; ?>><?php echo e($item->link); ?>

                                            </option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                                Link 
                                <div class="form-group font-weight-bold">
                                    <?php echo e($data->link); ?>

                                </div>
                                IMEI
                                <div class="form-group font-weight-bold">
                                    <?php echo e($data->imei); ?>

                                </div>
                                Email
                                <div class="form-group font-weight-bold">
                                    <?php echo e($data->email); ?>

                                </div>
                                Phone Number
                                <div class="form-group font-weight-bold">
                                    <?php echo e($data->phone_number); ?>

                                </div>
                                Iphone Model
                                <div class="form-group font-weight-bold">
                                    <?php echo e($data->model); ?>

                                </div>
                                <hr>
                                <span class="small font-weight-bold">--Location--</span>
                                <div class="form-group font-weight-bold">
                                    Country : <?php echo e($data->country); ?>

                                </div>
                                <div class="form-group font-weight-bold">
                                    City : <?php echo e($data->city); ?>

                                </div>
                                Latitude
                                <div class="form-group font-weight-bold">
                                 <?php echo e($data->latitude); ?>

                                </div>
                                Longitude
                                <div class="form-group font-weight-bold">
                                    <?php echo e($data->longitude); ?>

                                </div>
                            </div>

                            <div class="col-sm-6">
                                <span class="small font-weight-bold">--SMS--</span> <br>
                                Sender ID
                                <div class="form-group font-weight-bold">
                                    <?php echo e($data->sender_id); ?>

                                </div>
                                Sms API
                                <div class="form-group font-weight-bold">
                                    <select disabled class="font-weight-bold">

                                        <?php $__currentLoopData = $sms_apis; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($item->id); ?>"
                                                <?php if($data->sender_api_id == $item->id): ?> selected <?php endif; ?>><?php echo e($item->name); ?>

                                            </option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>

                                </div>
                                Sms Template
                                <div class="form-group font-weight-bold">
                                    <select disabled class="font-weight-bold">
                                        <?php $__currentLoopData = $sms_templates; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($item->id); ?>"
                                                <?php if($data->template_id == $item->id): ?> selected <?php endif; ?>><?php echo e($item->name); ?>

                                            </option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>

                                </div>
                                Message
                                <div class="form-group font-weight-bold">
                                    <?php echo e($data->message); ?>

                                </div>
                                Script
                                <div class="form-group font-weight-bold mt-2">
                                    <select disabled class="font-weight-bold">
                                        <?php $__currentLoopData = $scripts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($item->id); ?>"
                                                <?php if($data->script_id == $item->id): ?> selected <?php endif; ?>><?php echo e($item->name); ?>

                                            </option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>

                                </div>
                                Notes
                                <div class="form-group font-weight-bold">
                                    <?php echo e($data->note); ?>

                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-12">
                                <div class="text-right mt-4">
                                    <a class="btn btn-secondary text-uppercase font-weight-bold rounded pl-4 pr-4"
                                        href="<?php echo e(url($prefix . 'manage')); ?>">Back</a>
                                    <a class="btn btn-primary text-uppercase font-weight-bold rounded pl-4 pr-4"
                                        href="<?php echo e(url($prefix . 'edit?id=' . $data->id)); ?>">edit</a>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('components.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/iserver1/kitmain/resources/views/admin/orders/orders_view.blade.php ENDPATH**/ ?>