Skip to content

Commit 63ab8d9

Browse files
authored
Merge pull request #32871 from atm-irvine/fix_undefined_properties
fix(contrat,facture-rec): undefined properties
2 parents e6a6426 + 7848d77 commit 63ab8d9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

htdocs/compta/facture/class/facture-rec.class.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,13 @@ class FactureRec extends CommonInvoice
125125
public $cond_reglement_code; // Code in llx_c_paiement
126126
public $mode_reglement_code; // Code in llx_c_paiement
127127

128+
public $fk_multicurrency;
129+
public $multicurrency_code;
130+
public $multicurrency_tx;
131+
public $multicurrency_total_ht;
132+
public $multicurrency_total_tva;
133+
public $multicurrency_total_ttc;
134+
128135
public $suspended; // status
129136

130137
public $auto_validate; // 0 to create in draft, 1 to create and validate the new invoice

htdocs/contrat/class/contrat.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3097,7 +3097,7 @@ public function fetch($id, $ref = '')
30973097
$sql .= " t.label,"; // This field is not used. Only label of product
30983098
$sql .= " p.ref as product_ref,";
30993099
$sql .= " p.label as product_label,";
3100-
$sql .= " p.description as product_desc,";
3100+
$sql .= " p.description as product_description,";
31013101
$sql .= " p.fk_product_type as product_type,";
31023102
$sql .= " t.description,";
31033103
$sql .= " t.date_commande,";

0 commit comments

Comments
 (0)