@extends('admin.layout.master') @section('content') @include('flash-message')
{{ __('obs.offer_letter') }}
Create
@foreach ($offer_letters as $offer_letter) @endforeach
{{ __('obs.sl') }} Name Gender Email Subject Department Designation Monthly Salary Deadline Approval Confirmation Date Email Status Action
{{ $loop->iteration }} {{ $offer_letter->employee_name }} @if ($offer_letter->gender) {{ gender($offer_letter->gender) }} @endif {{ $offer_letter->email }} {{ $offer_letter->subject }} {{ $offer_letter->getDepartment->name ?? '' }} {{ $offer_letter->getDesignation->name ?? '' }} {{ $offer_letter->monthly_salary }} @if (isset($offer_letter->deadline)) {{ date('d-m-Y h:i A', strtotime($offer_letter->deadline)) }} @endif @if ($offer_letter->approve_status == 1) Accepted @elseif ($offer_letter->approve_status == 2) Rejected @else Pending @endif @if (isset($offer_letter->confirmation_date)) {{ date('d-m-Y', strtotime($offer_letter->confirmation_date)) }} @endif @if ($offer_letter->is_sent == 1) Already Sent @else Not Sent Yet @endif @if (!isset($offer_letter->getEmpInfo)) Enter Employee @endif
{!! $offer_letters->links() !!}
@endsection @section('script') @endsection