diff --git a/htdocs/core/class/html.formprojet.class.php b/htdocs/core/class/html.formprojet.class.php index d2ad0a6f1ab..0eca137f6d3 100644 --- a/htdocs/core/class/html.formprojet.class.php +++ b/htdocs/core/class/html.formprojet.class.php @@ -569,7 +569,7 @@ class FormProjets { $obj = $this->db->fetch_object($resql); - $sellist .='rowid.'" defaultpercent="'.$obj->percent.'" elemcode="'.$obj->code.'"'; if ($obj->rowid == $preselected) $sellist .= ' selected="selected"'; $sellist .= '>'; if ($useshortlabel) diff --git a/htdocs/install/mysql/migration/3.9.0-4.0.0.sql b/htdocs/install/mysql/migration/3.9.0-4.0.0.sql index 8fc8ecb5df3..f58dda0a74f 100644 --- a/htdocs/install/mysql/migration/3.9.0-4.0.0.sql +++ b/htdocs/install/mysql/migration/3.9.0-4.0.0.sql @@ -488,6 +488,7 @@ ALTER TABLE llx_import_model MODIFY COLUMN type varchar(50); UPDATE llx_projet set fk_opp_status = NULL where fk_opp_status = -1; UPDATE llx_c_lead_status set code = 'WON' where code = 'WIN'; +UPDATE llx_c_lead_status set percent = 100 where code = 'WON'; CREATE TABLE llx_oauth_token ( diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index b90d02f8f77..e0b21059d4e 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -84,6 +84,7 @@ SeeAbove=See above HomeArea=Home area LastConnexion=Last connection PreviousConnexion=Previous connection +PreviousValue=Previous value ConnectedOnMultiCompany=Connected on environment ConnectedSince=Connected since AuthenticationMode=Authentification mode diff --git a/htdocs/projet/card.php b/htdocs/projet/card.php index d3895b0000e..62a5a8fd3f1 100644 --- a/htdocs/projet/card.php +++ b/htdocs/projet/card.php @@ -710,7 +710,9 @@ else // Opportunity probability print ''.$langs->trans("OpportunityProbability").''; - print ' %'; + print ' %'; + print ''; + print ''; print ''; // Opportunity amount @@ -837,14 +839,23 @@ else print ''; // Change probability from status - print ''; - + } /* * Boutons actions