diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index 8fe73958acc..b53374e14b5 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -193,7 +193,7 @@ if ($_GET["action"] == 'create') $contact->fetch($_GET["contactid"]); } - print '
'; + print ''; print ''; print ''; @@ -237,7 +237,7 @@ if ($_GET["action"] == 'create') } print ''.$langs->trans("Date").''; - $html->select_date('','ac'); + $html->select_date('','ac','','','',"action"); print ''; print ''.$langs->trans("Hour").''; print_heure_select("heure",8,20); @@ -348,21 +348,21 @@ if ($_GET["action"] == 'create') print ''.$langs->trans("Date").''; if ($_GET["afaire"] == 1) { - $html->select_date('','ac'); + $html->select_date('','ac','','','',"action"); print ''.$langs->trans("Hour").''; print_heure_select("heure",8,20); print ''; } else if ($_GET["afaire"] == 2) { - $html->select_date('','ac'); + $html->select_date('','ac','','','',"action"); print ''.$langs->trans("Hour").''; print_heure_select("heure",8,20); print ''; } else { - $html->select_date('','ac'); + $html->select_date('','ac','','','',"action"); print ''.$langs->trans("Hour").''; print_heure_select("heure",8,20); print ''; @@ -578,5 +578,3 @@ function add_row_for_webcal_link() ?> - - diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php index 25451c26b36..c34c01c82f5 100644 --- a/htdocs/compta/bank/ligne.php +++ b/htdocs/compta/bank/ligne.php @@ -237,7 +237,7 @@ if ($result) $i++; - print "rowid\">"; + print "rowid\">"; print ""; print ""; @@ -280,7 +280,7 @@ if ($result) if (! $objp->rappro) { print ''; - $html->select_date($objp->do,'do'); + $html->select_date($objp->do,'do','','','','update'); print ''; } else @@ -295,7 +295,7 @@ if ($result) if (! $objp->rappro) { print ''; - $html->select_date($objp->dv,'dv'); + $html->select_date($objp->dv,'dv','','','','update'); print '   '; print ''; print img_edit_remove() . " "; diff --git a/htdocs/compta/bank/virement.php b/htdocs/compta/bank/virement.php index ffece282d5f..5d1522565fb 100644 --- a/htdocs/compta/bank/virement.php +++ b/htdocs/compta/bank/virement.php @@ -92,7 +92,7 @@ if ($mesg) { print "En saisissant un virement d'un de vos comptes bancaire vers un autre, Dolibarr crée deux écritures comptables (une de débit dans un compte et l'autre de crédit, du même montant, dans l'autre compte. Le même libellé de transaction, et la même date, sont utilisés pour les 2 écritures)

