@php use Carbon\Carbon; @endphp
{{-- 如果有查找到優惠券 --}} @if ($findCoupon)
{{-- CouponArea --}}
{{-- CouponBox --}}

{{ $findCoupon->title }}

{{ $findCoupon->description }}

schedule 使用期限: {{ Carbon::parse($findCoupon->end_at)->format("Y/m/d") }} ({{ \App\Libraries\Date::dayOfWeekForChinese($findCoupon->end_at) }}) {{ Carbon::parse($findCoupon->end_at)->format("H:i") }}

{{-- CouponBtn --}}
@if( ($markedCoupon?->code === $findCoupon->code) and $showButtonUsing === true) 使用中 @else 取消 @endif
{{-- CouponAlert --}}

確認刪除此優惠券?

@else

{{ $errorMessage }}

@endif