@lang('app.coupon') @lang('app.detail')

@lang('app.coupon') @lang('app.code')

{{ $coupon->title }}

@lang('app.startTime')

{{ $coupon->start_date_time->format('Y M d H:i') }}

@lang('app.endTime')

@if($coupon->end_date_time) {{ $coupon->end_date_time->format('Y M d H:i') }} @else - @endif

@lang('app.usesTime')

@if($coupon->uses_limit > 0) {{ $coupon->uses_limit }} @else @lang('app.infinite') @endif

@lang('app.usedTime')

{{ $coupon->used_time }}

@lang('app.amountOrPercent')

@if(!is_null($coupon->amount)){{($coupon->amount) }} @else - @endif @if(($coupon->discount_type) == "percentage") % @else {{globalSetting()->currency->currency_symbol}} @endif

@lang('app.dayForApply')

@if(sizeof($days) == 7) @lang('app.allDays') @else @forelse($days as $day) @lang('app.'. strtolower($day)) @empty @endforelse @endif

@if(!is_null($coupon->description))
@lang('app.description')

{!! $coupon->description !!}

@endif