@extends('user.layouts.user') @section('content')
@if(auth()->user()->membership == "company") @endif
@foreach(auth()->user()->membership == "company" ? \App\Models\Job::where('user_id',auth()->user()->id)->get() : \App\Models\Job::all() as $job) @if(auth()->user()->membership == "company") @else @endif @if(auth()->user()->membership == "company") @else @endif @endforeach
تاريخ الاضافة النوع المسمي الوظيفي رقم التسلسل المكان إنتهاء الصلاحية التحكم
{{$job->created_at->format('Y-m-d')}} {{$job->type}} {{$job->title}} {{$job->id}} {{$job->job_location}} {{$job->expire_at}}
@if($job->expire_at < \Carbon\carbon::now()) إعادة نشر @include('user.profile.republish-modal',['job'=>$job]) @endif
إرسال للأرشيف
السير المطابقة @include('user.profile.cv-modal',['job'=>$job])
@php $user_job = \App\Models\UserJob::where(['user_id'=> auth()->user()->id , 'job_id' => $job->id])->first(); @endphp
الحالة {{$job->expire_at < $job->created_at ? 'Expired': 'available'}} المتقدمين ({{$job->users?->count()}}) جديد (5) مرات المشاهدة ({{\App\Models\JobView::where('job_id',$job->id)->count()}})
@endsection