Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
This commit is contained in:
commit
974a1c2c6d
@ -537,7 +537,7 @@ if ($action == 'create') {
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Date document creation
|
// Date document export
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td class="titlefield">'.$langs->trans("DateExport").'</td>';
|
print '<td class="titlefield">'.$langs->trans("DateExport").'</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
@ -545,7 +545,7 @@ if ($action == 'create') {
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Date document creation
|
// Date document validation
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td class="titlefield">'.$langs->trans("DateValidation").'</td>';
|
print '<td class="titlefield">'.$langs->trans("DateValidation").'</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
|
|||||||
@ -1653,11 +1653,10 @@ class BookKeeping extends CommonObject
|
|||||||
$this->doc_date = $this->db->jdate($obj->doc_date);
|
$this->doc_date = $this->db->jdate($obj->doc_date);
|
||||||
$this->doc_ref = $obj->doc_ref;
|
$this->doc_ref = $obj->doc_ref;
|
||||||
$this->doc_type = $obj->doc_type;
|
$this->doc_type = $obj->doc_type;
|
||||||
$this->date_creation = $obj->date_creation;
|
$this->date_creation = $this->db->jdate($obj->date_creation);
|
||||||
$this->date_modification = $obj->date_modification;
|
$this->date_modification = $this->db->jdate($obj->date_modification);
|
||||||
$this->date_export = $obj->date_export;
|
$this->date_export = $this->db->jdate($obj->date_export);
|
||||||
$this->date_validation = $obj->date_validated;
|
$this->date_validation = $this->db->jdate($obj->date_validation);
|
||||||
$this->date_validation = $obj->date_validation;
|
|
||||||
} else {
|
} else {
|
||||||
$this->error = "Error ".$this->db->lasterror();
|
$this->error = "Error ".$this->db->lasterror();
|
||||||
dol_syslog(__METHOD__.$this->error, LOG_ERR);
|
dol_syslog(__METHOD__.$this->error, LOG_ERR);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user