Translation lignes -> lines
This commit is contained in:
parent
f5cc29417d
commit
4387d40b9a
@ -267,7 +267,7 @@ abstract class CommonStickerGenerator
|
|||||||
protected function _Get_Height_Chars($pt)
|
protected function _Get_Height_Chars($pt)
|
||||||
{
|
{
|
||||||
// phpcs:enable
|
// phpcs:enable
|
||||||
// Tableau de concordance entre la hauteur des caracteres et de l'espacement entre les lignes
|
// Array for link between height of characters and space between lines
|
||||||
$_Table_Hauteur_Chars = array(6=>2, 7=>2.5, 8=>3, 9=>3.5, 10=>4, 11=>6, 12=>7, 13=>8, 14=>9, 15=>10);
|
$_Table_Hauteur_Chars = array(6=>2, 7=>2.5, 8=>3, 9=>3.5, 10=>4, 11=>6, 12=>7, 13=>8, 14=>9, 15=>10);
|
||||||
if (in_array($pt, array_keys($_Table_Hauteur_Chars))) {
|
if (in_array($pt, array_keys($_Table_Hauteur_Chars))) {
|
||||||
return $_Table_Hauteur_Chars[$pt];
|
return $_Table_Hauteur_Chars[$pt];
|
||||||
|
|||||||
@ -253,7 +253,7 @@ class pdf_espadon extends ModelePdfExpedition
|
|||||||
global $action;
|
global $action;
|
||||||
$reshook=$hookmanager->executeHooks('beforePDFCreation', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks
|
$reshook=$hookmanager->executeHooks('beforePDFCreation', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks
|
||||||
|
|
||||||
// Set nblignes with the new facture lines content after hook
|
// Set nblines with the new facture lines content after hook
|
||||||
$nblines = count($object->lines);
|
$nblines = count($object->lines);
|
||||||
|
|
||||||
$pdf=pdf_getInstance($this->format);
|
$pdf=pdf_getInstance($this->format);
|
||||||
|
|||||||
@ -282,7 +282,7 @@ class pdf_rouget extends ModelePdfExpedition
|
|||||||
global $action;
|
global $action;
|
||||||
$reshook=$hookmanager->executeHooks('beforePDFCreation', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks
|
$reshook=$hookmanager->executeHooks('beforePDFCreation', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks
|
||||||
|
|
||||||
// Set nblignes with the new facture lines content after hook
|
// Set nblines with the new facture lines content after hook
|
||||||
$nblines = count($object->lines);
|
$nblines = count($object->lines);
|
||||||
|
|
||||||
$pdf=pdf_getInstance($this->format);
|
$pdf=pdf_getInstance($this->format);
|
||||||
|
|||||||
@ -400,7 +400,7 @@ class pdf_standard extends ModeleExpenseReport
|
|||||||
$pdf->setPageOrientation('', 1, 0); // The only function to edit the bottom margin of current page to set it.
|
$pdf->setPageOrientation('', 1, 0); // The only function to edit the bottom margin of current page to set it.
|
||||||
|
|
||||||
//$nblineFollowComment = 1;
|
//$nblineFollowComment = 1;
|
||||||
// Cherche nombre de lignes a venir pour savoir si place suffisante
|
// Search number of lines coming to know if there is enough room
|
||||||
// if ($i < ($nblines - 1)) // If it's not last line
|
// if ($i < ($nblines - 1)) // If it's not last line
|
||||||
// {
|
// {
|
||||||
// //Fetch current description to know on which line the next one should be placed
|
// //Fetch current description to know on which line the next one should be placed
|
||||||
|
|||||||
@ -284,7 +284,7 @@ CREATE TABLE llx_expensereport_det
|
|||||||
total_ttc double(24,8) DEFAULT 0 NOT NULL,
|
total_ttc double(24,8) DEFAULT 0 NOT NULL,
|
||||||
date date NOT NULL,
|
date date NOT NULL,
|
||||||
info_bits integer DEFAULT 0, -- TVA NPR ou non
|
info_bits integer DEFAULT 0, -- TVA NPR ou non
|
||||||
special_code integer DEFAULT 0, -- code pour les lignes speciales
|
special_code integer DEFAULT 0, -- code for special lines
|
||||||
rang integer DEFAULT 0, -- position of line
|
rang integer DEFAULT 0, -- position of line
|
||||||
import_key varchar(14)
|
import_key varchar(14)
|
||||||
) ENGINE=innodb;
|
) ENGINE=innodb;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user