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/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>