File: /var/www/html/punjabcabs/storage/framework/views/7a370e8c657f92e8215d5b385d6cc66cdac2072b.php
<div class="sidebar-activity">
<div class="notifications">
<table class="table">
<tr>
<th>Status</th>
<th>Street</th>
<th>Mode</th>
<th></th>
</tr>
<?php $__currentLoopData = $trips; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $trip): $__env->incrementLoopIndices(); $loop = $__env->getFirstLoop(); ?>
<tr data-id="<?php echo e($trip->id); ?>" id="trips">
<td><?php if($trip->status =='COMPLETED'): ?>
<span class="label label-table label-success"> <?php echo e($trip->status); ?> </span>
<br><?php echo e(datetime_formatter($trip->created_at)); ?>
<?php elseif($trip->status =='CANCELLED'): ?>
<span class="label label-table label-danger"> <?php echo e($trip->status); ?> </span>
<br><?php echo e(datetime_formatter($trip->created_at)); ?>
<?php elseif($trip->status =='SEARCHING'): ?>
<span class="label label-table label-warning"> <?php echo e($trip->status); ?> </span>
<br><?php echo e(datetime_formatter($trip->created_at)); ?>
<?php elseif($trip->status =='SCHEDULED'): ?>
<span class="label label-table label-primary"> <?php echo e($trip->status); ?> </span>
<br><?php echo e(datetime_formatter($trip->schedule_at)); ?>
<?php else: ?>
<span class="label label-table label-info"> <?php echo e($trip->status); ?> </span>
<br><?php echo e(datetime_formatter($trip->created_at)); ?>
<?php endif; ?>
</td>
<td> <?php echo e($trip->s_address); ?> </td>
<td><?php if($trip->current_provider_id ==0): ?>
Manual
<?php else: ?>
Auto
<?php endif; ?>
<br>
<?php echo e($trip->booking_by); ?>
</td>
<td></td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getFirstLoop(); ?>
</table>
</div>
</div>