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/resources/views/admin/dispatch/ride.blade.php
<div class="sidebar-activity">
    <div class="notifications">
    	<table class="table">
    		<tr>
    			<th>Status</th>
    			<th>Street</th>
    			<th>Mode</th>
    			<th></th>
    		</tr>
    		@foreach($trips as $index => $trip)
            <tr data-id="{{ $trip->id }}" id="trips">
                <td>@if($trip->status =='COMPLETED')
                        <span class="label label-table label-success"> {{ $trip->status }} </span>
                        <br>{{ datetime_formatter($trip->created_at) }}
                    @elseif($trip->status =='CANCELLED')
                        <span class="label label-table label-danger"> {{ $trip->status }} </span>
                        <br>{{ datetime_formatter($trip->created_at) }}
                    @elseif($trip->status =='SEARCHING')
                        <span class="label label-table label-warning"> {{ $trip->status }} </span>
                        <br>{{ datetime_formatter($trip->created_at) }}
                    @elseif($trip->status =='SCHEDULED')
                        <span class="label label-table label-primary"> {{ $trip->status }} </span>
                        <br>{{ datetime_formatter($trip->schedule_at) }}
                    @else
                        <span class="label label-table label-info"> {{ $trip->status }} </span>
                        <br>{{ datetime_formatter($trip->created_at) }}
                    @endif
                </td>
                <td> {{ $trip->s_address }} </td>
                <td>@if($trip->current_provider_id ==0)
                        Manual
                    @else
                        Auto
                    @endif
                    <br>
                    {{ $trip->booking_by }}
                </td>
                <td></td>
            </tr>
            @endforeach
    	</table>
	</div>
</div>