Skip to content

Commit

Permalink
git push origin developMerge branch 'Franck-MOREAU-develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 7, 2017
2 parents 1d291ee + e9853f3 commit d23aa8e
Show file tree
Hide file tree
Showing 9 changed files with 334 additions and 232 deletions.
2 changes: 1 addition & 1 deletion htdocs/commande/card.php
Expand Up @@ -223,7 +223,7 @@
}
}

// Categorisation dans projet
// Link to a project
else if ($action == 'classin' && $user->rights->commande->creer)
{
$object->setProject(GETPOST('projectid'));
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/class/html.formprojet.class.php
Expand Up @@ -79,7 +79,7 @@ function select_projects($socid=-1, $selected='', $htmlname='projectid', $maxlen
$project->fetch($selected);
$selected_input_value=$project->ref;
}
$urloption='socid='.$socid.'&htmlname='.$htmlname;
$urloption='socid='.$socid.'&htmlname='.$htmlname.'&discardclosed='.$discard_closed;
$out.=ajax_autocompleter($selected, $htmlname, DOL_URL_ROOT.'/projet/ajax/projects.php', $urloption, $conf->global->PROJECT_USE_SEARCH_TO_SELECT, 0, array(
// 'update' => array(
// 'projectid' => 'id'
Expand Down
130 changes: 65 additions & 65 deletions htdocs/core/lib/functions.lib.php

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions htdocs/install/mysql/migration/5.0.0-6.0.0.sql
Expand Up @@ -43,3 +43,6 @@ insert into llx_c_action_trigger (code,label,description,elementtype,rang) value
insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('PRODUCT_MODIFY','Product or service modified','Executed when a product or sevice is modified','product',30);
insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('PRODUCT_DELETE','Product or service deleted','Executed when a product or sevice is deleted','product',30);


ALTER TABLE llx_loan ADD COLUMN fk_projet integer DEFAULT NULL;

4 changes: 3 additions & 1 deletion htdocs/install/mysql/tables/llx_loan.sql
Expand Up @@ -45,7 +45,9 @@ create table llx_loan
accountancy_account_insurance varchar(32),
accountancy_account_interest varchar(32),

fk_projet integer DEFAULT NULL,

fk_user_author integer DEFAULT NULL,
fk_user_modif integer DEFAULT NULL,
fk_user_modif integer DEFAULT NULL
active tinyint DEFAULT 1 NOT NULL
)ENGINE=innodb;

0 comments on commit d23aa8e

Please sign in to comment.