107 lines
2.5 KiB
XML
107 lines
2.5 KiB
XML
<?xml version="1.0" encoding="iso-8859-1" ?>
|
|
|
|
<table>
|
|
<base>CRM/AnnualGrantBudgets</base>
|
|
<class>GrantBudget</class>
|
|
<name>civicrm_grant_budget</name>
|
|
<comment>FIXME</comment>
|
|
<log>true</log>
|
|
|
|
<field>
|
|
<name>id</name>
|
|
<type>int unsigned</type>
|
|
<required>true</required>
|
|
<comment>Unique GrantBudget ID</comment>
|
|
<localizable>true</localizable>
|
|
</field>
|
|
<primaryKey>
|
|
<name>id</name>
|
|
<autoincrement>true</autoincrement>
|
|
</primaryKey>
|
|
|
|
<field>
|
|
<name>financial_type_id</name>
|
|
<title>Financial Type Id</title>
|
|
<type>int unsigned</type>
|
|
<comment>FK to Financial Type</comment>
|
|
<required>true</required>
|
|
<import>true</import>
|
|
<export>false</export>
|
|
<localizable>false</localizable>
|
|
<pseudoconstant>
|
|
<table>civicrm_financial_type</table>
|
|
<keyColumn>id</keyColumn>
|
|
<labelColumn>name</labelColumn>
|
|
</pseudoconstant>
|
|
<html>
|
|
<type>Select</type>
|
|
</html>
|
|
</field>
|
|
<foreignKey>
|
|
<name>financial_type_id</name>
|
|
<table>civicrm_financial_type</table>
|
|
<key>id</key>
|
|
</foreignKey>
|
|
|
|
<field>
|
|
<name>fiscal_year</name>
|
|
<title>Fiscal Year</title>
|
|
<type>int unsigned</type>
|
|
<comment>Fiscal year</comment>
|
|
<required>true</required>
|
|
<import>true</import>
|
|
<export>false</export>
|
|
<localizable>false</localizable>
|
|
<pseudoconstant>
|
|
<callback>CRM_AnnualGrantBudgets_BAO_GrantBudge::getFiscalyear</callback>
|
|
</pseudoconstant>
|
|
<html>
|
|
<type>Select</type>
|
|
</html>
|
|
</field>
|
|
|
|
<field>
|
|
<name>budget</name>
|
|
<title>Grant Annual Budget</title>
|
|
<type>decimal</type>
|
|
<comment>Grant Annual Budget</comment>
|
|
<required>true</required>
|
|
<import>true</import>
|
|
<export>true</export>
|
|
<localizable>false</localizable>
|
|
<default>0.00</default>
|
|
<html>
|
|
<type>Text</type>
|
|
</html>
|
|
</field>
|
|
|
|
<field>
|
|
<name>note</name>
|
|
<title>Note</title>
|
|
<type>varchar</type>
|
|
<length>255</length>
|
|
<comment>Note</comment>
|
|
<required>false</required>
|
|
<import>true</import>
|
|
<export>true</export>
|
|
<localizable>false</localizable>
|
|
<html>
|
|
<type>Text</type>
|
|
</html>
|
|
</field>
|
|
|
|
<field>
|
|
<name>is_reserved</name>
|
|
<title>Is Reserved</title>
|
|
<type>boolean</type>
|
|
<comment>Is this budget item locked for non-administrators?</comment>
|
|
<import>true</import>
|
|
<export>true</export>
|
|
<localizable>false</localizable>
|
|
<default>0</default>
|
|
<html>
|
|
<type>CheckBox</type>
|
|
</html>
|
|
</field>
|
|
</table>
|