<?php $__env->startSection('content'); ?>

    <div class="sixteen wide tablet sixteen wide computer column ">
        <div class="ui segment">
            
            <h4 class="ui dividing header teal centered">DETALLES DE RETIRO DE PRODUCTO</h4>
            
            <div class="ui warning message">
                <div class="ui equal width grid">
                    <div class="row" style="padding-bottom: 0px !important">
                        <div class="sixteen wide mobile seven wide tablet  five wide computer column message_header">Personal que retiró el producto :</div>
                        <div class="sixteen wide mobile nine wide tablet  eleven wide computer column"><?php echo e(ucwords(mb_strtolower($data->usuario->nombres))); ?> <?php echo e(ucwords(mb_strtolower($data->usuario->apellidos))); ?> (<?php echo e($data->usuario->username); ?>)</div>
                    </div>
                    <div class="row" style="padding-bottom: 0px !important">
                        <div class="sixteen wide mobile seven wide tablet  five wide computer column message_header">Fecha que se retiró el producto :</div>
                        <div class="sixteen wide mobile nine wide tablet  eleven wide computer column"><?php echo e(ucwords(mb_strtolower($data->created_at))); ?></div>
                    </div>
                </div>
            </div>    

            <div class="ui success message">
                <div class="ui equal width grid">
                    <div class="row" style="padding-bottom: 0px !important">
                        <div class="sixteen wide mobile six wide tablet three wide computer column message_header">Motivo de Retiro :</div>
                        <div class="sixteen wide mobile ten wide tablet  thirteen wide computer column"><?php echo e($data->motivo_retiro); ?></div>
                    </div>
                    <div class="row" style="padding-bottom: 0px !important">
                        <div class="sixteen wide mobile six wide tablet three wide computer column message_header">Cantidad Retirada :</div>
                        <div class="sixteen wide mobile ten wide tablet  thirteen wide computer column"><?php echo e($data->cantidad_retiro); ?></div>
                    </div>
                    <div class="row" style="padding-bottom: 0px !important">
                        <div class="sixteen wide mobile six wide tablet three wide computer column message_header">Monto Perdido :</div>
                        <div class="sixteen wide mobile ten wide tablet  thirteen wide computer column">S/ <?php echo e($data->monto_perdido); ?></div>
                    </div>
                    <div class="row" style="padding-bottom: 0px !important">
                        <div class="sixteen wide mobile six wide tablet three wide computer column message_header">Local donde se retiro :</div>
                        <div class="sixteen wide mobile ten wide tablet  thirteen wide computer column"><?php echo e($data->local->nombre); ?> (<?php echo e($data->local->direccion); ?>)</div>
                    </div>
                </div>
            </div>


            <div class="ui hidden divider"></div>
            <table class="ui table">
                <thead>
                    <tr>
                        <th class="center aligned">Producto</th>
                        <th class="center aligned">Marca</th>
                        <th class="center aligned">Codigo Barras</th>
                        <th class="center aligned" data-tooltip="Unidad de Medida" data-position="top center" data-inverted="">Presentacion</th>
                        <th class="center aligned" data-tooltip="Precio de venta" data-position="top center" data-inverted="">Precio Venta S/</th>
                        <th class="center aligned">Ubicacion del Producto</th>
                    </tr>
                </thead>
                <tbody id="tbody">

                    <tr>
                        <td><a href="<?php echo e(url('producto/editar/'.$data->id_producto)); ?>" title="Clic para ver informacion"><?php echo e(ucwords(mb_strtolower($data->producto->nombre))); ?> <?php echo e($data->producto->descripcion); ?></a></td>
                        <td><?php echo e($data->producto->descripcion); ?></td>
                        <td><?php echo e($data->producto->codigo_barras != null ? $data->producto->codigo_barras : 'Sin codigo'); ?></td>
                        <td><?php echo e($data->producto->tipo_presentacion->nombre); ?></td>
                        <td><?php echo e($data->producto->precio); ?></td>
                        <td><?php echo e($data->local->nombre); ?></td>
                    </tr>

                </tbody>
            </table>

            <div class="form_footer" >
                <a class="ui small left  floated default button" href="<?php echo e(URL::previous()); ?>"><i class="arrow left icon"></i>REGRESAR</a>
            </div>  

        </div>
    </div>

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




<?php echo $__env->make('layout.main', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>