@component('mail::message')
# AGENDA
Gracias por usar los servicios de [Platino Marketing Promocional.](https://app.promogaza.com)
Este email tiene la finalidad de darle a conocer que hay nuevas entradas y/o comentarios en la Agenda {{ $data['category']['name'] }} de su campaña **{{ $data['campaign']['name'] }}**
#Detalle {{ $data['category']['name'] }}
@php
setlocale(LC_TIME, 'Spanish');
\Carbon\Carbon::setUtf8(true);
$date = \Carbon\Carbon::parse($data['entry']['created_at']) ;
$time = \Carbon\Carbon::parse($data['entry']['created_at'])->toTimeString() ;
@endphp
**Fecha/Hora:** {{ $date->formatLocalized('%A %d %B %Y') }} / {{ $time }}
**Autor:** {{ $data['entry']['user']['name'] }}
{{$data['entry']['comment']}}
@if( count( $data['entry']['media'] ) )
**Adjuntos:**
@foreach( $data['entry']['media'] as $media )
{{ $media['slug'] }}.{{ $media['ext'] }} **;**
@endforeach
@endif
@if(isset($data['reply']))
#Respuestas/Comentarios:
*********
@foreach($data['reply'] as $reply )
@php
setlocale(LC_TIME, 'Spanish');
\Carbon\Carbon::setUtf8(true);
$date = \Carbon\Carbon::parse($reply['created_at']) ;
$time = \Carbon\Carbon::parse($reply['created_at'])->toTimeString() ;
@endphp
**Fecha/Hora:** {{ $date->formatLocalized('%A %d %B %Y') }} / {{ $time }}
**Autor:** {{ $reply['user']['name'] }}
{{ $reply['comment'] }}
@if( count( $reply['media'] ) )
**Adjuntos:**
@foreach( $reply['media'] as $media )
{{ $media['slug'] }}.{{ $media['ext'] }} **;**
@endforeach
@endif
*********
@endforeach
@endif
@php
$url =url('campaign/'.$data['campaign']['id'].'/diary?view=list&category_id='.$data['category']['id']) ;
@endphp
@component('mail::button', ['url' => $url ])
Ver todo
@endcomponent
#Detalles Campaña
**Nombre:** {{ $data['campaign']['name'] }}
**Descripcion:** {{ $data['campaign']['description'] }}
**Cliente:** {{ $data['campaign']['business']['name'] }}
**Fecha Inicio:** {{ \Carbon\Carbon::parse($data['campaign']['started_at'])->toDateString() }}
**Fecha Finalización:** {{ \Carbon\Carbon::parse($data['campaign']['finished_at'])->toDateString() }}
@php
$url_c =url('campaign/'.$data['campaign']['id']);
@endphp
@component('mail::button', ['url' => $url_c ])
Ver Campaña
@endcomponent
Gracias,
Platino Marketing Promocional
webmaster@promogaza.com
@endcomponent