gnue-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUe-dev] remove vat from item


From: Warren Turkal
Subject: [GNUe-dev] remove vat from item
Date: Wed, 03 Nov 2004 02:31:12 -0600
User-agent: KNode/0.8.0

Kilo,

Please apply this to remove the circular dependency in the item base class. I
know that the vat support needs to be added to another package ultimately, but
we can go ahead and get the separation done. I will also try to separate the
price from the item like we talked about.

wt

Index: item-vat.gcd
===================================================================
--- item-vat.gcd (revision 0)
+++ item-vat.gcd (revision 0)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- extended ITEM Module with VAT support
+
+     Copyright 2004 Free Software Foundation
+
+     This file is part of GNU Enterprise.
+
+     GNU Enterprise is free software; you can redistribute it and/or
+     modify it under the terms of the GNU General Public License as
+     published by the Free Software Foundation; either version 2 of
+     the License, or (at your option) any later version.
+
+     GNU Enterprise is distributed in the hope that it will be useful,
+     but WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+     GNU General Public License for more details.
+
+     You should have received a copy of the GNU General Public License
+     along with GNU Enterprise; see the file COPYING.  If not, write to
+     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+
+     $Id$ -->
+
+<module name="ITEM_VAT">
+  <class name="Price"       comment="Item price information">
+    <property name="vat"            type="TAX_Vat"                          
comment="" />
+ </class>
+</module>
Index: item.gcd
===================================================================
--- item.gcd (revision 6573)
+++ item.gcd (working copy)
@@ -38,7 +38,6 @@
     <property name="unitPrice"      type="CORE_Amount"                      
comment="" />
     <property name="minAmount"      type="CORE_Amount"                      
comment="" />
     <property name="maxAmount"      type="CORE_Amount"                      
comment="" />
-    <property name="vat"            type="TAX_Vat"                          
comment="" />
   </class>
 
   <class name="ItemType">

-- 
Warren Turkal





reply via email to

[Prev in Thread] Current Thread [Next in Thread]