function Header()
 {
     $this->Image("../logo.png", 10, 6, 30);
     // Arial bold 15
     $this->SetFont('Arial', 'B', 10);
     // Move to the right
     $this->Cell(80);
     // Title
     $this->Cell(30, 5, 'DESGLOCE DE PAGO', 0, 0, 'C');
     $this->Ln();
     $this->Cell(80);
     $this->SetFont('Arial', 'i', 10);
     $pago = new cPagos();
     $det = $pago->showDetallesPago($_GET['id']);
     $this->Cell(30, 5, "CLIENTE: " . strtoupper($det['razon'] . " " . $det['nombre'] . " " . $det['a_pat'] . " " . $det['a_mat']), 0, 0, "C");
     $this->Ln();
     $this->Cell(80);
     $this->Cell(30, 5, "FECHA DE IMPRESION: " . date("Y-m-d H:i:s"), 0, 0, "C");
     // Line break
     $this->Ln(20);
 }
 <?php 
include "../controller/cPagos.php";
$pago = new cPagos();
$det = $pago->showDetallesPago($_POST['idpago']);
?>
 <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">CONFIRMACION DE CANCELAR PAGO</h4>
        <h5 style="text-transform: uppercase">CLIENTE :<?php 
echo $det['razon'] . " " . $det['nombre'] . " " . $det['a_pat'] . " " . $det['a_mat'];
?>
 </h5>
      </div>
      <div class="modal-body">
      	<div class="row">
       		<div class="col-lg-4">
       			<img src="../warning.png" class="img-responsive"  />
       		</div>
       		<div class="col-lg-6">
       			<h3 style="color:red">
       				<strong>
       				¿DESEA ELIMINAR EL PAGO CON REFERENCIA <?php 
echo $det['num_ref'];
?>
?
       				</strong>
       			</h3>
       			<h4>
       				<strong>