%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/silvzytp/dsr_code/storage/framework/views/
Upload File :
Create Path :
Current File : //home/silvzytp/dsr_code/storage/framework/views/6dc4cb44ed911f917892ad14b865fa86e078421f.php

<?php $__env->startSection('title', $siteTitle); ?>

<?php $__env->startPush('styles'); ?>

<?php $__env->stopPush(); ?>

<?php $__env->startSection('content'); ?>

    <div class="row">
        <div class="col-12 col-md-8 mx-auto">
            <div class="ibox">
                <div class="ibox-head">
                    <div class="ibox-title w-100">Details - <?php echo e($admin->name); ?></div>
                </div>
                <div class="ibox-body px-0">
                    <table class="w-100 table table-sm table-borderless border-secondary">
                        <tr>
                            <td class="text-left"><strong>Role Name:</strong></td>
                            <td class="text-left"><span class="badge badge-danger">Manager</span></td>
                        </tr>
                        <tr>
                            <td class="text-left"><strong>Full Name:</strong></td>
                            <td class="text-left"><?php echo e($admin->name); ?></td>
                        </tr>
                        <tr>
                            <td class="text-left"><strong>Email:</strong></td>
                            <td class="text-left"><?php echo e($admin->email); ?>'</td>
                        </tr>
                        <tr>
                            <td class="text-left"><strong>Phone No:</strong></td>
                            <td class="text-left"><?php echo e($admin->phone_no ?? 'N/A'); ?></td>
                        </tr>
                        <tr>
                            <td class="text-left"><strong>Target:</strong></td>
                            <td class="text-left"><?php echo e($admin->target ?? 0.00); ?></td>
                        </tr>
                        <tr>
                            <td class="text-left"><strong>Sale Target:</strong></td>
                            <td class="text-left"><?php echo e($admin->s_target ?? 0.00); ?></td>
                        </tr>
                        <tr>
                            <td class="text-left"><strong>Created At</strong></td>
                            <td class="text-left"><?php echo e(date_format($admin->created_at, 'd-m-Y')); ?></td>
                        </tr>
                    </table>
                </div>
            </div>
            
            
            <div class="ibox">
                <div class="ibox-head">
                    <div class="ibox-title w-100">Assign Agents</div>
                </div>
                <div class="ibox-body px-0">
                    <table class="w-100 table table-sm table-borderless border-secondary">
                        <thead>
                            <th>SL</th>
                            <th>Name</th>
                            <th>Email</th>
                            <th>Target</th>
                        </thead>
                        <tbody>
                            <?php
                                $target = 0;
                            ?>
                            <?php $__empty_1 = true; $__currentLoopData = $admin->agents; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$agent): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                <?php
                                    $target += $agent->target;
                                ?>
                                <tr>
                                   <td><?php echo e($key+1); ?></td>
                                   <td><?php echo e($agent->name); ?></td>
                                   <td><?php echo e($agent->email); ?></td>
                                   <td><?php echo e($agent->target); ?></td>
                                <tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                <tr>
                                    <td colspan="4" class="text-danger text-center">No Data Found!</td>
                                </tr>
                            <?php endif; ?>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td></td>
                                <td></td>
                                <td class="text-right"><strong>Total Target:</strong></td>
                                <td><strong><?php echo e($target); ?></strong></td>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>
    </div>

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

<?php $__env->startPush('scripts'); ?>

<?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.backend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/silvzytp/dsr_code/resources/views/backend/pages/manager/view.blade.php ENDPATH**/ ?>

Zerion Mini Shell 1.0