Revize 2a7bec72
Přidáno uživatelem Ondřej Fibich před více než 6 roky(ů)
application/models/bank_account.php | ||
---|---|---|
");
|
||
}
|
||
|
||
/**
|
||
* Gets bank account of specified member.
|
||
*
|
||
* @param int $member_id
|
||
* @return Mysql_Result
|
||
*/
|
||
public function get_member_bank_accounts($member_id)
|
||
{
|
||
return $this->db->query("
|
||
SELECT ba.*
|
||
FROM bank_accounts ba
|
||
WHERE ba.member_id = ?
|
||
", intval($member_id));
|
||
}
|
||
|
||
/**
|
||
* It gets all bank accounts except bank accounts of association.
|
||
* @return Mysql_Result
|
Také k dispozici: Unified diff
Fixes #1094: Allows to delete former member older than 5 years.