@extends(getTemplate() .'.panel.layouts.panel_layout')
@push('styles_top')
@endpush
@section('content')
{{ trans('panel.create_a_new_discount') }}
@if (\Session::has('msg'))
{{ trans('panel.discounts') }}
@foreach($specialOffers as $specialOffer)
{{ trans('panel.name') }}
{{ trans('panel.webinar') }}
{{ trans('panel.amount') }}
{{ trans('public.status') }}
{{ trans('public.from') }}
{{ trans('public.to') }}
@endforeach
{{ $specialOffer->name }}
{{ $specialOffer->webinar->title }}
{{ $specialOffer->percent }}%
@switch($specialOffer->status)
@case(\App\Models\SpecialOffer::$active)
{{ trans('public.active') }}
@break
@case(\App\Models\SpecialOffer::$inactive)
{{ trans('public.inactive') }}
@break
@endswitch
{{ dateTimeFormat($specialOffer->from_date, 'j M Y | H:i') }}
{{ dateTimeFormat($specialOffer->to_date, 'j M Y | H:i') }}
@if($specialOffer->status != \App\Models\SpecialOffer::$inactive)