@extends('layouts.admin.admin') @section('title', 'Dashboard') @section('content')
Dashboard
Welcome {{ auth()->user()->name }} | {{ now()->format(config('custom.dfyhia')) }} Sync Assigned Institution
IMPORTANT URL

COLLECTION URL

@can('access-photoshoot-module')

STUDIO PHOTOSHOOT

@endcan
@can('admin-dashboard') @if(count($data['bulk_delete_ceremonies']) > 0)
Delete Ceremonies Data
@foreach ($data['bulk_delete_ceremonies'] as $c) @endforeach
Institutions Ceremony
{{ $c->institution->name }} {{ $c->detail }}
@endif @endcan
@can('admin-dashboard')
Current Active Ceremonies
@can('send-email-sms') @if(count($data['remainder_ceremonies']))
SMS Message (Your can edit the message from setting)

"{{ setting(Str::slug(\App\Constant\Constant::REMAINDER_MESSAGE)) }}"

Edit

@endif @endcan @canany(['send-email-sms']) @endcan @foreach ($data['active_ceremonies'] as $ceremony) @foreach(config('custom.user_types') as $key => $value) @if ($key == 0) @endif @if ($key == 0) @can('send-email-sms') @endcan @endif @endforeach {{-- @can('send-email-sms') @endcan @can('send-email-sms') @endcan --}} @endforeach
Ceremony User Type Total Eligible Refunded Incomplete Total Attendee Arrived Collected Returned Guest TicketRemainder Notification
{{ $ceremony->detail }}
INS: {{ $ceremony->institution->name }}
{{ $value }} @php $attend = strtolower($value) . '_attend_total'; $unattend = strtolower($value) . '_unattend_total'; $defer = strtolower($value) . '_defer_total'; @endphp {{ $ceremony->$attend }}
{{ $ceremony->$unattend }}
{{ $ceremony->$defer }}
@php $eligible = strtolower($value) . '_eligible_count'; @endphp {{ $ceremony->$eligible }} @php $refunded = strtolower($value) . '_refunded_orders_count'; @endphp {{ $ceremony->$refunded }} @php $incomplete = strtolower($value) . '_incomplete_orders_count'; @endphp {{ $ceremony->$incomplete }} @php $complete = strtolower($value) . '_complete_orders_count'; @endphp {{ $ceremony->$complete }} @php $arrived = strtolower($value) . '_arrived_count'; @endphp {{ $ceremony->$arrived }} {{ $ceremony->$complete - $ceremony->$arrived }} @php $collect = strtolower($value) . '_collected_count'; @endphp {{ $ceremony->$collect }} {{ $ceremony->$arrived - $ceremony->$collect }} @php $return = strtolower($value) . '_returned_count'; @endphp {{ $ceremony->$return }} {{ $ceremony->$collect - $ceremony->$return }}

Free: {{ $data['seat_infos'][$ceremony->id]['free_guest'] }}

Paid: {{ $data['seat_infos'][$ceremony->id]['paid_guest'] }}

Total: {{ $data['seat_infos'][$ceremony->id]['total_guest'] }}

@livewire('admin.dashboard.ceremony-ticket-limit', [ 'data' => $ceremony ])

@if(in_array($ceremony->id, $data['remainder_ceremonies']))
@csrf
@csrf
@foreach ($ceremony->ceremonyNotificationLogs->take(2) as $log)

{{ toDFYHi($log->date) }}

@endforeach @endif
{{ $ceremony->detail }}
{{ $ceremony->institution->name }}
{{ $ceremony->graduates_total }} {{ $ceremony->eligible_graduates_count }} {{ $ceremony->refunded_orders_count }} {{ $ceremony->incomplete_orders_count }} {{ $ceremony->complete_orders_count }} {{ $ceremony->arrived_count }} {{ $ceremony->complete_orders_count-$ceremony->arrived_count }} {{ $ceremony->collected_count }} {{ $ceremony->arrived_count-$ceremony->collected_count }} {{ $ceremony->returned_count }} {{ $ceremony->collected_count-$ceremony->returned_count }}

Free: {{ $data['seat_infos'][$ceremony->id]['free_guest'] }}

Paid: {{ $data['seat_infos'][$ceremony->id]['paid_guest'] }}

Total: {{ $data['seat_infos'][$ceremony->id]['total_guest'] }}

@if(in_array($ceremony->id, $data['remainder_ceremonies']))
@csrf
@foreach ($ceremony->ceremonyNotificationLogs->take(2) as $log)

{{ toDFYHi($log->date) }}

@endforeach @endif
@if(in_array($ceremony->id, $data['remainder_ceremonies']))
@csrf
@endif
@include('dashboard.partials.graduate-list-table',[ 'institution_id' => $data['institution_id'], 'ceremonies' => $data['active_ceremonies'], 'institutions' => $data['institutions'] ?? [] ]) @endcan @endsection