@extends('boothagent.layout.app') @section('title', 'Event - Index') @push('headerscript') @endpush @section('content')

Event

{{-- Add Booth Agent --}}
{{-- --}} @foreach ($event as $r) @php $vidhansabha = App\Models\VidhanSabha::where('id', $r->vidhansabha_id)->value('vidhansabha'); @endphp @php $name = App\Models\User::where('id', $r->creator_id)->value('name'); @endphp {{-- --}} @endforeach
S.NO. Vidhan Sabha Name Event Title Event Date Event End Date Event Address creatorAction
{{ $loop->iteration }} {{ $vidhansabha }} {{ $r->event_name }} {{ date('d-m-Y', strtotime($r->date_of_event)) }} {{ $r->limit }} {{ $r->address }} {{ $name }} Edit Delete
@endsection @push('footerscript') @endpush