JBP COMMERCIAL BROKERS LLC
@if(!empty($user_profile))
@php $users_data = json_decode($user_profile->datas); @endphp
@endif
@foreach($form_category as $formcategory)
@php
$form_datas = DB::select("SELECT b.form_name,b.form_column,b.data_type FROM `map_form_orgs` as a INNER JOIN form_engines as b on a.form_name=b.form_column WHERE organisation_id=$organisation->user_id AND b.form_category_id=$formcategory->id ORDER BY b.order_id ASC");
$data = App\Models\EmployeeInfo::select('datas')->where('organisation_id',$organisation->user_id)->where('user_id',$user_id)->where('from_cat_id',$formcategory->id)->first(); $emp = @json_decode($data->datas);
@endphp
@if($formcategory->is_multiple==1)
@else
@if(!empty($form_datas[0])) @foreach($form_datas as $forms)
@php $form = DB::select("SELECT REPLACE(json_extract(datas,'$.$forms->form_column'),'\"','') as data FROM `employee_infos` where organisation_id=$organisation->user_id AND user_id=$user_id AND from_cat_id=$formcategory->id"); $possition=null; @endphp
@if(!empty($form[0]))
@endif @endforeach
@else
@else
@else
@if(!empty($assets))
@if($employee_exit)
@if($employee_exit->resignations_type == 1)
@endif
@if(!empty($users_data->profile))
@else
@endif
}})
@if(!empty($user))
{{$user->name}}
@endif @if(!empty($users_data->employee_code)){{$users_data->employee_code}}
@endif @if(!empty($user->email)){{$user->email}}
@endif @if(!empty($user->alternate_email)){{$user->alternate_email}} Make Primary
@endif @if(!empty($user->mobile)){{$user->mobile}}
@endif @if(!empty($users_data->dob)){{date('d-M-Y',strtotime($users_data->dob))}}
@endif
name)) data-name="{{$user->name}}" @endif onclick="get_users_id({{$user_id}})" class="btn btn-primary dx_{{$user_id}}"> Edit
@if($user->status == 'Active')
Deactivate
@endif
{{$formcategory->name}}
{{$form->form_name}} | @endforeach @endif|
@for($i=0;$i < $count;$i++)
@if($form->data_type=='file')
@if(!empty($val[$i]))
@endif
@elseif($form->data_type=='date')
@if(!empty($val[$i]))
{{date('d-M-Y',strtotime($val[$i]))}} @endif @else @if(!empty($val[$i])){{$val[$i]}} @endif @endif @endfor |
@endforeach @else
|
No {{$formcategory->name}} Found |
{{$formcategory->name}}
{{$forms->form_name}} | @if($forms->data_type=='file')
@if(!empty($form[0]->data))
@endif
@elseif($forms->data_type=='date')
@if(!empty($form[0]->data))
{{date('d-M-Y',strtotime($form[0]->data))}} @endif @else @if(!empty($form[0]->data)) @if($formcategory->id==1) @if($forms->form_column=='department') @php $designation_id = DB::select("SELECT REPLACE(json_extract(update_data,'$.$forms->form_column'),'\"','') as data FROM `employee_infos` where organisation_id=$organisation->user_id AND user_id=$user_id AND from_cat_id=1 LIMIT 1"); if(!empty($designation_id[0])){ $designation = $designation_id[0]->data; $possition = DB::select("SELECT a.id,c.department_name,a.sub_position FROM `position_masters` AS a INNER JOIN department_masters AS c ON c.id=a.department_id WHERE a.orgnization_id=$organisation->user_id AND a.id = $designation LIMIT 1"); } @endphp @endif @endif{{$form[0]->data}} @if(!empty($possition[0])) - {{$possition[0]->sub_position}} @endif @endif @endif |
Line Manager | {{$line_manager->name}} |
No {{$formcategory->name}} Found |
Leave Details
@if(count($leaves) != 0)Sr No. | Start Date | End Date | Duration | Leave Type | Status |
---|---|---|---|---|---|
{{$loop->iteration}} | {{date('d M, Y', strtotime($leave->start_date))}} | {{date('d M, Y', strtotime($leave->end_date))}} | {{$leave->duration}} | {{$leave->name}} | {{$leave->status}} |
No leave history found
@endifSalary Deatils
@php $salaries_details = \DB::table('salary_history')->where('user_id',$user->id)->orderBy('id','DESC')->get(); @endphp @if(!empty($salaries_details))Sr No. | Current Salary | Date |
---|---|---|
{{$loop->iteration}} | {{number_format($sal->current_salary,2)}} | {{date('d M Y', strtotime($sal->created_at))}} |
No salary deatils found
@endifSalary Slips
@if(count($salaries) != 0)Sr No. | Month | Action |
---|---|---|
{{$loop->iteration}} | {{date('M, Y', strtotime($salari->month_year))}} | Download |
No salary slip found
@endifAssets Item
Assign AssetsNo data found
@endifEmployee Exit
Exit reason | Email Account Inactive | Control Panel Changed | Resignation Date | Resignation Acceptance Date | Relieving Date | Handover Done |
---|---|---|---|---|---|---|
Resigned | @if($employee_exit->email_active==1) Yes @else No @endif | @if($employee_exit->control_panel==1) Yes @else No @endif | {{ date('d M, Y', strtotime($employee_exit->resignation_date)) }} | {{ date('d M, Y', strtotime($employee_exit->resignation_acceptance_date)) }} | {{ date('d M, Y', strtotime($employee_exit->relieving_date)) }} | @if($employee_exit->handover==1) Yes @else No @endif |
Uploaded Document | ||||||
No Dues Certificate | Download | |||||
Relieving Letter | Download | |||||
FNF Statement | Download | |||||
Exit reason | Email Account Inactive | Control Panel Changed | Handover Done | Reason To Terminate | ||
Terminated | @if($employee_exit->email_active==1) Yes @else No @endif | @if($employee_exit->control_panel==1) Yes @else No @endif | @if($employee_exit->handover==1) Yes @else No @endif | @if($employee_exit->reason_terminate==1) Behavioral Issue @else Work Related Issue @endif | ||
Uploaded Document | ||||||
No Dues Certificate | Download | |||||
Relieving Letter | Download | |||||
FNF Statement | Download | |||||
Exit reason | Date Of Abscoding | Last Reminder | Brief Explain | |||
Absconding | {{ date('d M, Y', strtotime($employee_exit->date_of_abscoding)) }} | {{ date('d M, Y', strtotime($employee_exit->last_reminder)) }} | {{ $employee_exit->comment }} | |||
Exit reason | Leaving Date | Comment | Exit Survey/Interview | |||
@if($employee_exit->resignations_type == 1) Resigned @endif @if($employee_exit->resignations_type == 2) Terminated @endif @if($employee_exit->resignations_type == 3) Absconding @endif @if($employee_exit->resignations_type == 4) Other Reason @endif | {{ date('d M, Y', strtotime($employee_exit->leaving_date)) }} | {{ $employee_exit->comment }} | {{ $employee_exit->interview_comment }} | |||
Uploaded Document | ||||||
{{ $ExitDocum->title }} | Download |