Fix deprecated var

This commit is contained in:
Laurent Destailleur
2024-06-20 20:11:50 +02:00
parent a912441aba
commit a5621c83c2
2 changed files with 2 additions and 1 deletions

View File

@@ -301,6 +301,7 @@ class CompanyPaymentMode extends CommonObject
// For backward compatibility
$this->iban = $this->iban_prefix;
$this->date_modification = $this->tmps;
//if ($result > 0 && !empty($this->table_element_line)) $this->fetchLines();
return $result;

View File

@@ -1308,7 +1308,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print $s;
print '</td>';
print '<td>';
print dol_print_date($companypaymentmodetemp->tms, 'dayhour');
print dol_print_date($companypaymentmodetemp->date_modification, 'dayhour');
print '</td>';
// Fields from hook
$parameters = array('arrayfields' => array(), 'obj' => $obj, 'linetype' => 'stripecard');