Skip to content

Commit

Permalink
chore: review init and rename from doliproject
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry committed Oct 6, 2022
1 parent 979d14b commit d53bb23
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion core/modules/modDolisirh.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public function init($options = '')
$param['options']['Facture:compta/facture/class/facture.class.php'] = NULL;
$extra_fields->addExtraField('fk_facture_name', 'Facture', 'link', 100, NULL, 'projet_task', 1, 0, NULL, $param, 1, 1, 1); //extrafields task
unset($param);
$extra_fields->update('fk_task', 'Tâche', 'sellist', '', 'ticket', 0, 0, 100, 'a:1:{s:7:"options";a:1:{s:110:"projet_task:ref:rowid::entity = $ENTITY$ AND fk_projet = ($SEL$ fk_project FROM '. MAIN_DB_PREFIX .'ticket WHERE rowid = $ID$)";N;}}', 1, 1, '1');
//$extra_fields->update('fk_task', 'Tâche', 'sellist', '', 'ticket', 0, 0, 100, 'a:1:{s:7:"options";a:1:{s:110:"projet_task:ref:rowid::entity = $ENTITY$ AND fk_projet = ($SEL$ fk_project FROM '. MAIN_DB_PREFIX .'ticket WHERE rowid = $ID$)";N;}}', 1, 1, '1');
$extra_fields->addExtraField('fk_task', 'Tâche', 'sellist', 100, NULL, 'ticket', 0, 0, NULL, 'a:1:{s:7:"options";a:1:{s:110:"projet_task:ref:rowid::entity = $ENTITY$ AND fk_projet = ($SEL$ fk_project FROM '. MAIN_DB_PREFIX .'ticket WHERE rowid = $ID$)";N;}}', 1, 1, '1'); //extrafields ticket

// Document templates
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion sql/signature/llx_dolisirh_object_signature.key.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@
-- along with this program. If not, see https://www.gnu.org/licenses/.

ALTER TABLE llx_dolisirh_object_signature ADD INDEX idx_dolisirh_object_signature_rowid (rowid);
ALTER TABLE llx_dolisirh_object_signature ADD CONSTRAINT llx_dolisirh_object_signature_fk_object FOREIGN KEY (fk_object) REFERENCES llx_dolisirh_object(rowid);

0 comments on commit d53bb23

Please sign in to comment.