Adaptations display
This commit is contained in:
@@ -284,13 +284,13 @@ die();
|
||||
'required' => array('error', 'Merci de préciser la nature de la prestation!'),
|
||||
));
|
||||
// "digits"
|
||||
$form->add('label', 'label_nor_tot', 'nor_tot', 'Total nombre entrées:');
|
||||
$form->add('label', 'label_nor_tot', 'nor_tot', 'Total nombre entrées: ');
|
||||
$obj = $form->add('text', 'nor_tot',$ar['nor_tot'],array('readonly' => 'readonly', 'size' => '5'));
|
||||
$obj->set_attributes(array('class'=>'num'), false);
|
||||
$form->add('label', 'label_vip_tot', 'vip_tot', 'Total accès VIP:');
|
||||
$obj = $form->add('text', 'vip_tot',$ar['vip_tot'],array('readonly' => 'readonly', 'size' => '5'));
|
||||
$obj->set_attributes(array('class'=>'num'), false);
|
||||
$form->add('label', 'label_presta_tot', 'presta_tot', 'Total Prestations CHF:');
|
||||
$form->add('label', 'label_presta_tot', 'presta_tot', 'Total Prestations CHF: ');
|
||||
$obj = $form->add('text', 'presta_tot',$ar['presta_tot'],array('readonly' => 'readonly', 'size' => '5'));
|
||||
$obj->set_attributes(array('class'=>'num'), false);
|
||||
|
||||
@@ -316,7 +316,9 @@ die();
|
||||
|
||||
|
||||
// VIP gratuit ?
|
||||
$form->add('label', 'label_vip_gratuit', 'vip_gratuit', 'Gratuité des billets VIP:');
|
||||
$form->add('label', 'label_vip_gratuit_1', 'vip_gratuit', 'Gratuité des billets VIP');
|
||||
$form->add('label', 'label_vip_gratuit_2', 'vip_gratuit_2', 'Cochez la case, si le prix des accès VIP ne doit pas être comptabilisé dans le total des contre-prestations.');
|
||||
|
||||
$obj = $form->add('checkbox', 'vip_gratuit', 'oui' );
|
||||
if($ar['vip_gratuit']=='oui') {
|
||||
$obj->set_attributes(array('checked'=>'checked'));
|
||||
|
||||
Reference in New Issue
Block a user