47 lines
2.4 KiB
PHP
47 lines
2.4 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
</head>
|
|
|
|
<body style="font-family:Helvetica;">
|
|
<div class="wrapper">
|
|
<h1 style="text-align:center; margin-bottom:5px;">MesBR.eu</h1>
|
|
<h2 style="text-align:center; margin:5px;">{{ $coupon->coupon_name }}</h2>
|
|
<h3 style="margin-bottom:80px; margin-top:5px; text-align:center;">{{ __('Diffusions du') }} {{ date('d/m/Y', strtotime($startdate)) }} {{ __('au') }} {{ date('d/m/Y', strtotime($enddate)) }}</h3>
|
|
<img style="width:80%; margin-left:10%; margin-bottom:20px;" src="{{ $coupon->coupon_image }}" alt="">
|
|
<h3 style="margin:0; margin-bottom:10px;">{{ __('Détail du coupon') }}</h3>
|
|
<table style="font-size:12px;">
|
|
<tr style="background-color:#2d2d2d; color:#FFF; text-align:center;">
|
|
<th style="width:25%">{{ __('Nom') }}</th>
|
|
<th style="width:15%">{{ __('Code') }}</th>
|
|
<th style="width:10%">{{ __('Quantité totale') }}</th>
|
|
<th style="width:10%">{{ __('Qté totale diffusée') }}</th>
|
|
<th style="width:15%">{{ __('Date de début de diffusion') }}</th>
|
|
<th style="width:15%">{{ __('Date de fin de diffusion') }}</th>
|
|
</tr>
|
|
<tr style="background-color:#adb5bd; color:#000; text-align:center;">
|
|
<td style="padding:5px 0;">{{ $coupon->coupon_name }}</td>
|
|
<td>{{ $coupon->coupon_code }}</td>
|
|
<td>{{ $coupon->couponQuantity }}</td>
|
|
<td>{{ $coupon->couponFullPrinted }}</td>
|
|
@if($coupon->coupon_mindatediffusion != null)
|
|
<td>{{ date('d/m/Y', strtotime($coupon->coupon_mindatediffusion)) }}</td>
|
|
@else
|
|
<td>{{ __('n/c') }}</td>
|
|
@endif
|
|
@if($coupon->coupon_maxdatediffusion != null)
|
|
<td>{{ date('d/m/Y', strtotime($coupon->coupon_maxdatediffusion)) }}</td>
|
|
@else
|
|
<td>{{ __('n/c') }}</td>
|
|
@endif
|
|
</tr>
|
|
</table>
|
|
<h3>{{ __('Graphique de diffusion sur la période du') }} {{ date('d/m/Y', strtotime($startdate)) }} {{ __('au') }} {{ date('d/m/Y', strtotime($enddate)) }}</h3>
|
|
<p style="margin-bottom:20px;">{{ __('Nombre de coupons diffusés') }} : {{ $coupon->couponPrinted }}</p>
|
|
<img src="{{ $src }}" alt="">
|
|
</div>
|
|
</body>
|
|
</html>
|