Trad: Traduction de P.U. (Prix unitaire)
This commit is contained in:
parent
0badfecd97
commit
e7efe0313d
@ -405,7 +405,7 @@ if ($_GET["propalid"])
|
||||
print '<table class="noborder" width="100%">';
|
||||
print "<tr class=\"liste_titre\">";
|
||||
print '<td>'.$langs->trans("Ref").'</td><td>'.$langs->trans("ProductOrService").'</td>';
|
||||
print '<td align="center">'.$langs->trans("VAT").'</td><td align="center">'.$langs->trans("Qty").'</td><td align="center">'.$langs->trans("Discount").'</td><td align="right">P.U.</td>';
|
||||
print '<td align="center">'.$langs->trans("VAT").'</td><td align="center">'.$langs->trans("Qty").'</td><td align="center">'.$langs->trans("Discount").'</td><td align="right">'.$langs->trans("PriceU").'</td>';
|
||||
print "<td> </td>";
|
||||
print "</tr>\n";
|
||||
|
||||
|
||||
@ -553,7 +553,7 @@ else
|
||||
print '<td width="8%" align="center">'.$langs->trans("VAT").'</td>';
|
||||
print '<td width="8%" align="center">'.$langs->trans("Qty").'</td>';
|
||||
print '<td width="8%" align="right">'.$langs->trans("Discount").'</td>';
|
||||
print '<td width="12%" align="right">P.U.</td>';
|
||||
print '<td width="12%" align="right">'.$langs->trans("PriceU").'</td>';
|
||||
print '<td width="10%"> </td><td width="10%"> </td>';
|
||||
print "</tr>\n";
|
||||
}
|
||||
@ -657,7 +657,7 @@ else
|
||||
print '<td width="8%" align="center">'.$langs->trans("VAT").'</td>';
|
||||
print '<td width="8%" align="center">'.$langs->trans("Qty").'</td>';
|
||||
print '<td width="8%" align="right">'.$langs->trans("Discount").'</td>';
|
||||
print '<td width="12%" align="right">P.U.</td>';
|
||||
print '<td width="12%" align="right">'.$langs->trans("PriceU").'</td>';
|
||||
print '<td> </td><td> </td>'."</tr>\n";
|
||||
print '<input type="hidden" name="action" value="addligne">';
|
||||
print "<tr $bc[$var]>".'<td><textarea name="desc" cols="60" rows="1"></textarea></td>';
|
||||
|
||||
@ -161,7 +161,7 @@ if ($_GET["id"] > 0)
|
||||
print '<td width="8%" align="center">'.$langs->trans("VAT").'</td>';
|
||||
print '<td width="8%" align="center">'.$langs->trans("Qty").'</td>';
|
||||
print '<td width="8%" align="right">'.$langs->trans("Discount").'</td>';
|
||||
print '<td width="12%" align="right">P.U.</td>';
|
||||
print '<td width="12%" align="right">'.$langs->trans("PriceU").'</td>';
|
||||
print '<td width="10%"> </td><td width="10%"> </td>';
|
||||
print "</tr>\n";
|
||||
}
|
||||
|
||||
@ -1029,7 +1029,7 @@ else
|
||||
print "<tr class=\"liste_titre\">";
|
||||
print '<td width="54%">'.$langs->trans("Description").'</td>';
|
||||
print '<td width="8%" align="right">'.$langs->trans("VAT").'</td>';
|
||||
print '<td width="12%" align="right">P.U. HT</td>';
|
||||
print '<td width="12%" align="right">'.$langs->trans("PriceUHT").'</td>';
|
||||
print '<td width="8%" align="right">'.$langs->trans("Quantity").'</td>';
|
||||
print '<td width="8%" align="right">'.$langs->trans("Discount").'</td>';
|
||||
print '<td width="10%" align="right">'.$langs->trans("AmountHT").'</td>';
|
||||
@ -1144,7 +1144,7 @@ else
|
||||
print "<tr class=\"liste_titre\">";
|
||||
print '<td width="54%">'.$langs->trans("Description").'</td>';
|
||||
print '<td width="8%" align="right">'.$langs->trans("VAT").'</td>';
|
||||
print '<td width="12%" align="right">P.U. HT</td>';
|
||||
print '<td width="12%" align="right">'.$langs->trans("PriceUHT").'</td>';
|
||||
print '<td width="8%" align="right">'.$langs->trans("Quantity").'</td>';
|
||||
print '<td width="8%" align="right">'.$langs->trans("Dscount").'</td>';
|
||||
print '<td> </td>';
|
||||
|
||||
@ -157,7 +157,7 @@ if ($_GET["action"] == 'create')
|
||||
print '<td width="8%" align="center">'.$langs->trans("VAT").'</td>';
|
||||
print '<td width="8%" align="center">'.$langs->trans("Qty").'</td>';
|
||||
print '<td width="8%" align="right">'.$langs->trans("Discount").'</td>';
|
||||
print '<td width="12%" align="right">P.U.</td>';
|
||||
print '<td width="12%" align="right">'.$langs->trans("PriceU").'</td>';
|
||||
print '<td width="12%" align="right">N.P.</td>';
|
||||
print "</tr>\n";
|
||||
}
|
||||
|
||||
@ -360,7 +360,7 @@ if ($id > 0)
|
||||
print '<td width="8%" align="center">'.$langs->trans("VAT").'</td>';
|
||||
print '<td width="8%" align="center">'.$langs->trans("Qty").'</td>';
|
||||
print '<td width="7%" align="right">'.$langs->trans("Discount").'</td>';
|
||||
print '<td width="10%" align="right">P.U.</td>';
|
||||
print '<td width="10%" align="right">'.$langs->trans("PriceU").'</td>';
|
||||
print '<td width="5%"> </td><td width="10%"> </td>';
|
||||
print "</tr>\n";
|
||||
}
|
||||
@ -469,7 +469,7 @@ if ($id > 0)
|
||||
print '<td width="8%" align="center">'.$langs->trans("VAT").'</td>';
|
||||
print '<td width="8%" align="center">'.$langs->trans("Qty").'</td>';
|
||||
print '<td width="8%" align="right">'.$langs->trans("Discount").'</td>';
|
||||
print '<td width="12%" align="right">P.U.</TD>';
|
||||
print '<td width="12%" align="right">'.$langs->trans("PriceU").'</td>';
|
||||
print '<td> </td><td> </td>'."</tr>\n";
|
||||
|
||||
/*
|
||||
|
||||
@ -256,7 +256,7 @@ if ($_GET["action"] == 'create' or $_GET["action"] == 'copy')
|
||||
print "</table><br>";
|
||||
|
||||
print '<table class="border" width="100%">';
|
||||
print '<tr class="liste_titre"><td> </td><td>'.$langs->trans("Label").'</td><td align="center">P.U. HT</td><td align="center">'.$langs->trans("Qty").'</td><td align="center">'.$langs->trans("VATRate").'</td></tr>';
|
||||
print '<tr class="liste_titre"><td> </td><td>'.$langs->trans("Label").'</td><td align="center">'.$langs->trans("PriceUHT").'</td><td align="center">'.$langs->trans("Qty").'</td><td align="center">'.$langs->trans("VATRate").'</td></tr>';
|
||||
|
||||
for ($i = 1 ; $i < 9 ; $i++)
|
||||
{
|
||||
@ -354,7 +354,7 @@ else
|
||||
print "<form action=\"fiche.php?facid=$fac->id&action=add_ligne\" method=\"post\">";
|
||||
print '<table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre"><td>'.$langs->trans("Label").'</td>';
|
||||
print '<td align="center">P.U. HT</td>';
|
||||
print '<td align="center">'.$langs->trans("PriceUHT").'</td>';
|
||||
print '<td align="center">'.$langs->trans("Qty").'</td>';
|
||||
print '<td align="center">'.$langs->trans("TotalHT").'</td>';
|
||||
print '<td align="center">'.$langs->trans("VATRate").'</td>';
|
||||
@ -522,7 +522,7 @@ else
|
||||
*/
|
||||
print '<p><table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre"><td>'.$langs->trans("Label").'</td>';
|
||||
print '<td align="center">P.U. HT</td>';
|
||||
print '<td align="center">'.$langs->trans("PriceUHT").'</td>';
|
||||
print '<td align="center">'.$langs->trans("Qty").'</td>';
|
||||
print '<td align="center">'.$langs->trans("TotalHT").'</td>';
|
||||
print '<td align="center">'.$langs->trans("VATRate").'</td>';
|
||||
|
||||
@ -375,21 +375,25 @@ class pdf_adytek extends ModelePDFFactures {
|
||||
*/
|
||||
function _tableau(&$pdf, $tab_top, $tab_height, $nexY)
|
||||
{
|
||||
global $langs;
|
||||
$langs->load("main");
|
||||
$langs->load("bills");
|
||||
|
||||
$pdf->SetFont('Arial','',10);
|
||||
|
||||
$pdf->Text(11,$tab_top + 5,'Désignation');
|
||||
$pdf->Text(11,$tab_top + 5,$langs->trans("Designation"));
|
||||
|
||||
$pdf->line(132, $tab_top, 132, $tab_top + $tab_height);
|
||||
$pdf->Text(134,$tab_top + 5,'TVA');
|
||||
$pdf->Text(134,$tab_top + 5,$langs->trans("VAT"));
|
||||
|
||||
$pdf->line(144, $tab_top, 144, $tab_top + $tab_height);
|
||||
$pdf->Text(147,$tab_top + 5,'Qté');
|
||||
$pdf->Text(147,$tab_top + 5,$langs->trans("Qty"));
|
||||
|
||||
$pdf->line(156, $tab_top, 156, $tab_top + $tab_height);
|
||||
$pdf->Text(160,$tab_top + 5,'P.U.');
|
||||
$pdf->Text(160,$tab_top + 5,$langs->trans("PriceU"));
|
||||
|
||||
$pdf->line(174, $tab_top, 174, $tab_top + $tab_height);
|
||||
$pdf->Text(187,$tab_top + 5,'Total');
|
||||
$pdf->Text(187,$tab_top + 5,$langs->trans("Total"));
|
||||
|
||||
$pdf->Rect(10, $tab_top, 190, $tab_height);
|
||||
$pdf->line(10, $tab_top + 10, 200, $tab_top + 10 );
|
||||
|
||||
@ -293,21 +293,25 @@ class pdf_bernique extends ModelePDFFactures {
|
||||
*/
|
||||
function _tableau(&$pdf, $tab_top, $tab_height, $nexY)
|
||||
{
|
||||
global $langs;
|
||||
$langs->load("main");
|
||||
$langs->load("bills");
|
||||
|
||||
$pdf->SetFont('Arial','',10);
|
||||
|
||||
$pdf->Text(11,$tab_top + 5,'Désignation');
|
||||
$pdf->Text(11,$tab_top + 5,$langs->trans("Designation"));
|
||||
|
||||
$pdf->line(132, $tab_top, 132, $tab_top + $tab_height);
|
||||
$pdf->Text(134,$tab_top + 5,'TVA');
|
||||
$pdf->Text(134,$tab_top + 5,$langs->trans("VAT"));
|
||||
|
||||
$pdf->line(144, $tab_top, 144, $tab_top + $tab_height);
|
||||
$pdf->Text(147,$tab_top + 5,'Qté');
|
||||
$pdf->Text(147,$tab_top + 5,$langs->trans("Qty"));
|
||||
|
||||
$pdf->line(156, $tab_top, 156, $tab_top + $tab_height);
|
||||
$pdf->Text(160,$tab_top + 5,'P.U.');
|
||||
$pdf->Text(160,$tab_top + 5,$langs->trans("PriceU"));
|
||||
|
||||
$pdf->line(174, $tab_top, 174, $tab_top + $tab_height);
|
||||
$pdf->Text(187,$tab_top + 5,'Total');
|
||||
$pdf->Text(187,$tab_top + 5,$langs->trans("Total"));
|
||||
|
||||
$pdf->Rect(10, $tab_top, 190, $tab_height);
|
||||
$pdf->line(10, $tab_top + 10, 200, $tab_top + 10 );
|
||||
|
||||
@ -237,21 +237,25 @@ class pdf_bigorneau extends ModelePDFFactures {
|
||||
*/
|
||||
function _tableau(&$pdf, $tab_top, $tab_height, $nexY)
|
||||
{
|
||||
global $langs;
|
||||
$langs->load("main");
|
||||
$langs->load("bills");
|
||||
|
||||
$pdf->SetFont('Arial','',12);
|
||||
|
||||
$pdf->Text(11,$tab_top + 5,'Désignation');
|
||||
$pdf->Text(11,$tab_top + 5,$langs->trans("Designation"));
|
||||
|
||||
$pdf->line(132, $tab_top, 132, $tab_top + $tab_height);
|
||||
$pdf->Text(134,$tab_top + 5,'TVA');
|
||||
$pdf->Text(134,$tab_top + 5,$langs->trans("VAT"));
|
||||
|
||||
$pdf->line(144, $tab_top, 144, $tab_top + $tab_height);
|
||||
$pdf->Text(147,$tab_top + 5,'Qté');
|
||||
$pdf->Text(147,$tab_top + 5,$langs->trans("Qty"));
|
||||
|
||||
$pdf->line(156, $tab_top, 156, $tab_top + $tab_height);
|
||||
$pdf->Text(160,$tab_top + 5,'P.U.');
|
||||
$pdf->Text(160,$tab_top + 5,$langs->trans("PriceU"));
|
||||
|
||||
$pdf->line(174, $tab_top, 174, $tab_top + $tab_height);
|
||||
$pdf->Text(187,$tab_top + 5,'Total');
|
||||
$pdf->Text(187,$tab_top + 5,$langs->trans("Total"));
|
||||
|
||||
$pdf->Rect(10, $tab_top, 190, $tab_height);
|
||||
$pdf->line(10, $tab_top + 10, 200, $tab_top + 10 );
|
||||
|
||||
@ -306,21 +306,25 @@ class pdf_bulot extends ModelePDFFactures {
|
||||
*/
|
||||
function _tableau(&$pdf, $tab_top, $tab_height, $nexY)
|
||||
{
|
||||
global $langs;
|
||||
$langs->load("main");
|
||||
$langs->load("bills");
|
||||
|
||||
$pdf->SetFont('Arial','',10);
|
||||
|
||||
$pdf->Text(11,$tab_top + 5,'Désignation');
|
||||
$pdf->Text(11,$tab_top + 5,$langs->trans("Designation"));
|
||||
|
||||
$pdf->line(132, $tab_top, 132, $tab_top + $tab_height);
|
||||
$pdf->Text(134,$tab_top + 5,'TVA');
|
||||
$pdf->Text(134,$tab_top + 5,$langs->trans("VAT"));
|
||||
|
||||
$pdf->line(144, $tab_top, 144, $tab_top + $tab_height);
|
||||
$pdf->Text(147,$tab_top + 5,'Qté');
|
||||
$pdf->Text(147,$tab_top + 5,$langs->trans("Qty"));
|
||||
|
||||
$pdf->line(156, $tab_top, 156, $tab_top + $tab_height);
|
||||
$pdf->Text(160,$tab_top + 5,'P.U.');
|
||||
$pdf->Text(160,$tab_top + 5,$langs->trans("PriceU"));
|
||||
|
||||
$pdf->line(174, $tab_top, 174, $tab_top + $tab_height);
|
||||
$pdf->Text(187,$tab_top + 5,'Total');
|
||||
$pdf->Text(187,$tab_top + 5,$langs->trans("Total"));
|
||||
|
||||
$pdf->Rect(10, $tab_top, 190, $tab_height);
|
||||
$pdf->line(10, $tab_top + 10, 200, $tab_top + 10 );
|
||||
|
||||
@ -514,13 +514,13 @@ class pdf_crabe extends ModelePDFFactures
|
||||
|
||||
$pdf->SetFont('Arial','',10);
|
||||
|
||||
$pdf->Text(12,$tab_top + 5, $langs->trans("Label"));
|
||||
$pdf->Text(12,$tab_top + 5, $langs->trans("Designation"));
|
||||
|
||||
$pdf->line(120, $tab_top, 120, $tab_top + $tab_height);
|
||||
$pdf->Text(122, $tab_top + 5, $langs->trans("VAT"));
|
||||
|
||||
$pdf->line(132, $tab_top, 132, $tab_top + $tab_height);
|
||||
$pdf->Text(135, $tab_top + 5,'P.U. HT');
|
||||
$pdf->Text(135, $tab_top + 5,$langs->trans("PriceUHT"));
|
||||
|
||||
$pdf->line(150, $tab_top, 150, $tab_top + $tab_height);
|
||||
$pdf->Text(153, $tab_top + 5, $langs->trans("Qty"));
|
||||
|
||||
@ -510,19 +510,19 @@ class pdf_oursin extends ModelePDFFactures
|
||||
*/
|
||||
function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $fac)
|
||||
{
|
||||
global $langs;
|
||||
$langs->load("main");
|
||||
$langs->load("bills");
|
||||
global $langs;
|
||||
$langs->load("main");
|
||||
$langs->load("bills");
|
||||
|
||||
$pdf->line( $this->marges['g'], $tab_top+8, 210-$this->marges['d'], $tab_top+8 );
|
||||
$pdf->line( $this->marges['g'], $tab_top + $tab_height, 210-$this->marges['d'], $tab_top + $tab_height );
|
||||
|
||||
$pdf->SetFont('Arial','B',10);
|
||||
|
||||
$pdf->Text($this->marges['g']+2,$tab_top + 5, $langs->trans("Label"));
|
||||
$pdf->Text($this->marges['g']+2,$tab_top + 5, $langs->trans("Designation"));
|
||||
if ($this->franchise!=1) $pdf->Text($this->marges['g']+120, $tab_top + 5, $langs->trans("VAT"));
|
||||
$pdf->Text($this->marges['g']+135, $tab_top + 5,'P.U. HT');
|
||||
$pdf->Text($this->marges['g']+153, $tab_top + 5, $langs->trans("Qté"));
|
||||
$pdf->Text($this->marges['g']+135, $tab_top + 5,$langs->trans("PriceUHT"));
|
||||
$pdf->Text($this->marges['g']+153, $tab_top + 5, $langs->trans("Qty"));
|
||||
|
||||
$nblignes = sizeof($fac->lignes);
|
||||
$rem=0;
|
||||
|
||||
@ -289,21 +289,25 @@ class pdf_tourteau extends ModelePDFFactures {
|
||||
*/
|
||||
function _tableau(&$pdf, $tab_top, $tab_height, $nexY)
|
||||
{
|
||||
global $langs;
|
||||
$langs->load("main");
|
||||
$langs->load("bills");
|
||||
|
||||
$pdf->SetFont('Arial','',12);
|
||||
|
||||
$pdf->Text(11,$tab_top + 5,'Désignation');
|
||||
$pdf->Text(11,$tab_top + 5,$langs->trans("Designation"));
|
||||
|
||||
$pdf->line(132, $tab_top, 132, $tab_top + $tab_height);
|
||||
$pdf->Text(134,$tab_top + 5,'TVA');
|
||||
$pdf->Text(134,$tab_top + 5,$langs->trans("VAT"));
|
||||
|
||||
$pdf->line(144, $tab_top, 144, $tab_top + $tab_height);
|
||||
$pdf->Text(147,$tab_top + 5,'Qté');
|
||||
$pdf->Text(147,$tab_top + 5,$langs->trans("Qty"));
|
||||
|
||||
$pdf->line(156, $tab_top, 156, $tab_top + $tab_height);
|
||||
$pdf->Text(160,$tab_top + 5,'P.U.');
|
||||
$pdf->Text(160,$tab_top + 5,$langs->trans("PriceU"));
|
||||
|
||||
$pdf->line(174, $tab_top, 174, $tab_top + $tab_height);
|
||||
$pdf->Text(187,$tab_top + 5,'Total');
|
||||
$pdf->Text(187,$tab_top + 5,$langs->trans("Total"));
|
||||
|
||||
$pdf->Rect(10, $tab_top, 190, $tab_height);
|
||||
$pdf->line(10, $tab_top + 10, 200, $tab_top + 10 );
|
||||
|
||||
@ -229,30 +229,33 @@ class pdf_propale_adytek extends ModelePDFPropales
|
||||
|
||||
function _tableau(&$pdf, $tab_top, $tab_height, $nexY)
|
||||
{
|
||||
|
||||
global $langs;
|
||||
$langs->load("main");
|
||||
$langs->load("bills");
|
||||
|
||||
$pdf->SetFont('Arial','',11);
|
||||
|
||||
$pdf->SetXY(10,$tab_top);
|
||||
$pdf->MultiCell(20,10,'Réf',0,'C',1);
|
||||
$pdf->MultiCell(20,10,$langs->trans("Ref"),0,'C',1);
|
||||
|
||||
$pdf->SetXY(30,$tab_top);
|
||||
$pdf->MultiCell(102,10,'Désignation',0,'L',1);
|
||||
$pdf->MultiCell(102,10,$langs->trans("Designation"),0,'L',1);
|
||||
|
||||
$pdf->line(132, $tab_top, 132, $tab_top + $tab_height);
|
||||
$pdf->SetXY(132,$tab_top);
|
||||
$pdf->MultiCell(12, 10,'TVA',0,'C',1);
|
||||
$pdf->MultiCell(12, 10,$langs->trans("VAT"),0,'C',1);
|
||||
|
||||
$pdf->line(144, $tab_top, 144, $tab_top + $tab_height);
|
||||
$pdf->SetXY(144,$tab_top);
|
||||
$pdf->MultiCell(10,10,'Qté',0,'C',1);
|
||||
$pdf->MultiCell(10,10,$langs->trans("Qty"),0,'C',1);
|
||||
|
||||
$pdf->line(154, $tab_top, 154, $tab_top + $tab_height);
|
||||
$pdf->SetXY(154,$tab_top);
|
||||
$pdf->MultiCell(22,10,'P.U.',0,'R',1);
|
||||
$pdf->MultiCell(22,10,$langs->trans("PriceU"),0,'R',1);
|
||||
|
||||
$pdf->line(176, $tab_top, 176, $tab_top + $tab_height);
|
||||
$pdf->SetXY(176,$tab_top);
|
||||
$pdf->MultiCell(24,10,'Total',0,'R',1);
|
||||
$pdf->MultiCell(24,10,$langs->trans("Total"),0,'R',1);
|
||||
|
||||
$pdf->Rect(10, $tab_top, 190, $tab_height);
|
||||
|
||||
|
||||
@ -436,7 +436,7 @@ class pdf_propale_azur extends ModelePDFPropales
|
||||
$pdf->Text(122, $tab_top + 5, $langs->trans("VAT"));
|
||||
|
||||
$pdf->line(132, $tab_top, 132, $tab_top + $tab_height);
|
||||
$pdf->Text(135, $tab_top + 5,'P.U. HT');
|
||||
$pdf->Text(135, $tab_top + 5,$langs->trans("PriceUHT"));
|
||||
|
||||
$pdf->line(150, $tab_top, 150, $tab_top + $tab_height);
|
||||
$pdf->Text(153, $tab_top + 5, $langs->trans("Qty"));
|
||||
|
||||
@ -214,22 +214,25 @@ class pdf_propale_bleu extends ModelePDFPropales
|
||||
|
||||
function _tableau(&$pdf, $tab_top, $tab_height, $nexY)
|
||||
{
|
||||
global $langs;
|
||||
$langs->load("main");
|
||||
$langs->load("bills");
|
||||
|
||||
$pdf->SetFont('Arial','',11);
|
||||
|
||||
$pdf->Text(30,$tab_top + 5,'Désignation');
|
||||
$pdf->Text(30,$tab_top + 5,$langs->trans("Designation"));
|
||||
|
||||
$pdf->line(132, $tab_top, 132, $tab_top + $tab_height);
|
||||
$pdf->Text(134,$tab_top + 5,'TVA');
|
||||
$pdf->Text(134,$tab_top + 5,$langs->trans("VAT"));
|
||||
|
||||
$pdf->line(144, $tab_top, 144, $tab_top + $tab_height);
|
||||
$pdf->Text(147,$tab_top + 5,'Qté');
|
||||
$pdf->Text(147,$tab_top + 5,$langs->trans("Qty"));
|
||||
|
||||
$pdf->line(156, $tab_top, 156, $tab_top + $tab_height);
|
||||
$pdf->Text(160,$tab_top + 5,'P.U.');
|
||||
$pdf->Text(160,$tab_top + 5,$langs->trans("PriceU"));
|
||||
|
||||
$pdf->line(174, $tab_top, 174, $tab_top + $tab_height);
|
||||
$pdf->Text(187,$tab_top + 5,'Total');
|
||||
$pdf->Text(187,$tab_top + 5,$langs->trans("Total"));
|
||||
|
||||
// $pdf->Rect(10, $tab_top, 190, $nexY - $tab_top);
|
||||
$pdf->Rect(10, $tab_top, 190, $tab_height);
|
||||
|
||||
@ -212,30 +212,33 @@ class pdf_propale_jaune extends ModelePDFPropales
|
||||
|
||||
function _tableau(&$pdf, $tab_top, $tab_height, $nexY)
|
||||
{
|
||||
global $langs;
|
||||
$langs->load("main");
|
||||
$langs->load("bills");
|
||||
|
||||
$pdf->SetFont('Arial','',11);
|
||||
|
||||
$pdf->SetXY(10,$tab_top);
|
||||
$pdf->MultiCell(20,10,'Réf',0,'C',1);
|
||||
$pdf->MultiCell(20,10,$langs->trans("Ref"),0,'C',1);
|
||||
|
||||
$pdf->SetXY(30,$tab_top);
|
||||
$pdf->MultiCell(102,10,'Désignation',0,'L',1);
|
||||
$pdf->MultiCell(102,10,$langs->trans("Designation"),0,'L',1);
|
||||
|
||||
$pdf->line(132, $tab_top, 132, $tab_top + $tab_height);
|
||||
$pdf->SetXY(132,$tab_top);
|
||||
$pdf->MultiCell(12, 10,'TVA',0,'C',1);
|
||||
$pdf->MultiCell(12, 10,$langs->trans("VAT"),0,'C',1);
|
||||
|
||||
$pdf->line(144, $tab_top, 144, $tab_top + $tab_height);
|
||||
$pdf->SetXY(144,$tab_top);
|
||||
$pdf->MultiCell(10,10,'Qté',0,'C',1);
|
||||
$pdf->MultiCell(10,10,$langs->trans("Qty"),0,'C',1);
|
||||
|
||||
$pdf->line(154, $tab_top, 154, $tab_top + $tab_height);
|
||||
$pdf->SetXY(154,$tab_top);
|
||||
$pdf->MultiCell(22,10,'P.U.',0,'R',1);
|
||||
$pdf->MultiCell(22,10,$langs->trans("PriceU"),0,'R',1);
|
||||
|
||||
$pdf->line(176, $tab_top, 176, $tab_top + $tab_height);
|
||||
$pdf->SetXY(176,$tab_top);
|
||||
$pdf->MultiCell(24,10,'Total',0,'R',1);
|
||||
$pdf->MultiCell(24,10,$langs->trans("Total"),0,'R',1);
|
||||
|
||||
$pdf->Rect(10, $tab_top, 190, $tab_height);
|
||||
|
||||
|
||||
@ -233,22 +233,25 @@ class pdf_propale_rouge extends ModelePDFPropales
|
||||
|
||||
function _tableau(&$pdf, $tab_top, $tab_height, $nexY)
|
||||
{
|
||||
global $langs;
|
||||
$langs->load("main");
|
||||
$langs->load("bills");
|
||||
|
||||
$pdf->SetFont('Arial','',11);
|
||||
|
||||
$pdf->Text(30,$tab_top + 5,'Désignation');
|
||||
$pdf->Text(30,$tab_top + 5,$langs->trans("Designation"));
|
||||
|
||||
$pdf->line(132, $tab_top, 132, $tab_top + $tab_height);
|
||||
$pdf->Text(134,$tab_top + 5,'TVA');
|
||||
$pdf->Text(134,$tab_top + 5,$langs->trans("VAT"));
|
||||
|
||||
$pdf->line(144, $tab_top, 144, $tab_top + $tab_height);
|
||||
$pdf->Text(147,$tab_top + 5,'Qté');
|
||||
$pdf->Text(147,$tab_top + 5,$langs->trans("Qty"));
|
||||
|
||||
$pdf->line(156, $tab_top, 156, $tab_top + $tab_height);
|
||||
$pdf->Text(160,$tab_top + 5,'P.U.');
|
||||
$pdf->Text(160,$tab_top + 5,$langs->trans("PriceU"));
|
||||
|
||||
$pdf->line(174, $tab_top, 174, $tab_top + $tab_height);
|
||||
$pdf->Text(187,$tab_top + 5,'Total');
|
||||
$pdf->Text(187,$tab_top + 5,$langs->trans("Total"));
|
||||
|
||||
// $pdf->Rect(10, $tab_top, 190, $nexY - $tab_top);
|
||||
$pdf->Rect(10, $tab_top, 190, $tab_height);
|
||||
|
||||
@ -230,16 +230,18 @@ class pdf_propale_vert extends ModelePDFPropales
|
||||
|
||||
function _tableau(&$pdf, $tab_top, $tab_height, $nexY)
|
||||
{
|
||||
global $langs;
|
||||
global $langs;
|
||||
$langs->load("main");
|
||||
$langs->load("bills");
|
||||
|
||||
$yt = 100;
|
||||
$pdf->SetFont('Arial','',10);
|
||||
|
||||
$pdf->SetXY(10, $yt);
|
||||
$pdf->MultiCell(30,5,'Référence',0,'L');
|
||||
$pdf->MultiCell(30,5,$langs->trans("Ref"),0,'L');
|
||||
|
||||
$pdf->SetXY(40, $yt);
|
||||
$pdf->MultiCell(90,5,'Désignation',0,'L');
|
||||
$pdf->MultiCell(90,5,$langs->trans("Designation"),0,'L');
|
||||
|
||||
$pdf->SetXY(132, $yt);
|
||||
$pdf->line(132, $tab_top, 132, $tab_top + $tab_height);
|
||||
@ -251,7 +253,7 @@ class pdf_propale_vert extends ModelePDFPropales
|
||||
|
||||
$pdf->line(150, $tab_top, 150, $tab_top + $tab_height);
|
||||
$pdf->SetXY(150, $yt);
|
||||
$pdf->MultiCell(16,5,'P.U.',0,'C');
|
||||
$pdf->MultiCell(16,5,$langs->trans("PriceU"),0,'C');
|
||||
|
||||
$pdf->line(166, $tab_top, 166, $tab_top + $tab_height);
|
||||
$pdf->SetXY(166, $yt);
|
||||
|
||||
@ -71,6 +71,7 @@ Label=Label
|
||||
Info=Info
|
||||
Family=Family
|
||||
Description=Description
|
||||
Designation=Description
|
||||
Action=Action
|
||||
About=About
|
||||
WelcomeString=<font class="body">We are </font>%s<font class="body">, and you are connected with name</font> %s
|
||||
@ -112,6 +113,9 @@ Copy=Copy
|
||||
Paste=Paste
|
||||
Default=Default
|
||||
Price=Price
|
||||
UnitPrice=Unit price
|
||||
PriceU=U.P.
|
||||
PriceUHT=U.P. HT
|
||||
Amount=Amount
|
||||
AmountHT=Amount HT
|
||||
AmountTTC=Amount TTC
|
||||
|
||||
@ -71,6 +71,7 @@ Label=Libell
|
||||
Info=Info
|
||||
Family=Famille
|
||||
Description=Description
|
||||
Designation=Designation
|
||||
Action=Action
|
||||
About=À propos
|
||||
WelcomeString=<font class="body">Nous sommes le</font> %s<font class="body">, et vous êtes connecté(e) sous le nom</font> %s
|
||||
@ -112,6 +113,9 @@ Copy=Copier
|
||||
Paste=Coller
|
||||
Default=Défaut
|
||||
Price=Prix
|
||||
UnitPrice=Prix unitaire
|
||||
PriceU=P.U.
|
||||
PriceUHT=P.U. HT
|
||||
Amount=Montant
|
||||
AmountHT=Montant HT
|
||||
AmountTTC=Montant TTC
|
||||
|
||||
Loading…
Reference in New Issue
Block a user