Register Trip
SN | Route # | Bus | Date | Departure | Arrival | Tickets | Action |
---|---|---|---|---|---|---|---|
{{$i+1}} | {{$trip->route->start_point}} - {{$trip->route->end_point}} | {{$trip->bus->bus_reg_no}} | {{$trip->trip_date}} | {{$trip->departure}} | {{$trip->arrival}} | 0 | {!! Form::open(array( 'style' => 'display: inline-block;', 'method' => 'POST', 'route' => ['Edit Bus', $trip->id])) !!} {!! Form::submit('Manage', array('class' => 'mb-2 mr-2 btn-icon btn-sm btn-primary')) !!} {!! Form::close() !!} {!! Form::open(array( 'style' => 'display: inline-block;', 'method' => 'POST', 'onsubmit' => "return confirm('".trans("Are sure you want to Delete")."');", 'route' => ['Delete Bus', $trip->id])) !!} {!! Form::submit('Delete', array('class' => 'mb-2 mr-2 btn-icon btn-sm btn-danger')) !!} {!! Form::close() !!} |