<div class="main_window detalle" id="detalle_rec">

    <div id="detalle">
        <div id="cabezera">
            <div id="asiento">
                <label>&nbsp;</label>
                <label>&nbsp;</label>
            </div>
            <div id="tipo">
                <label class="tipofact">Recibo</label>
                <label>&nbsp;</label>
            </div>
            <div id="numero">
                <label><?php echo $detalle['numf'] ?></label>
                <label><?php echo $detalle['fecha'] ?></label>
            </div>
        </div>
        
        
        <div id="dat_cliente">
            <label>
                <?php echo $detalle['lanom'] ?>
            </label>
            
            <label><?php echo $detalle['ladir'] ?></label>
            <label>&nbsp;</label>
        </div>
                
        
        <?php if ($detalle["arr_detalle"]): ?>
        <div id="items_cabezera">
            <div>Fecha</div>
            <div class="det">Detalle</div>
            <div>Liquid.</div>
            <div>Pago</div>
        </div>
        <div class="content-lista-scroll" id="lista_items">
            <ul class="content">
                <?php foreach($detalle["arr_detalle"] as $rs_det):?>
                <li>
                    <span class=""><?php echo $rs_det['can'] ?></span>
                    <span class="det"><?php echo $rs_det['det'] ?></span>
                    <span class=""><?php echo $rs_det['laimp'] ?></span>
                    <span class=""><?php echo $rs_det['cod'] ?></span>
                </li>
                <?php endforeach; ?>
            </ul>
        </div>
        <div id="sumatotalrec">
            <div id="totalrec"><?php echo $detalle["arr_pie"]["pagtotal"] ?></div>
            <div id="pagorec"><?php echo $detalle["arr_pie"]["liqtotal"] ?></div>
        </div>
        
        <?php endif; ?>
        
        <?php if ($detalle['laanu']=="A"): ?>
        <div id="anulada">
            ANULADA
        </div>
        <?php endif; ?>
        
        
        
        
        
    </div>
    
        <div class="button_form">
            <button onclick="cerrar_detalle();">Cerrar</button>
        </div>

</div>
