@extends('backEnd.master') @section('mainContent') Human Resource Dashboard Staff List @if(session()->has('message-success')) {{ session()->get('message-success') }} @elseif(session()->has('message-danger')) {{ session()->get('message-danger') }} @endif Staff Details @if(!empty($staffDetails->staff_photo)) @else @endif Staff Name @if(isset($staffDetails)){{$staffDetails->full_name}}@endif Role @if(isset($staffDetails)){{$staffDetails->roles->name}}@endif Designation @if(isset($staffDetails)){{ !empty($staffDetails->designations)?$staffDetails->designations->title:''}}@endif Department @if(isset($staffDetails)){{$staffDetails->departments->name}}@endif EPF No @if(isset($staffDetails)){{$staffDetails->epf_no}}@endif Basic Salary @if(isset($staffDetails)){{$staffDetails->basic_salary}}@endif Contarct Type @if(isset($staffDetails)){{$staffDetails->contract_type}}@endif Date of Joining @if(isset($staffDetails)) {{$staffDetails->date_of_joining != ""? dateConvert($staffDetails->date_of_joining):''}} @endif profile Payroll Leaves documents timeline @lang('common.edit') Personal info Mobile No @if(isset($staffDetails)){{$staffDetails->mobile}}@endif Emergency Mobile @if(isset($staffDetails)){{$staffDetails->emergency_mobile}}@endif Email @if(isset($staffDetails)){{$staffDetails->email}}@endif Gender @if(isset($staffDetails)){{$staffDetails->gender}}@endif Date of Birth @if(isset($staffDetails)) {{$staffDetails->date_of_birth != ""? dateConvert($staffDetails->date_of_birth):''}} @endif Marital Status @if(isset($staffDetails)){{$staffDetails->marital_status}}@endif Father Name @if(isset($staffDetails)){{$staffDetails->fathers_name}}@endif Mother Name @if(isset($staffDetails)){{$staffDetails->mothers_name}}@endif Qualification @if(isset($staffDetails)){{$staffDetails->qualification}}@endif Work Experience @if(isset($staffDetails)){{$staffDetails->experience}}@endif Addresses Current Address @if(isset($staffDetails)){{$staffDetails->current_address}}@endif Permanent Address @if(isset($staffDetails)){{$staffDetails->permanent_address}}@endif Bank Account Details Account Name @if(isset($staffDetails)){{$staffDetails->bank_account_name}}@endif Acount Number @if(isset($staffDetails)){{$staffDetails->bank_account_no}}@endif Bank Name @if(isset($staffDetails)){{$staffDetails->bank_name}}@endif Bank branch Name @if(isset($staffDetails)){{$staffDetails->bank_brach}}@endif Social Media Link Facebook Url @if(isset($staffDetails)){{$staffDetails->facebook_url}}@endif Twitter Url @if(isset($staffDetails)){{$staffDetails->twiteer_url}}@endif Linkedin Url @if(isset($staffDetails)){{$staffDetails->linkedin_url}}@endif Instrgram Url @if(isset($staffDetails)){{$staffDetails->instragram_url}}@endif Payslip ID Month-Year Date Mode of Payment Net Salary({{generalSetting()->currency_symbol}}) Status Action @if(count($staffPayrollDetails)>0) @foreach($staffPayrollDetails as $value) {{$value->id}} {{$value->payroll_month}} - {{$value->payroll_year}} {{$value->created_at) != ""? dateConvert($value->created_at):''}} {{$payment_mode}} {{$value->net_salary}} @if($value->payroll_status == 'G') generated @endif @if($value->payroll_status == 'P') paid @endif @if($value->payroll_status == 'P') View Payslip @endif @endforeach @else No Payroll Data @endif Leave Type Leave From Leave To Apply Date Status Action @php $diff = ''; @endphp @if(count($staffLeaveDetails)>0) @foreach($staffLeaveDetails as $value) {{@$value->leaveType->type}} {{$value->leave_from != ""? dateConvert($value->leave_from):''}} {{$value->leave_to != ""? dateConvert($value->leave_to):''}} {{$value->apply_date != ""? dateConvert($value->apply_date):''}} @if($value->approve_status == 'P') pending @endif @if($value->approve_status == 'A') Approved @endif @if($value->approve_status == 'C') Cancelled @endif View @endforeach @else Not Leaves Data @endif upload document Document Title Action @if($staffDetails->joining_letter != '') Joining Letter Download @endif @if($staffDetails->resume != '') Resume Download @endif @if($staffDetails->other_document != '') Other Documents Download @endif @if(isset($staffDocumentsDetails)) @foreach($staffDocumentsDetails as $key=>$value) {{$value->title}} Download @endforeach @endif Upload Document × {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'save_upload_document', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'name' => 'document_upload']) }} Title * @lang('common.browse') Cancel save {{ Form::close() }} add @if(isset($timelines)) @foreach($timelines as $timeline) {{$timeline->date != ""? dateConvert($timeline->date):''}} {{$timeline->created_at != ""? dateConvert($timeline->created_at):''}} {{$timeline->title}} {{$timeline->description}} @if($timeline->file != "") Download @endif @endforeach @endif Add Timeline × {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'staff_timeline_store', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'name' => 'document_upload']) }} Title * Date * @if ($errors->has('date_of_birth')) {{ $errors->first('date_of_birth') }} @endif Description @lang('common.browse') Visible to this person Cancel save {{ Form::close() }} @endsection @include('backEnd.partials.data_table_js') @include('backEnd.partials.date_picker_css_js')
{{$timeline->description}}