From 5239f3c1331af5a1306dc23f4d2915b2c57c6af2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 10 May 2023 13:23:07 +0200 Subject: [PATCH] Debug v17 --- htdocs/core/modules/modEventOrganization.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/htdocs/core/modules/modEventOrganization.class.php b/htdocs/core/modules/modEventOrganization.class.php index 8fb48dcceb6..ec68c1eaa92 100644 --- a/htdocs/core/modules/modEventOrganization.class.php +++ b/htdocs/core/modules/modEventOrganization.class.php @@ -321,12 +321,18 @@ class modEventOrganization extends DolibarrModules include DOL_DOCUMENT_ROOT.'/core/commonfieldsinexport.inc.php'; $this->export_entities_array[$r]['t.fk_invoice'] = 'invoice'; unset($this->export_fields_array[$r]['t.fk_project']); // Remove field so we can add it at end just after + unset($this->export_fields_array[$r]['t.fk_soc']); // Remove field so we can add it at end just after + $this->export_fields_array[$r]['t.fk_invoice'] = 'InvoiceId'; $this->export_fields_array[$r]['t.fk_project'] = 'ProjectId'; $this->export_fields_array[$r]['p.ref'] = 'ProjectRef'; + $this->export_fields_array[$r]['t.fk_soc'] = 'IdThirdParty'; $this->export_entities_array[$r]['t.fk_project'] = 'project'; $this->export_entities_array[$r]['p.ref'] = 'project'; + $this->export_entities_array[$r]['t.fk_soc'] = 'company'; $this->export_TypeFields_array[$r]['t.fk_project'] = 'Numeric'; + $this->export_TypeFields_array[$r]['t.fk_invoice'] = 'Numeric'; $this->export_TypeFields_array[$r]['p.ref'] = 'Text'; + $this->export_TypeFields_array[$r]['t.fk_soc'] = 'Numeric'; //$this->export_fields_array[$r]['t.fieldtoadd']='FieldToAdd'; $this->export_TypeFields_array[$r]['t.fieldtoadd']='Text'; //unset($this->export_fields_array[$r]['t.fieldtoremove']); $keyforselect='conferenceorboothattendee'; $keyforaliasextra='extra'; $keyforelement='conferenceorboothattendee';