Debug v22
This commit is contained in:
parent
16fb1c681e
commit
aca2ab77d1
1 changed files with 1 additions and 1 deletions
|
|
@ -2818,7 +2818,7 @@ class AccountLine extends CommonObjectLine
|
|||
$result .= yn($this->rappro);
|
||||
}
|
||||
if (isModEnabled('accounting') && ($option == 'showall' || $option == 'showconciliatedandaccounted')) {
|
||||
$sql = "SELECT COUNT(rowid) as nb, MAX(t.piece_num) as banktransactionid FROM ".MAIN_DB_PREFIX."accounting_bookkeeping";
|
||||
$sql = "SELECT COUNT(rowid) as nb, MAX(piece_num) as banktransactionid FROM ".MAIN_DB_PREFIX."accounting_bookkeeping";
|
||||
$sql .= " WHERE doc_type = 'bank' AND fk_doc = ".((int) $this->id);
|
||||
$resql = $this->db->query($sql);
|
||||
if ($resql) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue