<?php /* /var/www/html/tentickets.com.br/resources/views/adm/clientes/ordem.blade.php */ ?>
<?php $__env->startSection('conteudo'); ?>
    <?php if($valores[0] == 0): ?>
        Nenhum Cliente Cadastrado!
    <?php else: ?>
        <?php echo Form::open(['route' => 'clientes.salvarOrdem', 'method' => 'put']); ?>

            
            <?php for($i = 1; $i <= $valores[0]; $i++): ?>
                <div class="row">
                    <div class="form-group col-md-12">
                        <label><?php echo e($i); ?>°:</label>
                        <?php if( count($valores[2]) > 0 ): ?>
                            <?php echo Form::select($i, $valores[1], $valores[2][$i] , ['placeholder'=>'Nome', 'class' => 'form-control']); ?>

                        <?php else: ?>
                            <?php echo Form::select($i, $valores[1], null , ['placeholder'=>'Nome', 'class' => 'form-control']); ?>

                        <?php endif; ?>

                    </div>
                </div>
            <?php endfor; ?>
            <div class="row">
                <div class="form-group col-md-12">
                    <?php echo Form::submit('Editar', ['class' => 'btn btn-primary pull-right']); ?>

                </div>
            </div>
        <?php echo Form::close(); ?>

    <?php endif; ?>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('js'); ?>
    <script type="text/javascript" src="<?php echo e(asset('js/adm/clientes.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('adm.template.template', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>