"; -print ""; +print ""; print ''; @@ -144,7 +144,7 @@ if ($resql) print "\n"; print ""; -$html->select_date(); +$html->select_date('','','','','','add'); print "\n"; print ''; print ''; diff --git a/htdocs/compta/deplacement/fiche.php b/htdocs/compta/deplacement/fiche.php index adb9f3a5c58..cfd48d6ac4a 100644 --- a/htdocs/compta/deplacement/fiche.php +++ b/htdocs/compta/deplacement/fiche.php @@ -106,7 +106,7 @@ $html = new Form($db); */ if ($_GET["action"] == 'create') { - print "\n"; + print "\n"; print ''; print_fiche_titre($langs->trans("NewTrip")); @@ -121,7 +121,7 @@ if ($_GET["action"] == 'create') print ""; print ''.$langs->trans("Date").''; - print $html->select_date(); + print $html->select_date('','','','','','add'); print ''; print ''.$langs->trans("Kilometers").''; @@ -150,7 +150,7 @@ else dolibarr_fiche_head($head, $hselected, $langs->trans("Ref").' '.$deplacement->id); - print "\n"; + print "\n"; print ''; print ''; @@ -167,7 +167,7 @@ else print ''; print ''.$langs->trans("Date").''; - print $html->select_date($deplacement->date); + print $html->select_date($deplacement->date,'','','','','update'); print ''; print ''.$langs->trans("Kilometers").''; diff --git a/htdocs/compta/dons/fiche.php b/htdocs/compta/dons/fiche.php index e85d01394b9..898cec2d969 100644 --- a/htdocs/compta/dons/fiche.php +++ b/htdocs/compta/dons/fiche.php @@ -181,13 +181,13 @@ if ($_GET["action"] == 'create') { print_titre($langs->trans("AddDonation")); - print ''; + print ''; print ''; print ''; print ''; $nbrows=11; @@ -252,14 +252,14 @@ if ($_GET["rowid"] && $_GET["action"] == 'edit') dolibarr_fiche_head($head, $hselected, $langs->trans("Ref").": ".$_GET["rowid"]); - print ''; + print ''; print '
'.$langs->trans("Date").''; - $html->select_date(); + $html->select_date('','','','','',"add"); print '
'; print ''; print ''; print "".''; $nbrows=12; diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 47fea73d9f4..34126cc25b1 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -655,7 +655,7 @@ if ($_GET['action'] == 'create') } - print ''; + print ''; print ''; print '' ."\n"; @@ -672,7 +672,7 @@ if ($_GET['action'] == 'create') print ''; print ''; // Conditions de réglement @@ -815,9 +815,9 @@ if ($_GET['action'] == 'create') { print ''; } print "\n"; @@ -1520,7 +1520,7 @@ else // Ligne en mode update if ($_GET['action'] == 'editline' && $user->rights->facture->creer && $_GET['rowid'] == $objp->rowid) { - print ''; + print ''; print ''; print ''; print ''; @@ -1552,9 +1552,9 @@ else { print ''; print ''; print ''; } @@ -1590,7 +1590,7 @@ else print "\n"; // Ajout produit produits/services personalisés - print ''; + print ''; print ''; print ''; @@ -1613,9 +1613,9 @@ else { print ''; print ''; print ''; } @@ -1624,7 +1624,7 @@ else // Ajout de produits/services prédéfinis if ($conf->produit->enabled) { - print ''; + print ''; print ''; print ''; @@ -1647,9 +1647,9 @@ else { print ''; print ''; print ''; } diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index b3504a62f3b..95f453d5651 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -220,7 +220,7 @@ if ($_GET['action'] == 'create' || $_POST['action'] == 'add_paiement') print_titre($langs->trans('DoPayment')); - print ''; + print ''; print ''; print ''; print ''; @@ -236,7 +236,7 @@ if ($_GET['action'] == 'create' || $_POST['action'] == 'add_paiement') $sel_date=mktime(12, 0 , 0, $_POST['remonth'], $_POST['reday'], $_POST['reyear']); else $sel_date=''; - $html->select_date($sel_date); + $html->select_date($sel_date,'','','','',"add_paiement"); print ''; print ''; diff --git a/htdocs/compta/paiement_charge.php b/htdocs/compta/paiement_charge.php index f9d875cd835..0b460f1a242 100755 --- a/htdocs/compta/paiement_charge.php +++ b/htdocs/compta/paiement_charge.php @@ -165,7 +165,7 @@ if ($_GET["action"] == 'create') print_titre("Emettre un paiement d'une charge"); print "
\n"; - print ''; + print ''; print "id\">"; print ''; print '
'.$langs->trans("Date").''; - $html->select_date($don->date); + $html->select_date($don->date,'','','','',"update"); print '
'.$langs->trans('Date').''; - $html->select_date(); + $html->select_date('','','','','',"add"); print '
'; print $langs->trans('From').' '; - print $html->select_date('','date_start'.$i,0,0,1); + print $html->select_date('','date_start'.$i,0,0,1,"add"); print '
'.$langs->trans('to').' '; - print $html->select_date('','date_end'.$i,0,0,1); + print $html->select_date('','date_end'.$i,0,0,1,"add"); print '
'.$langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' '; - print $html->select_date($objp->date_start,'date_start',0,0,$objp->date_start?0:1); + print $html->select_date($objp->date_start,'date_start',0,0,$objp->date_start?0:1,"updateligne"); print ' '.$langs->trans('to').' '; - print $html->select_date($objp->date_end,'date_end',0,0,$objp->date_end?0:1); + print $html->select_date($objp->date_end,'date_end',0,0,$objp->date_end?0:1,"updateligne"); print '
'.$langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' '; - print $html->select_date('','date_start',0,0,1); + print $html->select_date('','date_start',0,0,1,"addligne"); print ' '.$langs->trans('to').' '; - print $html->select_date('','date_end',0,0,1); + print $html->select_date('','date_end',0,0,1,"addligne"); print '
'.$langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' '; - print $html->select_date('','date_start',0,0,1); + print $html->select_date('','date_start',0,0,1,"addligne_predef"); print ' '.$langs->trans('to').' '; - print $html->select_date('','date_end',0,0,1); + print $html->select_date('','date_end',0,0,1,"addligne_predef"); print '
'.$langs->trans('Comments').'
'; @@ -194,7 +194,7 @@ if ($_GET["action"] == 'create') print ""; print '"; print ''; diff --git a/htdocs/compta/prelevement/fiche.php b/htdocs/compta/prelevement/fiche.php index fe2f65f6794..5740b5188f5 100644 --- a/htdocs/compta/prelevement/fiche.php +++ b/htdocs/compta/prelevement/fiche.php @@ -190,7 +190,7 @@ if ($_GET["id"]) print ''; print '
'.$langs->trans("Date").' :'; - $html->select_date(); + $html->select_date('','','','','',"add_paiement"); print "'.$langs->trans("Comments").'
'; print ''; print '
Date Transmission'; - print $html->select_date(); + print $html->select_date('','','','','',"userfile"); print '
Méthode Transmission'; print $html->select_array("methode",$bon->methodes_trans); @@ -206,11 +206,11 @@ if ($_GET["id"]) if($bon->date_trans <> 0 && $bon->date_credit == 0) { - print ''; + print ''; print ''; print ''; print ''; print '
Crédité le'; - print $html->select_date(); + print $html->select_date('','','','','',"infocredit"); print '
'; print ''; diff --git a/htdocs/compta/prelevement/ligne.php b/htdocs/compta/prelevement/ligne.php index 9d75a386ad2..1536a291e2e 100644 --- a/htdocs/compta/prelevement/ligne.php +++ b/htdocs/compta/prelevement/ligne.php @@ -135,7 +135,7 @@ if ($_GET["id"]) $rej = new RejetPrelevement($db, $user); - print ''; + print ''; print ''; print ''; print ''; @@ -149,7 +149,7 @@ if ($_GET["id"]) print ''; print ''; print ''; print '"; print ''; print ''; print '
Rejet de prélèvement
Date du rejet'; - print $html->select_date(); + print $html->select_date('','','','','',"confirm_rejet"); print '
Motif du rejet'; diff --git a/htdocs/compta/tva/fiche.php b/htdocs/compta/tva/fiche.php index feaec25d3ad..2eeae0ae5a5 100644 --- a/htdocs/compta/tva/fiche.php +++ b/htdocs/compta/tva/fiche.php @@ -75,7 +75,7 @@ $html = new Form($db); // Formulaire saisie tva if ($_GET["action"] == 'create') { - print "\n"; + print "\n"; print ''; print_fiche_titre($langs->trans("NewVATPayment")); @@ -86,11 +86,11 @@ if ($_GET["action"] == 'create') print "
'.$langs->trans("DatePayment").''; - print $html->select_date("","datev"); + print $html->select_date("","datev",'','','','add'); print '
'.$langs->trans("DateValue").''; - print $html->select_date("","datep"); + print $html->select_date("","datep",'','','','add'); print '
'.$langs->trans("Type").''; diff --git a/htdocs/contact/perso.php b/htdocs/contact/perso.php index e6517cc12c7..536b5acd211 100644 --- a/htdocs/contact/perso.php +++ b/htdocs/contact/perso.php @@ -100,7 +100,7 @@ if ($_GET["action"] == 'edit') print ''; - print ''; + print ''; print ''; print ''; @@ -130,9 +130,9 @@ if ($_GET["action"] == 'edit') $html=new Form($db); if ($contact->birthday && $contact->birthday > 0) { - print $html->select_date($contact->birthday,'birthday',0,0,0); + print $html->select_date($contact->birthday,'birthday',0,0,0,"perso"); } else { - print $html->select_date(0,'birthday',0,0,1); + print $html->select_date(0,'birthday',0,0,1,"perso"); } print ''; diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index d9419322459..6d3fc3aaa56 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -270,7 +270,7 @@ if ($_GET["action"] == 'create') $soc = new Societe($db); $soc->fetch($obj->idp); - print ''; + print ''; print ''; print ''."\n"; @@ -337,7 +337,7 @@ if ($_GET["action"] == 'create') print ''; print '"; if ($conf->projet->enabled) @@ -716,7 +716,7 @@ else // Ligne en mode update else { - print ""; + print ""; print ''; print ''; // Ligne carac @@ -747,19 +747,19 @@ else print ""; print ''; @@ -795,7 +795,7 @@ else $var=false; // Service sur produit prédéfini - print ''; + print ''; print ''; print ''; print ''; @@ -819,9 +819,9 @@ else print ""; print ''; print ''; @@ -830,7 +830,7 @@ else $var=!$var; // Service libre - print ''; + print ''; print ''; print ''; print ''; @@ -851,9 +851,9 @@ else print ""; print ''; print ''; diff --git a/htdocs/contrat/ligne.php b/htdocs/contrat/ligne.php index 7513725faa3..820be92abe6 100644 --- a/htdocs/contrat/ligne.php +++ b/htdocs/contrat/ligne.php @@ -374,7 +374,7 @@ if ($id > 0) */ $form = new Form($db); - print ''; + print ''; print '
'.$langs->trans("Date").''; - $html->select_date(); + $html->select_date('','','','','',"contrat"); print "
'; print $langs->trans("DateStartPlanned").' '; - $html->select_date($objp->date_debut,"date_start_update",0,0,($objp->date_debut>0?0:1)); + $html->select_date($objp->date_debut,"date_start_update",0,0,($objp->date_debut>0?0:1),"update"); print '   '.$langs->trans("DateEndPlanned").' '; - $html->select_date($objp->date_fin,"date_end_update",0,0,($objp->date_fin>0?0:1)); + $html->select_date($objp->date_fin,"date_end_update",0,0,($objp->date_fin>0?0:1),"update"); if ($objp->statut >= 4) { print '
'; print $langs->trans("DateStartReal").' '; - $html->select_date($objp->date_debut_reelle,"date_start_real_update",0,0,($objp->date_debut_reelle>0?0:1)); + $html->select_date($objp->date_debut_reelle,"date_start_real_update",0,0,($objp->date_debut_reelle>0?0:1),"update"); print '   '; if ($objp->statut == 5) { print $langs->trans("DateEndReal").' '; - $html->select_date($objp->date_fin_reelle,"date_end_real_update",0,0,($objp->date_fin_reelle>0?0:1)); + $html->select_date($objp->date_fin_reelle,"date_end_real_update",0,0,($objp->date_fin_reelle>0?0:1),"update"); } } print '
'; print $langs->trans("DateStartPlanned").' '; - $html->select_date('',"date_start",0,0,1); + $html->select_date('',"date_start",0,0,1,"addligne"); print '   '.$langs->trans("DateEndPlanned").' '; - $html->select_date('',"date_end",0,0,1); + $html->select_date('',"date_end",0,0,1,"addligne"); print '
'; print $langs->trans("DateStartPlanned").' '; - $html->select_date('',"date_start",0,0,1); + $html->select_date('',"date_start",0,0,1,"addligne_sl"); print '   '.$langs->trans("DateEndPlanned").' '; - $html->select_date('',"date_end",0,0,1); + $html->select_date('',"date_end",0,0,1,"addligne_sl"); print '
'; print ''; @@ -395,11 +395,11 @@ if ($id > 0) } print ''; print ''; print ''; @@ -420,7 +420,7 @@ if ($id > 0) */ $form = new Form($db); - print ''; + print ''; print '
'.$langs->trans("ActivateService").'
'.$langs->trans("DateServiceActivate").''; - print $form->select_date($dateactstart); + print $form->select_date($dateactstart,'','','','',"active"); print ''.$langs->trans("DateEndPlanned").''; - print $form->select_date($dateactend,"end"); + print $form->select_date($dateactend,"end",'','','',"active"); print '
'; print ''; @@ -441,7 +441,7 @@ if ($id > 0) } print ''; print ''; diff --git a/htdocs/energie/compteur.php b/htdocs/energie/compteur.php index ecb58ca0bce..001b80948e4 100644 --- a/htdocs/energie/compteur.php +++ b/htdocs/energie/compteur.php @@ -155,7 +155,7 @@ else $html = new Form($db); - print ''; + print ''; print ''; print '
'.$langs->trans("CloseService").'
'.$langs->trans("DateEndReal").''; - print $form->select_date($dateactend,"end"); + print $form->select_date($dateactend,"end",'','','',"close"); print '
'; @@ -163,7 +163,7 @@ else print ""; print ''; print ''; diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index f7c1f01bb73..668de313471 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -144,7 +144,7 @@ if ($_GET["action"] == 'create') $fix = new Fichinter($db); $numpr = $fix->get_new_num($objsoc->prefix_comm); - print ""; + print ""; $smonth = 1; $syear = date("Y", time()); @@ -154,7 +154,7 @@ if ($_GET["action"] == 'create') print ""; print ""; print ""; @@ -230,7 +230,7 @@ if ($_GET["action"] == 'edit') /* * Initialisation de la liste des projets */ - print ""; + print ""; print ""; print ""; @@ -240,7 +240,7 @@ if ($_GET["action"] == 'edit') print ''; print ""; print ''; diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index aad4ea953c2..174a61ec2a4 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -642,11 +642,11 @@ if ($_GET["id"] > 0) $form = new Form($db); print '
'; - print ''; + print ''; print '
Date'; - print $html->select_date(); + print $html->select_date('','','','','',"addvalue"); print 'Valeur relevée
".$langs->trans("Company")."".$objsoc->nom."
".$langs->trans("Date").""; - $sel->select_date(time(),"p"); + $sel->select_date(time(),"p",'','','','fichinter'); print "
'.$langs->trans("Ref").''.$fichinter->ref.'
".$langs->trans("Date").""; - $sel->select_date($fichinter->date); + $sel->select_date($fichinter->date,'','','','','update'); print "
'.$langs->trans("Duration")." (".$langs->trans("days").')
'; print ''; print ''; $commande->get_methodes_commande(); @@ -678,7 +678,7 @@ if ($_GET["id"] > 0) print '
Commander
Date commande'; - print $form->select_date(); + print $form->select_date('','','','','',"commande"); print '
'; print ''; print '\n"; print "
Réceptionner
Date de livraison'; - print $form->select_date(); + print $form->select_date('','','','','',"commande"); print "
Livraison\n"; diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index c8d9823c92c..ce496200414 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -232,7 +232,7 @@ if ($_GET['action'] == 'create' or $_GET['action'] == 'copy') $fac_ori->fetch($_GET['facid']); } - print ''; + print ''; print ''; print ''; print ''; @@ -254,11 +254,11 @@ if ($_GET['action'] == 'create' or $_GET['action'] == 'copy') print ''; } print ''; print ''; print '
'.$langs->trans('Company').'
'.$langs->trans('Label').'
'.$langs->trans('Date').''; - $html->select_date(); + $html->select_date('','','','','',"add"); print '
'.$langs->trans('DateEcheance').''; - $html->select_date('','ech'); + $html->select_date('','ech','','','',"add"); print '

