Debug
This commit is contained in:
parent
7266c78162
commit
9a5f2634a4
@ -38,7 +38,7 @@ class CompanyBankAccount extends Account
|
||||
public $default_rib;
|
||||
|
||||
/**
|
||||
* Value 'FRST' or 'RCUR' (For SEPA mandate)
|
||||
* Value 'FRST' or 'RCUR' (For SEPA mandate). Warning, in database, we store 'RECUR'.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
@ -207,7 +207,7 @@ class CompanyBankAccount extends Account
|
||||
return 1;
|
||||
}
|
||||
} else {
|
||||
dol_print_error($this->db);
|
||||
$this->error = $this->db->lasterror();
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
@ -325,6 +325,10 @@ class CompanyPaymentMode extends CommonObject
|
||||
}
|
||||
|
||||
$result = $this->fetchCommon($id, $ref, $morewhere);
|
||||
|
||||
// For backward compatibility
|
||||
$this->iban = $this->iban_prefix;
|
||||
|
||||
//if ($result > 0 && ! empty($this->table_element_line)) $this->fetchLines();
|
||||
return $result;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user