@extends('modelo.modelo')

@section('content')


<div class="container">
    <div class="row">
        <div class="col-md-12">
            <div class="card">
                <div class="h3">Funcionario #{{ $funcionario->idUser }}</div>
                <div class="card-body">

                    <a href="{{ url('funcionario/index') }}" title="Back"><button class="btn btn-warning  btn-hero btn-sm"><i class="fa fa-arrow-left" aria-hidden="true"></i> Voltar</button></a>
                    <br />
                    <br />

                    <div class="table-responsive">
                        <table class="table">
                            <tbody>
                                <tr>
                                    <th> Nome </th>
                                    <td style="text-transform: capitalize;"> {{ $funcionario->name}} </td>
                                </tr>
                                <tr>
                                    <th> Setor </th>
                                    <td style="text-transform: capitalize;"> {{ $funcionario->idSetor }}</td>
                                </tr>
                                <tr>
                                    <th> Email </th>
                                    <td style="text-transform: capitalize;"> {{ $funcionario->email }} </td>
                                </tr>

                                <tr>
                                    <th> Matricula </th>
                                    <td> {{ $funcionario->matricula }}  </td>
                                </tr>

                                <tr>
                                    <th> CPF</th>
                                    <td style="text-transform: capitalize;"> {{ $funcionario->cpf }} </td>
                                </tr>

                                <tr>

                                    <th>Cargo</th>
                                    <td style="text-transform: capitalize;"> {{ $funcionario->cargo }} </td>
                                </tr>

                            </tbody>
                        </table>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>


@endsection
