KHUYẾN MÃI GIẢM GIÁ CHƯƠNG TRÌNH PHỔ THÔNG
Lớp 6 | Lớp 7 | Lớp 8 | Lớp 9 | Lớp 10 | Lớp 11 | Lớp 12 | |
---|---|---|---|---|---|---|---|
{{ $time . ' tháng' }} | @foreach ($promotionData['course_promotion']['Online'] as $data) @if ($data->time == $time)
@if ($data->discount_status == \App\Enums\PromotionStatus::UNACTIVE->value)
{{ \App\Enums\PromotionStatus::UNACTIVE->name() }}
@elseif($data->discount_status == \App\Enums\PromotionStatus::ACTIVE->value)
{{ \App\Enums\PromotionStatus::ACTIVE->name() }}
{{ 'Khuyến mãi: ' . $data->discount . '%' }}
{{ 'Ngày kết thúc: ' . \Carbon\Carbon::parse($data->discount_day_end)->format('d-m-Y') }}
@elseif($data->discount_status == \App\Enums\PromotionStatus::UP_COMING->value)
{{ \App\Enums\PromotionStatus::UP_COMING->name() }}
{{ 'Khuyến mãi: ' . $data->discount . '%' }}
{{ 'Ngày bắt đầu: ' . \Carbon\Carbon::parse($data->discount_day_start)->format('d-m-Y') }}
@endif
|
@endif
@endforeach
KHUYẾN MÃI TẶNG THÊM THỜI GIAN CHƯƠNG TRÌNH PHỔ THÔNG
Lớp 6 | Lớp 7 | Lớp 8 | Lớp 9 | Lớp 10 | Lớp 11 | Lớp 12 | |
---|---|---|---|---|---|---|---|
{{ $time . ' tháng' }} | @foreach ($promotionData['course_promotion']['Online'] as $data) @if ($data->time == $time)
@if ($data->month_gift_status == \App\Enums\PromotionStatus::UNACTIVE->value)
{{ \App\Enums\PromotionStatus::UNACTIVE->name() }}
@elseif($data->month_gift_status == \App\Enums\PromotionStatus::ACTIVE->value)
{{ \App\Enums\PromotionStatus::ACTIVE->name() }}
{{ 'Khuyến mãi: ' . $data->month_gift . ' tháng' }}
{{ 'Ngày kết thúc: ' . \Carbon\Carbon::parse($data->month_gift_day_end)->format('d-m-Y') }}
@elseif($data->month_gift_status == \App\Enums\PromotionStatus::UP_COMING->value)
{{ \App\Enums\PromotionStatus::UP_COMING->name() }}
{{ 'Khuyến mãi: ' . $data->month_gift . ' tháng' }}
{{ 'Ngày bắt đầu: ' . \Carbon\Carbon::parse($data->month_gift_day_start)->format('d-m-Y') }}
@endif
|
@endif
@endforeach
KHUYẾN MÃI GIẢM GIÁ CHƯƠNG TRÌNH CHO DU HỌC SINH
AP | |
---|---|
{{ $time . ' tháng' }} | @foreach ($promotionData['course_promotion']['AP'] as $data) @if ($data->time == $time)
@if ($data->discount_status == \App\Enums\PromotionStatus::UNACTIVE->value)
{{ \App\Enums\PromotionStatus::UNACTIVE->name() }}
@elseif($data->discount_status == \App\Enums\PromotionStatus::ACTIVE->value)
{{ \App\Enums\PromotionStatus::ACTIVE->name() }}
{{ 'Khuyến mãi: ' . $data->discount . '%' }}
{{ 'Ngày kết thúc: ' . \Carbon\Carbon::parse($data->discount_day_end)->format('d-m-Y') }}
@elseif($data->discount_status == \App\Enums\PromotionStatus::UP_COMING->value)
{{ \App\Enums\PromotionStatus::UP_COMING->name() }}
{{ 'Khuyến mãi: ' . $data->discount . '%' }}
{{ 'Ngày bắt đầu: ' . \Carbon\Carbon::parse($data->discount_day_start)->format('d-m-Y') }}
@endif
|
@endif
@endforeach
KHUYẾN MÃI TẶNG THÊM THỜI GIAN CHƯƠNG TRÌNH CHO DU HỌC SINH
AP | |
---|---|
{{ $time . ' tháng' }} | @foreach ($promotionData['course_promotion']['AP'] as $data) @if ($data->time == $time)
@if ($data->month_gift_status == \App\Enums\PromotionStatus::UNACTIVE->value)
{{ \App\Enums\PromotionStatus::UNACTIVE->name() }}
@elseif($data->month_gift_status == \App\Enums\PromotionStatus::ACTIVE->value)
{{ \App\Enums\PromotionStatus::ACTIVE->name() }}
{{ 'Khuyến mãi: ' . $data->month_gift . 'tháng' }}
{{ 'Ngày kết thúc: ' . \Carbon\Carbon::parse($data->month_gift_day_end)->format('d-m-Y') }}
@elseif($data->month_gift_status == \App\Enums\PromotionStatus::UP_COMING->value)
{{ \App\Enums\PromotionStatus::UP_COMING->name() }}
{{ 'Khuyến mãi: ' . $data->month_gift . 'tháng' }}
{{ 'Ngày bắt đầu: ' . \Carbon\Carbon::parse($data->month_gift_day_start)->format('d-m-Y') }}
@endif
|
@endif
@endforeach