commit-gnue
[Top][All Lists]
Advanced

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

r183 - in gnue-invoice: reports schema


From: kilo
Subject: r183 - in gnue-invoice: reports schema
Date: Tue, 4 Jan 2005 04:15:33 -0600 (CST)

Author: kilo
Date: 2005-01-04 04:15:32 -0600 (Tue, 04 Jan 2005)
New Revision: 183

Modified:
   gnue-invoice/reports/invoice-hu.grd
   gnue-invoice/reports/invoice.grd
   gnue-invoice/schema/invoice-hu.gcd
Log:
GNUe Invoice.
More Hungarian customization.

Modified: gnue-invoice/reports/invoice-hu.grd
===================================================================
--- gnue-invoice/reports/invoice-hu.grd 2005-01-03 18:12:40 UTC (rev 182)
+++ gnue-invoice/reports/invoice-hu.grd 2005-01-04 10:15:32 UTC (rev 183)
@@ -1,5 +1,28 @@
 <?xml version="1.0" encoding="iso8859-2"?>
 
+<!-- Hungarian invoice report
+
+     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$ -->
+
 <report title="GNUe Invoice">
   <!--*****************************************************
                         Parameters
@@ -34,7 +57,7 @@
     <section name="head" source="dts">
       <out:pageheader height="16">
         <out:label x="35"   y="1"   width="11">S Z � M L A</out:label>
-        <out:label x="51"   y="1"   width="9"><field 
name="INV_revertedString"/></out:label>
+        <out:label x="51"   y="1"   width="9"><field 
name="INVHU_revertedString"/></out:label>
         <out:label x="72"   y="1"   width="4" align="right"><field 
name="INV_printed"/></out:label>
         <out:label x="76"   y="1"   width="4">.pld</out:label>
         <out:label x="0"    y="2"   
width="80">--------------------------------------------------------------------------------</out:label>
@@ -113,7 +136,7 @@
         </out:detail>
       </section>
 
-      <out:groupfooter height="10">
+      <out:groupfooter height="12">
         <out:label x="35"   y="0"   
width="45">---------------------------------------------</out:label>
         <out:label x="35"   y="1"   width="9">�sszesen:</out:label>
         <out:label x="50"   y="1"   width="9"   align="right"><field 
name="INV_totalNet"/></out:label>


Property changes on: gnue-invoice/reports/invoice-hu.grd
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: gnue-invoice/reports/invoice.grd
===================================================================
--- gnue-invoice/reports/invoice.grd    2005-01-03 18:12:40 UTC (rev 182)
+++ gnue-invoice/reports/invoice.grd    2005-01-04 10:15:32 UTC (rev 183)
@@ -1,5 +1,28 @@
 <?xml version="1.0" encoding="iso8859-1"?>
 
+<!-- General invoice report
+
+     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$ -->
+
 <report title="GNUe Invoice">
   <!--*****************************************************
                         Parameters


Property changes on: gnue-invoice/reports/invoice.grd
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: gnue-invoice/schema/invoice-hu.gcd
===================================================================
--- gnue-invoice/schema/invoice-hu.gcd  2005-01-03 18:12:40 UTC (rev 182)
+++ gnue-invoice/schema/invoice-hu.gcd  2005-01-04 10:15:32 UTC (rev 183)
@@ -64,5 +64,13 @@
     <property name="totalGross5"    type="number(10,2)" >
       return self.INV_sumByRate(type = 'Gross', rate = 5)
     </property>
+    
+    <!--******************************************************************
+    Return a string ('STORNO' or empty) for the invoice report to print.
+    This way the same report can print both normal and reverted invoices.
+    *******************************************************************-->
+    <property name="revertedString" type="string">
+      return self.reverted and "STORNO" or ''
+    </property>
   </class>
 </module>





reply via email to

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