|
@@ -110,7 +110,7 @@ if (!empty($backtopagejsfields)) {
|
|
|
$dol_openinpopup = $tmpbacktopagejsfields[0];
|
|
|
}
|
|
|
|
|
|
-$socid = GETPOST('socid', 'int') ?GETPOST('socid', 'int') : GETPOST('id', 'int');
|
|
|
+$socid = GETPOST('socid', 'int') ? GETPOST('socid', 'int') : GETPOST('id', 'int');
|
|
|
if ($user->socid) {
|
|
|
$socid = $user->socid;
|
|
|
}
|
|
@@ -347,8 +347,8 @@ if (empty($reshook)) {
|
|
|
$object->idprof5 = trim(GETPOST('idprof5', 'alphanohtml'));
|
|
|
$object->idprof6 = trim(GETPOST('idprof6', 'alphanohtml'));
|
|
|
$object->prefix_comm = GETPOST('prefix_comm', 'alphanohtml');
|
|
|
- $object->code_client = GETPOSTISSET('customer_code') ?GETPOST('customer_code', 'alpha') : GETPOST('code_client', 'alpha');
|
|
|
- $object->code_fournisseur = GETPOSTISSET('supplier_code') ?GETPOST('supplier_code', 'alpha') : GETPOST('code_fournisseur', 'alpha');
|
|
|
+ $object->code_client = GETPOSTISSET('customer_code') ? GETPOST('customer_code', 'alpha') : GETPOST('code_client', 'alpha');
|
|
|
+ $object->code_fournisseur = GETPOSTISSET('supplier_code') ? GETPOST('supplier_code', 'alpha') : GETPOST('code_fournisseur', 'alpha');
|
|
|
$object->capital = GETPOST('capital', 'alphanohtml');
|
|
|
$object->barcode = GETPOST('barcode', 'alphanohtml');
|
|
|
|
|
@@ -413,7 +413,7 @@ if (empty($reshook)) {
|
|
|
// Fill array 'array_options' with data from add form
|
|
|
$ret = $extrafields->setOptionalsFromPost(null, $object);
|
|
|
if ($ret < 0) {
|
|
|
- $error++;
|
|
|
+ $error++;
|
|
|
}
|
|
|
|
|
|
// Fill array 'array_languages' with data from add form
|
|
@@ -446,7 +446,8 @@ if (empty($reshook)) {
|
|
|
}
|
|
|
if (!isValidUrl($object->webservices_url)) {
|
|
|
$langs->load("errors");
|
|
|
- $error++; $errors[] = $langs->trans("ErrorBadUrl", $object->webservices_url);
|
|
|
+ $error++;
|
|
|
+ $errors[] = $langs->trans("ErrorBadUrl", $object->webservices_url);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -837,7 +838,7 @@ if (empty($reshook)) {
|
|
|
|
|
|
// Actions to build doc
|
|
|
$id = $socid;
|
|
|
- $upload_dir = !empty($conf->societe->multidir_output[$object->entity])?$conf->societe->multidir_output[$object->entity]:$conf->societe->dir_output;
|
|
|
+ $upload_dir = !empty($conf->societe->multidir_output[$object->entity]) ? $conf->societe->multidir_output[$object->entity] : $conf->societe->dir_output;
|
|
|
$permissiontoadd = $user->hasRight('societe', 'creer');
|
|
|
include DOL_DOCUMENT_ROOT.'/core/actions_builddoc.inc.php';
|
|
|
}
|
|
@@ -915,7 +916,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
- $modCodeClient = new $module;
|
|
|
+ $modCodeClient = new $module();
|
|
|
// Load object modCodeFournisseur
|
|
|
$module = (getDolGlobalString('SOCIETE_CODECLIENT_ADDON') ? $conf->global->SOCIETE_CODECLIENT_ADDON : 'mod_codeclient_leopard');
|
|
|
if (substr($module, 0, 15) == 'mod_codeclient_' && substr($module, -3) == 'php') {
|
|
@@ -928,7 +929,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
- $modCodeFournisseur = new $module;
|
|
|
+ $modCodeFournisseur = new $module();
|
|
|
|
|
|
// Define if customer/prospect or supplier status is set or not
|
|
|
if (GETPOST("type", 'aZ') != 'f') {
|
|
@@ -962,7 +963,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
$object->firstname = GETPOST('firstname', 'alphanohtml');
|
|
|
$object->particulier = $private;
|
|
|
$object->prefix_comm = GETPOST('prefix_comm', 'alphanohtml');
|
|
|
- $object->client = GETPOST('client', 'int') ?GETPOST('client', 'int') : $object->client;
|
|
|
+ $object->client = GETPOST('client', 'int') ? GETPOST('client', 'int') : $object->client;
|
|
|
|
|
|
if (empty($duplicate_code_error)) {
|
|
|
$object->code_client = GETPOST('customer_code', 'alpha');
|
|
@@ -1037,11 +1038,11 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- $object->logo = (isset($_FILES['photo']) ?dol_sanitizeFileName($_FILES['photo']['name']) : '');
|
|
|
+ $object->logo = (isset($_FILES['photo']) ? dol_sanitizeFileName($_FILES['photo']['name']) : '');
|
|
|
|
|
|
// Company logo management
|
|
|
$dir = $conf->societe->multidir_output[$conf->entity]."/".$object->id."/logos";
|
|
|
- $file_OK = (isset($_FILES['photo']) ?is_uploaded_file($_FILES['photo']['tmp_name']) : false);
|
|
|
+ $file_OK = (isset($_FILES['photo']) ? is_uploaded_file($_FILES['photo']['tmp_name']) : false);
|
|
|
if ($file_OK) {
|
|
|
if (image_format_supported($_FILES['photo']['name'])) {
|
|
|
dol_mkdir($dir);
|
|
@@ -1061,7 +1062,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
}
|
|
|
|
|
|
// We set country_id, country_code and country for the selected country
|
|
|
- $object->country_id = GETPOST('country_id') ?GETPOST('country_id') : $mysoc->country_id;
|
|
|
+ $object->country_id = GETPOST('country_id') ? GETPOST('country_id') : $mysoc->country_id;
|
|
|
if ($object->country_id) {
|
|
|
$tmparray = getCountry($object->country_id, 'all');
|
|
|
$object->country_code = $tmparray['code'];
|
|
@@ -1346,7 +1347,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
// Prospect/Customer
|
|
|
print '<tr><td class="titlefieldcreate">'.$form->editfieldkey('ProspectCustomer', 'customerprospect', '', $object, 0, 'string', '', 1).'</td>';
|
|
|
print '<td class="maxwidthonsmartphone">';
|
|
|
- $selected = (GETPOSTISSET('client') ?GETPOST('client', 'int') : $object->client);
|
|
|
+ $selected = (GETPOSTISSET('client') ? GETPOST('client', 'int') : $object->client);
|
|
|
print $formcompany->selectProspectCustomerType($selected);
|
|
|
print '</td>';
|
|
|
|
|
@@ -1469,12 +1470,12 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
|
|
|
// Phone / Fax
|
|
|
print '<tr><td>'.$form->editfieldkey('Phone', 'phone', '', $object, 0).'</td>';
|
|
|
- print '<td'.($conf->browser->layout == 'phone' ? ' colspan="3"' : '').'>'.img_picto('', 'object_phoning', 'class="pictofixedwidth"').' <input type="text" name="phone" id="phone" class="maxwidth200 widthcentpercentminusx" value="'.(GETPOSTISSET('phone') ?GETPOST('phone', 'alpha') : $object->phone).'"></td>';
|
|
|
+ print '<td'.($conf->browser->layout == 'phone' ? ' colspan="3"' : '').'>'.img_picto('', 'object_phoning', 'class="pictofixedwidth"').' <input type="text" name="phone" id="phone" class="maxwidth200 widthcentpercentminusx" value="'.(GETPOSTISSET('phone') ? GETPOST('phone', 'alpha') : $object->phone).'"></td>';
|
|
|
if ($conf->browser->layout == 'phone') {
|
|
|
print '</tr><tr>';
|
|
|
}
|
|
|
print '<td>'.$form->editfieldkey('Fax', 'fax', '', $object, 0).'</td>';
|
|
|
- print '<td'.($conf->browser->layout == 'phone' ? ' colspan="3"' : '').'>'.img_picto('', 'object_phoning_fax', 'class="pictofixedwidth"').' <input type="text" name="fax" id="fax" class="maxwidth200 widthcentpercentminusx" value="'.(GETPOSTISSET('fax') ?GETPOST('fax', 'alpha') : $object->fax).'"></td></tr>';
|
|
|
+ print '<td'.($conf->browser->layout == 'phone' ? ' colspan="3"' : '').'>'.img_picto('', 'object_phoning_fax', 'class="pictofixedwidth"').' <input type="text" name="fax" id="fax" class="maxwidth200 widthcentpercentminusx" value="'.(GETPOSTISSET('fax') ? GETPOST('fax', 'alpha') : $object->fax).'"></td></tr>';
|
|
|
|
|
|
// Email / Web
|
|
|
print '<tr><td>'.$form->editfieldkey('EMail', 'email', '', $object, 0, 'string', '', !getDolGlobalString('SOCIETE_EMAIL_MANDATORY') ? '' : $conf->global->SOCIETE_EMAIL_MANDATORY).'</td>';
|
|
@@ -1525,10 +1526,12 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
}
|
|
|
|
|
|
// Prof ids
|
|
|
- $i = 1; $j = 0; $NBCOLS = ($conf->browser->layout == 'phone' ? 1 : 2);
|
|
|
+ $i = 1;
|
|
|
+ $j = 0;
|
|
|
+ $NBCOLS = ($conf->browser->layout == 'phone' ? 1 : 2);
|
|
|
while ($i <= 6) {
|
|
|
$idprof = $langs->transcountry('ProfId'.$i, $object->country_code);
|
|
|
- if ($idprof != '-') {
|
|
|
+ if ($idprof != '-') {
|
|
|
$key = 'idprof'.$i;
|
|
|
|
|
|
if (($j % $NBCOLS) == 0) {
|
|
@@ -1554,7 +1557,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
// Vat is used
|
|
|
print '<tr><td>'.$form->editfieldkey('VATIsUsed', 'assujtva_value', '', $object, 0).'</td>';
|
|
|
print '<td>';
|
|
|
- print '<input id="assujtva_value" name="assujtva_value" type="checkbox" ' . (GETPOSTISSET('assujtva_value') ? 'checked="checked"': 'checked="checked"') . ' value="1">'; // Assujeti par defaut en creation
|
|
|
+ print '<input id="assujtva_value" name="assujtva_value" type="checkbox" ' . (GETPOSTISSET('assujtva_value') ? 'checked="checked"' : 'checked="checked"') . ' value="1">'; // Assujeti par defaut en creation
|
|
|
print '</td>';
|
|
|
if ($conf->browser->layout == 'phone') {
|
|
|
print '</tr><tr>';
|
|
@@ -1566,7 +1569,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
if (!getDolGlobalString('MAIN_DISABLEVATCHECK') && isInEEC($object)) {
|
|
|
$s .= ' ';
|
|
|
|
|
|
- if (!empty($conf->use_javascript_ajax)) {
|
|
|
+ if (!empty($conf->use_javascript_ajax)) {
|
|
|
$widthpopup = 600;
|
|
|
if (!empty($conf->dol_use_jmobile)) {
|
|
|
$widthpopup = 350;
|
|
@@ -1623,7 +1626,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
}
|
|
|
|
|
|
// Type - Workforce/Staff
|
|
|
- print '<tr><td>'.$form->editfieldkey('ThirdPartyType', 'typent_id', '', $object, 0).'</td><td class="maxwidthonsmartphone"'.( ($conf->browser->layout == 'phone' || getDolGlobalString('SOCIETE_DISABLE_WORKFORCE')) ? ' colspan="3"' : '').'>'."\n";
|
|
|
+ print '<tr><td>'.$form->editfieldkey('ThirdPartyType', 'typent_id', '', $object, 0).'</td><td class="maxwidthonsmartphone"'.(($conf->browser->layout == 'phone' || getDolGlobalString('SOCIETE_DISABLE_WORKFORCE')) ? ' colspan="3"' : '').'>'."\n";
|
|
|
$sortparam = (!getDolGlobalString('SOCIETE_SORT_ON_TYPEENT') ? 'ASC' : $conf->global->SOCIETE_SORT_ON_TYPEENT); // NONE means we keep sort of original array, so we sort on position. ASC, means next function will sort on label.
|
|
|
print $form->selectarray("typent_id", $formcompany->typent_array(0), $object->typent_id, 1, 0, 0, '', 0, 0, 0, $sortparam, '', 1);
|
|
|
if ($user->admin) {
|
|
@@ -1844,7 +1847,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
$object->address = GETPOST('address', 'alphanohtml');
|
|
|
$object->zip = GETPOST('zipcode', 'alphanohtml');
|
|
|
$object->town = GETPOST('town', 'alphanohtml');
|
|
|
- $object->country_id = GETPOST('country_id') ?GETPOST('country_id', 'int') : $mysoc->country_id;
|
|
|
+ $object->country_id = GETPOST('country_id') ? GETPOST('country_id', 'int') : $mysoc->country_id;
|
|
|
$object->state_id = GETPOST('state_id', 'int');
|
|
|
$object->parent = GETPOST('parent_company_id', 'int');
|
|
|
|
|
@@ -2165,13 +2168,13 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
print '</td></tr>';
|
|
|
|
|
|
// Zip / Town
|
|
|
- print '<tr><td>'.$form->editfieldkey('Zip', 'zipcode', '', $object, 0).'</td><td'.($conf->browser->layout == 'phone' ? ' colspan="3"': '').'>';
|
|
|
+ print '<tr><td>'.$form->editfieldkey('Zip', 'zipcode', '', $object, 0).'</td><td'.($conf->browser->layout == 'phone' ? ' colspan="3"' : '').'>';
|
|
|
print $formcompany->select_ziptown($object->zip, 'zipcode', array('town', 'selectcountry_id', 'state_id'), 0, 0, '', 'maxwidth100');
|
|
|
print '</td>';
|
|
|
if ($conf->browser->layout == 'phone') {
|
|
|
print '</tr><tr>';
|
|
|
}
|
|
|
- print '<td>'.$form->editfieldkey('Town', 'town', '', $object, 0).'</td><td'.($conf->browser->layout == 'phone' ? ' colspan="3"': '').'>';
|
|
|
+ print '<td>'.$form->editfieldkey('Town', 'town', '', $object, 0).'</td><td'.($conf->browser->layout == 'phone' ? ' colspan="3"' : '').'>';
|
|
|
print $formcompany->select_ziptown($object->town, 'town', array('zipcode', 'selectcountry_id', 'state_id'));
|
|
|
print $form->widgetForTranslation("town", $object, $permissiontoadd, 'string', 'alphanohtml', 'maxwidth100 quatrevingtpercent');
|
|
|
print '</td></tr>';
|
|
@@ -2200,23 +2203,23 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
|
|
|
// Phone / Fax
|
|
|
print '<tr><td>'.$form->editfieldkey('Phone', 'phone', GETPOST('phone', 'alpha'), $object, 0).'</td>';
|
|
|
- print '<td'.($conf->browser->layout == 'phone' ? ' colspan="3"': '').'>'.img_picto('', 'object_phoning', 'class="pictofixedwidth"').' <input type="text" name="phone" id="phone" class="maxwidth200 widthcentpercentminusx" value="'.(GETPOSTISSET('phone') ? GETPOST('phone', 'alpha') : $object->phone).'"></td>';
|
|
|
+ print '<td'.($conf->browser->layout == 'phone' ? ' colspan="3"' : '').'>'.img_picto('', 'object_phoning', 'class="pictofixedwidth"').' <input type="text" name="phone" id="phone" class="maxwidth200 widthcentpercentminusx" value="'.(GETPOSTISSET('phone') ? GETPOST('phone', 'alpha') : $object->phone).'"></td>';
|
|
|
if ($conf->browser->layout == 'phone') {
|
|
|
print '</tr><tr>';
|
|
|
}
|
|
|
print '<td>'.$form->editfieldkey('Fax', 'fax', GETPOST('fax', 'alpha'), $object, 0).'</td>';
|
|
|
- print '<td'.($conf->browser->layout == 'phone' ? ' colspan="3"': '').'>'.img_picto('', 'object_phoning_fax', 'class="pictofixedwidth"').' <input type="text" name="fax" id="fax" class="maxwidth200 widthcentpercentminusx" value="'.(GETPOSTISSET('fax') ? GETPOST('fax', 'alpha') : $object->fax).'"></td>';
|
|
|
+ print '<td'.($conf->browser->layout == 'phone' ? ' colspan="3"' : '').'>'.img_picto('', 'object_phoning_fax', 'class="pictofixedwidth"').' <input type="text" name="fax" id="fax" class="maxwidth200 widthcentpercentminusx" value="'.(GETPOSTISSET('fax') ? GETPOST('fax', 'alpha') : $object->fax).'"></td>';
|
|
|
print '</tr>';
|
|
|
|
|
|
// Web
|
|
|
print '<tr><td>'.$form->editfieldkey('Web', 'url', GETPOST('url', 'alpha'), $object, 0).'</td>';
|
|
|
- print '<td colspan="3">'.img_picto('', 'globe', 'class="pictofixedwidth"').' <input type="text" name="url" id="url" class="maxwidth200onsmartphone maxwidth300 widthcentpercentminusx " value="'.(GETPOSTISSET('url') ?GETPOST('url', 'alpha') : $object->url).'"></td></tr>';
|
|
|
+ print '<td colspan="3">'.img_picto('', 'globe', 'class="pictofixedwidth"').' <input type="text" name="url" id="url" class="maxwidth200onsmartphone maxwidth300 widthcentpercentminusx " value="'.(GETPOSTISSET('url') ? GETPOST('url', 'alpha') : $object->url).'"></td></tr>';
|
|
|
|
|
|
// EMail
|
|
|
print '<tr><td>'.$form->editfieldkey('EMail', 'email', GETPOST('email', 'alpha'), $object, 0, 'string', '', (getDolGlobalString('SOCIETE_EMAIL_MANDATORY'))).'</td>';
|
|
|
print '<td colspan="3">';
|
|
|
print img_picto('', 'object_email', 'class="pictofixedwidth"');
|
|
|
- print '<input type="text" name="email" id="email" class="maxwidth500 widthcentpercentminusx" value="'.(GETPOSTISSET('email') ?GETPOST('email', 'alpha') : $object->email).'">';
|
|
|
+ print '<input type="text" name="email" id="email" class="maxwidth500 widthcentpercentminusx" value="'.(GETPOSTISSET('email') ? GETPOST('email', 'alpha') : $object->email).'">';
|
|
|
print '</td></tr>';
|
|
|
|
|
|
// Unsubscribe
|
|
@@ -2290,7 +2293,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
|
|
|
// VAT is used
|
|
|
print '<tr><td>'.$form->editfieldkey('VATIsUsed', 'assujtva_value', '', $object, 0).'</td><td colspan="3">';
|
|
|
- print '<input id="assujtva_value" name="assujtva_value" type="checkbox" ' . ($object->tva_assuj ? 'checked="checked"': '') . ' value="1">';
|
|
|
+ print '<input id="assujtva_value" name="assujtva_value" type="checkbox" ' . ($object->tva_assuj ? 'checked="checked"' : '') . ' value="1">';
|
|
|
print '</td></tr>';
|
|
|
|
|
|
// Local Taxes
|
|
@@ -2376,7 +2379,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
print '</tr>';
|
|
|
|
|
|
// Type - Workforce/Staff
|
|
|
- print '<tr><td>'.$form->editfieldkey('ThirdPartyType', 'typent_id', '', $object, 0).'</td><td class="maxwidthonsmartphone"'.( ($conf->browser->layout == 'phone' || getDolGlobalString('SOCIETE_DISABLE_WORKFORCE')) ? ' colspan="3"' : '').'>';
|
|
|
+ print '<tr><td>'.$form->editfieldkey('ThirdPartyType', 'typent_id', '', $object, 0).'</td><td class="maxwidthonsmartphone"'.(($conf->browser->layout == 'phone' || getDolGlobalString('SOCIETE_DISABLE_WORKFORCE')) ? ' colspan="3"' : '').'>';
|
|
|
print $form->selectarray("typent_id", $formcompany->typent_array(0), $object->typent_id, 1, 0, 0, '', 0, 0, 0, (!getDolGlobalString('SOCIETE_SORT_ON_TYPEENT') ? 'ASC' : $conf->global->SOCIETE_SORT_ON_TYPEENT), '', 1);
|
|
|
if ($user->admin) {
|
|
|
print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"), 1);
|
|
@@ -2422,7 +2425,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
// Incoterms
|
|
|
if (isModEnabled('incoterm')) {
|
|
|
print '<tr>';
|
|
|
- print '<td>'.$form->editfieldkey('IncotermLabel', 'incoterm_id', '', $object, 0).'</td>';
|
|
|
+ print '<td>'.$form->editfieldkey('IncotermLabel', 'incoterm_id', '', $object, 0).'</td>';
|
|
|
print '<td colspan="3" class="maxwidthonsmartphone">';
|
|
|
print $form->select_incoterms((!empty($object->fk_incoterms) ? $object->fk_incoterms : ''), (!empty($object->location_incoterms) ? $object->location_incoterms : ''));
|
|
|
print '</td></tr>';
|
|
@@ -2686,7 +2689,8 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
}
|
|
|
|
|
|
// Prof ids
|
|
|
- $i = 1; $j = 0;
|
|
|
+ $i = 1;
|
|
|
+ $j = 0;
|
|
|
while ($i <= 6) {
|
|
|
$idprof = $langs->transcountry('ProfId'.$i, $object->country_code);
|
|
|
if ($idprof != '-') {
|
|
@@ -3119,7 +3123,9 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|
|
if (empty($user->socid)) {
|
|
|
$langs->load("mails");
|
|
|
$title = '';
|
|
|
- if (empty($object->email) && !$at_least_one_email_contact) { $title = $langs->trans('NoEMail'); }
|
|
|
+ if (empty($object->email) && !$at_least_one_email_contact) {
|
|
|
+ $title = $langs->trans('NoEMail');
|
|
|
+ }
|
|
|
print dolGetButtonAction($title, $langs->trans('SendMail'), 'default', $_SERVER['PHP_SELF'].'?socid='.$object->id.'&action=presend&mode=init#formmailbeforetitle', 'btn-send-mail', !empty($object->email) || $at_least_one_email_contact);
|
|
|
}
|
|
|
|