'; @@ -327,7 +327,7 @@ else print_titre($langs->trans('Bill').': '.$fac->ref); - print ''; + print ''; print ''; print ''; @@ -351,11 +351,11 @@ else print ''; print ''; print ''; $authorfullname=' '; diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php index 0594196a66d..75b204e7fce 100644 --- a/htdocs/fourn/facture/paiement.php +++ b/htdocs/fourn/facture/paiement.php @@ -212,7 +212,7 @@ if ($action == 'create' || $action == 'add_paiement') $total = $obj->total; print_titre($langs->trans('DoPayment')); - print ''; + print ''; print ''; print ''; print ''; @@ -228,7 +228,7 @@ if ($action == 'create' || $action == 'add_paiement') $sel_date=mktime(12, 0 , 0, $_POST['remonth'], $_POST['reday'], $_POST['reyear']); else $sel_date=''; - $html->select_date($sel_date); + $html->select_date($sel_date,'','','','',"addpaiement"); print ''; print ''; print '"; print "'; print "\n'; } else @@ -307,7 +307,7 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer) print '
'.price($fac->total_ht).' / '.price($fac->total_ttc).'
'.$langs->trans('DateBill').''; - $html->select_date($fac->datep); + $html->select_date($fac->datep,'','','','',"update"); print '
'.$langs->trans('DateEcheance').''; - $html->select_date($fac->date_echeance,'ech'); + $html->select_date($fac->date_echeance,'ech','','','',"update"); print '
'.$langs->trans('Comments').'
'.$langs->trans('PaymentMode').''; diff --git a/htdocs/product/concert/fiche.php b/htdocs/product/concert/fiche.php index 59becd6fbb9..ab98d465490 100644 --- a/htdocs/product/concert/fiche.php +++ b/htdocs/product/concert/fiche.php @@ -61,7 +61,7 @@ if ($action == 'updateosc') { if ($action == 'create') { - print "\n"; + print "\n"; print ""; print '
Nouveau concert

