@component('mail::message')
MIOB : {{ $companyName }}
Nous vous informons que les informations ORIAS ont été modifiées. Veuillez trouver ci-dessous les détails des modifications.
@foreach($changes as $activity => $change)
@if($activity !== 'Inscription')
-- Activité {{ $activity }} --
@endif
@foreach($change as $type => $values)
@php
$added = data_get($values, 'added', []);
$removed = data_get($values, 'removed', []);
$changed = data_get($values, 'changed', []);
$e = ! in_array($type, ['Mandant']) ? 'e' : '';
@endphp
@if($added)
{{ $type }}s Ajouté{{ $e }}s
@foreach($added as $key => $value)
-
{{ is_numeric($key) ? '' : "$key :" }} {{ $value }}
@endforeach
@endif
@if($removed)
{{ $type }}s Supprimé{{ $e }}s
@foreach($removed as $key => $value)
-
{{ is_numeric($key) ? '' : "$key :" }} {{ $value }}
@endforeach
@endif
@if($changed)
{{ $type }}s Modifié{{ $e }}s
@foreach($changed as $key => $value)
-
{{ is_numeric($key) ? '' : "$key :" }} {{ $value }}
@endforeach
@endif
@endforeach
@endforeach
@component('mail::button', ['url' => $companyUrl, 'color' => 'blue'])
Cliquer ici pour voir la fiche de la société
@endcomponent
Bien cordialement,
L'équipe {{ config('app.name') }}
@endcomponent