GlisWeb framework
|
Vai al codice sorgente di questo file.
Variabili | |
$dobj = 'copia di cortesia - fattura n. ' . $doc['numero'] . ' del ' . strftime( '%d %B %Y', strtotime( $doc['data'] ) ) | |
$sdef ['linee'][] = 'P.IVA ' . $emit['partita_iva'] | |
$sdef ['linee'][] = 'cod.fisc. ' . $emit['codice_fiscale'] | |
if(! empty( $emit['codice_sdi'])) | else |
$sde = $sdef['linee'] | |
$sdcf ['linee'][] = 'P.IVA ' . $clnt['partita_iva'] | |
$sdcf ['linee'][] = 'cod.fisc. ' . $clnt['codice_fiscale'] | |
$sdcf ['linee'][] = 'SDI ' . $clnt['codice_sdi'] | |
if(! empty( $clnt['pec_sdi'])) | $sdc = $sdcf['linee'] |
$tab = "\t\t\t\t\t\t\t\t" | |
$tx [1] = $doc['note_cliente'] | |
$tx [10] = "ALLEGATO A" | |
$tx [11] = "DETTAGLIO RIGHE INSERITE IN FATTURA" | |
$esigibilita = "esigibilità dell'IVA: ".$doc['esigibilita'] | |
$pdf = new TCPDF( 'P', 'mm', 'A4' ) | |
$h = 297 | |
$w = 210 | |
$ml = 15 | |
$mt = 15 | |
$mr = 15 | |
$fnt = 'helvetica' | |
$fnts = 10 | |
$stdsp = 5 | |
$lth = .3 | |
$lts = .15 | |
$rgb0 = array( 0, 0, 0 ) | |
$rgb1 = array( 128, 128, 128 ) | |
$rgb9 = array( 255, 255, 255 ) | |
$brdh | |
$brdc | |
$lh = $pdf->getStringHeight( $w, 'a' ) | |
$wport = $w - ( $ml + $mr ) | |
$col = $wport / 12 | |
$lgw = $col * 2 | |
$lgh = $lh * count( $sde ) | |
$lgn = 'T' | |
$tmp = $pdf->GetX() + $stdsp | |
$countAggregate = 0 | |
Definizione nel file _fatture.default.pdf.php.