Initial Commit of AgileBill Open Source
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
class invoice_item_discount
|
||||
{
|
||||
}
|
||||
?>
|
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<construct>
|
||||
<module>invoice_item_discount</module>
|
||||
<table>invoice_item_discount</table>
|
||||
<dependancy>invoice</dependancy>
|
||||
<cache>0</cache>
|
||||
<order_by>zone</order_by>
|
||||
<limit>25</limit>
|
||||
<index>
|
||||
<discounts>discount</discounts>
|
||||
<invoice_id>invoice_id,invoice_item_id</invoice_id>
|
||||
<dates>date_orig</dates>
|
||||
<accounts>account_id</accounts>
|
||||
</index>
|
||||
<field>
|
||||
<id>
|
||||
<type>I4</type>
|
||||
<unique>1</unique>
|
||||
</id>
|
||||
<site_id>
|
||||
<type>I4</type>
|
||||
</site_id>
|
||||
<date_orig>
|
||||
<type>I8</type>
|
||||
</date_orig>
|
||||
<invoice_id>
|
||||
<type>I8</type>
|
||||
</invoice_id>
|
||||
<account_id>
|
||||
<type>I8</type>
|
||||
</account_id>
|
||||
<invoice_item_id>
|
||||
<type>I8</type>
|
||||
</invoice_item_id>
|
||||
<discount>
|
||||
<type>C(64)</type>
|
||||
</discount>
|
||||
<amount>
|
||||
<type>F</type>
|
||||
</amount>
|
||||
</field>
|
||||
<method>
|
||||
</method>
|
||||
<trigger>0</trigger>
|
||||
</construct>
|
@@ -0,0 +1,13 @@
|
||||
<install>
|
||||
<module_properties>
|
||||
<name>invoice_item_discount</name>
|
||||
<parent>invoice</parent>
|
||||
<notes><![CDATA[Stores discount information for invoices]]></notes>
|
||||
<menu_display>0</menu_display>
|
||||
<dependancy>invoice</dependancy>
|
||||
</module_properties>
|
||||
<sql_inserts>
|
||||
<module_method>
|
||||
</module_method>
|
||||
</sql_inserts>
|
||||
</install>
|
Reference in New Issue
Block a user