Debug v21

This commit is contained in:
Laurent Destailleur
2024-11-12 13:25:46 +01:00
parent 14d548143b
commit 405444879a

View File

@@ -203,8 +203,10 @@ class FactureRec extends CommonInvoice
*/
public $fk_societe_rib;
const PAYMENTCODETOEDITSOCIETERIB = "PRE";
/**
* 'type' if the field format ('integer', 'integer:ObjectClass:PathToClass[:AddCreateButtonOrNot[:Filter]]', 'varchar(x)', 'double(24,8)', 'real', 'price', 'text', 'html', 'date', 'datetime', 'timestamp', 'duration', 'mail', 'phone', 'url', 'password')
* Note: Filter can be a string like "(t.ref:like:'SO-%') or (t.date_creation:<:'20160101') or (t.nature:is:NULL)"
@@ -567,7 +569,7 @@ class FactureRec extends CommonInvoice
$sql .= " localtax1 = ".((float) $this->total_localtax1).",";
$sql .= " localtax2 = ".((float) $this->total_localtax2).",";
$sql .= " total_ht = ".((float) $this->total_ht).",";
$sql .= " total_ttc = ".((float) $this->total_ttc);
$sql .= " total_ttc = ".((float) $this->total_ttc).",";
$sql .= " fk_societe_rib = ".((int) $this->fk_societe_rib);
// TODO Add missing fields
$sql .= " WHERE rowid = ".((int) $this->id);