2
0
forked from Wavyzz/dolibarr

Fix: Position of address

This commit is contained in:
Laurent Destailleur
2012-01-29 21:46:55 +01:00
parent 06f41166e1
commit d7f7ec2372
2 changed files with 10 additions and 10 deletions

View File

@@ -442,8 +442,9 @@ Class pdf_expedition_merou extends ModelePdfExpedition
$blSocX2=$blSocW+$blSocX;
// Sender name
$pdf->SetTextColor(0,0,60);
$pdf->SetXY($blSocX,$blSocY);
$pdf->SetTextColor(0,0,0);
$pdf->SetFont('','B', $default_font_size - 3);
$pdf->SetXY($blSocX,$blSocY+1);
$pdf->MultiCell(80, 3, $outputlangs->convToOutputCharset($this->emetteur->name), 0, 'L');
$pdf->SetTextColor(0,0,0);
@@ -451,7 +452,7 @@ Class pdf_expedition_merou extends ModelePdfExpedition
$carac_emetteur = pdf_build_address($outputlangs,$this->emetteur);
$pdf->SetFont('','', $default_font_size - 3);
$pdf->SetXY($blSocX,$blSocY+3);
$pdf->SetXY($blSocX,$blSocY+4);
$pdf->MultiCell(80, 2, $carac_emetteur, 0, 'L');
@@ -504,12 +505,11 @@ Class pdf_expedition_merou extends ModelePdfExpedition
/**********************************/
//Emplacement Informations Expediteur (My Company)
/**********************************/
$Yoff = $blSocY;
$blExpX=$Xoff-20;
$blW=52;
$Yoff = $Yoff+5;
$Ydef = $Yoff;
$blSocY = 1;
$pdf->Rect($blExpX, $Yoff, $blW, 20);
$pdf->Rect($blExpX, $Yoff, $blW, 26);
$object->fetch_thirdparty();
@@ -542,7 +542,7 @@ Class pdf_expedition_merou extends ModelePdfExpedition
$blW=50;
$Yoff = $Ydef +1;
$pdf->Rect($blDestX, $Yoff-1, $blW, 20);
$pdf->Rect($blDestX, $Yoff-1, $blW, 26);
//Titre
$pdf->SetFont('','B', $default_font_size - 3);

View File

@@ -850,7 +850,7 @@ else
$head=shipping_prepare_head($object);
dol_fiche_head($head, 'shipping', $langs->trans("Sending"), 0, 'sending');
if ($mesg) print $mesg;
dol_htmloutput_mesg($mesg);
/*
* Confirmation de la suppression
@@ -970,7 +970,7 @@ else
// Date creation
print '<tr><td>'.$langs->trans("DateCreation").'</td>';
print '<td colspan="3">'.dol_print_date($object->date_creation,"daytext")."</td>\n";
print '<td colspan="3">'.dol_print_date($object->date_creation,"day")."</td>\n";
print '</tr>';
// Delivery date planed