Example #1
0
         } else {
             array_push($valorConcepto, "Adelanto alquiler mes de " . mb_strtoupper(strftime("%B", strtotime($p['FechaPago']))) . " de " . $p['Anio'] . " | Cancelado: " . date("d/m/Y", strtotime($p['FechaCancelado'])));
             array_push($valorImporte, $p['Monto'] . " Bs.");
             $pagoTotal += $p['Monto'];
         }
     }
 }
 for ($j = $i + 1; $j <= 5; $j++) {
     array_push($valorConcepto, "......");
     array_push($valorImporte, "...");
 }
 $valorHistoricoMes = array();
 $valorHistoricoBs = array();
 $valorHistoricoFecha = array();
 $i = 0;
 foreach ($pago->mostrarHistorico(implode(",", $codpago), $cod) as $ph) {
     $i++;
     array_push($valorHistoricoMes, mb_strtoupper(strftime("%B", strtotime($ph['FechaPago']))));
     array_push($valorHistoricoBs, $ph['Monto'] . " Bs.");
     array_push($valorHistoricoFecha, date("d/m/Y", strtotime($ph['FechaCancelado'])));
 }
 for ($j = $i + 1; $j <= 5; $j++) {
     array_push($valorHistoricoMes, "...");
     array_push($valorHistoricoBs, "...");
     array_push($valorHistoricoFecha, "...");
 }
 class PDF extends FPDF
 {
     function Footer()
     {
         $this->SetY(-15);