Exemplo n.º 1
0
     }
     $nulled[$row['c_exe']] = true;
 }
 if ($new_page) {
     if ($create_page) {
         $aop->pdf->ezNewPage();
     }
     $print_height = 295;
     if ($total_fp) {
         $write_total_fp = '<b>VIENEN</b>';
         $new_total_fp = '<b>' . number_format($total_fp, 2) . '</b>';
         $aop->text(490 + $aop->right($aop->pdf->getTextWidth(6, $write_total_fp), 6, $write_total_fp), $print_height, $write_total_fp, 6);
         $aop->text(529 + $aop->right(50, 7, $new_total_fp), $print_height, $new_total_fp, 7);
         $print_height += $line_height;
     }
     $aop->header();
     $page_created = true;
     $new_page = false;
     $create_page = false;
 }
 //
 // Blank all data if null
 //
 parse_nulled($row, true);
 if ($row['c_null']) {
     $row['p_name'] = $row['c_text'];
 }
 $total_fp += $row['f_total'];
 $row['f_total'] = number_format($row['f_total'], 2);
 if ($row['f_serie'] === '0') {
     $row['f_serie'] = '';