Added Sepa Mandats stuff
This commit is contained in:
@@ -30,6 +30,7 @@ class AddressModel {
|
||||
public $bank_account_iban;
|
||||
public $bank_account_bic;
|
||||
public $sepa_date;
|
||||
public $last_invoice_date;
|
||||
public $allow_contact;
|
||||
public $allow_spin;
|
||||
|
||||
@@ -270,6 +271,8 @@ class AddressModel {
|
||||
if ($fan) {
|
||||
if (is_numeric($fan)) {
|
||||
$where .= " AND fibu_account_number=$fan";
|
||||
} elseif($fan === true) {
|
||||
$where .= " AND (fibu_account_number IS NOT NULL AND fibu_account_number > 0)";
|
||||
} else {
|
||||
$fan = FronkDB::singleton()->escape($fan);
|
||||
$where .= " AND fibu_account_number LIKE '$fan'";
|
||||
|
||||
Reference in New Issue
Block a user