Change label for demandeur field

This commit is contained in:
lars 2019-03-11 15:39:35 +01:00
parent cb17173481
commit caeb7ca1e8

View File

@ -179,8 +179,10 @@ die();
$ti = 'Commande par '.$_SESSION['name'] . ', créée le '.$row['created'];
$forWho = $ar['demande_pour'];
}
$form->add('label','label_demande_pour','','Demande au nom de');
if($isAdmin) {
$form->add('label','label_demande_pour','','Demandeur');
$form->add('text', 'demande_pour', $forWho);
}
$form->add('label', 'label_titre','',$ti);
$form->add('label', 'label_salutation', 'salutation', 'Salutation:');
$obj = $form->add('select', 'salutation', $ar['salutation']);