@extends('layouts.admin.app') @section('content')
@if( Session::get('permissions.user_type') == 'A' || Session::get('permissions.user_type') == 'M' )
@foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg))

{{ Session::get('alert-' . $msg) }}

@endif @endforeach
Occasion List
@if(count($result) > 0)
@php $i=1; @endphp @foreach($result as $key => $data) @endforeach
No. Occasion Name Occasion Date Occasion Link Occasion Heading Status Created Date Action
{{ $i + $key }} {{$data->occ_name}} {{$data->occ_date}} {{$data->occ_link}} {{$data->occ_heading_status}} {{date('d-m-Y', strtotime($data->created_at))}}
@else
No Data Found...
@endif
@endif
@endsection