@extends('user.layouts.user') @section('content') @php $jobs = auth()->user()->membership == "company" ? \App\Models\Job::where('user_id',auth()->user()->id)->get() : \App\Models\Job::all(); foreach($jobs as $job) { $userExist = \App\Models\JobView::where(['user_id' => auth()->user()->id , 'job_id' => $job->id])->first(); if(!$userExist) { $JobView = new \App\Models\JobView(); $JobView->user_id = auth()->user()->id; $JobView->job_id = $job->id; $JobView->save(); } } @endphp

الرئيسية

الحساب الشخصي

معلومات الحسابات والصلاحيات

نوع الخطه تاريخ انتهاء الخطه شركة مميزة الوظائف العادية وظائف مميزة بحث السيرة الذاتية ترقية
{{ $user->package?->name }} N/A لا 3 0 0
{{--

قائمة وظائفي المعلنة

@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