Skip to content

Commit

Permalink
fix(contrat,facture-rec): undefined properties
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-irvine committed Jan 30, 2025
1 parent e6a6426 commit 7848d77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions htdocs/compta/facture/class/facture-rec.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@ class FactureRec extends CommonInvoice
public $cond_reglement_code; // Code in llx_c_paiement
public $mode_reglement_code; // Code in llx_c_paiement

public $fk_multicurrency;
public $multicurrency_code;
public $multicurrency_tx;
public $multicurrency_total_ht;
public $multicurrency_total_tva;
public $multicurrency_total_ttc;

public $suspended; // status

public $auto_validate; // 0 to create in draft, 1 to create and validate the new invoice
Expand Down
2 changes: 1 addition & 1 deletion htdocs/contrat/class/contrat.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3097,7 +3097,7 @@ public function fetch($id, $ref = '')
$sql .= " t.label,"; // This field is not used. Only label of product
$sql .= " p.ref as product_ref,";
$sql .= " p.label as product_label,";
$sql .= " p.description as product_desc,";
$sql .= " p.description as product_description,";
$sql .= " p.fk_product_type as product_type,";
$sql .= " t.description,";
$sql .= " t.date_commande,";
Expand Down

0 comments on commit 7848d77

Please sign in to comment.