'; @@ -73,7 +73,7 @@ if ($action == 'create') $ga = new Groupart($db); print "
Date"; - $htmls->select_date(); + $htmls->select_date('','','','','','add'); print "
Lieu"; diff --git a/htdocs/projet/tasks/fiche.php b/htdocs/projet/tasks/fiche.php index 1eb008d3ca2..0ca71daf24f 100644 --- a/htdocs/projet/tasks/fiche.php +++ b/htdocs/projet/tasks/fiche.php @@ -65,7 +65,7 @@ Function PLines(&$inc, $parent, $lines, &$level, $actors) print ''; print ' "; - print $form->select_date('',$lines[$i][2]); + print $form->select_date('',$lines[$i][2],'','','',"addtime"); print '

'; - print '
'; + print ''; print ''; print ''; print ''; diff --git a/htdocs/telephonie/adsl/fiche.php b/htdocs/telephonie/adsl/fiche.php index 04dad0cf7f1..6e397a85d76 100644 --- a/htdocs/telephonie/adsl/fiche.php +++ b/htdocs/telephonie/adsl/fiche.php @@ -683,11 +683,11 @@ if ( $user->rights->telephonie->adsl->commander && $ligne->statut == 1) print '
'; - print ''; + print ''; print ''; print ''; print ''; print ''; @@ -706,11 +706,11 @@ if ( $user->rights->telephonie->adsl->gerer && $ligne->statut == 2) print '
Commande chez le fournisseur'; print '
Date de la commande'; - print $form->select_date(); + print $form->select_date('','','','','',"commandefourn"); print '
Commentaire
'; - print ''; + print ''; print ''; print ''; print ''; @@ -736,11 +736,11 @@ if ( $user->rights->telephonie->adsl->gerer && $ligne->statut == 3) print '
Activée chez le fournisseur'; print "
Date de l'activation"; - print $form->select_date(); + print $form->select_date('','','','','',"activefourn"); print '
Commentaire
'; - print ''; + print ''; print ''; print ''; print ''; print ''; @@ -752,11 +752,11 @@ if ( $user->rights->telephonie->adsl->gerer && $ligne->statut == 3) if ( $user->rights->telephonie->adsl->gerer && $ligne->statut == 4) { print '
Livrée au client'; print "
Date de la livraison client"; - print $form->select_date(); + print $form->select_date('','','','','',"livraison"); print '
Commentaire
'; - print ''; + print ''; print ''; print ''; print ''; print ''; @@ -767,11 +767,11 @@ if ( $user->rights->telephonie->adsl->gerer && $ligne->statut == 4) if ( $user->rights->telephonie->adsl->gerer && $ligne->statut == 5) { print '
A résilier'; print '
Date de résiliation demandée'; - print $form->select_date(); + print $form->select_date('','','','','',"resilier"); print '
Commentaire
'; - print ''; + print ''; print ''; print ''; print ''; print ''; @@ -782,11 +782,11 @@ if ( $user->rights->telephonie->adsl->gerer && $ligne->statut == 5) if ( $user->rights->telephonie->adsl->gerer && $ligne->statut == 6) { print '
Demande de résiliatin fournisseur'; print '
Date de la demande de résiliation'; - print $form->select_date(); + print $form->select_date('','','','','',"resilierfourn"); print '
Commentaire
'; - print ''; + print ''; print ''; print ''; print ''; print ''; diff --git a/htdocs/telephonie/ligne/fiche.php b/htdocs/telephonie/ligne/fiche.php index e358255181f..3350a461c65 100644 --- a/htdocs/telephonie/ligne/fiche.php +++ b/htdocs/telephonie/ligne/fiche.php @@ -1216,11 +1216,11 @@ if ( $user->rights->telephonie->ligne_activer && $ligne->statut == 2 && $ligne-> print '
Confirmation de résiliatin fournisseur'; print '
Date de la confirmation de résiliation'; - print $form->select_date(); + print $form->select_date('','','','','',"acquitresilierfourn"); print '
Commentaire
'; - print ''; + print ''; print ''; print ''; print ''; print '
Activer'; print '
Date'; - print $form->select_date(); + print $form->select_date('','','','','',"active"); print '
'; @@ -1228,11 +1228,11 @@ if ( $user->rights->telephonie->ligne_activer && $ligne->statut == 2 && $ligne-> print '
'; - print '
'; + print ''; print ''; print ''; print ''; print ''; @@ -1250,11 +1250,11 @@ if ( $user->rights->telephonie->ligne_activer && ( $ligne->statut == 5 || $ligne print '
Refuser'; print '
Date'; - print $form->select_date(); + print $form->select_date('','','','','',"refuse"); print '
Commentaire
'; - print ''; + print ''; print ''; print ''; print ''; print '';
Confirmation de la résiliation'; print '
Date'; - print $form->select_date(); + print $form->select_date('','','','','',"confirmresilier"); print '
Commentaire