Ajout champ demande pour
This commit is contained in:
@@ -174,10 +174,14 @@ die();
|
||||
|
||||
if(!$aid) {
|
||||
$ti = "Nouvelle commande";
|
||||
$forWho = $_SESSION['name'];
|
||||
}
|
||||
else {
|
||||
$ti = 'Commande par '.$_SESSION['name'] . ', créée le '.$row['created'];
|
||||
$forWho = $ar['demande_pour'];
|
||||
}
|
||||
$form->add('label','label_demande_pour','','Demande au nom de');
|
||||
$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']);
|
||||
|
||||
Reference in New Issue
Block a user