Ajout du mardi, retrait du dimanche, ajustement des dates

This commit is contained in:
Caribana 2018-05-01 13:26:53 +02:00
parent 96f510613b
commit 6e8ac6ef19

View File

@ -30,11 +30,12 @@ require_once 'vendor/autoload.php';
die();
}
$prices = array(
'mer' => array('nor' => 60, 'vip' => 42, 'label' => 'Mercredi 7 juin'),
'jeu' => array('nor' => 60, 'vip' => 42, 'label' => 'Jeudi 8 juin'),
'ven' => array('nor' => 60, 'vip' => 42, 'label' => 'Vendredi 9 juin'),
'sam' => array('nor' => 60, 'vip' => 42, 'label' => 'Samedi 10 juin'),
'dim' => array('nor' => 40, 'vip' => 42, 'label' => 'Dimanche 11 juin')
'mar' => array('nor' => 60, 'vip' => 40, 'label' => 'Mardi 5 juin'),
'mer' => array('nor' => 60, 'vip' => 40, 'label' => 'Mercredi 6 juin'),
'jeu' => array('nor' => 60, 'vip' => 40, 'label' => 'Jeudi 7 juin'),
'ven' => array('nor' => 60, 'vip' => 40, 'label' => 'Vendredi 8 juin'),
'sam' => array('nor' => 60, 'vip' => 40, 'label' => 'Samedi 9 juin'),
// 'dim' => array('nor' => 40, 'vip' => 42, 'label' => 'Dimanche 11 juin')
);
?>
@ -282,7 +283,7 @@ die();
$obj = $form->add('text', 'presta_tot',$ar['presta_tot'],array('readonly' => 'readonly', 'size' => '5'));
$obj->set_attributes(array('class'=>'num'), false);
$days = array('mer','jeu','ven','sam','dim');
$days = array('mar','mer','jeu','ven','sam');
foreach($days as $one) {
$form->add('label', 'label_digits', $one.'_nor', 'Digits:');
$obj = $form->add('text', $one.'_nor', $ar[$one.'_nor']);