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
|
NoFileFound=No documents saved in this directory
|
||||||
CurrentUserLanguage=Current language
|
CurrentUserLanguage=Current language
|
||||||
CurrentTheme=Current theme
|
CurrentTheme=Current theme
|
||||||
|
For=For
|
||||||
|
ForCustomer=For customer
|
||||||
# Week day
|
# Week day
|
||||||
Monday=Monday
|
Monday=Monday
|
||||||
Tuesday=Tuesday
|
Tuesday=Tuesday
|
||||||
|
|||||||
@ -435,6 +435,8 @@ ThisLimitIsDefinedInSetup=Limite Dolibarr (Menu accueil-configuration-s
|
|||||||
NoFileFound=Pas de documents stockés dans cette rubrique
|
NoFileFound=Pas de documents stockés dans cette rubrique
|
||||||
CurrentUserLanguage=Langue utilisateur actuelle
|
CurrentUserLanguage=Langue utilisateur actuelle
|
||||||
CurrentTheme=Theme courant
|
CurrentTheme=Theme courant
|
||||||
|
For=Pour
|
||||||
|
ForCustomer=Pour le client
|
||||||
# Week day
|
# Week day
|
||||||
Monday=Lundi
|
Monday=Lundi
|
||||||
Tuesday=Mardi
|
Tuesday=Mardi
|
||||||
|
|||||||
@ -337,7 +337,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
|
|||||||
*/
|
*/
|
||||||
function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs)
|
function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs)
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf,$mysoc;
|
||||||
|
|
||||||
// Montants exprimes en (en tab_top - 1)
|
// Montants exprimes en (en tab_top - 1)
|
||||||
$pdf->SetTextColor(0,0,0);
|
$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->line($this->posxqty-1, $tab_top, $this->posxqty-1, $tab_top + $tab_height);
|
||||||
$pdf->SetXY ($this->posxqty-1, $tab_top+2);
|
$pdf->SetXY ($this->posxqty-1, $tab_top+2);
|
||||||
$pdf->MultiCell(40, 2, $outputlangs->transnoentities("QtyShipped"),'','R');
|
$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->SetXY(100,$posy);
|
||||||
$pdf->SetTextColor(0,0,60);
|
$pdf->SetTextColor(0,0,60);
|
||||||
$commande = new Commande ($this->db);
|
$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');
|
$pdf->MultiCell(100, 4, $outputlangs->transnoentities("RefOrder")." : ".$commande->ref, '' , 'R');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user