Insert speaker contact type into db
This commit is contained in:
parent
e271175de6
commit
e9528443b2
@ -371,6 +371,7 @@ class modEventOrganization extends DolibarrModules
|
|||||||
$langs->load("eventorganization");
|
$langs->load("eventorganization");
|
||||||
$cat = new Categorie($this->db);
|
$cat = new Categorie($this->db);
|
||||||
$sql[] = "INSERT IGNORE INTO ".MAIN_DB_PREFIX.$cat->table_element."(label, type, entity, description, visible) VALUES('".$langs->trans('ApplicantOrVisitor')."', 2, 1, '".$langs->trans('EVENTORGANIZATION_CATEG_THIRDPARTY_CONF')."', 1)";
|
$sql[] = "INSERT IGNORE INTO ".MAIN_DB_PREFIX.$cat->table_element."(label, type, entity, description, visible) VALUES('".$langs->trans('ApplicantOrVisitor')."', 2, 1, '".$langs->trans('EVENTORGANIZATION_CATEG_THIRDPARTY_CONF')."', 1)";
|
||||||
|
$sql[] = "INSERT IGNORE INTO ".MAIN_DB_PREFIX."c_type_contact(rowid, element, source, code, libelle, active) VALUES(300, 'conferenceorbooth', 'external', 'SPEAKER', '".$langs->trans('Speaker')."', 1)";
|
||||||
|
|
||||||
$init = $this->_init($sql, $options);
|
$init = $this->_init($sql, $options);
|
||||||
|
|
||||||
|
|||||||
@ -61,6 +61,7 @@ AmountPaid = Amount paid
|
|||||||
DateOfRegistration = Date of registration
|
DateOfRegistration = Date of registration
|
||||||
ConferenceOrBoothAttendee = Conference Or Booth Attendee
|
ConferenceOrBoothAttendee = Conference Or Booth Attendee
|
||||||
ApplicantOrVisitor=Applicant or visitor
|
ApplicantOrVisitor=Applicant or visitor
|
||||||
|
Speaker=Speaker
|
||||||
|
|
||||||
#
|
#
|
||||||
# Template Mail
|
# Template Mail
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user