관리-도구
편집 파일: show.blade.php
@extends('layouts.app') @section('content') <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-header"> <span class="panel-title">{{ _lang('View Job Details') }}</span> </div> <div class="card-body"> <div class="receipt-content"> <div class="row"> <div class="col-md-12"> <div class="invoice-wrapper"> <div class="payment-info"> <div class="row"> <div class="col-sm-12"> <span>{{ _lang('Job Title') }}: <b>{{ $job_detail->job_title }}</b></span><br> <span>{{ _lang('Job Post Date') }}: <b> {{date('F j, Y', strtotime($job_detail->created_at))}}</b></span><br> </div> </div> </div> <div class="payment-details"> <div class="row"> <div class="col-sm-6"> <span>{{ _lang('Details') }}</span> <p><b>Expected Salary:</b> ${{ $job_detail->min_salary }} - ${{ $job_detail->max_salary }}</p> <p><b>Experience:</b> {{ $job_detail->min_experience }}(Y) - {{ $job_detail->max_experience }}(Y)</p> <p><b>Company Name:</b> {{ $job_detail->company_name }} </p> <p><b>Workplace Type:</b> {{ $job_detail->workplace_type }} </p> <p><b>Contact Person:</b> {{ $job_detail->contact_person }} </p> <p><b>Mobile:</b> {{ $job_detail->mobile }} </p> </div> <div class="col-sm-6"> <p><b>Job Location:</b> {{ $job_detail->job_location }} </p> <p><b>Job Type:</b> {{ $job_detail->job_type }} </p> <p><b>No Of Vacancy:</b> {{ $job_detail->no_of_vacancy }} </p> <p><b>Industry:</b> {{ $job_detail->industry }} </p> <p><b>Qualification:</b> {{ $job_detail->qualification }} </p> </div> </div> </div> <!-- Applicants Section --> <div class="applicants-section mt-4"> <h5>Applicants for this Job</h5> @if($appliers->isEmpty()) <p>No applicants have applied for this job yet.</p> @else <table class="w-100 table table-bordered mt-3" > <thead> <tr> <th>#</th> <th>Applicant Name</th> <th>Email</th> <th>Phone</th> <th>Applied On</th> </tr> </thead> <tbody> @foreach($appliers as $key => $applier) @if($applier->user) <!-- Check if the user exists --> <tr> <td>{{ $key + 1 }}</td> <td><a href="{{ url('user-profile/' . $applier->user->id) }}">{{ $applier->user->name }}</a></td> <td>{{ $applier->user->email }}</td> <td>{{ $applier->user->phone }}</td> <td>{{ date('F j, Y', strtotime($applier->created_at)) }}</td> </tr> @endif @endforeach </tbody> </table> @endif </div> <!-- End of Applicants Section --> </div> </div> </div> </div> </div> </div> </div> </div> @endsection