@extends('.frontend.default') @section('content')
coupon_promotion_image_path_detail {{-- coupon_promotion_image_path_detail--}}
@if($coupon_promotion->is_admin_approve == \App\Models\CouponPromotion\CouponPromotion::ENUM_YES) @if($has_login) @switch($teacher_coupon_promotion_status) @case(App\Models\CouponPromotion\CouponPromotionTeacher::STATUS_VOID)
已取消/失效
@break @case(App\Models\CouponPromotion\CouponPromotionTeacher::STATUS_PROCESSING)
處理中
@break @case(App\Models\CouponPromotion\CouponPromotionTeacher::STATUS_GOT)
已換領
@break @default @break @endswitch @else
立即換領
@endif @endif

{{$coupon_promotion->name}}

上架日期 {{\Carbon\Carbon::parse($coupon_promotion->on_shelf_date)->format('d/m/Y')}}
優惠內容:
@nl2br($coupon_promotion->content ?? '-')
換領方法:
@nl2br($coupon_promotion->how_to_get ?? '-')
關於服務公司/機構:
@nl2br($coupon_promotion->how_to_get ?? '-')
@if($coupon_promotion->url) @endif
截止日期:
{{ \Carbon\Carbon::parse($coupon_promotion->dateline)->format('d/m/Y') }}

使用條款

@nl2br($coupon_promotion->terms_of_use ?? '-')
@endsection @section('pagescript') @endsection @section('pagestyle') @endsection