Fix remove log

This commit is contained in:
Laurent Destailleur 2017-07-15 17:52:30 +02:00
parent 644486b4a0
commit fa00373e56
3 changed files with 3 additions and 3 deletions

View File

@ -705,7 +705,7 @@ if (! $error && $action == 'writebookkeeping') {
}
}
if (empty($error)) {
if (empty($error) && count($tabpay) > 0) {
setEventMessages($langs->trans("GeneralLedgerIsWritten"), null, 'mesgs');
}
elseif (count($tabpay) == $error)

View File

@ -421,7 +421,7 @@ class ExpenseReport extends CommonObject
if ($ref) $sql.= " WHERE d.ref = '".$this->db->escape($ref)."'";
else $sql.= " WHERE d.rowid = ".$id;
//$sql.= $restrict;
print $sql;
dol_syslog(get_class($this)."::fetch sql=".$sql, LOG_DEBUG);
$resql = $this->db->query($sql) ;
if ($resql)

View File

@ -584,7 +584,7 @@ Module50100Desc=Point of sales module (POS).
Module50200Name=Paypal
Module50200Desc=Module to offer an online payment page by credit card with Paypal
Module50400Name=Accounting (advanced)
Module50400Desc=Accounting management (double entries)
Module50400Desc=Accounting management (double entries, support general and auxiliary ledgers)
Module54000Name=PrintIPP
Module54000Desc=Direct print (without opening the documents) using Cups IPP interface (Printer must be visible from server, and CUPS must be installe on server).
Module55000Name=Poll, Survey or Vote