@if (session()->has('success'))
{{ session('success') }}
@endif @if ($errors->any()) {{ $this->scroll() }}
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

@lang('admin.Your Message')

Loading.......

@if ($msg_file) @if (strpos($msg_file->getMimeType(), 'image') === 0)

@elseif ($msg_file->getMimeType() === 'application/pdf')

@endif @endif

Who do you want to sent to

Loading.......

Which buildings?
@foreach ($buildings as $building)
@endforeach
Which apartment types?
@foreach ($aprtment_types as $aprtment_type)
@endforeach
@foreach ($buildings as $building) @php $floors = $this->getFloors($building->id); @endphp
{{ $building->name }}
@foreach ($floors as $floor) @if ($floor == 0)

Floor G

@else

Floor {{ $floor }}

@endif @php $apartments = $this->getApartments($building->id, $floor); @endphp @foreach ($apartments as $apartment)
{{ $apartment->resident->first()->user->first_name . ' ' . $apartment->resident->first()->user->last_name }}
[Primary]
@endforeach @endforeach @endforeach