This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/modules/payment_item/payment_item_construct.xml
2011-05-03 09:49:04 +10:00

83 lines
1.8 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
<!-- Module name -->
<module>payment_item</module>
<!-- Module supporting database table -->
<table>payment_item</table>
<!-- Module dependancy(s) (module wont install if these modules are not yet installed) -->
<dependancy>payment</dependancy>
<!-- DB cache in seconds -->
<cache>0</cache>
<!-- Default order_by field for SQL queries -->
<order_by>date_orig</order_by>
<!-- Default SQL limit for SQL queries -->
<limit>25</limit>
<!-- Schema version (used to determine if the schema has change during upgrades) -->
<version>1</version>
<!-- Database indexes -->
<index>
<!--
id,site_id,payment_id,invoice_id
-->
</index>
<!-- Database fields -->
<field>
<!-- Record ID -->
<id>
<index>1</index>
<type>I4</type>
<unique>1</unique>
</id>
<!-- Site ID -->
<site_id>
<index>1</index>
<type>I4</type>
</site_id>
<!-- Date record created -->
<date_orig>
<convert>date-now</convert>
<display>Date Created</display>
<type>I8</type>
</date_orig>
<!-- Date record updated -->
<date_last>
<convert>date-now</convert>
<display>Date Updated</display>
<type>I8</type>
</date_last>
<!-- Payment ID -->
<payment_id>
<asso_table>account</asso_table>
<type>I8</type>
</payment_id>
<!-- Invoice ID -->
<invoice_id>
<asso_table>invoice</asso_table>
<type>I8</type>
</invoice_id>
<!-- Gross amount allocated -->
<alloc_amt>
<type>F</type>
<validate>float</validate>
</alloc_amt>
</field>
<!-- Methods for this class, and the fields they have access to, if applicable -->
<method>
<add>payment_id,invoice_id,alloc_amt</add>
</method>
<!-- Method triggers -->
<trigger></trigger>
<!-- Template page display titles -->
<title>
</title>
<!-- Template helpers -->
<tpl>
</tpl>
</construct>