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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user