Skip to content
Snippets Groups Projects
Commit fa00373e authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix remove log

parent 644486b4
No related branches found
No related tags found
No related merge requests found
...@@ -705,7 +705,7 @@ if (! $error && $action == 'writebookkeeping') { ...@@ -705,7 +705,7 @@ if (! $error && $action == 'writebookkeeping') {
} }
} }
if (empty($error)) { if (empty($error) && count($tabpay) > 0) {
setEventMessages($langs->trans("GeneralLedgerIsWritten"), null, 'mesgs'); setEventMessages($langs->trans("GeneralLedgerIsWritten"), null, 'mesgs');
} }
elseif (count($tabpay) == $error) elseif (count($tabpay) == $error)
......
...@@ -421,7 +421,7 @@ class ExpenseReport extends CommonObject ...@@ -421,7 +421,7 @@ class ExpenseReport extends CommonObject
if ($ref) $sql.= " WHERE d.ref = '".$this->db->escape($ref)."'"; if ($ref) $sql.= " WHERE d.ref = '".$this->db->escape($ref)."'";
else $sql.= " WHERE d.rowid = ".$id; else $sql.= " WHERE d.rowid = ".$id;
//$sql.= $restrict; //$sql.= $restrict;
print $sql;
dol_syslog(get_class($this)."::fetch sql=".$sql, LOG_DEBUG); dol_syslog(get_class($this)."::fetch sql=".$sql, LOG_DEBUG);
$resql = $this->db->query($sql) ; $resql = $this->db->query($sql) ;
if ($resql) if ($resql)
......
...@@ -584,7 +584,7 @@ Module50100Desc=Point of sales module (POS). ...@@ -584,7 +584,7 @@ Module50100Desc=Point of sales module (POS).
Module50200Name=Paypal Module50200Name=Paypal
Module50200Desc=Module to offer an online payment page by credit card with Paypal Module50200Desc=Module to offer an online payment page by credit card with Paypal
Module50400Name=Accounting (advanced) Module50400Name=Accounting (advanced)
Module50400Desc=Accounting management (double entries) Module50400Desc=Accounting management (double entries, support general and auxiliary ledgers)
Module54000Name=PrintIPP 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). 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 Module55000Name=Poll, Survey or Vote
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment