HEX
Server: Apache/2.4.41 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.40
System: Linux ip-172-31-40-18 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64
User: apache (48)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: //var/www/html/punjabcabs/storage/framework/views/321c9ba3a123a3bb0df6f69c524a7b462dfd7e14.php
<?php $__env->startSection('title', 'Scheduled Rides '); ?>

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

    <div class="content-area py-1">
        <div class="container-fluid">

            <div class="row bg-title">
                <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                    <h4 class="page-title"><?php echo app('translator')->get('admin.scheduled_rides'); ?></h4>
                </div>
                <div class="col-lg-6 col-sm-6 col-md-6 col-xs-12">
                    
                    <ol class="breadcrumb">
                        <li><a href="<?php echo e(route('admin.dashboard')); ?>"><?php echo app('translator')->get('admin.dashboard'); ?></a></li>
                        <li class="active"><?php echo app('translator')->get('admin.scheduled_rides'); ?></li>
                    </ol>
                </div>
            </div>
            <div class="box box-block bg-white">
                <?php if(count($requests) != 0): ?>
                <table class="table table-striped table-bordered dataTable" id="table-2">
                    <thead>
                        <tr>
                            <th><?php echo app('translator')->get('admin.member.id'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.booking_id'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.user_name'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.driver_name'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.date_time'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.status'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.payment_mode'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.payment_status'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.action'); ?></th>
                        </tr>
                    </thead>
                    <tbody>
                    <?php $__currentLoopData = $requests; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $request): $__env->incrementLoopIndices(); $loop = $__env->getFirstLoop(); ?>
                        <tr>
                            <td><?php echo e($index + 1); ?></td>

                            <td><?php echo e($request->id); ?></td>
                            <td><?php if($request->user): ?>
                                <?php echo e($request->user->first_name); ?> <?php echo e($request->user->last_name); ?>

                                <?php else: ?>
                                    N/A
                                <?php endif; ?></td>
                            <td>
                                <?php if($request->provider): ?>
                                    <?php echo e($request->provider->first_name); ?> <?php echo e($request->provider->last_name); ?>

                                <?php else: ?>
                                    N/A
                                <?php endif; ?>
                            </td>
                            <td><?php echo e(datetime_formatter($request->schedule_at)); ?></td>
                            <td>
                                <?php echo e($request->status); ?>

                            </td>

                            <td><?php echo e($request->payment_mode); ?></td>
                            <td>
                                <?php if($request->paid): ?>
                                    Paid
                                <?php else: ?>
                                    Not Paid
                                <?php endif; ?>
                            </td>
                            <td>
                                <div class="input-group-btn">
                                  <button type="button" class="btn btn-info waves-effect waves-light dropdown-toggle" data-toggle="dropdown"><?php echo app('translator')->get('admin.member.action'); ?>
                                    <span class="caret"></span>
                                  </button>
                                  <ul class="dropdown-menu">
                                    <li>
                                        <a href="<?php echo e(route('admin.requests.show', $request->id)); ?>" class="btn btn-default"><i class="fa fa-search"></i> <?php echo app('translator')->get('admin.member.more_details'); ?></a>
                                    </li>
                                  </ul>
                                </div>
                            </td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getFirstLoop(); ?>
                    </tbody>
                    <tfoot>
                        <tr>
                            <th><?php echo app('translator')->get('admin.member.id'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.booking_id'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.user_name'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.driver_name'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.date_time'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.status'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.payment_mode'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.payment_status'); ?></th>
                            <th><?php echo app('translator')->get('admin.member.action'); ?></th>
                        </tr>
                    </tfoot>
                </table>
                <?php else: ?>
                    <h6 class="no-result">No results found</h6>
                <?php endif; ?> 
            </div>
            
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layout.base', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>