Comment must be in english
This commit is contained in:
parent
a32587d993
commit
cab9f6daae
@ -381,7 +381,7 @@ class pdf_standard extends ModeleExpenseReport
|
||||
$pdf->setPage($pageposafter + 1);
|
||||
$showpricebeforepagebreak = 1;
|
||||
$nexY = $tab_top_newpage;
|
||||
$nexY += ($pdf->getFontSize() * 1.3); // Passe espace entre les lignes
|
||||
$nexY += ($pdf->getFontSize() * 1.3); // Add space between lines
|
||||
$pdf->SetFont('', '', $default_font_size - 2); // Into loop to work with multipage
|
||||
$pdf->SetTextColor(0, 0, 0);
|
||||
|
||||
|
||||
@ -197,8 +197,6 @@ class FichinterRec extends Fichinter
|
||||
*/
|
||||
$num = count($fichintsrc->lines);
|
||||
for ($i = 0; $i < $num; $i++) {
|
||||
//$result=$fichintlignesrc->fetch($fichintsrc->lines[$i]->id);
|
||||
|
||||
//var_dump($fichintsrc->lines[$i]);
|
||||
$result_insert = $this->addline(
|
||||
$fichintsrc->lines[$i]->desc,
|
||||
@ -243,7 +241,7 @@ class FichinterRec extends Fichinter
|
||||
|
||||
|
||||
/**
|
||||
* Recupere l'objet facture et ses lignes de factures
|
||||
* Get the template of intervention object and lines
|
||||
*
|
||||
* @param int $rowid Id of object to load
|
||||
* @param string $ref Reference of fichinter
|
||||
@ -295,9 +293,7 @@ class FichinterRec extends Fichinter
|
||||
|
||||
$this->brouillon = 1;
|
||||
|
||||
/*
|
||||
* Lines
|
||||
*/
|
||||
// Lines
|
||||
$result = $this->fetch_lines();
|
||||
if ($result < 0) {
|
||||
$this->error = $this->db->error();
|
||||
@ -318,9 +314,9 @@ class FichinterRec extends Fichinter
|
||||
|
||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
|
||||
/**
|
||||
* Recupere les lignes de factures predefinies dans this->lines
|
||||
* @param int $sall sall
|
||||
* Load all lines of template of intervention into this->lines
|
||||
*
|
||||
* @param int $sall sall
|
||||
* @return int 1 if OK, < 0 if KO
|
||||
*/
|
||||
public function fetch_lines($sall = 0)
|
||||
@ -441,15 +437,15 @@ class FichinterRec extends Fichinter
|
||||
* @param integer $duration Durée
|
||||
* @param string $datei Date
|
||||
* @param int $rang Position of line
|
||||
* @param double $pu_ht Prix unitaire HT (> 0 even for credit note)
|
||||
* @param double $qty Quantite
|
||||
* @param double $txtva Taux de tva force, sinon -1
|
||||
* @param int $fk_product Id du produit/service predefini
|
||||
* @param double $remise_percent Pourcentage de remise de la ligne
|
||||
* @param double $pu_ht Unit price without tax (> 0 even for credit note)
|
||||
* @param double $qty Quantity
|
||||
* @param double $txtva Forced VAT rate, otherwise -1
|
||||
* @param int $fk_product Id of predefined product/service
|
||||
* @param double $remise_percent Percentage of discount on line
|
||||
* @param string $price_base_type HT or TTC
|
||||
* @param int $info_bits Bits de type de lignes
|
||||
* @param int $fk_remise_except Id remise
|
||||
* @param double $pu_ttc Prix unitaire TTC (> 0 even for credit note)
|
||||
* @param int $info_bits Bits for type of lines
|
||||
* @param int $fk_remise_except Id discount
|
||||
* @param double $pu_ttc Unit price with tax (> 0 even for credit note)
|
||||
* @param int $type Type of line (0=product, 1=service)
|
||||
* @param int $special_code Special code
|
||||
* @param string $label Label of the line
|
||||
|
||||
Loading…
Reference in New Issue
Block a user