@extends('superadmin.layouts.app') @section('content') Parish list @csrf Cover Photo @php $addSvg = ' '; @endphp @if(isset($parish)) @if($parish->cover_pic==null) {!!$addSvg!!} @else @endif @else {!!$addSvg!!} @endif Profile Photo @php $addprofilSvg = ' '; @endphp @if(isset($parish)) @if($parish->profile_pic==null) {!! $addprofilSvg !!} @else @endif @else {!! $addprofilSvg !!} @endif Name Email Contact number {{-- --}} Location {{-- @dd($parish->address['address_line_1']) --}} Website Status status == 1 ? 'selected' : '' }}>Active status == 0 ? 'selected' : '' }}>InActive Default Tab default_tab == 0 ? 'selected' : '' }}>Discuss default_tab == 1 ? 'selected' : '' }}>Post Description {{ isset($parish) ? $parish->bio : '' }} Mass Times Confession Adoration Times @foreach(['Sunday','Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Daily'] as $day) {{ $day }} @php $sundayMassTimes = isset($parish) ? collect($parish->mass_times)->firstWhere('day', strtolower($day)) : null; @endphp @if($sundayMassTimes) @foreach ($sundayMassTimes['time'] as $time) - @endforeach @else - @endif @endforeach @foreach(['Sunday','Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Daily'] as $day) {{ $day }} @php $confessionTimes = isset($parish) ? collect($parish->confession_time)->firstWhere('day', strtolower($day)) : null; @endphp @if($confessionTimes) @foreach ($confessionTimes['time'] as $time) - @endforeach @else - @endif @endforeach @foreach(['Sunday','Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Daily'] as $day) {{ $day }} @php $confessionTimes = isset($parish) ? collect($parish->adoration_time)->firstWhere('day', strtolower($day)) : null; @endphp @if($confessionTimes) @foreach ($confessionTimes['time'] as $time) - @endforeach @else - @endif @endforeach Cancel Save
Mass Times
Confession
Adoration Times