mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
clean code
This commit is contained in:
parent
3a6b8ebfe7
commit
85a594aa61
|
|
@ -115,6 +115,11 @@ class Opensurveysondage extends CommonObject
|
|||
*/
|
||||
public $allow_spy;
|
||||
|
||||
/**
|
||||
* @var array fields
|
||||
*/
|
||||
public $fields = array();
|
||||
|
||||
|
||||
/**
|
||||
* Draft status (not used)
|
||||
|
|
|
|||
|
|
@ -1440,10 +1440,10 @@ class Ticket extends CommonObject
|
|||
$datas['track_id'] = '<br><b>'.$langs->trans('TicketTrackId').':</b> '.$this->track_id;
|
||||
$datas['subject'] = '<br><b>'.$langs->trans('Subject').':</b> '.$this->subject;
|
||||
if ($this->date_creation) {
|
||||
$datas['date_creation'] = '<br><b>'.$langs->trans('DateCreation').':</b> '.$this->date_creation;
|
||||
$datas['date_creation'] = '<br><b>'.$langs->trans('DateCreation').':</b> '.dol_print_date($this->date_creation, 'dayhour');
|
||||
}
|
||||
if ($this->date_modification) {
|
||||
$datas['date_modification'] = '<br><b>'.$langs->trans('DateModification').':</b> '.$this->date_modification;
|
||||
$datas['date_modification'] = '<br><b>'.$langs->trans('DateModification').':</b> '.dol_print_date($this->date_modification, 'dayhour');
|
||||
}
|
||||
|
||||
return $datas;
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ if ($id > 0 || !empty($track_id) || !empty($ref)) {
|
|||
|
||||
$linkback = '<a href="'.dol_buildpath('/ticket/list.php', 1).'"><strong>'.$langs->trans("BackToList").'</strong></a> ';
|
||||
|
||||
dol_banner_tab($object, 'ref', $linkback, ($user->socid ? 0 : 1), 'ref', 'ref', $morehtmlref, $param, 0, '', '', 1, '');
|
||||
dol_banner_tab($object, 'ref', $linkback, ($user->socid ? 0 : 1), 'ref', 'ref', $morehtmlref, '', 0, '', '', 1, '');
|
||||
|
||||
print dol_get_fiche_end();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user