{!! \App\Models\ShortCode::compile(
app()->getLocale() == 'ar' ? $page->code_field_ar : $page->code_field ) !!}
@php
$package = \App\Models\InstallmentPackage::find($system_package->raw());
$currency_name = \App\Models\Currency::find(1)->name;
$products = [];
@endphp
{{ __e('Package Products') }}
@foreach ( $package->products as $product )
@php
$entry = \Statamic\Facades\Entry::query()->where('product_system_field','=',$product->id)->first();
@endphp
@if($entry)
@livewire('single-product-loop-component', [
'entry'=>$entry->toArray(),
'product' => $product], key('product-' . $product->id))
@endif
@endforeach
{{ __e('Course Content') }}
@foreach ($course_content as $content_key => $content )
@endforeach
-
@foreach ( $content->array_field as $lesson )
-
{{ $lesson }}
@endforeach
{{ __e('Contact Course')}}