Add box for signing (from seb patch)
This commit is contained in:
parent
1cc23948b4
commit
e854036459
@ -433,6 +433,8 @@ ThisLimitIsDefinedInSetup=Dolibarr limit (Menu home-setup-security): %s Kb, PHP
|
||||
NoFileFound=No documents saved in this directory
|
||||
CurrentUserLanguage=Current language
|
||||
CurrentTheme=Current theme
|
||||
For=For
|
||||
ForCustomer=For customer
|
||||
# Week day
|
||||
Monday=Monday
|
||||
Tuesday=Tuesday
|
||||
|
||||
@ -435,6 +435,8 @@ ThisLimitIsDefinedInSetup=Limite Dolibarr (Menu accueil-configuration-s
|
||||
NoFileFound=Pas de documents stockés dans cette rubrique
|
||||
CurrentUserLanguage=Langue utilisateur actuelle
|
||||
CurrentTheme=Theme courant
|
||||
For=Pour
|
||||
ForCustomer=Pour le client
|
||||
# Week day
|
||||
Monday=Lundi
|
||||
Tuesday=Mardi
|
||||
|
||||
@ -337,7 +337,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
|
||||
*/
|
||||
function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs)
|
||||
{
|
||||
global $conf;
|
||||
global $conf,$mysoc;
|
||||
|
||||
// Montants exprimes en (en tab_top - 1)
|
||||
$pdf->SetTextColor(0,0,0);
|
||||
@ -359,6 +359,18 @@ class pdf_typhon extends ModelePDFDeliveryOrder
|
||||
$pdf->line($this->posxqty-1, $tab_top, $this->posxqty-1, $tab_top + $tab_height);
|
||||
$pdf->SetXY ($this->posxqty-1, $tab_top+2);
|
||||
$pdf->MultiCell(40, 2, $outputlangs->transnoentities("QtyShipped"),'','R');
|
||||
|
||||
// Modif Seb cadres signatures
|
||||
$pdf->SetFont('Arial','',10);
|
||||
$larg_sign = ($this->page_largeur-$this->marge_gauche-$this->marge_droite)/3;
|
||||
$pdf->Rect($this->marge_gauche, ($tab_top + $tab_height + 3), $larg_sign, 25 );
|
||||
$pdf->SetXY ($this->marge_gauche + 2, $tab_top + $tab_height + 5);
|
||||
$pdf->MultiCell($larg_sign,2, $outputlangs->trans("For").' '.$mysoc->nom.":",'','L');
|
||||
|
||||
$pdf->Rect(2*$larg_sign+$this->marge_gauche, ($tab_top + $tab_height + 3), $larg_sign, 25 );
|
||||
$pdf->SetXY (2*$larg_sign+$this->marge_gauche + 2, $tab_top + $tab_height + 5);
|
||||
$pdf->MultiCell($larg_sign,2, $outputlangs->trans("ForCustomer").':','','L');
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
@ -423,7 +435,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
|
||||
$pdf->SetXY(100,$posy);
|
||||
$pdf->SetTextColor(0,0,60);
|
||||
$commande = new Commande ($this->db);
|
||||
if ($commande->fetch($delivery->commande_id) >0) {
|
||||
if ($commande->fetch($delivery->origin_id) >0) {
|
||||
$pdf->MultiCell(100, 4, $outputlangs->transnoentities("RefOrder")." : ".$commande->ref, '' , 'R');
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user