
@extends('usuarios.funcionarios.digitalizacao.dashboard.master')
@section('conteudo')

<style>

.input-group.meubtn {
    margin-top: 36px;
}
</style>

<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<link href="{{asset('js/digitalizacao_plugins/css/plugins/dataTables/datatables.min.css" rel="stylesheet')}}">


<script src="{{asset('js/jquery.dataTables.min.js') }}"></script>
<link href="{{url('css/alertaTemporario.css')}}" rel="stylesheet" />
<link href="{{asset('js/digitalizacao_plugins/css/bootstrap.min.css')}}" rel="stylesheet">
<link href="{{asset('js/jquery.css/plugins/dataTables/datatables.min.css')}}" rel="stylesheet">

<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <br>
        <ol class="breadcrumb">
            <li class="breadcrumb-item">
                <a href="{{ route('us.digit.confdigi.index') }}">home</a>
            </li>
            <li class="breadcrumb-item">
                <a>Pesquisa de Documentos</a>
            </li>
            <li class="breadcrumb-item active">
                <strong>Documento</strong>
            </li>
        </ol>
    </div> 

    <div class="row wrapper border-bottom col-lg-12 ">
    
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-form-label" for="order_id">Número do Documento</label>
                <input type="text" id="order_id" data-inputmask="'mask' : '99999999'" name="numero_caixa" value="" placeholder="Ex.: 221" class="form-control">
            </div>
        </div>

        <div class="col-sm-3">
            <div class="form-group">
                <label class="col-form-label" for="status">Cliente</label>
                <select data-placeholder="Choose a Country..." class="select2_group form-control"  tabindex="2">
                    <option value="">Select</option>
                </select>
            </div>
        </div>
       
        <div class="col-sm-2">
            <div class="form-group">
                <div class="input-group meubtn">
                    <button type="submit" class="btn btn-success meubtn"><i class="fa fa-search"></i> Pesquisar </button>
                </div>
            </div>
        </div>

    </div>
    <div class="row col-lg-12 ">
        

    </div>

</div>


        <div class=" meuformpreparacao">
                <div class="table-responsive">
                                                    <nav class="col-lg-12 table-responsive">
                                                        <br> <br>
                                                        <table class="table table-striped table-bordered table-hover dataTables-example" >
                                                            <thead>
                                                            <tr>
                                                                <th>#</th>
                                                                <th>Cliente</th>
                                                                <th>Tipo Documento</th>
                                                                <th>Número do Doc</th>
                                                                <th>Número da Caixa</th>
                                                                <th>Data carregada</th>
                                                                <th>Abrir</th>
                                                            </tr>
                                                            </thead>
                                                            <tbody>


                                                                @php
                                                                $i=1; @endphp
                                                                
                                                                <tr> 
                                                                    <td></td>
                                                                    
                                                                    <td></td>
                                                                    <td></td>
                                                                    <td></td>
                                                                    <td></td>
                                                                    <td></td>
                                                                <td>
                                        
                                        
                                                                    @php 
                                                                    //use Illuminate\Support\Facades\Crypt;
                                                                    
                                                                    try {
                                                                        
                                                                    $decrypted =Crypt::encryptString(2);
                                                                    
                                                                    } catch (DecryptException $e) {
                                                                        $decrypted=0;
                                                                    }
                                                                @endphp
                                        
                                                                    <form action="{{ route('us.digit.confdigi.pesquisa.cliente.classe.pesq') }}" method="post">
                                                                        @csrf
                                                                    
                                                                        <input value="{{$decrypted}}" name="solicitacao_id" hidden/>
                                                                        <button type="submit" class="btn btn-sm btn-outline-primary btnSelecionarReserva"> <i class="fa fa-eye "></i> ver</button>
                                                                        
                                                                    </form>
                                                                </td>
                                                                
                                        
                                                                </tr>
                                        

                                                            </tbody>
                                                            <tfoot>
                                                            <tr>
                                                                <th>#</th>
                                                                <th>Cliente</th>
                                                                <th>Tipo Documento</th>
                                                                <th>Número do Doc</th>
                                                                <th>Número da Caixa</th>
                                                                <th>Data carregada</th>
                                                                <th>Abrir</th>
                                                            </tr>
                                                            </tfoot>
                                                    </table>
                                                    </nav>
                                        </div>
     </div>



@endsection