diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index 4df8417184f..c329b7778d9 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -551,7 +551,26 @@ if ($_GET['propalid'] > 0) } print ''; print ''; - + + + // date de livraison + print ''; + print ''; + if ($_GET['action'] != 'editdate_livraison' && $propal->brouillon) print ''; + print '
'; + print $langs->trans('DateDelivery'); + print 'id.'">'.img_edit($langs->trans('SetDateLivraison'),1).'
'; + print ''; + if ($_GET['action'] == 'editdate_livraison') + { + $html->form_conditions_reglement($_SERVER['PHP_SELF'].'?propalid='.$propal->id,$propal->cond_reglement_id,'cond_reglement_id'); + } + else + { + print $propal->date_livraison; + } + print ''; + // Conditions et modes de réglement print ''; print '
';