@extends('admin.layouts.app') @section('title', 'Tickets') @section('content') @include('admin.includes.alerts')
@foreach($tickets as $i => $ticket) @endforeach
SN Full Name Mobile Gender Schedule Seat Booking Date Agent Status Action
{{$i+1}} {{$booking->fullname}} {{$booking->msisdn}} {{$booking->gender}} {{$booking->schedule_id}} {{$booking->seat_id}} {{$booking->booking_date}} {{$booking->agent_id}} @if($booking->status == 2) Booking @elseif($booking->status == 3) PAID CASH @elseif($booking->status == 4) PAID ONLINE @else N/A @endif {!! Form::open(array( 'style' => 'display: inline-block;', 'method' => 'POST', 'route' => ['Edit Office', $booking->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 Office', $booking->id])) !!} {!! Form::submit('Delete', array('class' => 'mb-2 mr-2 btn-icon btn-sm btn-danger')) !!} {!! Form::close() !!}
@endsection