2
0
forked from Wavyzz/dolibarr

Merge pull request #28708 from atm-john/fix_element_type_part_05

NEW : Factoring and Fix external module elementType limit - Part 05
This commit is contained in:
Laurent Destailleur
2024-03-15 15:29:03 +01:00
committed by GitHub
2 changed files with 26 additions and 90 deletions

View File

@@ -12176,6 +12176,10 @@ function getElementProperties($elementType)
$module = 'facture';
$subelement = 'facture';
$table_element = 'facture';
} elseif ($elementType == 'facturerec') {
$classpath = 'compta/facture/class';
$module = 'facture';
$classname = 'FactureRec';
} elseif ($elementType == 'commande' || $elementType == 'order') {
$classpath = 'commande/class';
$module = 'commande';
@@ -12316,6 +12320,16 @@ function getElementProperties($elementType)
$classname = 'EmailSenderProfile';
$table_element = 'c_email_senderprofile';
$subelement = '';
} elseif ($elementType == 'conferenceorboothattendee') {
$classpath = 'eventorganization/class';
$classfile = 'conferenceorboothattendee';
$classname = 'ConferenceOrBoothAttendee';
$module = 'eventorganization';
} elseif ($elementType == 'conferenceorbooth') {
$classpath = 'eventorganization/class';
$classfile = 'conferenceorbooth';
$classname = 'ConferenceOrBooth';
$module = 'eventorganization';
}
if (empty($classfile)) {