@extends('layouts.app') @section('title', __('stage_academy.offers.title')) @push('styles') @endpush @section('content') @php $isAr = app()->getLocale() === 'ar'; @endphp
{{ __('stage_academy.offers.title') }}
@if(session('success')) @endif @if($offers->isEmpty())
{{ __('stage_academy.offers.empty') }}
@else
@foreach($offers as $offer)
{{ $isAr ? $offer->name_ar : $offer->name_en }}
{{ $isAr ? $offer->name_ar : $offer->name_en }}
@php $details = $isAr ? (string) $offer->details_ar : (string) $offer->details_en; $details = trim($details); @endphp @if($details !== '')
{{ $details }}
@endif @if($offer->link) @endif
@endforeach
@endif
{{ __('common.back') }}
@endsection @push('scripts') @endpush