-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NEW select proposal date with date now by default on form confirm #73
NEW select proposal date with date now by default on form confirm #73
Conversation
Could you check and merge it ? |
@atm-arnaud @john-botella @atm-maxime |
@lvessiller-opendsi sorry but I don't work at ATM anymore. |
Hi @lvessiller-opendsi |
@lvessiller-opendsi je viens de commenter votre issue |
Vous pouvez vérifier le bon fonctionnement. |
Fonctionnellement tout me parait OK, je transmets à l'équipe technique pour relecture du code. |
@@ -149,8 +149,9 @@ function formConfirm($parameters, &$object, &$action, $hookmanager) | |||
if ( array_key_exists('action', $_REQUEST) && $_REQUEST['action'] == 'modif') { | |||
$formquestion = array( | |||
array('type' => 'checkbox', 'name' => 'archive_proposal', 'label' => $langs->trans("ArchiveProposalCheckboxLabel"), 'value' => 1), | |||
array('type' => 'date', 'name' => 'archive_proposal_date_', 'label' => $langs->trans("DatePropal"), 'value' => (!empty($conf->global->PROPALEHISTORY_ARCHIVE_WITH_DATE_NOW) ? dol_now() : $object->date), 'datenow' => 1), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utilise getdolglobalint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Etes-vous sûr ?
Je n'avais pas utilisé "getDolGlobalInt" pour garder la compatibilité avec les différentes versions de Dolibarr.
La version minimale supportée est 3.2 dans le fichier de classe du module "modPropalehistory.class.php.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
En effet, je suis sur oui on modifiera la version dolibarr minimum, c'est étonnant qu'il soit encore déclaré compatible dolibarr 3.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est fait et prêt à fusionner.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merci :)
NEW select proposal date with date now by default on form confirm