{{ $generalSettings['site_name'] }}

{{ trans('public.item_id') }}: #{{ $webinar->id }}

{{ trans('quiz.student') }}:
{{ !empty($sale->gift_recipient) ? $sale->gift_recipient : $sale->buyer->full_name }}
{{ trans('home.organization') }}:
@if($webinar->tracher_id != $webinar->creator_id) {{ $webinar->creator->full_name }} @else - @endif
{{ trans('home.platform_address') }}:
{!! nl2br(getContactPageSettings('address')) !!}
{{ trans('home.teachers') }}:
{{ $webinar->teacher->full_name }}
@if(!empty($webinar->webinarPartnerTeacher) and count($webinar->webinarPartnerTeacher)) @foreach($webinar->webinarPartnerTeacher as $partner) {{ $partner->teacher->full_name }} @endforeach @endif
{{ trans('panel.purchase_date') }}:
{{ dateTimeFormat($sale->created_at,'j M Y | H:i') }}

{{ trans('home.order_summary') }}
# {{ trans('cart.item') }} {{ trans('admin/main.type') }} {{ trans('public.price') }} {{ trans('panel.discount') }} {{ trans('cart.total') }}
{{ $webinar->id }} {{ $webinar->title }} {{ trans('webinars.'.$webinar->type) }} @if(!empty($sale->amount)) {{ handlePrice($sale->amount) }} @else {{ trans('public.free') }} @endif @if(!empty($sale->discount)) {{ handlePrice($sale->discount) }} @else - @endif @if(!empty($sale->total_amount)) {{ handlePrice($sale->total_amount) }} @else 0 @endif
{{ trans('cart.sub_total') }}
{{ handlePrice($sale->amount) }}
{{ trans('cart.tax') }} ({{ getFinancialSettings('tax') }}%)
@if(!empty($sale->tax)) {{ handlePrice($sale->tax) }} @else - @endif
{{ trans('public.discount') }}
@if(!empty($sale->discount)) {{ handlePrice($sale->discount) }} @else - @endif

{{ trans('cart.total') }}
@if(!empty($sale->total_amount)) {{ handlePrice($sale->total_amount) }} @else - @endif