Fixing style errors.
This commit is contained in:
parent
c86f8af93f
commit
d2b2f99808
@ -2344,7 +2344,7 @@ class AccountancyExport
|
||||
$tab[] = substr(length_accountg($line->numero_compte), 0, 15);
|
||||
}
|
||||
$tab[] = "";
|
||||
$tab[] = '"'.dol_trunc(str_replace('"', '', $line->label_operation),40,'right','UTF-8',1).'"';
|
||||
$tab[] = '"'.dol_trunc(str_replace('"', '', $line->label_operation), 40, 'right', 'UTF-8', 1).'"';
|
||||
$tab[] = '"' . dol_trunc(str_replace('"', '', $line->doc_ref), 40, 'right', 'UTF-8', 1) . '"';
|
||||
$tab[] = '"' . dol_trunc(str_replace('"', '', $line->piece_num), 10, 'right', 'UTF-8', 1) . '"';
|
||||
$tab[] = price2num(abs($line->debit - $line->credit));
|
||||
|
||||
@ -244,7 +244,7 @@ class Accountancy extends DolibarrApi
|
||||
|
||||
$sql = " UPDATE " . MAIN_DB_PREFIX . "accounting_bookkeeping";
|
||||
$sql .= " SET date_export = '" . $this->db->idate($now) . "'";
|
||||
$sql .= " WHERE rowid = " . ((int)$movement->id);
|
||||
$sql .= " WHERE rowid = " . ((int) $movement->id);
|
||||
|
||||
$result = $this->db->query($sql);
|
||||
if (!$result) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user