@if($data != null)
@php $dateFilter = json_decode($data, true) @endphp
@if(!(empty($dateFilter["startDate"])) and !(empty($dateFilter["endDate"])))
Du {{$dateFilter["startDate"]}} jusqu'à {{$dateFilter["endDate"]}}
@endif
@if(!(empty($dateFilter["startDate"])) and (empty($dateFilter["endDate"])))
Du {{$dateFilter["startDate"]}}
@endif
@if((empty($dateFilter["startDate"])) and !(empty($dateFilter["endDate"])))
Jusqu'à {{$dateFilter["endDate"]}}
@endif
@if((empty($dateFilter["startDate"])) and (empty($dateFilter["endDate"])))
Du {{$nowFirstDay}} Jusqu'à {{$nowEndDay}}
@endif
@endif