Fixing style errors.

This commit is contained in:
stickler-ci 2023-04-29 06:47:41 +00:00
parent c86f8af93f
commit d2b2f99808
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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) {