Revize 292
Přidáno uživatelem Tomáš Dulík před více než 15 roky(ů)
freenetis/trunk/kohana/application/models/account_attribute.php | ||
---|---|---|
<?php
|
||
class Account_attribute_Model extends ORM
|
||
{
|
||
public static $cash = '211000';
|
||
public static $bank = '221000';
|
||
public static $credit = '221100';
|
||
public static $operating = '221101';
|
||
/**
|
||
* definition of double entry accounts numbers used in various Freenetis controllers and models.
|
||
* These numbers are also valid values of the account_attribute primary key!
|
||
*
|
||
*/
|
||
public static $bank = '221000';
|
||
public static $credit = '221100';
|
||
public static $operating = '221101';
|
||
public static $infrastructure = '221102';
|
||
public static $project = '221103';
|
||
public static $bank_debts = '231000';
|
||
public static $suppliers = '321000';
|
||
public static $fees = '684000';
|
||
public static $bank_fees = '549001';
|
||
public static $member_fees = '684000';
|
||
public static $bank_interests = '644000';
|
||
|
||
/**
|
||
* The constructor is used for filling the double accounts numbers from the database.
|
||
* @todo: the public static constants listed above should be filled from the
|
||
* "config" database table, using the name of the constant.
|
||
* If a constant is not found in the table, its predefined value would be kept.
|
||
*/
|
||
//public function __construct() {}
|
||
|
||
}
|
||
?>
|
Také k dispozici: Unified diff
Pridany dalsi typy podvojnych uctu