From 6e8ac6ef19bacba8fb9f54ffa7170ed43213e623 Mon Sep 17 00:00:00 2001 From: Caribana Date: Tue, 1 May 2018 13:26:53 +0200 Subject: [PATCH] Ajout du mardi, retrait du dimanche, ajustement des dates --- accred_form.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/accred_form.php b/accred_form.php index 05e7ee20..6fd92f8b 100644 --- a/accred_form.php +++ b/accred_form.php @@ -29,12 +29,13 @@ require_once 'vendor/autoload.php'; header('Location: accred_list'); 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') + $prices = array( + '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']);