@extends('layouts.dashboard') @section('content')

Menu Send Birthday

Master Birthday

@if ($masters == null)
@can('birthday-set-master') Set Master Birthday @endcan
@else
@endif
@if ($masters == null)
Data Kosong
@else
@if ($masters->auto_send == 'on') ON @else OFF @endif
@can('birthday-edit-master') Edit @endcan @can('birthday-delete-master') delete @endcan
@endif

Master Reminder

@if ($reminder == null) @can('birthday-set-reminder') @endcan @else @endif
@if ($reminder == null)
@else
@can('birthday-edit-reminder') Edit @endcan @can('birthday-delete-reminder') Delete @endcan
@endif

Data Send Birthday

@can('birthday-send') Send Messages Birthday @endcan
@foreach ($birthday as $index => $birthday) @endforeach
no Devices No Handphone Url Pesan Auto Send Action
{{ $index + 1 }} {{ $birthday->Device->name }} {{ $birthday->number }} {{ $birthday->url }} {{$birthday->text }} {{ $birthday->auto_send }} @can('birthday-delete')
@csrf @method('DELETE')
@endcan
@endsection @push('script') @endpush