Ajout de l'Header
This commit is contained in:
parent
15c040b33d
commit
7be16e14c1
@ -26,6 +26,31 @@ require_once DOL_DOCUMENT_ROOT.'/includes/fpdf/DolibarrPdfBarCode.class.php';
|
||||
Class pdf_expedition extends DolibarrPdfBarCode
|
||||
{
|
||||
|
||||
function Header()
|
||||
{
|
||||
$this->rect(5, 5, 200, 30);
|
||||
|
||||
$this->Code39(8, 8, $this->expe->ref);
|
||||
|
||||
$this->SetFont('Arial','', 14);
|
||||
$this->Text(105, 12, "Bordereau d'expédition : ".$this->expe->ref);
|
||||
$this->Text(105, 18, "Date : " . strftime("%d %b %Y", $this->expe->date));
|
||||
$this->Text(105, 24, "Page : ". $this->PageNo() ."/{nb}", 0);
|
||||
|
||||
|
||||
$this->rect(5, 40, 200, 250);
|
||||
|
||||
$this->tableau_top = 40;
|
||||
|
||||
$this->SetFont('Arial','', 10);
|
||||
$a = $this->tableau_top + 5;
|
||||
$this->Text(10, $a, "Produit");
|
||||
$this->Text(166, $a, "Quantitée");
|
||||
$this->Text(166, $a+4, "Commandée");
|
||||
$this->Text(190, $a, "Livrée");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user