@extends('admin.layout')
<style type="text/css">
    .sg-label, .sg-value {
        display: inline-block;
        margin: 10px;
        font-size: 1.5rem;
    }
    .sg-label {
        text-align: right;
        font-weight: bold;
        width: 20%;
    }
    .sg-detail-container {
        margin-left: 100px;
    }
</style>
@section('header')

@endsection

@section('content')
<div id="sg-main-container-sg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>{{ $model_name . '详情' }}</h5>
                        <div class="ibox-tools">
                            <a class="collapse-link"> <i class="fa fa-chevron-up"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <div class="sg-detail-container">
                            <div class="sg-item row">
                                <div class="sg-label">姓名</div>
                                <div class="sg-value">{{ $item->name }}</div>
                            </div>
                            <div class="sg-item row">
                                <div class="sg-label">手机</div>
                                <div class="sg-value">{{ $item->phone }}</div>
                            </div>
                            <div class="sg-item row">
                                <div class="sg-label">绑定手机</div>
                                <div class="sg-value">{{ $item->getBindPhone() }}</div>
                            </div>
                            <div class="sg-item row">
                                <div class="sg-label">年龄</div>
                                <div class="sg-value">{{ $item->age }}</div>
                            </div>
                            <div class="sg-item row">
                                <div class="sg-label">婚姻状况</div>
                                <div class="sg-value">{{ $item->getMarry() }}</div>
                            </div>
                            <div class="sg-item row">
                                <div class="sg-label">职业</div>
                                <div class="sg-value">{{ $item->job }}</div>
                            </div>
                            <div class="sg-item row">
                                <div class="sg-label">工作地点</div>
                                <div class="sg-value">{{ $item->work_addr }}</div>
                            </div>
                            <div class="sg-item row">
                                <div class="sg-label">住址</div>
                                <div class="sg-value">{{ $item->addr }}</div>
                            </div>
                            <div class="sg-item row">
                                <div class="sg-label">指纹编号</div>
                                <div class="sg-value">{{ $item->finger_number }}</div>
                            </div>
                            <div class="sg-item row">
                                <div class="sg-label">备注</div>
                                <div class="sg-value">{{ $item->remark }}</div>
                            </div>
                            <div class="sg-item row">
                                <div class="sg-label">请假次数（短假）</div>
                                <div class="sg-value">{{ $item->short_leave_times }}</div>
                            </div>
                            <div class="sg-item row">
                                <div class="sg-label">请假次数（长假）</div>
                                <div class="sg-value">{{ $item->long_leave_times }}</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection

@section('footer')
<script type="text/javascript">
$(function () {

})
</script>
@endsection