diff --git a/resources/views/stats/index.blade.php b/resources/views/stats/index.blade.php index 3a70869..dab9010 100644 --- a/resources/views/stats/index.blade.php +++ b/resources/views/stats/index.blade.php @@ -48,7 +48,11 @@ {{$coupon->quantity}} {{$coupon->remain}} {{$coupon->quantity - $coupon->remain}} - {{ date('d/m/Y', strtotime($coupon->coupon_maxdatediffusion)) }} + @if($coupon->coupon_maxdatediffusion != null) + {{ date('d/m/Y', strtotime($coupon->coupon_maxdatediffusion)) }} + @else + n/c + @endif @if ( $coupon->isPrintable == 1)