Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
This commit is contained in:
commit
98d22ed31b
@ -1455,6 +1455,7 @@ class Propal extends CommonObject
|
|||||||
$sql = "SELECT p.rowid, p.ref, p.entity, p.remise, p.remise_percent, p.remise_absolue, p.fk_soc";
|
$sql = "SELECT p.rowid, p.ref, p.entity, p.remise, p.remise_percent, p.remise_absolue, p.fk_soc";
|
||||||
$sql .= ", p.total_ttc, p.total_tva, p.localtax1, p.localtax2, p.total_ht";
|
$sql .= ", p.total_ttc, p.total_tva, p.localtax1, p.localtax2, p.total_ht";
|
||||||
$sql .= ", p.datec";
|
$sql .= ", p.datec";
|
||||||
|
$sql .= ", p.date_signature as dates";
|
||||||
$sql .= ", p.date_valid as datev";
|
$sql .= ", p.date_valid as datev";
|
||||||
$sql .= ", p.datep as dp";
|
$sql .= ", p.datep as dp";
|
||||||
$sql .= ", p.fin_validite as dfv";
|
$sql .= ", p.fin_validite as dfv";
|
||||||
@ -1538,6 +1539,7 @@ class Propal extends CommonObject
|
|||||||
$this->date_creation = $this->db->jdate($obj->datec); //Creation date
|
$this->date_creation = $this->db->jdate($obj->datec); //Creation date
|
||||||
$this->date_validation = $this->db->jdate($obj->datev); //Validation date
|
$this->date_validation = $this->db->jdate($obj->datev); //Validation date
|
||||||
$this->date_modification = $this->db->jdate($obj->date_modification); // tms
|
$this->date_modification = $this->db->jdate($obj->date_modification); // tms
|
||||||
|
$this->date_signature = $this->db->jdate($obj->dates); // Signature date
|
||||||
$this->date = $this->db->jdate($obj->dp); // Proposal date
|
$this->date = $this->db->jdate($obj->dp); // Proposal date
|
||||||
$this->datep = $this->db->jdate($obj->dp); // deprecated
|
$this->datep = $this->db->jdate($obj->dp); // deprecated
|
||||||
$this->fin_validite = $this->db->jdate($obj->dfv);
|
$this->fin_validite = $this->db->jdate($obj->dfv);
|
||||||
|
|||||||
@ -1656,6 +1656,7 @@ if (!$error && ($massaction == 'approveleave' || ($action == 'approveleave' && $
|
|||||||
|
|
||||||
$trackid = 'leav'.$objecttmp->id;
|
$trackid = 'leav'.$objecttmp->id;
|
||||||
|
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/core/class/CMailFile.class.php';
|
||||||
$mail = new CMailFile($subject, $emailTo, $emailFrom, $message, array(), array(), array(), '', '', 0, 0, '', '', $trackid);
|
$mail = new CMailFile($subject, $emailTo, $emailFrom, $message, array(), array(), array(), '', '', 0, 0, '', '', $trackid);
|
||||||
|
|
||||||
// Sending email
|
// Sending email
|
||||||
|
|||||||
@ -592,7 +592,7 @@ class CMailFile
|
|||||||
}
|
}
|
||||||
|
|
||||||
$sendingmode = $this->sendmode;
|
$sendingmode = $this->sendmode;
|
||||||
if ($this->context == 'emailing' && !empty($conf->global->MAILING_NO_USING_PHPMAIL) && $sendingmode == 'mail') {
|
if ($this->sendcontext == 'emailing' && !empty($conf->global->MAILING_NO_USING_PHPMAIL) && $sendingmode == 'mail') {
|
||||||
// List of sending methods
|
// List of sending methods
|
||||||
$listofmethods = array();
|
$listofmethods = array();
|
||||||
$listofmethods['mail'] = 'PHP mail function';
|
$listofmethods['mail'] = 'PHP mail function';
|
||||||
|
|||||||
@ -34,7 +34,7 @@ if (!defined('DOL_APPLICATION_TITLE')) {
|
|||||||
define('DOL_APPLICATION_TITLE', 'Dolibarr');
|
define('DOL_APPLICATION_TITLE', 'Dolibarr');
|
||||||
}
|
}
|
||||||
if (!defined('DOL_VERSION')) {
|
if (!defined('DOL_VERSION')) {
|
||||||
define('DOL_VERSION', '15.0.2'); // a.b.c-alpha, a.b.c-beta, a.b.c-rcX or a.b.c
|
define('DOL_VERSION', '15.0.3'); // a.b.c-alpha, a.b.c-beta, a.b.c-rcX or a.b.c
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!defined('EURO')) {
|
if (!defined('EURO')) {
|
||||||
|
|||||||
@ -436,7 +436,7 @@ if ($action == 'edit') {
|
|||||||
if ($resprod > 0) {
|
if ($resprod > 0) {
|
||||||
print $product->ref;
|
print $product->ref;
|
||||||
} elseif ($resprod < 0) {
|
} elseif ($resprod < 0) {
|
||||||
setEventMessages(null, $object->errors, "errors");
|
setEventMessages(null, $product->errors, "errors");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
print $conf->global->{$constname};
|
print $conf->global->{$constname};
|
||||||
|
|||||||
@ -3482,7 +3482,7 @@ div .tdtop {
|
|||||||
/*padding-top: 10px !important;
|
/*padding-top: 10px !important;
|
||||||
padding-bottom: 2px !important; */
|
padding-bottom: 2px !important; */
|
||||||
padding-top: 6px !important;
|
padding-top: 6px !important;
|
||||||
padding-bottom: 4px !important;
|
padding-bottom: 4px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.border td, table.bordernooddeven td, div.border div div.tagtd {
|
table.border td, table.bordernooddeven td, div.border div div.tagtd {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user