fix translation
This commit is contained in:
parent
7a6cc742a6
commit
aa9d4342cd
@ -194,6 +194,13 @@ class ConferenceOrBoothAttendee extends CommonObject
|
|||||||
$this->fields['entity']['enabled'] = 0;
|
$this->fields['entity']['enabled'] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($conf->global->EVENTORGANIZATION_FILTERATTENDEES_CAT)) {
|
||||||
|
$this->fields['fk_soc']['type'] .= ' AND rowid IN (SELECT DISTINCT c.fk_soc FROM '.MAIN_DB_PREFIX.'categorie_societe as c WHERE c.fk_categorie='.(int) $conf->global->EVENTORGANIZATION_FILTERATTENDEES_CAT.')';
|
||||||
|
}
|
||||||
|
if ($conf->global->EVENTORGANIZATION_FILTERATTENDEES_TYPE!=='') {
|
||||||
|
$this->fields['fk_soc']['type'] .= ' AND client='.(int) $conf->global->EVENTORGANIZATION_FILTERATTENDEES_TYPE;
|
||||||
|
}
|
||||||
|
|
||||||
// Example to show how to set values of fields definition dynamically
|
// Example to show how to set values of fields definition dynamically
|
||||||
/*if ($user->rights->eventorganization->conferenceorboothattendee->read) {
|
/*if ($user->rights->eventorganization->conferenceorboothattendee->read) {
|
||||||
$this->fields['myfield']['visible'] = 1;
|
$this->fields['myfield']['visible'] = 1;
|
||||||
|
|||||||
@ -54,6 +54,7 @@ ConferenceOrBooth = Conference Or Booth
|
|||||||
ConferenceOrBoothTab = Conference Or Booth
|
ConferenceOrBoothTab = Conference Or Booth
|
||||||
AmountOfSubscriptionPaid = Amount of subscription paid
|
AmountOfSubscriptionPaid = Amount of subscription paid
|
||||||
DateSubscription = Date of subscription
|
DateSubscription = Date of subscription
|
||||||
|
ConferenceOrBoothAttendee = Conference Or Booth Attendee
|
||||||
|
|
||||||
#
|
#
|
||||||
# Template Mail
|
# Template Mail
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user