@extends('layouts.default')
@section('title','员工个人信息')
@section('content')
员工个人信息 - {{ $staff->staffname }}
员工编号 |
员工姓名 |
英文名 |
所属部门 |
职位 |
入职日期 |
参加工作年数 |
{{ $staff->id }} |
{{ $staff->staffname }} |
{{ $staff->englishname }} |
{{ $staff->department_name }} |
{{ $staff->position_name }} |
{{ $staff->join_company }} |
{{ $staff->work_year }} |
总年假(小时) |
剩余小时 |
总调休(小时) |
剩余小时 |
@if ($staff->annual_holiday != null)
{{ round($staff->annual_holiday)}} |
{{ round($staff->remaining_annual_holiday)}} |
@else
0 |
0 |
@endif
@if ($staff->lieu != null)
{{ round($staff->lieu->total_time) }} |
{{ round($staff->lieu->remaining_time) }} |
@else
0 |
0 |
@endif
@if ($staff->card != null)
@if ($staff->card->card_number != null)
工资卡号 |
开户行 |
{{ $staff->card->card_number}} |
{{ $staff->card->bank}} |
@endif
@endif
一周排班
星期 |
应上班时间 |
应下班时间 |
@foreach($staffworkdays as $workday)
周{{ $workday->workday_name }} |
@if ($workday->work_time != null)
{{ date("H:i",strtotime($workday->work_time)) }} |
@else
休息 |
@endif
@if ($workday->home_time != null)
{{ date("H:i",strtotime($workday->home_time)) }} |
@else
休息 |
@endif
@endforeach
本周应工作时长:{{ $total_duration }} 小时
查看历史排班
@if (count($work_historys) != 0 )
工作经历
入职日期 |
离职日期 |
@foreach($work_historys as $wh)
{{ $wh->work_experience }} |
{{ $wh->leave_experience }} |
@endforeach
@endif
@stop