missing fk_user_creat value (#35576)

This commit is contained in:
Eric - CAP-REL 2025-10-01 13:59:27 +02:00 committed by GitHub
parent 283efbbffe
commit d25847602b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -196,6 +196,7 @@ class CashControl extends CommonObject
$sql .= ", cash";
$sql .= ", cheque";
$sql .= ", card";
$sql .= ", fk_user_creat";
$sql .= ") VALUES (";
//$sql .= "'(PROV)', ";
$sql .= ((int) $conf->entity);
@ -210,6 +211,7 @@ class CashControl extends CommonObject
$sql .= ", ".price2num($this->cash, 'MT');
$sql .= ", ".price2num($this->cheque, 'MT');
$sql .= ", ".price2num($this->card, 'MT');
$sql .= ", ".((int) $user->id);
$sql .= ")";
$this->db->begin();