Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0
This commit is contained in:
commit
707101b913
@ -2216,7 +2216,7 @@ if ($resql) {
|
|||||||
|
|
||||||
// Amount HT/net
|
// Amount HT/net
|
||||||
if (!empty($arrayfields['c.total_ht']['checked'])) {
|
if (!empty($arrayfields['c.total_ht']['checked'])) {
|
||||||
print '<td class="nowrap right"><span class="amount">'.price($obj->total_ht)."</span></td>\n";
|
print '<td class="nowrap right"><span class="amount">'.price($obj->total_ht)."</span></td>\n";
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['nbfield']++;
|
$totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1789,6 +1789,8 @@ class Contact extends CommonObject
|
|||||||
$sql = "SELECT sc.fk_socpeople as id, sc.fk_c_type_contact";
|
$sql = "SELECT sc.fk_socpeople as id, sc.fk_c_type_contact";
|
||||||
$sql .= " FROM ".MAIN_DB_PREFIX."c_type_contact tc";
|
$sql .= " FROM ".MAIN_DB_PREFIX."c_type_contact tc";
|
||||||
$sql .= ", ".MAIN_DB_PREFIX."societe_contacts sc";
|
$sql .= ", ".MAIN_DB_PREFIX."societe_contacts sc";
|
||||||
|
$sql .= " INNER JOIN ".MAIN_DB_PREFIX."socpeople sp";
|
||||||
|
$sql .= " ON sc.fk_socpeople = sp.rowid AND sp.statut = 1";
|
||||||
$sql .= " WHERE sc.fk_soc =".((int) $this->socid);
|
$sql .= " WHERE sc.fk_soc =".((int) $this->socid);
|
||||||
$sql .= " AND sc.fk_c_type_contact=tc.rowid";
|
$sql .= " AND sc.fk_c_type_contact=tc.rowid";
|
||||||
$sql .= " AND tc.element = '".$this->db->escape($element)."'";
|
$sql .= " AND tc.element = '".$this->db->escape($element)."'";
|
||||||
|
|||||||
@ -71,6 +71,8 @@ if (empty($conf->global->MAILING_LIMIT_SENDBYCLI)) {
|
|||||||
$conf->global->MAILING_LIMIT_SENDBYCLI = 0;
|
$conf->global->MAILING_LIMIT_SENDBYCLI = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$langs->loadLangs(array("main", "mails"));
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Main
|
* Main
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user