[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue-contrib] r203 - in gnue-invoice: . forms
From: |
kilo |
Subject: |
[gnue-contrib] r203 - in gnue-invoice: . forms |
Date: |
Sun, 16 Jan 2005 16:28:20 -0600 (CST) |
Author: kilo
Date: 2005-01-16 16:28:18 -0600 (Sun, 16 Jan 2005)
New Revision: 203
Added:
gnue-invoice/forms/Address-hu.gfd
gnue-invoice/forms/Address.gfd
gnue-invoice/forms/Company-hu.gfd
gnue-invoice/forms/Company.gfd
gnue-invoice/forms/Country-hu.gfd
gnue-invoice/forms/Country.gfd
gnue-invoice/forms/Head-hu.gfd
gnue-invoice/forms/Head.gfd
gnue-invoice/forms/Item-hu.gfd
gnue-invoice/forms/Item.gfd
gnue-invoice/forms/ItemType-hu.gfd
gnue-invoice/forms/ItemType.gfd
gnue-invoice/forms/Org-hu.gf
gnue-invoice/forms/Org.gfd
gnue-invoice/forms/PaymentMethod-hu.gfd
gnue-invoice/forms/PaymentMethod.gfd
gnue-invoice/forms/Region-hu.gfd
gnue-invoice/forms/Region.gfd
gnue-invoice/forms/Street-hu.gfd
gnue-invoice/forms/Street.gfd
gnue-invoice/forms/UnitType-hu.gfd
gnue-invoice/forms/UnitType.gfd
gnue-invoice/forms/Vat-hu.gfd
gnue-invoice/forms/Vat.gfd
gnue-invoice/forms/Zip-hu.gfd
gnue-invoice/forms/Zip.gfd
gnue-invoice/forms/grid-hu.gfd
gnue-invoice/forms/grid.gfd
Removed:
gnue-invoice/forms/INV_Company-hu.gfd
gnue-invoice/forms/INV_Company.gfd
gnue-invoice/forms/INV_Head-hu.gfd
gnue-invoice/forms/INV_Head.gfd
gnue-invoice/forms/INV_PaymentMethod-hu.gfd
gnue-invoice/forms/INV_PaymentMethod.gfd
gnue-invoice/forms/INV_grid-hu.gfd
gnue-invoice/forms/INV_grid.gfd
gnue-invoice/forms/ITEM_Item-hu.gfd
gnue-invoice/forms/ITEM_Item.gfd
gnue-invoice/forms/ITEM_ItemType-hu.gfd
gnue-invoice/forms/ITEM_ItemType.gfd
gnue-invoice/forms/ITEM_UnitType-hu.gfd
gnue-invoice/forms/ITEM_UnitType.gfd
gnue-invoice/forms/LOC_Address-hu.gfd
gnue-invoice/forms/LOC_Address.gfd
gnue-invoice/forms/LOC_Country-hu.gfd
gnue-invoice/forms/LOC_Country.gfd
gnue-invoice/forms/LOC_Region-hu.gfd
gnue-invoice/forms/LOC_Region.gfd
gnue-invoice/forms/LOC_Street-hu.gfd
gnue-invoice/forms/LOC_Street.gfd
gnue-invoice/forms/LOC_Zip-hu.gfd
gnue-invoice/forms/LOC_Zip.gfd
gnue-invoice/forms/ORG_Org-hu.gfd
gnue-invoice/forms/ORG_Org.gfd
gnue-invoice/forms/TAX_Vat-hu.gfd
gnue-invoice/forms/TAX_Vat.gfd
Modified:
gnue-invoice/readme
Log:
GNUe Invoice.
Renamed forms to better human names...
Copied: gnue-invoice/forms/Address-hu.gfd (from rev 201,
gnue-invoice/forms/LOC_Address-hu.gfd)
===================================================================
--- gnue-invoice/forms/LOC_Address-hu.gfd 2005-01-12 08:44:15 UTC (rev
201)
+++ gnue-invoice/forms/Address-hu.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="iso8859-2"?>
+
+<!-- LOC_Address Hungarian Form
+
+ 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$ -->
+
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="C�m">
+ <options/>
+
+ <import-trigger name='startupSearch' library='util.gfd'/>
+ <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
+
+ <datasource name="dts" connection="invoice" table="LOC_Address"/>
+ <datasource name="dts_LOC_Zip" connection="invoice" prequery="Y"
+ table="LOC_Zip"/>
+ <datasource name="dts_LOC_Street" connection="invoice" prequery="Y"
+ table="LOC_Street"/>
+ <datasource name="dts_LOC_Country" connection="invoice" prequery="Y"
+ table="LOC_Country"/>
+
+ <logic>
+ <block name="blk" datasource="dts">
+ <field name="fldCountry" field="LOC_country" maxLength="32"
+ fk_source="dts_LOC_Country" fk_key="gnue_id"
+ fk_description="LOC_formatted"/>
+ <field name="fldZip" field="LOC_zip" maxLength="32"
+ fk_source="dts_LOC_Zip" fk_key="gnue_id"
+ fk_description="LOC_formatted"/>
+ <field name="fldStreet" field="LOC_street" maxLength="32"
+ fk_source="dts_LOC_Street" fk_key="gnue_id"
+ fk_description="LOC_formatted"/>
+ <field name="fldNumber" field="LOC_number" maxLength="11"/>
+ <field name="fldBuilding" field="LOC_building" maxLength="4"/>
+ <field name="fldStaircase" field="LOC_staircase" maxLength="4"/>
+ <field name="fldFloor" field="LOC_floor" maxLength="2"/>
+ <field name="fldDoor" field="LOC_door" maxLength="4"/>
+ </block>
+ </logic>
+
+ <layout c:height="9" c:width="53">
+ <page>
+ <label name="lblCountry" c:height="1" c:width="7" c:x="1" c:y="1"
+ text="Orsz�g:"/>
+ <entry name="entCountry" c:height="1" c:width="30" c:x="12" c:y="1"
+ block="blk" field="fldCountry" style="dropdown"/>
+ <button name="btnEditCountry" c:height="1" c:width="10" c:x="42" c:y="1"
+ label="M�dos�t...">
+ <trigger type="ON-ACTION" name="btnEditCountryTrigger">
+ params = {'id': blk.fldCountry.get() or ''}
+ form.runForm('Country-hu.gfd', params)
+ blk.fldCountry.resetForeignKey()
+ </trigger>
+ </button>
+ <label name="lblZip" c:height="1" c:width="6" c:x="1" c:y="2"
+ text="Irsz.:"/>
+ <entry name="entZip" c:height="1" c:width="30" c:x="12" c:y="2"
+ block="blk" field="fldZip" style="dropdown"/>
+ <button name="btnEditZip" c:height="1" c:width="10" c:x="42" c:y="2"
+ label="M�dos�t...">
+ <trigger type="ON-ACTION" name="btnEditZipTrigger">
+ params = {'id': blk.fldZip.get() or ''}
+ form.runForm('Zip-hu.gfd', params)
+ blk.fldZip.resetForeignKey()
+ </trigger>
+ </button>
+ <label name="lblStreet" c:height="1" c:width="11" c:x="1" c:y="3"
+ text="K�zter�let:"/>
+ <entry name="entStreet" c:height="1" c:width="30" c:x="12" c:y="3"
+ block="blk" field="fldStreet" style="dropdown"/>
+ <button name="btnEditStreet" c:height="1" c:width="10" c:x="42" c:y="3"
+ label="M�dos�t...">
+ <trigger type="ON-ACTION" name="btnEditStreetTrigger">
+ params = {'id': blk.fldStreet.get() or ''}
+ form.runForm('Street-hu.gfd', params)
+ blk.fldStreet.resetForeignKey()
+ </trigger>
+ </button>
+ <label name="lblNumber" c:height="1" c:width="4" c:x="1" c:y="4"
+ text="Hsz:"/>
+ <entry name="entNumber" c:height="1" c:width="11" c:x="12" c:y="4"
+ block="blk" field="fldNumber"/>
+ <label name="lblBuilding" c:height="1" c:width="7" c:x="1" c:y="5"
+ text="�p�let:"/>
+ <entry name="entBuilding" c:height="1" c:width="4" c:x="12" c:y="5"
+ block="blk" field="fldBuilding"/>
+ <label name="lblStaircase" c:height="1" c:width="4" c:x="1" c:y="6"
+ text="Lh.:"/>
+ <entry name="entStaircase" c:height="1" c:width="4" c:x="12" c:y="6"
+ block="blk" field="fldStaircase"/>
+ <label name="lblFloor" c:height="1" c:width="7" c:x="1" c:y="7"
+ text="Emelet:"/>
+ <entry name="entFloor" c:height="1" c:width="2" c:x="12" c:y="7"
+ block="blk" field="fldFloor"/>
+ <label name="lblDoor" c:height="1" c:width="5" c:x="1" c:y="8"
+ text="Ajt�:"/>
+ <entry name="entDoor" c:height="1" c:width="4" c:x="12" c:y="8"
+ block="blk" field="fldDoor"/>
+ </page>
+ </layout>
+
+</form>
Copied: gnue-invoice/forms/Address.gfd (from rev 201,
gnue-invoice/forms/LOC_Address.gfd)
===================================================================
--- gnue-invoice/forms/LOC_Address.gfd 2005-01-12 08:44:15 UTC (rev 201)
+++ gnue-invoice/forms/Address.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="iso8859-1"?>
+
+<!-- LOC_Address Form
+
+ 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$ -->
+
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Address">
+ <options/>
+
+ <import-trigger name='startupSearch' library='util.gfd'/>
+ <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
+
+ <datasource name="dts" connection="invoice" table="LOC_Address"/>
+ <datasource name="dts_LOC_Zip" connection="invoice" prequery="Y"
+ table="LOC_Zip"/>
+ <datasource name="dts_LOC_Street" connection="invoice" prequery="Y"
+ table="LOC_Street"/>
+ <datasource name="dts_LOC_Country" connection="invoice" prequery="Y"
+ table="LOC_Country"/>
+
+ <logic>
+ <block name="blk" datasource="dts">
+ <field name="fldLocBuilding" field="LOC_building" maxLength="4"/>
+ <field name="fldLocCountry" field="LOC_country"
fk_description="LOC_formatted"
+ fk_key="gnue_id" fk_source="dts_LOC_Country" maxLength="32"/>
+ <field name="fldLocDoor" field="LOC_door" maxLength="4"/>
+ <field name="fldLocFloor" field="LOC_floor" maxLength="2"/>
+ <field name="fldLocNumber" field="LOC_number" maxLength="11"/>
+ <field name="fldLocStreet" field="LOC_street"
+ fk_description="LOC_formatted" fk_key="gnue_id"
fk_source="dts_LOC_Street" maxLength="32"/>
+ <field name="fldLocStaircase" field="LOC_staircase" maxLength="4"/>
+ <field name="fldLocZip" field="LOC_zip" fk_description="LOC_formatted"
+ fk_key="gnue_id" fk_source="dts_LOC_Zip" maxLength="32"/>
+ </block>
+ </logic>
+
+ <layout c:height="9" c:width="43">
+ <page>
+ <label name="lblCountry:" c:height="1" c:width="12" c:x="1" c:y="1"
+ text="Country:"/>
+ <entry name="entCountry" c:height="1" c:width="30" c:x="12" c:y="1"
+ block="blk" field="fldLocCountry" focusorder="1" label=""
style="dropdown"/>
+ <button name="btnEditCountry" c:height="1" c:width="7" c:x="42" c:y="1"
+ label="Edit...">
+ <trigger type="ON-ACTION" name="btnEditCountryTrigger">
+ params = {'id': blk.fldLocCountry.get() or ''}
+ form.runForm('Country.gfd', params)
+ blk.fldLocCountry.resetForeignKey()
+ </trigger>
+ </button>
+ <label name="lblZip:" c:height="1" c:width="8" c:x="1" c:y="2"
+ text="Zip:"/>
+ <entry name="entZip" c:height="1" c:width="30" c:x="12" c:y="2"
+ block="blk" field="fldLocZip" focusorder="2" label=""
style="dropdown"/>
+ <button name="btnEditZip" c:height="1" c:width="7" c:x="42" c:y="2"
+ label="Edit...">
+ <trigger type="ON-ACTION" name="btnEditZipTrigger">
+ params = {'id': blk.fldLocZip.get() or ''}
+ form.runForm('Zip.gfd', params)
+ blk.fldLocZip.resetForeignKey()
+ </trigger>
+ </button>
+ <label name="lblStreet:" c:height="1" c:width="10" c:x="1" c:y="3"
+ text="Street:"/>
+ <entry name="entStreet" c:height="1" c:width="30" c:x="12" c:y="3"
+ block="blk" field="fldLocStreet" focusorder="3" label=""
style="dropdown"/>
+ <button name="btnEditStreet" c:height="1" c:width="7" c:x="42" c:y="3"
+ label="Edit...">
+ <trigger type="ON-ACTION" name="btnEditStreetTrigger">
+ params = {'id': blk.fldLocStreet.get() or ''}
+ form.runForm('Street.gfd', params)
+ blk.fldLocStreet.resetForeignKey()
+ </trigger>
+ </button>
+ <label name="lblNumber:" c:height="1" c:width="11" c:x="1" c:y="4"
+ text="Number:"/>
+ <entry name="entNumber" c:height="1" c:width="11" c:x="12" c:y="4"
+ block="blk" field="fldLocNumber" focusorder="4" label=""/>
+ <label name="lblBuilding:" c:height="1" c:width="13" c:x="1" c:y="5"
+ text="Building:"/>
+ <entry name="entBuilding" c:height="1" c:width="4" c:x="12" c:y="5"
+ block="blk" field="fldLocBuilding" focusorder="5" label=""/>
+ <label name="lblStaircase:" c:height="1" c:width="14" c:x="1" c:y="6"
+ text="Staircase:"/>
+ <entry name="entStaircase" c:height="1" c:width="4" c:x="12" c:y="6"
+ block="blk" field="fldLocStaircase" focusorder="6" label=""/>
+ <label name="lblFloor:" c:height="1" c:width="10" c:x="1" c:y="7"
+ text="Floor:"/>
+ <entry name="entFloor" c:height="1" c:width="2" c:x="12" c:y="7"
+ block="blk" field="fldLocFloor" focusorder="7" label=""/>
+ <label name="lblDoor:" c:height="1" c:width="9" c:x="1" c:y="8"
+ text="Door:"/>
+ <entry name="entDoor" c:height="1" c:width="4" c:x="12" c:y="8"
+ block="blk" field="fldLocDoor" focusorder="8" label=""/>
+ </page>
+ </layout>
+
+</form>
Copied: gnue-invoice/forms/Company-hu.gfd (from rev 202,
gnue-invoice/forms/INV_Company-hu.gfd)
Copied: gnue-invoice/forms/Company.gfd (from rev 202,
gnue-invoice/forms/INV_Company.gfd)
Copied: gnue-invoice/forms/Country-hu.gfd (from rev 201,
gnue-invoice/forms/LOC_Country-hu.gfd)
Copied: gnue-invoice/forms/Country.gfd (from rev 201,
gnue-invoice/forms/LOC_Country.gfd)
Copied: gnue-invoice/forms/Head-hu.gfd (from rev 202,
gnue-invoice/forms/INV_Head-hu.gfd)
===================================================================
--- gnue-invoice/forms/INV_Head-hu.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/Head-hu.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -0,0 +1,273 @@
+<?xml version="1.0" encoding="iso8859-2"?>
+
+<!-- BILLING_Head Hungarian Form
+
+ 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$ -->
+
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Sz�mla">
+ <trigger type="On-Startup">
+ form.setFeature('GUI:MENUBAR:SUPPRESS', True)
+ form.setFeature('GUI:TOOLBAR:SUPPRESS', True)
+ form.setFeature('GUI:STATUSBAR:SUPPRESS', True)
+
+ blkFree.img.set("goatcomp2.png")
+ </trigger>
+
+ <options/>
+
+ <!--*****************************************************
+ Datasources
+ ******************************************************-->
+ <datasource name="dts" connection="invoice" table="BILLING_Head"/>
+ <datasource name="dts_ORG_OrgBuyer" connection="invoice" prequery="Y"
+ table="ORG_Org"/>
+ <datasource name="dts_BILLING_PaymentMethod" connection="invoice"
prequery="Y"
+ table="BILLING_PaymentMethod"/>
+ <datasource name="dtsBILLING_Item" connection="invoice"
detaillink="BILLING_Head"
+ master="dts" masterlink="gnue_id" table="BILLING_Item"/>
+ <datasource name="dts_ITEM_Item" connection="invoice" prequery="Y"
+ table="ITEM_Item"/>
+ <datasource name="dtsITEM_Item" connection="invoice" table="ITEM_Item"/>
+ <datasource name="dtsSeller" connection="invoice" table="BILLING_Company"
+ prequery="True"/>
+
+
+ <logic>
+ <!--***************************************************
+ Invoice head
+ ****************************************************-->
+ <block name="blkHead" datasource="dts">
+ <field name="fldNumber" field="BILLING_number"
maxLength="20"
+ readonly="Y"/>
+ <field name="fldBuyer" field="BILLING_buyer"
maxLength="32"
+ fk_source="dts_ORG_OrgBuyer" fk_key="gnue_id"
+ fk_description="ORG_shortName"/>
+ <field name="fldPaymentmeth" field="BILLING_paymentMethod"
maxLength="32"
+ fk_source="dts_BILLING_PaymentMethod" fk_key="gnue_id"
+ fk_description="BILLING_name">
+<!--
+ <trigger type="POST-CHANGE" name="postchange" src="calcDueDate"/>
+-->
+ </field>
+ <field name="fldDatedelivery" field="BILLING_dateDelivery"
maxLength="10"
+ typecast="date"/>
+ <field name="fldDateissued" field="BILLING_dateIssued"
maxLength="10"
+ typecast="date">
+<!--
+ <trigger type="POST-CHANGE" name="postchange" src="calcDueDate"/>
+-->
+ </field>
+ <field name="fldDatedue" field="BILLING_dateDue"
maxLength="10"
+ typecast="date"/>
+ <field name="fldNote" field="BILLING_note"
maxLength="255"/>
+ <field name="fldPrinted" field="BILLING_printed"
maxLength="3"
+ readonly="Y" typecast="number"/>
+ <field name="fldTotalGross" field="BILLING_totalGross" maxLength="10"
+ typecast="number"/>
+ </block>
+
+
+ <!--***************************************************
+ Invoice items (lines)
+ ****************************************************-->
+ <block name="blkItem" datasource="dtsBILLING_item" rows="5"
+ autoCreate="Y" autoNextRecord="Y">
+ <field name="fldHead" field="BILLING_head"
maxLength="32"/>
+ <field name="fldProduct" field="BILLING_product"
maxLength="32"
+ fk_source="dts_ITEM_Item" fk_key="gnue_id"
+ fk_description="ITEM_shortName"/>
+ <field name="fldProductPrice" field="BILLING_product"
+ fk_source="dts_ITEM_Item" fk_key="gnue_id"
+ fk_description="SALES_price" readonly="Y" />
+ <field name="fldQuantity" field="BILLING_quantity"
maxLength="10"
+ typecast="number" >
+ <!--Count invoice total -->
+ <trigger type="POST-CHANGE" name="onchange">
+ #Calling a calculated property will cause it to refresh
+ blkItem.call("BILLING_getvalueGross", {})
+ blkHead.call("BILLING_gettotalGross", {})
+ #blkItem.update()
+ #blkHead.update()
+ </trigger>
+ </field>
+ <field name="fldUnit" field="BILLING_product"
+ fk_source="dts_ITEM_Item" fk_key="gnue_id"
+ fk_description="ITEM_unit.ITEM_value" readonly="Y" />
+ <field name="fldValueGross" field="BILLING_valueGross"
+ typecast="number" readonly="Y"/>
+ <field name="fldNote" field="BILLING_note"
maxLength="255"/>
+ </block>
+
+ <block name="blkSeller" datasource="dtsSeller">
+ <field name="fldNumPrint" field="BILLING_numPrint"
maxLength="10"
+ readonly="Y" typecast="number"/>
+ </block>
+
+ <!--***************************************************
+ Block used for displaying wee luvly goat
+ ****************************************************-->
+ <block name="blkFree">
+ <field name="img" field="fldImg"/>
+ </block>
+
+ </logic>
+
+
+ <!--*****************************************************
+ Form layout
+ ******************************************************-->
+ <layout c:height="18" c:width="70">
+ <page>
+ <image name="imgURL" c:height="4" c:width="12" c:x="58" c:y="0"
+ block="blkFree" field="img" fit="both"/>
+ <label name="lblNumber" c:height="1" c:width="10" c:x="1" c:y="1"
+ text="Szla.sz�m:"/>
+ <entry name="entNumber" c:height="1" c:width="20" c:x="16" c:y="1"
+ block="blkHead" field="fldNumber" style="label"/>
+ <label name="lblBuyer" c:height="1" c:width="5" c:x="1" c:y="2"
+ text="Vev�:"/>
+ <entry name="entBuyer" c:height="1" c:width="28" c:x="16" c:y="2"
+ block="blkHead" field="fldBuyer" style="dropdown"/>
+ <button name="btnEditBuyer" c:height="1" c:width="11" c:x="44" c:y="2"
+ label="M�dos�t...">
+ <trigger type="ON-ACTION" name="btnEditBuyerTrigger">
+ params = {'id': blkHead.fldBuyer.get() or ''}
+ form.runForm('Org-hu.gfd', params)
+ blkHead.fldBuyer.resetForeignKey()
+ </trigger>
+ </button>
+ <label name="lblPaymentmethod" c:height="1" c:width="13" c:x="1" c:y="3"
+ text="Fizet�si m�d:"/>
+ <entry name="entPaymentmeth" c:height="1" c:width="28" c:x="16" c:y="3"
+ block="blkHead" field="fldPaymentmeth" style="dropdown"/>
+ <button name="btnEditPaymMeth" c:height="1" c:width="11" c:x="44" c:y="3"
+ label="M�dos�t...">
+ <trigger type="ON-ACTION" name="btnEditPaymentMethodTrigger">
+ params = {'id': blkHead.fldPaymentmeth.get() or ''}
+ form.runForm('PaymentMethod-hu.gfd', params)
+ blkHead.fldPaymentmeth.resetForeignKey()
+ </trigger>
+ </button>
+ <label name="lblDateissued" c:height="1" c:width="11" c:x="1" c:y="4"
+ text="Kibocs�t�s:"/>
+ <entry name="entDateIssued" c:height="1" c:width="10" c:x="16" c:y="4"
+ block="blkHead" field="fldDateissued" />
+ <label name="lblDatedue" c:height="1" c:width="8" c:x="27" c:y="4"
+ text="Hat.id�:"/>
+ <entry name="entDatedue" c:height="1" c:width="10" c:x="35" c:y="4"
+ block="blkHead" field="fldDatedue" />
+ <label name="lblDatedelivery" c:height="1" c:width="11" c:x="46" c:y="4"
+ text="Teljes�t�s:"/>
+ <entry name="entDatedelivery" c:height="1" c:width="10" c:x="59" c:y="4"
+ block="blkHead" field="fldDatedelivery" />
+ <label name="lblNote" c:height="1" c:width="11" c:x="1" c:y="5"
+ text="Megjegyz�s:"/>
+ <entry name="entNote" c:height="1" c:width="53" c:x="16" c:y="5"
+ block="blkHead" field="fldNote" />
+ <label name="lblPrinted" c:height="1" c:width="10" c:x="1" c:y="6"
+ text="Nyomtatva:"/>
+ <entry name="entPrinted" c:height="1" c:width="3" c:x="16" c:y="6"
+ block="blkHead" field="fldPrinted" style="label"/>
+ <label name="lblTotalGross" c:height="1" c:width="12" c:x="1" c:y="7"
+ text="Sz�mla�rt�k:"/>
+ <entry name="entTotalGross" c:height="1" c:width="10" c:x="16" c:y="7"
+ block="blkHead" field="fldTotalGross" style="label"/>
+
+ <box name="BoxItem" c:height="8" c:width="69" c:x="1" c:y="8"
+ label="�rucikkek/Szolg�ltat�sok"/>
+ <button name="btnEditItem" c:height="1" c:width="11" c:x="11" c:y="9"
+ label="M�dos�t...">
+ <trigger type="ON-ACTION" name="btnEditItemTrigger">
+ params = {'id': blkItem.fldProduct.get() or ''}
+ form.runForm('Item-hu.gfd', params)
+ blkItem.fldProduct.resetForeignKey()
+ </trigger>
+ </button>
+
+ <label name="lblProduct" c:height="1" c:width="4" c:x="2" c:y="9"
+ text="Cikk"/>
+ <label name="lblItemPrice" c:height="1" c:width="7" c:x="23" c:y="9"
+ text="Egys.�r"/>
+ <label name="lblQuantity" c:height="1" c:width="6" c:x="30" c:y="9"
+ text="Menny."/>
+ <label name="lblItemUnit" c:height="1" c:width="5" c:x="37" c:y="9"
+ text="Egys."/>
+ <label name="lblItemPriceTotal" c:height="1" c:width="5" c:x="44" c:y="9"
+ text="�rt�k"/>
+ <label name="lblItemNote" c:height="1" c:width="5" c:x="55" c:y="9"
+ text="Megj."/>
+ <entry name="entProduct" c:height="1" c:width="20" c:x="2" c:y="10"
+ block="blkItem" field="fldProduct" style="dropdown" />
+ <entry name="entItemPrice" c:height="1" c:width="6" c:x="23" c:y="10"
+ block="blkItem" field="fldProductPrice" style="label" />
+ <entry name="entQuantity" c:height="1" c:width="5" c:x="30" c:y="10"
+ block="blkItem" field="fldQuantity"/>
+ <entry name="entItemUnit" c:height="1" c:width="5" c:x="36" c:y="10"
+ block="blkItem" field="fldUnit" style="label" />
+ <entry name="entItemPriceTotal" c:height="1" c:width="10" c:x="44"
c:y="10"
+ block="blkItem" field="fldValueGross" style="label" />
+ <entry name="entItemNote" c:height="1" c:width="14" c:x="55" c:y="10"
+ block="blkItem" field="fldNote" />
+
+ <button c:x="1" c:y="17" c:width="10" c:height="1" label="Ok">
+ <trigger type="ON-ACTION" src="saveAll" />
+ </button>
+ <button c:x="12" c:y="17" c:width="10" c:height="1" label="M�gsem">
+ <trigger type="ON-ACTION" src="revertAll" />
+ </button>
+
+ </page>
+ </layout>
+
+
+ <!--*****************************************************
+ Named triggers
+ ******************************************************-->
+ <trigger name="calcDueDate" type="NAMED">
+ blkHead.call("BILLING_calcDateDue", {})
+ </trigger>
+
+ <trigger name="saveAll" type="NAMED">
+ if not blkItem.isSaved():
+ print "Cikk nincs mentve, ment�s..."
+ commit()
+ if not blkHead.isSaved():
+ print "Sz�mlafej nincs mentve, ment�s..."
+ commit()
+
+ blkHead.update () #HACK
+ invNumber = blkHead.fldNumber.get()
+ toPrint = blkSeller.fldNumPrint.get()
+ for i in range(toPrint):
+ print "%i. sz�mlap�ld�ny nyomtat�sa" % (i + 1)
+ blkHead.fldPrinted.set(i + 1)
+ commit() #HACK
+ runReport('../reports/invoice-hu.grd', {'BILLING_number': invNumber})
+ close()
+ </trigger>
+
+ <trigger name="revertAll" type="NAMED">
+ rollback()
+ close()
+ </trigger>
+
+</form>
Copied: gnue-invoice/forms/Head.gfd (from rev 202,
gnue-invoice/forms/INV_Head.gfd)
===================================================================
--- gnue-invoice/forms/INV_Head.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/Head.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -0,0 +1,272 @@
+<?xml version="1.0" encoding="iso8859-1"?>
+
+<!-- BILLING_Head Form
+
+ 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$ -->
+
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Invoice">
+ <trigger type="On-Startup">
+ form.setFeature('GUI:MENUBAR:SUPPRESS', True)
+ form.setFeature('GUI:TOOLBAR:SUPPRESS', True)
+ form.setFeature('GUI:STATUSBAR:SUPPRESS', True)
+
+ blkFree.img.set("goatcomp2.png")
+ </trigger>
+
+ <options/>
+
+ <!--*****************************************************
+ Datasources
+ ******************************************************-->
+ <datasource name="dts" connection="invoice" table="BILLING_Head"/>
+ <datasource name="dts_ORG_OrgBuyer" connection="invoice" prequery="Y"
+ table="ORG_Org"/>
+ <datasource name="dts_BILLING_PaymentMethod" connection="invoice"
prequery="Y"
+ table="BILLING_PaymentMethod"/>
+ <datasource name="dtsBILLING_Item" connection="invoice"
detaillink="BILLING_Head"
+ master="dts" masterlink="gnue_id" table="BILLING_Item"/>
+ <datasource name="dts_ITEM_Item" connection="invoice" prequery="Y"
+ table="ITEM_Item"/>
+ <datasource name="dtsITEM_Item" connection="invoice" table="ITEM_Item"/>
+ <datasource name="dtsSeller" connection="invoice" table="BILLING_Company"
+ prequery="True"/>
+
+
+ <logic>
+ <!--***************************************************
+ Invoice head
+ ****************************************************-->
+ <block name="blkHead" datasource="dts">
+ <field name="fldNumber" field="BILLING_number"
maxLength="20"
+ readonly="Y"/>
+ <field name="fldBuyer" field="BILLING_buyer"
maxLength="32"
+ fk_source="dts_ORG_OrgBuyer" fk_key="gnue_id"
+ fk_description="ORG_shortName"/>
+ <field name="fldPaymentmeth" field="BILLING_paymentMethod"
maxLength="32"
+ fk_source="dts_BILLING_PaymentMethod" fk_key="gnue_id"
+ fk_description="BILLING_name">
+<!--
+ <trigger type="POST-CHANGE" name="postchange" src="calcDueDate"/>
+-->
+ </field>
+ <field name="fldDatedelivery" field="BILLING_dateDelivery"
maxLength="10"
+ typecast="date"/>
+ <field name="fldDateissued" field="BILLING_dateIssued"
maxLength="10"
+ typecast="date">
+<!--
+ <trigger type="POST-CHANGE" name="postchange" src="calcDueDate"/>
+-->
+ </field>
+ <field name="fldDatedue" field="BILLING_dateDue"
maxLength="10"
+ typecast="date"/>
+ <field name="fldNote" field="BILLING_note"
maxLength="255"/>
+ <field name="fldPrinted" field="BILLING_printed"
maxLength="3"
+ readonly="Y" typecast="number"/>
+ <field name="fldTotalGross" field="BILLING_totalGross" maxLength="10"
+ typecast="number"/>
+ </block>
+
+
+ <!--***************************************************
+ Invoice items (lines)
+ ****************************************************-->
+ <block name="blkItem" datasource="dtsBILLING_item" rows="5"
+ autoCreate="Y" autoNextRecord="Y">
+ <field name="fldHead" field="BILLING_head"
maxLength="32"/>
+ <field name="fldProduct" field="BILLING_product"
maxLength="32"
+ fk_source="dts_ITEM_Item" fk_key="gnue_id"
+ fk_description="ITEM_shortName"/>
+ <field name="fldProductPrice" field="BILLING_product"
+ fk_source="dts_ITEM_Item" fk_key="gnue_id"
+ fk_description="SALES_price" readonly="Y" />
+ <field name="fldQuantity" field="BILLING_quantity"
maxLength="10"
+ typecast="number" >
+ <!--Count invoice total -->
+ <trigger type="POST-CHANGE" name="onchange">
+ #Calling a calculated property will cause it to refresh
+ blkItem.call("BILLING_getvalueGross", {})
+ blkHead.call("BILLING_gettotalGross", {})
+ #blkItem.update()
+ #blkHead.update()
+ </trigger>
+ </field>
+ <field name="fldUnit" field="BILLING_product"
+ fk_source="dts_ITEM_Item" fk_key="gnue_id"
+ fk_description="ITEM_unit.ITEM_value" readonly="Y" />
+ <field name="fldValueGross" field="BILLING_valueGross"
+ typecast="number" readonly="Y"/>
+ <field name="fldNote" field="BILLING_note"
maxLength="255"/>
+ </block>
+
+ <block name="blkSeller" datasource="dtsSeller">
+ <field name="fldNumPrint" field="BILLING_numPrint"
maxLength="10"
+ readonly="Y" typecast="number"/>
+ </block>
+
+ <!--***************************************************
+ Block used for displaying wee luvly goat
+ ****************************************************-->
+ <block name="blkFree">
+ <field name="img" field="fldImg"/>
+ </block>
+
+ </logic>
+
+
+ <!--*****************************************************
+ Form layout
+ ******************************************************-->
+ <layout c:height="18" c:width="70">
+ <page>
+ <image name="imgURL" c:height="4" c:width="12" c:x="58" c:y="0"
+ block="blkFree" field="img" fit="both"/>
+ <label name="lblNumber:" c:height="1" c:width="7" c:x="1" c:y="1"
+ text="Number:"/>
+ <entry name="entNumber" c:height="1" c:width="20" c:x="16" c:y="1"
+ block="blkHead" field="fldNumber" style="label"/>
+ <label name="lblBuyer:" c:height="1" c:width="6" c:x="1" c:y="2"
+ text="Buyer:"/>
+ <entry name="entBuyer" c:height="1" c:width="28" c:x="16" c:y="2"
+ block="blkHead" field="fldBuyer" style="dropdown"/>
+ <button name="btnEditBuyer" c:height="1" c:width="7" c:x="44" c:y="2"
+ label="Edit...">
+ <trigger type="ON-ACTION" name="btnEditBuyerTrigger">
+ params = {'id': blkHead.fldBuyer.get() or ''}
+ form.runForm('Org.gfd', params)
+ blkHead.fldBuyer.resetForeignKey()
+ </trigger>
+ </button>
+ <label name="lblPaymentmethod:" c:height="1" c:width="15" c:x="1" c:y="3"
+ text="Payment method:"/>
+ <entry name="entPaymentmeth" c:height="1" c:width="28" c:x="16" c:y="3"
+ block="blkHead" field="fldPaymentmeth" style="dropdown"/>
+ <button name="btnEditPaymMeth" c:height="1" c:width="7" c:x="44" c:y="3"
+ label="Edit...">
+ <trigger type="ON-ACTION" name="btnEditPaymentMethodTrigger">
+ params = {'id': blkHead.fldPaymentmeth.get() or ''}
+ form.runForm('PaymentMethod.gfd', params)
+ blkHead.fldPaymentmeth.resetForeignKey()
+ </trigger>
+ </button>
+ <label name="lblDateissued:" c:height="1" c:width="12" c:x="1" c:y="4"
+ text="Date issued:"/>
+ <entry name="entDateIssued" c:height="1" c:width="10" c:x="16" c:y="4"
+ block="blkHead" field="fldDateissued" />
+ <label name="lblDatedue:" c:height="1" c:width="7" c:x="27" c:y="4"
+ text="Due by:"/>
+ <entry name="entDatedue" c:height="1" c:width="10" c:x="35" c:y="4"
+ block="blkHead" field="fldDatedue" />
+ <label name="lblDatedelivery:" c:height="1" c:width="14" c:x="46" c:y="4"
+ text="Delivery by:"/>
+ <entry name="entDatedelivery" c:height="1" c:width="10" c:x="59" c:y="4"
+ block="blkHead" field="fldDatedelivery" />
+ <label name="lblNote:" c:height="1" c:width="5" c:x="1" c:y="5"
text="Note:"/>
+ <entry name="entNote" c:height="1" c:width="53" c:x="16" c:y="5"
+ block="blkHead" field="fldNote" />
+ <label name="lblPrinted:" c:height="1" c:width="8" c:x="1" c:y="6"
+ text="Printed:"/>
+ <entry name="entPrinted" c:height="1" c:width="3" c:x="16" c:y="6"
+ block="blkHead" field="fldPrinted" style="label"/>
+ <label name="lblTotalGross:" c:height="1" c:width="12" c:x="1" c:y="7"
+ text="Value total:"/>
+ <entry name="entTotalGross" c:height="1" c:width="10" c:x="16" c:y="7"
+ block="blkHead" field="fldTotalGross" style="label"/>
+
+ <box name="BoxItem" c:height="8" c:width="69" c:x="1" c:y="8"
+ label="Items"/>
+ <button name="btnEditItem" c:height="1" c:width="7" c:x="14" c:y="9"
+ label="Edit...">
+ <trigger type="ON-ACTION" name="btnEditItemTrigger">
+ params = {'id': blkItem.fldProduct.get() or ''}
+ form.runForm('Item.gfd', params)
+ blkItem.fldProduct.resetForeignKey()
+ </trigger>
+ </button>
+
+ <label name="lblProduct:" c:height="1" c:width="20" c:x="2" c:y="9"
+ text="Product"/>
+ <label name="lblItemPrice:" c:height="1" c:width="6" c:x="23" c:y="9"
+ text="Price"/>
+ <label name="lblQuantity:" c:height="1" c:width="5" c:x="30" c:y="9"
+ text="Qty."/>
+ <label name="lblItemUnit:" c:height="1" c:width="5" c:x="36" c:y="9"
+ text="Unit"/>
+ <label name="lblItemPriceTotal:" c:height="1" c:width="10" c:x="44"
c:y="9"
+ text="Value"/>
+ <label name="lblItemNote:" c:height="1" c:width="10" c:x="55" c:y="9"
+ text="Note"/>
+ <entry name="entProduct" c:height="1" c:width="20" c:x="2" c:y="10"
+ block="blkItem" field="fldProduct" style="dropdown" />
+ <entry name="entItemPrice" c:height="1" c:width="6" c:x="23" c:y="10"
+ block="blkItem" field="fldProductPrice" style="label" />
+ <entry name="entQuantity" c:height="1" c:width="5" c:x="30" c:y="10"
+ block="blkItem" field="fldQuantity"/>
+ <entry name="entItemUnit" c:height="1" c:width="5" c:x="36" c:y="10"
+ block="blkItem" field="fldUnit" style="label" />
+ <entry name="entItemPriceTotal" c:height="1" c:width="10" c:x="44"
c:y="10"
+ block="blkItem" field="fldValueGross" style="label" />
+ <entry name="entItemNote" c:height="1" c:width="14" c:x="55" c:y="10"
+ block="blkItem" field="fldNote" />
+
+ <button c:x="1" c:y="17" c:width="10" c:height="1" label="Ok">
+ <trigger type="ON-ACTION" src="saveAll" />
+ </button>
+ <button c:x="12" c:y="17" c:width="10" c:height="1" label="Cancel">
+ <trigger type="ON-ACTION" src="revertAll" />
+ </button>
+
+ </page>
+ </layout>
+
+
+ <!--*****************************************************
+ Named triggers
+ ******************************************************-->
+ <trigger name="calcDueDate" type="NAMED">
+ blkHead.call("BILLING_calcDateDue", {})
+ </trigger>
+
+ <trigger name="saveAll" type="NAMED">
+ if not blkItem.isSaved():
+ print "Item not saved, saving..."
+ commit()
+ if not blkHead.isSaved():
+ print "Head not saved, saving..."
+ commit()
+
+ blkHead.update () #HACK
+ invNumber = blkHead.fldNumber.get()
+ toPrint = blkSeller.fldNumPrint.get()
+ for i in range(toPrint):
+ print "Printing invoice #%i" % (i + 1)
+ blkHead.fldPrinted.set(i + 1)
+ commit() #HACK
+ runReport('../reports/invoice.grd', {'BILLING_number': invNumber})
+ close()
+ </trigger>
+
+ <trigger name="revertAll" type="NAMED">
+ rollback()
+ close()
+ </trigger>
+
+</form>
Deleted: gnue-invoice/forms/INV_Company-hu.gfd
===================================================================
--- gnue-invoice/forms/INV_Company-hu.gfd 2005-01-16 16:16:02 UTC (rev
202)
+++ gnue-invoice/forms/INV_Company-hu.gfd 2005-01-16 22:28:18 UTC (rev
203)
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="iso8859-2"?>
-
-<!--
-
- 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$-->
-
-<form title="C�g">
- <options/>
-
- <datasource name="dts" connection="invoice" table="BILLING_Company"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldCode" field="BILLING_code" maxLength="8"/>
- <field name="fldName" field="BILLING_name" maxLength="35"/>
- <field name="fldAddr1" field="BILLING_addr1" maxLength="35"/>
- <field name="fldAddr2" field="BILLING_addr2" maxLength="35"/>
- <field name="fldAddr3" field="BILLING_addr3" maxLength="35"/>
- <field name="fldTaxid" field="BILLING_taxID" maxLength="35"/>
- <field name="fldCurrency" field="BILLING_currency" maxLength="3"/>
- <field name="fldNumprint" field="BILLING_numPrint" maxLength="2"
- typecast="number"/>
- </block>
- </logic>
-
- <layout xmlns:c="GNUe:Layout:Char" c:height="10" c:width="51">
- <page>
- <label name="lblCode" c:height="1" c:width="4" c:x="1" c:y="1"
- text="K�d:"/>
- <entry name="entCode" c:height="1" c:width="8" c:x="15" c:y="1"
- block="blk" field="fldCode"/>
- <label name="lblName" c:height="1" c:width="4" c:x="1" c:y="2"
- text="N�v:"/>
- <entry name="entName" c:height="1" c:width="35" c:x="15" c:y="2"
- block="blk" field="fldName"/>
- <label name="lblAddr1" c:height="1" c:width="5" c:x="1" c:y="3"
- text="C�m1:"/>
- <entry name="entAddr1" c:height="1" c:width="35" c:x="15" c:y="3"
- block="blk" field="fldAddr1"/>
- <label name="lblAddr2" c:height="1" c:width="5" c:x="1" c:y="4"
- text="C�m2:"/>
- <entry name="entAddr2" c:height="1" c:width="35" c:x="15" c:y="4"
- block="blk" field="fldAddr2"/>
- <label name="lblAddr3" c:height="1" c:width="5" c:x="1" c:y="5"
- text="C�m3:"/>
- <entry name="entAddr3" c:height="1" c:width="35" c:x="15" c:y="5"
- block="blk" field="fldAddr3"/>
- <label name="lblTaxid" c:height="1" c:width="8" c:x="1" c:y="6"
- text="Ad�sz�m:"/>
- <entry name="entTaxid" c:height="1" c:width="35" c:x="15" c:y="6"
- block="blk" field="fldTaxid"/>
- <label name="lblCurrency" c:height="1" c:width="10" c:x="1" c:y="7"
- text="Valutanem:"/>
- <entry name="entCurrency" c:height="1" c:width="3" c:x="15" c:y="7"
- block="blk" field="fldCurrency"/>
- <label name="lblNumprint" c:height="1" c:width="12" c:x="1" c:y="8"
- text="Nyomtatand�:"/>
- <entry name="entNumprint" c:height="1" c:width="2" c:x="15" c:y="8"
- block="blk" field="fldNumprint"/>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/INV_Company.gfd
===================================================================
--- gnue-invoice/forms/INV_Company.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/INV_Company.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- Module
-
- 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$-->
-
-<form title="Company">
- <options/>
-
- <datasource name="dts" connection="invoice" table="BILLING_Company"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldCode" field="BILLING_code" maxLength="8"/>
- <field name="fldName" field="BILLING_name" maxLength="35"/>
- <field name="fldAddr1" field="BILLING_addr1" maxLength="35"/>
- <field name="fldAddr2" field="BILLING_addr2" maxLength="35"/>
- <field name="fldAddr3" field="BILLING_addr3" maxLength="35"/>
- <field name="fldTaxid" field="BILLING_taxID" maxLength="35"/>
- <field name="fldCurrency" field="BILLING_currency" maxLength="3"/>
- <field name="fldNumprint" field="BILLING_numPrint" maxLength="2"
- typecast="number"/>
- </block>
- </logic>
-
- <layout xmlns:c="GNUe:Layout:Char" c:height="10" c:width="51">
- <page>
- <label name="lblCode" c:height="1" c:width="9" c:x="1" c:y="1"
- text="Code:"/>
- <entry name="entCode" c:height="1" c:width="8" c:x="15" c:y="1"
- block="blk" field="fldCode"/>
- <label name="lblName" c:height="1" c:width="9" c:x="1" c:y="2"
- text="Name:"/>
- <entry name="entName" c:height="1" c:width="35" c:x="15" c:y="2"
- block="blk" field="fldName"/>
- <label name="lblAddr1" c:height="1" c:width="10" c:x="1" c:y="3"
- text="Addr1:"/>
- <entry name="entAddr1" c:height="1" c:width="35" c:x="15" c:y="3"
- block="blk" field="fldAddr1"/>
- <label name="lblAddr2" c:height="1" c:width="10" c:x="1" c:y="4"
- text="Addr2:"/>
- <entry name="entAddr2" c:height="1" c:width="35" c:x="15" c:y="4"
- block="blk" field="fldAddr2"/>
- <label name="lblAddr3" c:height="1" c:width="10" c:x="1" c:y="5"
- text="Addr3:"/>
- <entry name="entAddr3" c:height="1" c:width="35" c:x="15" c:y="5"
- block="blk" field="fldAddr3"/>
- <label name="lblTaxid" c:height="1" c:width="10" c:x="1" c:y="6"
- text="Taxid:"/>
- <entry name="entTaxid" c:height="1" c:width="35" c:x="15" c:y="6"
- block="blk" field="fldTaxid"/>
- <label name="lblCurrency" c:height="1" c:width="13" c:x="1" c:y="7"
- text="Currency:"/>
- <entry name="entCurrency" c:height="1" c:width="3" c:x="15" c:y="7"
- block="blk" field="fldCurrency"/>
- <label name="lblNumprint" c:height="1" c:width="13" c:x="1" c:y="8"
- text="Numprint:"/>
- <entry name="entNumprint" c:height="1" c:width="2" c:x="15" c:y="8"
- block="blk" field="fldNumprint"/>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/INV_Head-hu.gfd
===================================================================
--- gnue-invoice/forms/INV_Head-hu.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/INV_Head-hu.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,273 +0,0 @@
-<?xml version="1.0" encoding="iso8859-2"?>
-
-<!-- BILLING_Head Hungarian Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Sz�mla">
- <trigger type="On-Startup">
- form.setFeature('GUI:MENUBAR:SUPPRESS', True)
- form.setFeature('GUI:TOOLBAR:SUPPRESS', True)
- form.setFeature('GUI:STATUSBAR:SUPPRESS', True)
-
- blkFree.img.set("goatcomp2.png")
- </trigger>
-
- <options/>
-
- <!--*****************************************************
- Datasources
- ******************************************************-->
- <datasource name="dts" connection="invoice" table="BILLING_Head"/>
- <datasource name="dts_ORG_OrgBuyer" connection="invoice" prequery="Y"
- table="ORG_Org"/>
- <datasource name="dts_BILLING_PaymentMethod" connection="invoice"
prequery="Y"
- table="BILLING_PaymentMethod"/>
- <datasource name="dtsBILLING_Item" connection="invoice"
detaillink="BILLING_Head"
- master="dts" masterlink="gnue_id" table="BILLING_Item"/>
- <datasource name="dts_ITEM_Item" connection="invoice" prequery="Y"
- table="ITEM_Item"/>
- <datasource name="dtsITEM_Item" connection="invoice" table="ITEM_Item"/>
- <datasource name="dtsSeller" connection="invoice" table="BILLING_Company"
- prequery="True"/>
-
-
- <logic>
- <!--***************************************************
- Invoice head
- ****************************************************-->
- <block name="blkHead" datasource="dts">
- <field name="fldNumber" field="BILLING_number"
maxLength="20"
- readonly="Y"/>
- <field name="fldBuyer" field="BILLING_buyer"
maxLength="32"
- fk_source="dts_ORG_OrgBuyer" fk_key="gnue_id"
- fk_description="ORG_shortName"/>
- <field name="fldPaymentmeth" field="BILLING_paymentMethod"
maxLength="32"
- fk_source="dts_BILLING_PaymentMethod" fk_key="gnue_id"
- fk_description="BILLING_name">
-<!--
- <trigger type="POST-CHANGE" name="postchange" src="calcDueDate"/>
--->
- </field>
- <field name="fldDatedelivery" field="BILLING_dateDelivery"
maxLength="10"
- typecast="date"/>
- <field name="fldDateissued" field="BILLING_dateIssued"
maxLength="10"
- typecast="date">
-<!--
- <trigger type="POST-CHANGE" name="postchange" src="calcDueDate"/>
--->
- </field>
- <field name="fldDatedue" field="BILLING_dateDue"
maxLength="10"
- typecast="date"/>
- <field name="fldNote" field="BILLING_note"
maxLength="255"/>
- <field name="fldPrinted" field="BILLING_printed"
maxLength="3"
- readonly="Y" typecast="number"/>
- <field name="fldTotalGross" field="BILLING_totalGross" maxLength="10"
- typecast="number"/>
- </block>
-
-
- <!--***************************************************
- Invoice items (lines)
- ****************************************************-->
- <block name="blkItem" datasource="dtsBILLING_item" rows="5"
- autoCreate="Y" autoNextRecord="Y">
- <field name="fldHead" field="BILLING_head"
maxLength="32"/>
- <field name="fldProduct" field="BILLING_product"
maxLength="32"
- fk_source="dts_ITEM_Item" fk_key="gnue_id"
- fk_description="ITEM_shortName"/>
- <field name="fldProductPrice" field="BILLING_product"
- fk_source="dts_ITEM_Item" fk_key="gnue_id"
- fk_description="SALES_price" readonly="Y" />
- <field name="fldQuantity" field="BILLING_quantity"
maxLength="10"
- typecast="number" >
- <!--Count invoice total -->
- <trigger type="POST-CHANGE" name="onchange">
- #Calling a calculated property will cause it to refresh
- blkItem.call("BILLING_getvalueGross", {})
- blkHead.call("BILLING_gettotalGross", {})
- #blkItem.update()
- #blkHead.update()
- </trigger>
- </field>
- <field name="fldUnit" field="BILLING_product"
- fk_source="dts_ITEM_Item" fk_key="gnue_id"
- fk_description="ITEM_unit.ITEM_value" readonly="Y" />
- <field name="fldValueGross" field="BILLING_valueGross"
- typecast="number" readonly="Y"/>
- <field name="fldNote" field="BILLING_note"
maxLength="255"/>
- </block>
-
- <block name="blkSeller" datasource="dtsSeller">
- <field name="fldNumPrint" field="BILLING_numPrint"
maxLength="10"
- readonly="Y" typecast="number"/>
- </block>
-
- <!--***************************************************
- Block used for displaying wee luvly goat
- ****************************************************-->
- <block name="blkFree">
- <field name="img" field="fldImg"/>
- </block>
-
- </logic>
-
-
- <!--*****************************************************
- Form layout
- ******************************************************-->
- <layout c:height="18" c:width="70">
- <page>
- <image name="imgURL" c:height="4" c:width="12" c:x="58" c:y="0"
- block="blkFree" field="img" fit="both"/>
- <label name="lblNumber" c:height="1" c:width="10" c:x="1" c:y="1"
- text="Szla.sz�m:"/>
- <entry name="entNumber" c:height="1" c:width="20" c:x="16" c:y="1"
- block="blkHead" field="fldNumber" style="label"/>
- <label name="lblBuyer" c:height="1" c:width="5" c:x="1" c:y="2"
- text="Vev�:"/>
- <entry name="entBuyer" c:height="1" c:width="28" c:x="16" c:y="2"
- block="blkHead" field="fldBuyer" style="dropdown"/>
- <button name="btnEditBuyer" c:height="1" c:width="11" c:x="44" c:y="2"
- label="M�dos�t...">
- <trigger type="ON-ACTION" name="btnEditBuyerTrigger">
- params = {'id': blkHead.fldBuyer.get() or ''}
- form.runForm('ORG_Org-hu.gfd', params)
- blkHead.fldBuyer.resetForeignKey()
- </trigger>
- </button>
- <label name="lblPaymentmethod" c:height="1" c:width="13" c:x="1" c:y="3"
- text="Fizet�si m�d:"/>
- <entry name="entPaymentmeth" c:height="1" c:width="28" c:x="16" c:y="3"
- block="blkHead" field="fldPaymentmeth" style="dropdown"/>
- <button name="btnEditPaymMeth" c:height="1" c:width="11" c:x="44" c:y="3"
- label="M�dos�t...">
- <trigger type="ON-ACTION" name="btnEditPaymentMethodTrigger">
- params = {'id': blkHead.fldPaymentmeth.get() or ''}
- form.runForm('BILLING_PaymentMethod-hu.gfd', params)
- blkHead.fldPaymentmeth.resetForeignKey()
- </trigger>
- </button>
- <label name="lblDateissued" c:height="1" c:width="11" c:x="1" c:y="4"
- text="Kibocs�t�s:"/>
- <entry name="entDateIssued" c:height="1" c:width="10" c:x="16" c:y="4"
- block="blkHead" field="fldDateissued" />
- <label name="lblDatedue" c:height="1" c:width="8" c:x="27" c:y="4"
- text="Hat.id�:"/>
- <entry name="entDatedue" c:height="1" c:width="10" c:x="35" c:y="4"
- block="blkHead" field="fldDatedue" />
- <label name="lblDatedelivery" c:height="1" c:width="11" c:x="46" c:y="4"
- text="Teljes�t�s:"/>
- <entry name="entDatedelivery" c:height="1" c:width="10" c:x="59" c:y="4"
- block="blkHead" field="fldDatedelivery" />
- <label name="lblNote" c:height="1" c:width="11" c:x="1" c:y="5"
- text="Megjegyz�s:"/>
- <entry name="entNote" c:height="1" c:width="53" c:x="16" c:y="5"
- block="blkHead" field="fldNote" />
- <label name="lblPrinted" c:height="1" c:width="10" c:x="1" c:y="6"
- text="Nyomtatva:"/>
- <entry name="entPrinted" c:height="1" c:width="3" c:x="16" c:y="6"
- block="blkHead" field="fldPrinted" style="label"/>
- <label name="lblTotalGross" c:height="1" c:width="12" c:x="1" c:y="7"
- text="Sz�mla�rt�k:"/>
- <entry name="entTotalGross" c:height="1" c:width="10" c:x="16" c:y="7"
- block="blkHead" field="fldTotalGross" style="label"/>
-
- <box name="BoxItem" c:height="8" c:width="69" c:x="1" c:y="8"
- label="�rucikkek/Szolg�ltat�sok"/>
- <button name="btnEditItem" c:height="1" c:width="11" c:x="11" c:y="9"
- label="M�dos�t...">
- <trigger type="ON-ACTION" name="btnEditItemTrigger">
- params = {'id': blkItem.fldProduct.get() or ''}
- form.runForm('ITEM_Item-hu.gfd', params)
- blkItem.fldProduct.resetForeignKey()
- </trigger>
- </button>
-
- <label name="lblProduct" c:height="1" c:width="4" c:x="2" c:y="9"
- text="Cikk"/>
- <label name="lblItemPrice" c:height="1" c:width="7" c:x="23" c:y="9"
- text="Egys.�r"/>
- <label name="lblQuantity" c:height="1" c:width="6" c:x="30" c:y="9"
- text="Menny."/>
- <label name="lblItemUnit" c:height="1" c:width="5" c:x="37" c:y="9"
- text="Egys."/>
- <label name="lblItemPriceTotal" c:height="1" c:width="5" c:x="44" c:y="9"
- text="�rt�k"/>
- <label name="lblItemNote" c:height="1" c:width="5" c:x="55" c:y="9"
- text="Megj."/>
- <entry name="entProduct" c:height="1" c:width="20" c:x="2" c:y="10"
- block="blkItem" field="fldProduct" style="dropdown" />
- <entry name="entItemPrice" c:height="1" c:width="6" c:x="23" c:y="10"
- block="blkItem" field="fldProductPrice" style="label" />
- <entry name="entQuantity" c:height="1" c:width="5" c:x="30" c:y="10"
- block="blkItem" field="fldQuantity"/>
- <entry name="entItemUnit" c:height="1" c:width="5" c:x="36" c:y="10"
- block="blkItem" field="fldUnit" style="label" />
- <entry name="entItemPriceTotal" c:height="1" c:width="10" c:x="44"
c:y="10"
- block="blkItem" field="fldValueGross" style="label" />
- <entry name="entItemNote" c:height="1" c:width="14" c:x="55" c:y="10"
- block="blkItem" field="fldNote" />
-
- <button c:x="1" c:y="17" c:width="10" c:height="1" label="Ok">
- <trigger type="ON-ACTION" src="saveAll" />
- </button>
- <button c:x="12" c:y="17" c:width="10" c:height="1" label="M�gsem">
- <trigger type="ON-ACTION" src="revertAll" />
- </button>
-
- </page>
- </layout>
-
-
- <!--*****************************************************
- Named triggers
- ******************************************************-->
- <trigger name="calcDueDate" type="NAMED">
- blkHead.call("BILLING_calcDateDue", {})
- </trigger>
-
- <trigger name="saveAll" type="NAMED">
- if not blkItem.isSaved():
- print "Cikk nincs mentve, ment�s..."
- commit()
- if not blkHead.isSaved():
- print "Sz�mlafej nincs mentve, ment�s..."
- commit()
-
- blkHead.update () #HACK
- invNumber = blkHead.fldNumber.get()
- toPrint = blkSeller.fldNumPrint.get()
- for i in range(toPrint):
- print "%i. sz�mlap�ld�ny nyomtat�sa" % (i + 1)
- blkHead.fldPrinted.set(i + 1)
- commit() #HACK
- runReport('../reports/invoice-hu.grd', {'BILLING_number': invNumber})
- close()
- </trigger>
-
- <trigger name="revertAll" type="NAMED">
- rollback()
- close()
- </trigger>
-
-</form>
Deleted: gnue-invoice/forms/INV_Head.gfd
===================================================================
--- gnue-invoice/forms/INV_Head.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/INV_Head.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,273 +0,0 @@
-<?xml version="1.0" encoding="iso8859-1"?>
-
-<!-- BILLING_Head Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Invoice">
- <trigger type="On-Startup">
- form.setFeature('GUI:MENUBAR:SUPPRESS', True)
- form.setFeature('GUI:TOOLBAR:SUPPRESS', True)
- form.setFeature('GUI:STATUSBAR:SUPPRESS', True)
-
- blkFree.img.set("goatcomp2.png")
- </trigger>
-
- <options/>
-
- <!--*****************************************************
- Datasources
- ******************************************************-->
- <datasource name="dts" connection="invoice" table="BILLING_Head"/>
- <datasource name="dts_ORG_OrgBuyer" connection="invoice" prequery="Y"
- table="ORG_Org"/>
- <datasource name="dts_BILLING_PaymentMethod" connection="invoice"
prequery="Y"
- table="BILLING_PaymentMethod"/>
- <datasource name="dtsBILLING_Item" connection="invoice"
detaillink="BILLING_Head"
- master="dts" masterlink="gnue_id" table="BILLING_Item"/>
- <datasource name="dts_ITEM_Item" connection="invoice" prequery="Y"
- table="ITEM_Item"/>
- <datasource name="dtsITEM_Item" connection="invoice" table="ITEM_Item"/>
- <datasource name="dtsSeller" connection="invoice" table="BILLING_Company"
- prequery="True"/>
-
-
- <logic>
- <!--***************************************************
- Invoice head
- ****************************************************-->
- <block name="blkHead" datasource="dts">
- <field name="fldNumber" field="BILLING_number"
maxLength="20"
- readonly="Y"/>
- <field name="fldBuyer" field="BILLING_buyer"
maxLength="32"
- fk_source="dts_ORG_OrgBuyer" fk_key="gnue_id"
- fk_description="ORG_shortName"/>
- <field name="fldPaymentmeth" field="BILLING_paymentMethod"
maxLength="32"
- fk_source="dts_BILLING_PaymentMethod" fk_key="gnue_id"
- fk_description="BILLING_name">
-<!--
- <trigger type="POST-CHANGE" name="postchange" src="calcDueDate"/>
--->
- </field>
- <field name="fldDatedelivery" field="BILLING_dateDelivery"
maxLength="10"
- typecast="date"/>
- <field name="fldDateissued" field="BILLING_dateIssued"
maxLength="10"
- typecast="date">
-<!--
- <trigger type="POST-CHANGE" name="postchange" src="calcDueDate"/>
--->
- </field>
- <field name="fldDatedue" field="BILLING_dateDue"
maxLength="10"
- typecast="date"/>
- <field name="fldNote" field="BILLING_note"
maxLength="255"/>
- <field name="fldPrinted" field="BILLING_printed"
maxLength="3"
- readonly="Y" typecast="number"/>
- <field name="fldTotalGross" field="BILLING_totalGross" maxLength="10"
- typecast="number"/>
- </block>
-
-
- <!--***************************************************
- Invoice items (lines)
- ****************************************************-->
- <block name="blkItem" datasource="dtsBILLING_item" rows="5"
- autoCreate="Y" autoNextRecord="Y">
- <field name="fldHead" field="BILLING_head"
maxLength="32"/>
- <field name="fldProduct" field="BILLING_product"
maxLength="32"
- fk_source="dts_ITEM_Item" fk_key="gnue_id"
- fk_description="ITEM_shortName"/>
- <field name="fldProductPrice" field="BILLING_product"
- fk_source="dts_ITEM_Item" fk_key="gnue_id"
- fk_description="SALES_price" readonly="Y" />
- <field name="fldQuantity" field="BILLING_quantity"
maxLength="10"
- typecast="number" >
- <!--Count invoice total -->
- <trigger type="POST-CHANGE" name="onchange">
- #Calling a calculated property will cause it to refresh
- blkItem.call("BILLING_getvalueGross", {})
- blkHead.call("BILLING_gettotalGross", {})
- #blkItem.update()
- #blkHead.update()
- </trigger>
- </field>
- <field name="fldUnit" field="BILLING_product"
- fk_source="dts_ITEM_Item" fk_key="gnue_id"
- fk_description="ITEM_unit.ITEM_value" readonly="Y" />
- <field name="fldValueGross" field="BILLING_valueGross"
- typecast="number" readonly="Y"/>
- <field name="fldNote" field="BILLING_note"
maxLength="255"/>
- </block>
-
- <block name="blkSeller" datasource="dtsSeller">
- <field name="fldNumPrint" field="BILLING_numPrint"
maxLength="10"
- readonly="Y" typecast="number"/>
- </block>
-
- <!--***************************************************
- Block used for displaying wee luvly goat
- ****************************************************-->
- <block name="blkFree">
- <field name="img" field="fldImg"/>
- </block>
-
- </logic>
-
-
- <!--*****************************************************
- Form layout
- ******************************************************-->
- <layout c:height="18" c:width="70">
- <page>
- <image name="imgURL" c:height="4" c:width="12" c:x="58" c:y="0"
- block="blkFree" field="img" fit="both"/>
- <label name="lblNumber:" c:height="1" c:width="7" c:x="1" c:y="1"
- text="Number:"/>
- <entry name="entNumber" c:height="1" c:width="20" c:x="16" c:y="1"
- block="blkHead" field="fldNumber" style="label"/>
- <label name="lblBuyer:" c:height="1" c:width="6" c:x="1" c:y="2"
- text="Buyer:"/>
- <entry name="entBuyer" c:height="1" c:width="28" c:x="16" c:y="2"
- block="blkHead" field="fldBuyer" style="dropdown"/>
- <button name="btnEditBuyer" c:height="1" c:width="7" c:x="44" c:y="2"
- label="Edit...">
- <trigger type="ON-ACTION" name="btnEditBuyerTrigger">
- params = {'id': blkHead.fldBuyer.get() or ''}
- form.runForm('ORG_Org.gfd', params)
- blkHead.fldBuyer.resetForeignKey()
- </trigger>
- </button>
- <label name="lblPaymentmethod:" c:height="1" c:width="15" c:x="1" c:y="3"
- text="Payment method:"/>
- <entry name="entPaymentmeth" c:height="1" c:width="28" c:x="16" c:y="3"
- block="blkHead" field="fldPaymentmeth" style="dropdown"/>
- <button name="btnEditPaymMeth" c:height="1" c:width="7" c:x="44" c:y="3"
- label="Edit...">
- <trigger type="ON-ACTION" name="btnEditPaymentMethodTrigger">
- params = {'id': blkHead.fldPaymentmeth.get() or ''}
- form.runForm('BILLING_PaymentMethod.gfd', params)
- blkHead.fldPaymentmeth.resetForeignKey()
- </trigger>
- </button>
- <label name="lblDateissued:" c:height="1" c:width="12" c:x="1" c:y="4"
- text="Date issued:"/>
- <entry name="entDateIssued" c:height="1" c:width="10" c:x="16" c:y="4"
- block="blkHead" field="fldDateissued" />
- <label name="lblDatedue:" c:height="1" c:width="7" c:x="27" c:y="4"
- text="Due by:"/>
- <entry name="entDatedue" c:height="1" c:width="10" c:x="35" c:y="4"
- block="blkHead" field="fldDatedue" />
- <label name="lblDatedelivery:" c:height="1" c:width="14" c:x="46" c:y="4"
- text="Delivery by:"/>
- <entry name="entDatedelivery" c:height="1" c:width="10" c:x="59" c:y="4"
- block="blkHead" field="fldDatedelivery" />
- <label name="lblNote:" c:height="1" c:width="5" c:x="1" c:y="5"
text="Note:"/>
- <entry name="entNote" c:height="1" c:width="53" c:x="16" c:y="5"
- block="blkHead" field="fldNote" />
- <label name="lblPrinted:" c:height="1" c:width="8" c:x="1" c:y="6"
- text="Printed:"/>
- <entry name="entPrinted" c:height="1" c:width="3" c:x="16" c:y="6"
- block="blkHead" field="fldPrinted" style="label"/>
- <label name="lblTotalGross:" c:height="1" c:width="12" c:x="1" c:y="7"
- text="Value total:"/>
- <entry name="entTotalGross" c:height="1" c:width="10" c:x="16" c:y="7"
- block="blkHead" field="fldTotalGross" style="label"/>
-
- <box name="BoxItem" c:height="8" c:width="69" c:x="1" c:y="8"
- label="Items"/>
- <button name="btnEditItem" c:height="1" c:width="7" c:x="14" c:y="9"
- label="Edit...">
- <trigger type="ON-ACTION" name="btnEditItemTrigger">
- params = {'id': blkItem.fldProduct.get() or ''}
- form.runForm('ITEM_Item.gfd', params)
- blkItem.fldProduct.resetForeignKey()
- </trigger>
- </button>
-
- <label name="lblProduct:" c:height="1" c:width="20" c:x="2" c:y="9"
- text="Product"/>
- <label name="lblItemPrice:" c:height="1" c:width="6" c:x="23" c:y="9"
- text="Price"/>
- <label name="lblQuantity:" c:height="1" c:width="5" c:x="30" c:y="9"
- text="Qty."/>
- <label name="lblItemUnit:" c:height="1" c:width="5" c:x="36" c:y="9"
- text="Unit"/>
- <label name="lblItemPriceTotal:" c:height="1" c:width="10" c:x="44"
c:y="9"
- text="Value"/>
- <label name="lblItemNote:" c:height="1" c:width="10" c:x="55" c:y="9"
- text="Note"/>
- <entry name="entProduct" c:height="1" c:width="20" c:x="2" c:y="10"
- block="blkItem" field="fldProduct" style="dropdown" />
- <entry name="entItemPrice" c:height="1" c:width="6" c:x="23" c:y="10"
- block="blkItem" field="fldProductPrice" style="label" />
- <entry name="entQuantity" c:height="1" c:width="5" c:x="30" c:y="10"
- block="blkItem" field="fldQuantity"/>
- <entry name="entItemUnit" c:height="1" c:width="5" c:x="36" c:y="10"
- block="blkItem" field="fldUnit" style="label" />
- <entry name="entItemPriceTotal" c:height="1" c:width="10" c:x="44"
c:y="10"
- block="blkItem" field="fldValueGross" style="label" />
- <entry name="entItemNote" c:height="1" c:width="14" c:x="55" c:y="10"
- block="blkItem" field="fldNote" />
-
- <button c:x="1" c:y="17" c:width="10" c:height="1" label="Ok">
- <trigger type="ON-ACTION" src="saveAll" />
- </button>
- <button c:x="12" c:y="17" c:width="10" c:height="1" label="Cancel">
- <trigger type="ON-ACTION" src="revertAll" />
- </button>
-
- </page>
- </layout>
-
-
- <!--*****************************************************
- Named triggers
- ******************************************************-->
- <trigger name="calcDueDate" type="NAMED">
- blkHead.call("BILLING_calcDateDue", {})
- </trigger>
-
- <trigger name="saveAll" type="NAMED">
- if not blkItem.isSaved():
- print "Item not saved, saving..."
- commit()
- if not blkHead.isSaved():
- print "Head not saved, saving..."
- commit()
-
- blkHead.update () #HACK
- invNumber = blkHead.fldNumber.get()
- toPrint = blkSeller.fldNumPrint.get()
- for i in range(toPrint):
- print "Printing invoice #%i" % (i + 1)
- blkHead.fldPrinted.set(i + 1)
- commit() #HACK
- runReport('../reports/invoice.grd', {'BILLING_number': invNumber})
- blkHead.commit()
- close()
- </trigger>
-
- <trigger name="revertAll" type="NAMED">
- rollback()
- close()
- </trigger>
-
-</form>
Deleted: gnue-invoice/forms/INV_PaymentMethod-hu.gfd
===================================================================
--- gnue-invoice/forms/INV_PaymentMethod-hu.gfd 2005-01-16 16:16:02 UTC (rev
202)
+++ gnue-invoice/forms/INV_PaymentMethod-hu.gfd 2005-01-16 22:28:18 UTC (rev
203)
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="iso8859-2"?>
-
-<!-- BILLING_PaymentMethod Hungarian Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Fizet�si m�d">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice"
table="BILLING_PaymentMethod"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldName" field="BILLING_name" maxLength="35"/>
- <field name="fldChannel" field="BILLING_channel" maxLength="35"/>
- <field name="fldDuedays" field="BILLING_dueDays" maxLength="3"
- typecast="number"/>
- </block>
- </logic>
-
- <layout c:height="4" c:width="46">
- <page>
- <label name="lblName" c:height="1" c:width="4" c:x="1" c:y="1"
- text="N�v:"/>
- <entry name="entName" c:height="1" c:width="35" c:x="10" c:y="1"
- block="blk" field="fldName"/>
- <label name="lblChannel" c:height="1" c:width="8" c:x="1" c:y="2"
- text="Channel:"/>
- <entry name="entChannel" c:height="1" c:width="35" c:x="10" c:y="2"
- block="blk" field="fldChannel"/>
- <label name="lblDuedays" c:height="1" c:width="9" c:x="1" c:y="3"
- text="Hat�rid�:"/>
- <entry name="entDuedays" c:height="1" c:width="3" c:x="10" c:y="3"
- block="blk" field="fldDuedays"/>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/INV_PaymentMethod.gfd
===================================================================
--- gnue-invoice/forms/INV_PaymentMethod.gfd 2005-01-16 16:16:02 UTC (rev
202)
+++ gnue-invoice/forms/INV_PaymentMethod.gfd 2005-01-16 22:28:18 UTC (rev
203)
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="iso8859-1"?>
-
-<!-- BILLING_PaymentMethod Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Payment Method">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="BILLING_PaymentMethod"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldName" field="BILLING_name" maxLength="35"/>
- <field name="fldChannel" field="BILLING_channel" maxLength="35"/>
- <field name="fldDuedays" field="BILLING_dueDays" maxLength="3"
- typecast="number"/>
- </block>
- </logic>
-
- <layout c:height="4" c:width="46">
- <page>
- <label name="lblName" c:height="1" c:width="5" c:x="1" c:y="1"
- text="Name:"/>
- <entry name="entName" c:height="1" c:width="35" c:x="10" c:y="1"
- block="blk" field="fldName" label=""/>
- <label name="lblChannel" c:height="1" c:width="8" c:x="1" c:y="2"
- text="Channel:"/>
- <entry name="entChannel" c:height="1" c:width="35" c:x="10" c:y="2"
- block="blk" field="fldChannel" label=""/>
- <label name="lblDuedays" c:height="1" c:width="9" c:x="1" c:y="3"
- text="Due days:"/>
- <entry name="entDuedays" c:height="1" c:width="3" c:x="10" c:y="3"
- block="blk" field="fldDuedays" label=""/>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/INV_grid-hu.gfd
===================================================================
--- gnue-invoice/forms/INV_grid-hu.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/INV_grid-hu.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,152 +0,0 @@
-<?xml version="1.0" encoding="iso8859-2"?>
-
-<!-- BILLING_Head Grid Hungarian Form
-
- 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$ -->
-
-<form title="Sz�ml�k" readonly="Y">
-
- <trigger type="ON-STARTUP" name="Trigger1">
- #form.setFeature('GUI:MENUBAR:SUPPRESS', 1)
- #form.setFeature('GUI:TOOLBAR:SUPPRESS', 1)
- #form.setFeature('GUI:STATUSBAR:SUPPRESS', 1)
- </trigger>
-
- <datasource name="dts" connection="invoice" requery="True"
table="BILLING_Head"
- prequery="Y"/>
- <datasource name="dtsSeller" connection="invoice" table="BILLING_Company"
- prequery="True"/>
-
-
- <logic>
- <block name="blk" datasource="dts" rows="8">
- <field name="fldGnueid" field="gnue_id" maxLength="32"
- readonly="Y"/>
- <!--<field name="fldBuyerName" field="BILLING_buyer.ORG_shortName"
- maxLength="35" readonly="Y"/>-->
- <field name="fldBuyerName" field="BILLING_buyerName"
maxLength="35"
- readonly="Y"/>
- <field name="fldDatedelivery" field="BILLING_dateDelivery"
maxLength="10"
- readonly="Y" typecast="date"/>
- <field name="fldDateissued" field="BILLING_dateIssued"
maxLength="10"
- readonly="Y" typecast="date"/>
- <field name="fldNumber" field="BILLING_number"
maxLength="20"
- readonly="Y"/>
- <field name="fldPaymentmeth" field="BILLING_paymentMethod"
maxLength="32"
- readonly="Y"/>
- <field name="fldTotalgross" field="BILLING_totalGross"
maxLength="10"
- readonly="Y" typecast="number"/>
- <field name="fldTotalnet" field="BILLING_totalNet"
maxLength="10"
- readonly="Y" typecast="number"/>
- <field name="fldTotalvat" field="BILLING_totalVAT"
maxLength="10"
- readonly="Y" typecast="number"/>
- <field name="fldPrinted" field="BILLING_printed"
maxLength="10"
- typecast="number"/>
- </block>
-
- <block name="blkSeller" datasource="dtsSeller">
- <field name="fldNumPrint" field="BILLING_numPrint"
maxLength="10"
- readonly="Y" typecast="number"/>
- </block>
- </logic>
-
- <layout xmlns:c="GNUe:Layout:Char" c:height="11" c:width="100">
- <page>
- <label name="lblNumber" c:height="1" c:width="9" c:x="1" c:y="1"
- alignment="center" text="Szla.sz�m"/>
- <label name="lblBuyerName" c:height="1" c:width="32" c:x="12" c:y="1"
- alignment="center" text="Vev�"/>
- <label name="lblDateissued" c:height="1" c:width="10" c:x="45" c:y="1"
- alignment="center" text="Kibocs�t�s"/>
- <label name="lblDatedelivery" c:height="1" c:width="10" c:x="56" c:y="1"
- alignment="center" text="Teljes�t�s"/>
- <label name="lblTotalgross" c:height="1" c:width="10" c:x="67" c:y="1"
- alignment="center" text="Brutt�"/>
- <label name="lblTotalnet" c:height="1" c:width="10" c:x="78" c:y="1"
- alignment="center" text="Nett�"/>
- <label name="lblTotalvat" c:height="1" c:width="10" c:x="89" c:y="1"
- alignment="center" text="�FA"/>
-
- <entry name="entNumber" c:height="1" c:width="10" c:x="1" c:y="2"
- block="blk" field="fldNumber"/>
- <entry name="entBuyerName" c:height="1" c:width="32" c:x="12" c:y="2"
- block="blk" field="fldBuyerName"/>
- <entry name="entDateissued" c:height="1" c:width="10" c:x="45" c:y="2"
- block="blk" field="fldDateissued"/>
- <entry name="entDatedelivery" c:height="1" c:width="10" c:x="56" c:y="2"
- block="blk" field="fldDatedelivery"/>
- <entry name="entTotalgross" c:height="1" c:width="10" c:x="67" c:y="2"
- block="blk" field="fldTotalgross"/>
- <entry name="entTotalnet" c:height="1" c:width="10" c:x="78" c:y="2"
- block="blk" field="fldTotalnet"/>
- <entry name="entTotalvat" c:height="1" c:width="10" c:x="89" c:y="2"
- block="blk" field="fldTotalvat"/>
-
- <button name="btnNew" c:height="1" c:width="6" c:x="3"
c:y="10"
- label="�j...">
- <trigger type="ON-ACTION" name="btnNewTrigger">
- runForm("BILLING_Head-hu.gfd")
- dts.createResultSet()
- </trigger>
- </button>
-
- <button name="btnRevert" c:height="1" c:width="7" c:x="13"
c:y="10"
- label="Storn�">
- <trigger type="ON-ACTION" name="btnRevertTrigger">
- ret = blk.call('BILLING_revert', {'invId': blk.fldGnueid.get()})
- if ret is not None:
- toPrint = blkSeller.fldNumPrint.get()
- for i in range(toPrint):
- print "%i. storn� sz�mlap�ld�ny nyomtat�sa" % (i + 1)
- blk.fldPrinted.set(i + 1)
- commit()
- runReport('../reports/invoice-hu.grd', {'BILLING_number':ret})
- else:
- print "Storn� sz�ml�t nem lehet storn�zni!"
- rollback()
- dts.createResultSet()
- </trigger>
- </button>
-
- <button name="btnPrint" c:height="1" c:width="8" c:x="23" c:y="10"
- label="Nyomtat">
- <trigger type="ON-ACTION" name="btnPrintTrigger">
- invNumber = blk.fldNumber.get()
- prevPrinted = blk.fldPrinted.get()
- blk.fldPrinted.set(prevPrinted + 1)
- commit()
- runReport('../reports/invoice-hu.grd', {'BILLING_number' :
invNumber})
- dts.createResultSet()
- </trigger>
- </button>
-
- <button name="btnClose" c:height="1" c:width="10" c:x="89" c:y="10"
- label="Kil�p">
- <trigger type="ON-ACTION" name="btnCloseTrigger">
- close()
- </trigger>
- </button>
-
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/INV_grid.gfd
===================================================================
--- gnue-invoice/forms/INV_grid.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/INV_grid.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,152 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- BILLING_Head Grid Form
-
- 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$ -->
-
-<form title="Invoices" readonly="Y">
-
- <trigger type="ON-STARTUP" name="Trigger1">
- #form.setFeature('GUI:MENUBAR:SUPPRESS', 1)
- #form.setFeature('GUI:TOOLBAR:SUPPRESS', 1)
- #form.setFeature('GUI:STATUSBAR:SUPPRESS', 1)
- </trigger>
-
- <datasource name="dts" connection="invoice" requery="True"
table="BILLING_Head"
- prequery="Y"/>
- <datasource name="dtsSeller" connection="invoice" table="BILLING_Company"
- prequery="True"/>
-
-
- <logic>
- <block name="blk" datasource="dts" rows="8">
- <field name="fldGnueid" field="gnue_id" maxLength="32"
- readonly="Y"/>
- <!--<field name="fldBuyerName" field="BILLING_buyer.ORG_shortName"
- maxLength="35" readonly="Y"/>-->
- <field name="fldBuyerName" field="BILLING_buyerName"
maxLength="35"
- readonly="Y"/>
- <field name="fldDatedelivery" field="BILLING_dateDelivery"
maxLength="10"
- readonly="Y" typecast="date"/>
- <field name="fldDateissued" field="BILLING_dateIssued"
maxLength="10"
- readonly="Y" typecast="date"/>
- <field name="fldNumber" field="BILLING_number"
maxLength="20"
- readonly="Y"/>
- <field name="fldPaymentmeth" field="BILLING_paymentMethod"
maxLength="32"
- readonly="Y"/>
- <field name="fldTotalgross" field="BILLING_totalGross"
maxLength="10"
- readonly="Y" typecast="number"/>
- <field name="fldTotalnet" field="BILLING_totalNet"
maxLength="10"
- readonly="Y" typecast="number"/>
- <field name="fldTotalvat" field="BILLING_totalVAT"
maxLength="10"
- readonly="Y" typecast="number"/>
- <field name="fldPrinted" field="BILLING_printed"
maxLength="10"
- typecast="number"/>
- </block>
-
- <block name="blkSeller" datasource="dtsSeller">
- <field name="fldNumPrint" field="BILLING_numPrint"
maxLength="10"
- readonly="Y" typecast="number"/>
- </block>
- </logic>
-
- <layout xmlns:c="GNUe:Layout:Char" c:height="11" c:width="100">
- <page>
- <label name="lblNumber" c:height="1" c:width="10" c:x="1" c:y="1"
- alignment="center" text="Number:"/>
- <label name="lblBuyerName" c:height="1" c:width="32" c:x="12" c:y="1"
- alignment="center" text="Buyer:"/>
- <label name="lblDateissued" c:height="1" c:width="10" c:x="45" c:y="1"
- alignment="center" text="Issued:"/>
- <label name="lblDatedelivery" c:height="1" c:width="10" c:x="56" c:y="1"
- alignment="center" text="Delivery:"/>
- <label name="lblTotalgross:" c:height="1" c:width="10" c:x="67" c:y="1"
- alignment="center" text="Gross:"/>
- <label name="lblTotalnet:" c:height="1" c:width="10" c:x="78" c:y="1"
- alignment="center" text="Net:"/>
- <label name="lblTotalvat:" c:height="1" c:width="10" c:x="89" c:y="1"
- alignment="center" text="Vat:"/>
-
- <entry name="entNumber" c:height="1" c:width="10" c:x="1" c:y="2"
- block="blk" field="fldNumber"/>
- <entry name="entBuyerName" c:height="1" c:width="32" c:x="12" c:y="2"
- block="blk" field="fldBuyerName"/>
- <entry name="entDateissued" c:height="1" c:width="10" c:x="45" c:y="2"
- block="blk" field="fldDateissued"/>
- <entry name="entDatedelivery" c:height="1" c:width="10" c:x="56" c:y="2"
- block="blk" field="fldDatedelivery"/>
- <entry name="entTotalgross" c:height="1" c:width="10" c:x="67" c:y="2"
- block="blk" field="fldTotalgross"/>
- <entry name="entTotalnet" c:height="1" c:width="10" c:x="78" c:y="2"
- block="blk" field="fldTotalnet"/>
- <entry name="entTotalvat" c:height="1" c:width="10" c:x="89" c:y="2"
- block="blk" field="fldTotalvat"/>
-
- <button name="btnNew" c:height="1" c:width="10" c:x="3"
c:y="10"
- label="New...">
- <trigger type="ON-ACTION" name="btnNewTrigger">
- runForm("BILLING_Head.gfd")
- dts.createResultSet()
- </trigger>
- </button>
-
- <button name="btnRevert" c:height="1" c:width="10" c:x="14"
c:y="10"
- label="Revert">
- <trigger type="ON-ACTION" name="btnRevertTrigger">
- ret = blk.call('BILLING_revert', {'invId': blk.fldGnueid.get()})
- if ret is not None:
- toPrint = blkSeller.fldNumPrint.get()
- for i in range(toPrint):
- print "Printing reverted invoice #%i" % (i + 1)
- blk.fldPrinted.set(i + 1)
- commit()
- runReport('../reports/invoice.grd', {'BILLING_number':ret})
- else:
- print "Cannot revert reverted invoice!"
- rollback()
- dts.createResultSet()
- </trigger>
- </button>
-
- <button name="btnPrint" c:height="1" c:width="10" c:x="25" c:y="10"
- label="Print">
- <trigger type="ON-ACTION" name="btnPrintTrigger">
- invNumber = blk.fldNumber.get()
- prevPrinted = blk.fldPrinted.get()
- blk.fldPrinted.set(prevPrinted + 1)
- commit()
- runReport('../reports/invoice.grd', {'BILLING_number' : invNumber})
- dts.createResultSet()
- </trigger>
- </button>
-
- <button name="btnClose" c:height="1" c:width="10" c:x="89" c:y="10"
- label="Close">
- <trigger type="ON-ACTION" name="btnCloseTrigger">
- close()
- </trigger>
- </button>
-
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/ITEM_Item-hu.gfd
===================================================================
--- gnue-invoice/forms/ITEM_Item-hu.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/ITEM_Item-hu.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,111 +0,0 @@
-<?xml version="1.0" encoding="iso8859-2"?>
-
-<!-- ITEM_Item Hungarian Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Cikk">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="ITEM_Item"/>
- <datasource name="dts_ITEM_ItemType" connection="invoice" prequery="Y"
- table="ITEM_ItemType"/>
- <datasource name="dts_ITEM_UnitType" connection="invoice" prequery="Y"
- table="ITEM_UnitType"/>
- <datasource name="dts_TAX_Vat" connection="invoice" prequery="Y"
- table="TAX_Vat"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldType" field="ITEM_type" maxLength="32"
- fk_source="dts_ITEM_ItemType" fk_key="gnue_id"
- fk_description="ITEM_value"/>
- <field name="fldShortname" field="ITEM_shortName" maxLength="35"/>
- <field name="fldLongname" field="ITEM_longName" maxLength="40"/>
- <field name="fldPrice" field="SALES_price" maxLength="10"
- typecast="number"/>
- <field name="fldUnit" field="ITEM_unit" maxLength="32"
- fk_source="dts_ITEM_UnitType" fk_key="gnue_id"
- fk_description="ITEM_value"/>
- <field name="fldVat" field="SALES_vat" maxLength="32"
- fk_source="dts_TAX_Vat" fk_key="gnue_id"
- fk_description="TAX_name"/>
- </block>
- </logic>
-
- <layout c:height="7" c:width="55">
- <page>
- <label name="lblType" c:height="1" c:width="6" c:x="1" c:y="1"
- text="T�pus:"/>
- <entry name="entType" c:height="1" c:width="28" c:x="13" c:y="1"
- block="blk" field="fldType" style="dropdown"/>
- <button name="btnEditType" c:height="1" c:width="10" c:x="41" c:y="1"
- label="M�dos�t...">
- <trigger type="On-Action" name="btnEditTypeTrigger">
- params = {'id': blk.fldType.get() or ''}
- form.runForm('ITEM_ItemType-hu.gfd', params)
- blk.fldType.resetForeignKey()
- </trigger>
- </button>
- <label name="lblShortname" c:height="1" c:width="4" c:x="1" c:y="2"
- text="N�v:"/>
- <entry name="entShortname" c:height="1" c:width="35" c:x="13" c:y="2"
- block="blk" field="fldShortname"/>
- <label name="lblLongname" c:height="1" c:width="11" c:x="1" c:y="3"
- text="Teljes n�v:"/>
- <entry name="entLongname" c:height="1" c:width="35" c:x="13" c:y="3"
- block="blk" field="fldLongname"/>
- <label name="lblPrice" c:height="1" c:width="9" c:x="1" c:y="4"
- text="Egys�g�r:"/>
- <entry name="entPrice" c:height="1" c:width="10" c:x="13" c:y="4"
- block="blk" field="fldPrice"/>
- <label name="lblUnit" c:height="1" c:width="12" c:x="1" c:y="5"
- text="M�rt�kegys.:"/>
- <entry name="entUnit" c:height="1" c:width="28" c:x="13" c:y="5"
- block="blk" field="fldUnit" style="dropdown"/>
- <button name="btnEditUnit" c:height="1" c:width="10" c:x="41" c:y="5"
- label="M�dos�t...">
- <trigger type="On-Action" name="btnEditUnitTrigger">
- params = {'id': blk.fldUnit.get() or ''}
- form.runForm('ITEM_UnitType-hu.gfd', params)
- blk.fldUnit.resetForeignKey()
- </trigger>
- </button>
- <label name="lblVat" c:height="1" c:width="4" c:x="1" c:y="6"
- text="�FA:"/>
- <entry name="entVat" c:height="1" c:width="28" c:x="13" c:y="6"
- block="blk" field="fldVat" style="dropdown"/>
- <button name="btnEditVat" c:height="1" c:width="10" c:x="41" c:y="6"
- label="M�dos�t...">
- <trigger type="On-Action" name="btnEditVatTrigger">
- params = {'id': blk.fldVat.get() or ''}
- form.runForm('TAX_Vat-hu.gfd', params)
- blk.fldVat.resetForeignKey()
- </trigger>
- </button>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/ITEM_Item.gfd
===================================================================
--- gnue-invoice/forms/ITEM_Item.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/ITEM_Item.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,107 +0,0 @@
-<?xml version="1.0" encoding="iso8859-1"?>
-
-<!-- ITEM_Item Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Item">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="ITEM_Item"/>
- <datasource name="dts_ITEM_ItemType" connection="invoice" prequery="Y"
- table="ITEM_ItemType"/>
- <datasource name="dts_ITEM_UnitType" connection="invoice" prequery="Y"
- table="ITEM_UnitType"/>
- <datasource name="dts_TAX_Vat" connection="invoice" prequery="Y"
- table="TAX_Vat"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldItemType" field="ITEM_type" fk_description="ITEM_value"
- fk_key="gnue_id" fk_source="dts_ITEM_ItemType" maxLength="32"/>
- <field name="fldItemShortname" field="ITEM_shortName" maxLength="35"/>
- <field name="fldItemLongname" field="ITEM_longName" maxLength="40"/>
- <field name="fldItemPrice" field="SALES_price" maxLength="10"
- typecast="number"/>
- <field name="fldItemUnit" field="ITEM_unit" fk_description="ITEM_value"
- fk_key="gnue_id" fk_source="dts_ITEM_UnitType" maxLength="32"/>
- <field name="fldItemVat" field="SALES_vat" fk_description="TAX_name"
- fk_key="gnue_id" fk_source="dts_TAX_Vat" maxLength="32"/>
- </block>
- </logic>
- <layout c:height="7" c:width="55">
- <page>
- <label name="lblType:" c:height="1" c:width="5" c:x="1" c:y="1"
- text="Type:"/>
- <entry name="entType" c:height="1" c:width="28" c:x="13" c:y="1"
- block="blk" field="fldItemType" label="" style="dropdown"/>
- <button name="btnEditType" c:height="1" c:width="7" c:x="41" c:y="1"
- label="Edit...">
- <trigger type="On-Action" name="btnEditTypeTrigger">
- params = {'id': blk.fldItemType.get() or ''}
- form.runForm('ITEM_ItemType.gfd', params)
- blk.fldItemType.resetForeignKey()
- </trigger>
- </button>
- <label name="lblShortname:" c:height="1" c:width="11" c:x="1" c:y="2"
- text="Short name:"/>
- <entry name="entShortname" c:height="1" c:width="35" c:x="13" c:y="2"
- block="blk" field="fldItemShortname" label=""/>
- <label name="lblLongname:" c:height="1" c:width="10" c:x="1" c:y="3"
- text="Long name:"/>
- <entry name="entLongname" c:height="1" c:width="35" c:x="13" c:y="3"
- block="blk" field="fldItemLongname" label=""/>
- <label name="lblPrice:" c:height="1" c:width="6" c:x="1" c:y="4"
- text="Price:"/>
- <entry name="entPrice" c:height="1" c:width="10" c:x="13" c:y="4"
- block="blk" field="fldItemPrice" label=""/>
- <label name="lblUnit:" c:height="1" c:width="5" c:x="1" c:y="5"
- text="Unit:"/>
- <entry name="entUnit" c:height="1" c:width="28" c:x="13" c:y="5"
- block="blk" field="fldItemUnit" label="" style="dropdown"/>
- <button name="btnEditUnit" c:height="1" c:width="7" c:x="41" c:y="5"
- label="Edit...">
- <trigger type="On-Action" name="btnEditUnitTrigger">
- params = {'id': blk.fldItemUnit.get() or ''}
- form.runForm('ITEM_UnitType.gfd', params)
- blk.fldItemUnit.resetForeignKey()
- </trigger>
- </button>
- <label name="lblVat:" c:height="1" c:width="9" c:x="1" c:y="6"
- text="Item Vat:"/>
- <entry name="entVat" c:height="1" c:width="28" c:x="13" c:y="6"
- block="blk" field="fldItemVat" label="" style="dropdown"/>
- <button name="btnEditVat" c:height="1" c:width="7" c:x="41" c:y="6"
- label="Edit...">
- <trigger type="On-Action" name="btnEditVatTrigger">
- params = {'id': blk.fldItemVat.get() or ''}
- form.runForm('TAX_Vat.gfd', params)
- blk.fldItemVat.resetForeignKey()
- </trigger>
- </button>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/ITEM_ItemType-hu.gfd
===================================================================
--- gnue-invoice/forms/ITEM_ItemType-hu.gfd 2005-01-16 16:16:02 UTC (rev
202)
+++ gnue-invoice/forms/ITEM_ItemType-hu.gfd 2005-01-16 22:28:18 UTC (rev
203)
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="iso8859-2"?>
-
-<!-- ITEM_ItemType Hungarian Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Cikk t�pus">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="ITEM_ItemType"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldCode" field="ITEM_code" maxLength="35"/>
- <field name="fldValue" field="ITEM_value" maxLength="35"/>
- </block>
- </logic>
-
- <layout c:height="3" c:width="30">
- <page>
- <label name="lblCode" c:height="1" c:width="4" c:x="1" c:y="1"
- text="K�d:"/>
- <entry name="entCode" c:height="1" c:width="20" c:x="7" c:y="1"
- block="blk" field="fldCode"/>
- <label name="lblValue" c:height="1" c:width="6" c:x="1" c:y="2"
- text="�rt�k:"/>
- <entry name="entValue" c:height="1" c:width="20" c:x="7" c:y="2"
- block="blk" field="fldValue"/>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/ITEM_ItemType.gfd
===================================================================
--- gnue-invoice/forms/ITEM_ItemType.gfd 2005-01-16 16:16:02 UTC (rev
202)
+++ gnue-invoice/forms/ITEM_ItemType.gfd 2005-01-16 22:28:18 UTC (rev
203)
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="iso8859-1"?>
-
-<!-- ITEM_ItemType Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Item type">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="ITEM_ItemType"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldItemCode" field="ITEM_code" maxLength="35"/>
- <field name="fldItemValue" field="ITEM_value" maxLength="35"/>
- </block>
- </logic>
-
- <layout c:height="3" c:width="30">
- <page>
- <label name="lblCode:" c:height="1" c:width="5" c:x="1" c:y="1"
- text="Code:"/>
- <entry name="entCode" c:height="1" c:width="20" c:x="8" c:y="1"
- block="blk" field="fldItemCode" label=""/>
- <label name="lblValue:" c:height="1" c:width="6" c:x="1" c:y="2"
- text="Value:"/>
- <entry name="entValue" c:height="1" c:width="20" c:x="8" c:y="2"
- block="blk" field="fldItemValue" label=""/>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/ITEM_UnitType-hu.gfd
===================================================================
--- gnue-invoice/forms/ITEM_UnitType-hu.gfd 2005-01-16 16:16:02 UTC (rev
202)
+++ gnue-invoice/forms/ITEM_UnitType-hu.gfd 2005-01-16 22:28:18 UTC (rev
203)
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="iso8859-2"?>
-
-<!-- ITEM_UnitType Hungarian Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="M�rt�kegys�g">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="ITEM_UnitType"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldCode" field="ITEM_code" maxLength="35"/>
- <field name="fldValue" field="ITEM_value" maxLength="35"/>
- </block>
- </logic>
-
- <layout c:height="3" c:width="30">
- <page>
- <label name="lblCode" c:height="1" c:width="4" c:x="1" c:y="1"
- text="K�d:"/>
- <entry name="entCode" c:height="1" c:width="20" c:x="7" c:y="1"
- block="blk" field="fldCode"/>
- <label name="lblValue" c:height="1" c:width="6" c:x="1" c:y="2"
- text="�rt�k:"/>
- <entry name="entValue" c:height="1" c:width="20" c:x="7" c:y="2"
- block="blk" field="fldValue"/>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/ITEM_UnitType.gfd
===================================================================
--- gnue-invoice/forms/ITEM_UnitType.gfd 2005-01-16 16:16:02 UTC (rev
202)
+++ gnue-invoice/forms/ITEM_UnitType.gfd 2005-01-16 22:28:18 UTC (rev
203)
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="iso8859-1"?>
-
-<!-- ITEM_UnitType Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="UnitType">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="ITEM_UnitType"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldItemCode" field="ITEM_code" maxLength="35"/>
- <field name="fldItemValue" field="ITEM_value" maxLength="35"/>
- </block>
- </logic>
-
- <layout c:height="3" c:width="30">
- <page>
- <label name="lblCode:" c:height="1" c:width="5" c:x="1" c:y="1"
- text="Code:"/>
- <entry name="entCode" c:height="1" c:width="20" c:x="8" c:y="1"
- block="blk" field="fldItemCode" label=""/>
- <label name="lblValue:" c:height="1" c:width="6" c:x="1" c:y="2"
- text="Value:"/>
- <entry name="entValue" c:height="1" c:width="20" c:x="8" c:y="2"
- block="blk" field="fldItemValue" label=""/>
- </page>
- </layout>
-
-</form>
Copied: gnue-invoice/forms/Item-hu.gfd (from rev 201,
gnue-invoice/forms/ITEM_Item-hu.gfd)
===================================================================
--- gnue-invoice/forms/ITEM_Item-hu.gfd 2005-01-12 08:44:15 UTC (rev 201)
+++ gnue-invoice/forms/Item-hu.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="iso8859-2"?>
+
+<!-- ITEM_Item Hungarian Form
+
+ 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$ -->
+
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Cikk">
+ <options/>
+
+ <import-trigger name='startupSearch' library='util.gfd'/>
+ <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
+
+ <datasource name="dts" connection="invoice" table="ITEM_Item"/>
+ <datasource name="dts_ITEM_ItemType" connection="invoice" prequery="Y"
+ table="ITEM_ItemType"/>
+ <datasource name="dts_ITEM_UnitType" connection="invoice" prequery="Y"
+ table="ITEM_UnitType"/>
+ <datasource name="dts_TAX_Vat" connection="invoice" prequery="Y"
+ table="TAX_Vat"/>
+
+ <logic>
+ <block name="blk" datasource="dts">
+ <field name="fldType" field="ITEM_type" maxLength="32"
+ fk_source="dts_ITEM_ItemType" fk_key="gnue_id"
+ fk_description="ITEM_value"/>
+ <field name="fldShortname" field="ITEM_shortName" maxLength="35"/>
+ <field name="fldLongname" field="ITEM_longName" maxLength="40"/>
+ <field name="fldPrice" field="SALES_price" maxLength="10"
+ typecast="number"/>
+ <field name="fldUnit" field="ITEM_unit" maxLength="32"
+ fk_source="dts_ITEM_UnitType" fk_key="gnue_id"
+ fk_description="ITEM_value"/>
+ <field name="fldVat" field="SALES_vat" maxLength="32"
+ fk_source="dts_TAX_Vat" fk_key="gnue_id"
+ fk_description="TAX_name"/>
+ </block>
+ </logic>
+
+ <layout c:height="7" c:width="55">
+ <page>
+ <label name="lblType" c:height="1" c:width="6" c:x="1" c:y="1"
+ text="T�pus:"/>
+ <entry name="entType" c:height="1" c:width="28" c:x="13" c:y="1"
+ block="blk" field="fldType" style="dropdown"/>
+ <button name="btnEditType" c:height="1" c:width="10" c:x="41" c:y="1"
+ label="M�dos�t...">
+ <trigger type="On-Action" name="btnEditTypeTrigger">
+ params = {'id': blk.fldType.get() or ''}
+ form.runForm('ItemType-hu.gfd', params)
+ blk.fldType.resetForeignKey()
+ </trigger>
+ </button>
+ <label name="lblShortname" c:height="1" c:width="4" c:x="1" c:y="2"
+ text="N�v:"/>
+ <entry name="entShortname" c:height="1" c:width="35" c:x="13" c:y="2"
+ block="blk" field="fldShortname"/>
+ <label name="lblLongname" c:height="1" c:width="11" c:x="1" c:y="3"
+ text="Teljes n�v:"/>
+ <entry name="entLongname" c:height="1" c:width="35" c:x="13" c:y="3"
+ block="blk" field="fldLongname"/>
+ <label name="lblPrice" c:height="1" c:width="9" c:x="1" c:y="4"
+ text="Egys�g�r:"/>
+ <entry name="entPrice" c:height="1" c:width="10" c:x="13" c:y="4"
+ block="blk" field="fldPrice"/>
+ <label name="lblUnit" c:height="1" c:width="12" c:x="1" c:y="5"
+ text="M�rt�kegys.:"/>
+ <entry name="entUnit" c:height="1" c:width="28" c:x="13" c:y="5"
+ block="blk" field="fldUnit" style="dropdown"/>
+ <button name="btnEditUnit" c:height="1" c:width="10" c:x="41" c:y="5"
+ label="M�dos�t...">
+ <trigger type="On-Action" name="btnEditUnitTrigger">
+ params = {'id': blk.fldUnit.get() or ''}
+ form.runForm('UnitType-hu.gfd', params)
+ blk.fldUnit.resetForeignKey()
+ </trigger>
+ </button>
+ <label name="lblVat" c:height="1" c:width="4" c:x="1" c:y="6"
+ text="�FA:"/>
+ <entry name="entVat" c:height="1" c:width="28" c:x="13" c:y="6"
+ block="blk" field="fldVat" style="dropdown"/>
+ <button name="btnEditVat" c:height="1" c:width="10" c:x="41" c:y="6"
+ label="M�dos�t...">
+ <trigger type="On-Action" name="btnEditVatTrigger">
+ params = {'id': blk.fldVat.get() or ''}
+ form.runForm('Vat-hu.gfd', params)
+ blk.fldVat.resetForeignKey()
+ </trigger>
+ </button>
+ </page>
+ </layout>
+
+</form>
Copied: gnue-invoice/forms/Item.gfd (from rev 201,
gnue-invoice/forms/ITEM_Item.gfd)
===================================================================
--- gnue-invoice/forms/ITEM_Item.gfd 2005-01-12 08:44:15 UTC (rev 201)
+++ gnue-invoice/forms/Item.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="iso8859-1"?>
+
+<!-- ITEM_Item Form
+
+ 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$ -->
+
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Item">
+ <options/>
+
+ <import-trigger name='startupSearch' library='util.gfd'/>
+ <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
+
+ <datasource name="dts" connection="invoice" table="ITEM_Item"/>
+ <datasource name="dts_ITEM_ItemType" connection="invoice" prequery="Y"
+ table="ITEM_ItemType"/>
+ <datasource name="dts_ITEM_UnitType" connection="invoice" prequery="Y"
+ table="ITEM_UnitType"/>
+ <datasource name="dts_TAX_Vat" connection="invoice" prequery="Y"
+ table="TAX_Vat"/>
+
+ <logic>
+ <block name="blk" datasource="dts">
+ <field name="fldItemType" field="ITEM_type" fk_description="ITEM_value"
+ fk_key="gnue_id" fk_source="dts_ITEM_ItemType" maxLength="32"/>
+ <field name="fldItemShortname" field="ITEM_shortName" maxLength="35"/>
+ <field name="fldItemLongname" field="ITEM_longName" maxLength="40"/>
+ <field name="fldItemPrice" field="SALES_price" maxLength="10"
+ typecast="number"/>
+ <field name="fldItemUnit" field="ITEM_unit" fk_description="ITEM_value"
+ fk_key="gnue_id" fk_source="dts_ITEM_UnitType" maxLength="32"/>
+ <field name="fldItemVat" field="SALES_vat" fk_description="TAX_name"
+ fk_key="gnue_id" fk_source="dts_TAX_Vat" maxLength="32"/>
+ </block>
+ </logic>
+ <layout c:height="7" c:width="55">
+ <page>
+ <label name="lblType:" c:height="1" c:width="5" c:x="1" c:y="1"
+ text="Type:"/>
+ <entry name="entType" c:height="1" c:width="28" c:x="13" c:y="1"
+ block="blk" field="fldItemType" label="" style="dropdown"/>
+ <button name="btnEditType" c:height="1" c:width="7" c:x="41" c:y="1"
+ label="Edit...">
+ <trigger type="On-Action" name="btnEditTypeTrigger">
+ params = {'id': blk.fldItemType.get() or ''}
+ form.runForm('ItemType.gfd', params)
+ blk.fldItemType.resetForeignKey()
+ </trigger>
+ </button>
+ <label name="lblShortname:" c:height="1" c:width="11" c:x="1" c:y="2"
+ text="Short name:"/>
+ <entry name="entShortname" c:height="1" c:width="35" c:x="13" c:y="2"
+ block="blk" field="fldItemShortname" label=""/>
+ <label name="lblLongname:" c:height="1" c:width="10" c:x="1" c:y="3"
+ text="Long name:"/>
+ <entry name="entLongname" c:height="1" c:width="35" c:x="13" c:y="3"
+ block="blk" field="fldItemLongname" label=""/>
+ <label name="lblPrice:" c:height="1" c:width="6" c:x="1" c:y="4"
+ text="Price:"/>
+ <entry name="entPrice" c:height="1" c:width="10" c:x="13" c:y="4"
+ block="blk" field="fldItemPrice" label=""/>
+ <label name="lblUnit:" c:height="1" c:width="5" c:x="1" c:y="5"
+ text="Unit:"/>
+ <entry name="entUnit" c:height="1" c:width="28" c:x="13" c:y="5"
+ block="blk" field="fldItemUnit" label="" style="dropdown"/>
+ <button name="btnEditUnit" c:height="1" c:width="7" c:x="41" c:y="5"
+ label="Edit...">
+ <trigger type="On-Action" name="btnEditUnitTrigger">
+ params = {'id': blk.fldItemUnit.get() or ''}
+ form.runForm('UnitType.gfd', params)
+ blk.fldItemUnit.resetForeignKey()
+ </trigger>
+ </button>
+ <label name="lblVat:" c:height="1" c:width="9" c:x="1" c:y="6"
+ text="Item Vat:"/>
+ <entry name="entVat" c:height="1" c:width="28" c:x="13" c:y="6"
+ block="blk" field="fldItemVat" label="" style="dropdown"/>
+ <button name="btnEditVat" c:height="1" c:width="7" c:x="41" c:y="6"
+ label="Edit...">
+ <trigger type="On-Action" name="btnEditVatTrigger">
+ params = {'id': blk.fldItemVat.get() or ''}
+ form.runForm('Vat.gfd', params)
+ blk.fldItemVat.resetForeignKey()
+ </trigger>
+ </button>
+ </page>
+ </layout>
+
+</form>
Copied: gnue-invoice/forms/ItemType-hu.gfd (from rev 201,
gnue-invoice/forms/ITEM_ItemType-hu.gfd)
Copied: gnue-invoice/forms/ItemType.gfd (from rev 201,
gnue-invoice/forms/ITEM_ItemType.gfd)
Deleted: gnue-invoice/forms/LOC_Address-hu.gfd
===================================================================
--- gnue-invoice/forms/LOC_Address-hu.gfd 2005-01-16 16:16:02 UTC (rev
202)
+++ gnue-invoice/forms/LOC_Address-hu.gfd 2005-01-16 22:28:18 UTC (rev
203)
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="iso8859-2"?>
-
-<!-- LOC_Address Hungarian Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="C�m">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="LOC_Address"/>
- <datasource name="dts_LOC_Zip" connection="invoice" prequery="Y"
- table="LOC_Zip"/>
- <datasource name="dts_LOC_Street" connection="invoice" prequery="Y"
- table="LOC_Street"/>
- <datasource name="dts_LOC_Country" connection="invoice" prequery="Y"
- table="LOC_Country"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldCountry" field="LOC_country" maxLength="32"
- fk_source="dts_LOC_Country" fk_key="gnue_id"
- fk_description="LOC_formatted"/>
- <field name="fldZip" field="LOC_zip" maxLength="32"
- fk_source="dts_LOC_Zip" fk_key="gnue_id"
- fk_description="LOC_formatted"/>
- <field name="fldStreet" field="LOC_street" maxLength="32"
- fk_source="dts_LOC_Street" fk_key="gnue_id"
- fk_description="LOC_formatted"/>
- <field name="fldNumber" field="LOC_number" maxLength="11"/>
- <field name="fldBuilding" field="LOC_building" maxLength="4"/>
- <field name="fldStaircase" field="LOC_staircase" maxLength="4"/>
- <field name="fldFloor" field="LOC_floor" maxLength="2"/>
- <field name="fldDoor" field="LOC_door" maxLength="4"/>
- </block>
- </logic>
-
- <layout c:height="9" c:width="53">
- <page>
- <label name="lblCountry" c:height="1" c:width="7" c:x="1" c:y="1"
- text="Orsz�g:"/>
- <entry name="entCountry" c:height="1" c:width="30" c:x="12" c:y="1"
- block="blk" field="fldCountry" style="dropdown"/>
- <button name="btnEditCountry" c:height="1" c:width="10" c:x="42" c:y="1"
- label="M�dos�t...">
- <trigger type="ON-ACTION" name="btnEditCountryTrigger">
- params = {'id': blk.fldCountry.get() or ''}
- form.runForm('LOC_Country-hu.gfd', params)
- blk.fldCountry.resetForeignKey()
- </trigger>
- </button>
- <label name="lblZip" c:height="1" c:width="6" c:x="1" c:y="2"
- text="Irsz.:"/>
- <entry name="entZip" c:height="1" c:width="30" c:x="12" c:y="2"
- block="blk" field="fldZip" style="dropdown"/>
- <button name="btnEditZip" c:height="1" c:width="10" c:x="42" c:y="2"
- label="M�dos�t...">
- <trigger type="ON-ACTION" name="btnEditZipTrigger">
- params = {'id': blk.fldZip.get() or ''}
- form.runForm('LOC_Zip-hu.gfd', params)
- blk.fldZip.resetForeignKey()
- </trigger>
- </button>
- <label name="lblStreet" c:height="1" c:width="11" c:x="1" c:y="3"
- text="K�zter�let:"/>
- <entry name="entStreet" c:height="1" c:width="30" c:x="12" c:y="3"
- block="blk" field="fldStreet" style="dropdown"/>
- <button name="btnEditStreet" c:height="1" c:width="10" c:x="42" c:y="3"
- label="M�dos�t...">
- <trigger type="ON-ACTION" name="btnEditStreetTrigger">
- params = {'id': blk.fldStreet.get() or ''}
- form.runForm('LOC_Street-hu.gfd', params)
- blk.fldStreet.resetForeignKey()
- </trigger>
- </button>
- <label name="lblNumber" c:height="1" c:width="4" c:x="1" c:y="4"
- text="Hsz:"/>
- <entry name="entNumber" c:height="1" c:width="11" c:x="12" c:y="4"
- block="blk" field="fldNumber"/>
- <label name="lblBuilding" c:height="1" c:width="7" c:x="1" c:y="5"
- text="�p�let:"/>
- <entry name="entBuilding" c:height="1" c:width="4" c:x="12" c:y="5"
- block="blk" field="fldBuilding"/>
- <label name="lblStaircase" c:height="1" c:width="4" c:x="1" c:y="6"
- text="Lh.:"/>
- <entry name="entStaircase" c:height="1" c:width="4" c:x="12" c:y="6"
- block="blk" field="fldStaircase"/>
- <label name="lblFloor" c:height="1" c:width="7" c:x="1" c:y="7"
- text="Emelet:"/>
- <entry name="entFloor" c:height="1" c:width="2" c:x="12" c:y="7"
- block="blk" field="fldFloor"/>
- <label name="lblDoor" c:height="1" c:width="5" c:x="1" c:y="8"
- text="Ajt�:"/>
- <entry name="entDoor" c:height="1" c:width="4" c:x="12" c:y="8"
- block="blk" field="fldDoor"/>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/LOC_Address.gfd
===================================================================
--- gnue-invoice/forms/LOC_Address.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/LOC_Address.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,117 +0,0 @@
-<?xml version="1.0" encoding="iso8859-1"?>
-
-<!-- LOC_Address Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Address">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="LOC_Address"/>
- <datasource name="dts_LOC_Zip" connection="invoice" prequery="Y"
- table="LOC_Zip"/>
- <datasource name="dts_LOC_Street" connection="invoice" prequery="Y"
- table="LOC_Street"/>
- <datasource name="dts_LOC_Country" connection="invoice" prequery="Y"
- table="LOC_Country"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldLocBuilding" field="LOC_building" maxLength="4"/>
- <field name="fldLocCountry" field="LOC_country"
fk_description="LOC_formatted"
- fk_key="gnue_id" fk_source="dts_LOC_Country" maxLength="32"/>
- <field name="fldLocDoor" field="LOC_door" maxLength="4"/>
- <field name="fldLocFloor" field="LOC_floor" maxLength="2"/>
- <field name="fldLocNumber" field="LOC_number" maxLength="11"/>
- <field name="fldLocStreet" field="LOC_street"
- fk_description="LOC_formatted" fk_key="gnue_id"
fk_source="dts_LOC_Street" maxLength="32"/>
- <field name="fldLocStaircase" field="LOC_staircase" maxLength="4"/>
- <field name="fldLocZip" field="LOC_zip" fk_description="LOC_formatted"
- fk_key="gnue_id" fk_source="dts_LOC_Zip" maxLength="32"/>
- </block>
- </logic>
-
- <layout c:height="9" c:width="43">
- <page>
- <label name="lblCountry:" c:height="1" c:width="12" c:x="1" c:y="1"
- text="Country:"/>
- <entry name="entCountry" c:height="1" c:width="30" c:x="12" c:y="1"
- block="blk" field="fldLocCountry" focusorder="1" label=""
style="dropdown"/>
- <button name="btnEditCountry" c:height="1" c:width="7" c:x="42" c:y="1"
- label="Edit...">
- <trigger type="ON-ACTION" name="btnEditCountryTrigger">
- params = {'id': blk.fldLocCountry.get() or ''}
- form.runForm('LOC_Country.gfd', params)
- blk.fldLocCountry.resetForeignKey()
- </trigger>
- </button>
- <label name="lblZip:" c:height="1" c:width="8" c:x="1" c:y="2"
- text="Zip:"/>
- <entry name="entZip" c:height="1" c:width="30" c:x="12" c:y="2"
- block="blk" field="fldLocZip" focusorder="2" label=""
style="dropdown"/>
- <button name="btnEditZip" c:height="1" c:width="7" c:x="42" c:y="2"
- label="Edit...">
- <trigger type="ON-ACTION" name="btnEditZipTrigger">
- params = {'id': blk.fldLocZip.get() or ''}
- form.runForm('LOC_Zip.gfd', params)
- blk.fldLocZip.resetForeignKey()
- </trigger>
- </button>
- <label name="lblStreet:" c:height="1" c:width="10" c:x="1" c:y="3"
- text="Street:"/>
- <entry name="entStreet" c:height="1" c:width="30" c:x="12" c:y="3"
- block="blk" field="fldLocStreet" focusorder="3" label=""
style="dropdown"/>
- <button name="btnEditStreet" c:height="1" c:width="7" c:x="42" c:y="3"
- label="Edit...">
- <trigger type="ON-ACTION" name="btnEditStreetTrigger">
- params = {'id': blk.fldLocStreet.get() or ''}
- form.runForm('LOC_Street.gfd', params)
- blk.fldLocStreet.resetForeignKey()
- </trigger>
- </button>
- <label name="lblNumber:" c:height="1" c:width="11" c:x="1" c:y="4"
- text="Number:"/>
- <entry name="entNumber" c:height="1" c:width="11" c:x="12" c:y="4"
- block="blk" field="fldLocNumber" focusorder="4" label=""/>
- <label name="lblBuilding:" c:height="1" c:width="13" c:x="1" c:y="5"
- text="Building:"/>
- <entry name="entBuilding" c:height="1" c:width="4" c:x="12" c:y="5"
- block="blk" field="fldLocBuilding" focusorder="5" label=""/>
- <label name="lblStaircase:" c:height="1" c:width="14" c:x="1" c:y="6"
- text="Staircase:"/>
- <entry name="entStaircase" c:height="1" c:width="4" c:x="12" c:y="6"
- block="blk" field="fldLocStaircase" focusorder="6" label=""/>
- <label name="lblFloor:" c:height="1" c:width="10" c:x="1" c:y="7"
- text="Floor:"/>
- <entry name="entFloor" c:height="1" c:width="2" c:x="12" c:y="7"
- block="blk" field="fldLocFloor" focusorder="7" label=""/>
- <label name="lblDoor:" c:height="1" c:width="9" c:x="1" c:y="8"
- text="Door:"/>
- <entry name="entDoor" c:height="1" c:width="4" c:x="12" c:y="8"
- block="blk" field="fldLocDoor" focusorder="8" label=""/>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/LOC_Country-hu.gfd
===================================================================
--- gnue-invoice/forms/LOC_Country-hu.gfd 2005-01-16 16:16:02 UTC (rev
202)
+++ gnue-invoice/forms/LOC_Country-hu.gfd 2005-01-16 22:28:18 UTC (rev
203)
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="iso8859-2"?>
-
-<!-- LOC_Country Hungarian Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Orsz�g">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="LOC_Country"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldLocCode" field="LOC_code" maxLength="3"/>
- <field name="fldLocName" field="LOC_name" maxLength="70"/>
- <field name="fldLocPhone" field="LOC_phone" maxLength="4"/>
- </block>
- </logic>
-
- <layout c:height="4" c:width="46">
- <page>
- <label name="lblCode" c:height="1" c:width="4" c:x="1" c:y="1"
- text="K�d:"/>
- <entry name="entCode" c:height="1" c:width="3" c:x="9" c:y="1"
- block="blk" field="fldLocCode"/>
- <label name="lblName" c:height="1" c:width="4" c:x="1" c:y="2"
- text="N�v:"/>
- <entry name="entName" c:height="1" c:width="30" c:x="9" c:y="2"
- block="blk" field="fldLocName"/>
- <label name="lblPhone" c:height="1" c:width="8" c:x="1" c:y="3"
- text="Telefon:"/>
- <entry name="entPhone" c:height="1" c:width="4" c:x="9" c:y="3"
- block="blk" field="fldLocPhone"/>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/LOC_Country.gfd
===================================================================
--- gnue-invoice/forms/LOC_Country.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/LOC_Country.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="iso8859-1"?>
-
-<!-- LOC_Country Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Country">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="LOC_Country"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldLocCode" field="LOC_code" maxLength="3"/>
- <field name="fldLocName" field="LOC_name" maxLength="70"/>
- <field name="fldLocPhone" field="LOC_phone" maxLength="4"/>
- </block>
- </logic>
-
- <layout c:height="3" c:width="46">
- <page>
- <label name="lblCode:" c:height="1" c:width="4" c:x="1" c:y="1"
- text="Code:"/>
- <entry name="entCode" c:height="1" c:width="3" c:x="9" c:y="1"
- block="blk" field="fldLocCode" focusorder="1"/>
- <label name="lblName:" c:height="1" c:width="4" c:x="1" c:y="2"
- text="Name:"/>
- <entry name="entName" c:height="1" c:width="30" c:x="9" c:y="2"
- block="blk" field="fldLocName" focusorder="2"/>
- <label name="lblPhone:" c:height="1" c:width="4" c:x="1" c:y="3"
- text="Phone:"/>
- <entry name="entPhone" c:height="1" c:width="4" c:x="9" c:y="3"
- block="blk" field="fldLocPhone" focusorder="3"/>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/LOC_Region-hu.gfd
===================================================================
--- gnue-invoice/forms/LOC_Region-hu.gfd 2005-01-16 16:16:02 UTC (rev
202)
+++ gnue-invoice/forms/LOC_Region-hu.gfd 2005-01-16 22:28:18 UTC (rev
203)
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="iso8859-2"?>
-
-<!-- LOC_Region Hungarian Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Megye/R�gi�">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="LOC_Region"/>
- <datasource name="dts_LOC_Country" connection="invoice" prequery="Y"
- table="LOC_Country"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldLocCode" field="LOC_code" maxLength="8"/>
- <field name="fldLocName" field="LOC_name" maxLength="70"/>
- <field name="fldLocCountry" field="LOC_country" maxLength="32"
- fk_source="dts_LOC_Country" fk_key="gnue_id"
- fk_description="LOC_name"/>
- </block>
- </logic>
-
- <layout c:height="4" c:width="48">
- <page>
- <label name="lblCode" c:height="1" c:width="4" c:x="1" c:y="1"
- text="K�d:"/>
- <entry name="entCode" c:height="1" c:width="8" c:x="8" c:y="1"
- block="blk" field="fldLocCode"/>
- <label name="lblName" c:height="1" c:width="4" c:x="1" c:y="2"
- text="N�v:"/>
- <entry name="entName" c:height="1" c:width="30" c:x="8" c:y="2"
- block="blk" field="fldLocName"/>
- <label name="lblCountry" c:height="1" c:width="7" c:x="1" c:y="3"
- text="Orsz�g:"/>
- <entry name="entCountry" c:height="1" c:width="30" c:x="8" c:y="3"
- block="blk" field="fldLocCountry" style="dropdown"/>
- <button name="btnEditCountry" c:height="1" c:width="10" c:x="38" c:y="3"
- label="M�dos�t...">
- <trigger type="ON-ACTION" name="btnEditCountryTrigger">
- params = {'id': blk.fldLocCountry.get() or ''}
- form.runForm('LOC_Country-hu.gfd', params)
- blk.fldLocCountry.resetForeignKey()
- </trigger>
- </button>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/LOC_Region.gfd
===================================================================
--- gnue-invoice/forms/LOC_Region.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/LOC_Region.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="iso8859-1"?>
-
-<!-- LOC_Region Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Region">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="LOC_Region"/>
- <datasource name="dts_LOC_Country" connection="invoice" prequery="Y"
- table="LOC_Country"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldLocCode" field="LOC_code" maxLength="8"/>
- <field name="fldLocCountry" field="LOC_country" fk_description="LOC_name"
- fk_key="gnue_id" fk_source="dts_LOC_Country" maxLength="32"/>
- <field name="fldLocName" field="LOC_name" maxLength="70"/>
- </block>
- </logic>
-
- <layout c:height="4" c:width="42">
- <page>
- <label name="lblCode:" c:height="1" c:width="4" c:x="1" c:y="1"
- text="Code:"/>
- <entry name="entCode" c:height="1" c:width="8" c:x="10" c:y="1"
- block="blk" field="fldLocCode" focusorder="1" label=""/>
- <label name="lblName:" c:height="1" c:width="4" c:x="1" c:y="2"
- text="Name:"/>
- <entry name="entName" c:height="1" c:width="30" c:x="10" c:y="2"
- block="blk" field="fldLocName" focusorder="2" label=""/>
- <label name="lblCountry:" c:height="1" c:width="7" c:x="1" c:y="3"
- text="Country:"/>
- <entry name="entCountry" c:height="1" c:width="30" c:x="10" c:y="3"
- block="blk" field="fldLocCountry" focusorder="3" label=""
style="dropdown"/>
- <button name="btnEditCountry" c:height="1" c:width="7" c:x="40" c:y="3"
- label="Edit...">
- <trigger type="ON-ACTION" name="btnEditCountryTrigger">
- params = {'id': blk.fldLocCountry.get() or ''}
- form.runForm('LOC_Country.gfd', params)
- blk.fldLocCountry.resetForeignKey()
- </trigger>
- </button>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/LOC_Street-hu.gfd
===================================================================
--- gnue-invoice/forms/LOC_Street-hu.gfd 2005-01-16 16:16:02 UTC (rev
202)
+++ gnue-invoice/forms/LOC_Street-hu.gfd 2005-01-16 22:28:18 UTC (rev
203)
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="iso8859-2"?>
-
-<!-- LOC_Street Hungarian Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="K�zter�let">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="LOC_Street"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldLocName" field="LOC_name" maxLength="35"/>
- <field name="fldLocType" field="LOC_type" maxLength="35"/>
- </block>
- </logic>
-
- <layout c:height="3" c:width="38">
- <page>
- <label name="lblName" c:height="1" c:width="4" c:x="1" c:y="1"
- text="N�v:"/>
- <entry name="entName" c:height="1" c:width="30" c:x="7" c:y="1"
- block="blk" field="fldLocName"/>
- <label name="lblType:" c:height="1" c:width="6" c:x="1" c:y="2"
- text="T�pus:"/>
- <entry name="entType" c:height="1" c:width="30" c:x="7" c:y="2"
- block="blk" field="fldLocType"/>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/LOC_Street.gfd
===================================================================
--- gnue-invoice/forms/LOC_Street.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/LOC_Street.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="iso8859-1"?>
-
-<!-- LOC_Street Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Street names">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="LOC_Street"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldLocName" field="LOC_name" maxLength="35"/>
- <field name="fldLocType" field="LOC_type" maxLength="35"/>
- </block>
- </logic>
-
- <layout c:height="3" c:width="38">
- <page>
- <label name="lblName:" c:height="1" c:width="4" c:x="1" c:y="1"
- text="Name:"/>
- <entry name="entName" c:height="1" c:width="30" c:x="7" c:y="1"
- block="blk" field="fldLocName" focusorder="1" label=""/>
- <label name="lblType:" c:height="1" c:width="6" c:x="1" c:y="2"
- text="Type:"/>
- <entry name="entType" c:height="1" c:width="30" c:x="7" c:y="2"
- block="blk" field="fldLocType" focusorder="2" label=""/>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/LOC_Zip-hu.gfd
===================================================================
--- gnue-invoice/forms/LOC_Zip-hu.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/LOC_Zip-hu.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="iso8859-2"?>
-
-<!-- LOC_ZIP Hungarian Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Ir�ny�t�sz�m">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="LOC_Zip"/>
- <datasource name="dts_LOC_Region" connection="invoice" prequery="Y"
- table="LOC_Region"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldLocCode" field="LOC_code" maxLength="8"/>
- <field name="fldLocCity" field="LOC_city" maxLength="60"/>
- <field name="fldLocRegion" field="LOC_region" maxLength="32"
- fk_source="dts_LOC_Region" fk_key="gnue_id"
- fk_description="LOC_name"/>
- </block>
- </logic>
-
- <layout c:height="4" c:width="50">
- <page>
- <label name="lblCode" c:height="1" c:width="8" c:x="1" c:y="1"
- text="Ir.sz�m:"/>
- <entry name="entCode" c:height="1" c:width="8" c:x="9" c:y="1"
- block="blk" field="fldLocCode"/>
- <label name="lblCity" c:height="1" c:width="8" c:x="1" c:y="2"
- text="Helys�g:"/>
- <entry name="entCity" c:height="1" c:width="30" c:x="9" c:y="2"
- block="blk" field="fldLocCity"/>
- <label name="lblRegion" c:height="1" c:width="6" c:x="1" c:y="3"
- text="Megye:"/>
- <entry name="entRegion" c:height="1" c:width="30" c:x="9" c:y="3"
- block="blk" field="fldLocRegion" style="dropdown"/>
- <button name="btnEditRegion" c:height="1" c:width="10" c:x="39" c:y="3"
- label="M�dos�t...">
- <trigger type="ON-ACTION" name="btnEditRegionTrigger">
- params = {'id': blk.fldLocRegion.get() or ''}
- form.runForm('LOC_Region-hu.gfd', params)
- blk.fldLocRegion.resetForeignKey()
- </trigger>
- </button>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/LOC_Zip.gfd
===================================================================
--- gnue-invoice/forms/LOC_Zip.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/LOC_Zip.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="iso8859-1"?>
-
-<!-- LOC_ZIP Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Postal Code">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="LOC_Zip"/>
- <datasource name="dts_LOC_Region" connection="invoice" prequery="Y"
- table="LOC_Region"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldLocCode" field="LOC_code" maxLength="8"/>
- <field name="fldLocCity" field="LOC_city" maxLength="60"/>
- <field name="fldLocRegion" field="LOC_region" fk_description="LOC_name"
- fk_key="gnue_id" fk_source="dts_LOC_Region" maxLength="32"/>
- </block>
- </logic>
-
- <layout c:height="4" c:width="43">
- <page>
- <label name="lblCode:" c:height="1" c:width="4" c:x="1" c:y="1"
- text="Code:"/>
- <entry name="entCode" c:height="1" c:width="8" c:x="12" c:y="1"
- block="blk" field="fldLocCode" focusorder="1" label=""/>
- <label name="lblCity:" c:height="1" c:width="8" c:x="1" c:y="2"
- text="City:"/>
- <entry name="entCity" c:height="1" c:width="30" c:x="12" c:y="2"
- block="blk" field="fldLocCity" focusorder="2" label=""/>
- <label name="lblRegion:" c:height="1" c:width="6" c:x="1" c:y="3"
- text="Region:"/>
- <entry name="entRegion" c:height="1" c:width="30" c:x="12" c:y="3"
- block="blk" field="fldLocRegion" focusorder="3" label=""
style="dropdown"/>
- <button name="btnEditRegion" c:height="1" c:width="7" c:x="42" c:y="3"
- label="Edit...">
- <trigger type="ON-ACTION" name="btnEditRegionTrigger">
- params = {'id': blk.fldLocRegion.get() or ''}
- form.runForm('LOC_Region.gfd', params)
- blk.fldLocRegion.resetForeignKey()
- </trigger>
- </button>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/ORG_Org-hu.gfd
===================================================================
--- gnue-invoice/forms/ORG_Org-hu.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/ORG_Org-hu.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="iso8859-2"?>
-
-<!-- Organization Hungarian Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="C�g">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="ORG_Org"/>
- <datasource name="dts_Address" connection="invoice" table="LOC_Address"
- prequery="Y"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldOrgShortname" field="ORG_shortName" maxLength="35"/>
- <field name="fldOrgLongname" field="ORG_longName" maxLength="70"/>
- <field name="fldOrgKeywords" field="ORG_keywords" maxLength="255"/>
- <field name="fldOrgTaxid" field="TAX_taxID" maxLength="35"/>
- <field name="fldOrgAddress" field="ORG_address" maxLength="32"
- fk_source="dts_Address" fk_key="gnue_id"
- fk_description="LOC_formatted"/>
- </block>
- </logic>
-
- <layout c:height="6" c:width="55">
- <page>
- <label name="lblName" c:height="1" c:width="4" c:x="1" c:y="1"
- text="N�v:"/>
- <entry name="entName" c:height="1" c:width="28" c:x="13" c:y="1"
- block="blk" field="fldOrgShortname"/>
- <label name="lblLongname" c:height="1" c:width="11" c:x="1" c:y="2"
- text="Teljes n�v:"/>
- <entry name="entLongname" c:height="1" c:width="40" c:x="13" c:y="2"
- block="blk" field="fldOrgLongname"/>
- <label name="lblKeywords" c:height="1" c:width="12" c:x="1" c:y="3"
- text="Kulcsszavak:"/>
- <entry name="entKeywords" c:height="1" c:width="40" c:x="13" c:y="3"
- block="blk" field="fldOrgKeywords"/>
- <label name="lblTaxid" c:height="1" c:width="8" c:x="1" c:y="4"
- text="Ad�sz�m:"/>
- <entry name="entTaxid" c:height="1" c:width="28" c:x="13" c:y="4"
- block="blk" field="fldOrgTaxid"/>
- <label name="lblAddress" c:height="1" c:width="4" c:x="1" c:y="5"
- text="C�m:"/>
- <entry name="entAddress" c:height="1" c:width="28" c:x="13" c:y="5"
- block="blk" field="fldOrgAddress" style="dropdown"/>
- <button name="btnEditAddress" c:height="1" c:width="10" c:x="41" c:y="5"
- label="M�dos�t...">
- <trigger type="On-Action" name="btnEditAddressTrigger">
- params = {'id': blk.fldOrgAddress.get() or ''}
- form.runForm('LOC_Address-hu.gfd', params)
- blk.fldOrgAddress.resetForeignKey()
- </trigger>
- </button>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/ORG_Org.gfd
===================================================================
--- gnue-invoice/forms/ORG_Org.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/ORG_Org.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="iso8859-1"?>
-
-<!-- Organization Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Organization">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="ORG_Org"/>
- <datasource name="dts_Address" connection="invoice" table="LOC_Address"
- prequery="Y"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldOrgShortname" field="ORG_shortName" maxLength="35"/>
- <field name="fldOrgLongname" field="ORG_longName" maxLength="70"/>
- <field name="fldOrgKeywords" field="ORG_keywords" maxLength="255"/>
- <field name="fldOrgTaxid" field="TAX_taxID" maxLength="35"/>
- <field name="fldOrgAddress" field="ORG_address" maxLength="32"
- fk_source="dts_Address" fk_key="gnue_id"
- fk_description="LOC_formatted"/>
- </block>
- </logic>
-
- <layout c:height="6" c:width="45">
- <page>
- <label name="lblName" c:height="1" c:width="5" c:x="1" c:y="1"
- text="Name:"/>
- <entry name="entName" c:height="1" c:width="28" c:x="10" c:y="1"
- block="blk" field="fldOrgShortname"/>
- <label name="lblLongname" c:height="1" c:width="10" c:x="1" c:y="2"
- text="Long name:"/>
- <entry name="entLongname" c:height="1" c:width="40" c:x="10" c:y="2"
- block="blk" field="fldOrgLongname"/>
- <label name="lblKeywords" c:height="1" c:width="10" c:x="1" c:y="3"
- text="Keywords:"/>
- <entry name="entKeywords" c:height="1" c:width="40" c:x="10" c:y="3"
- block="blk" field="fldOrgKeywords"/>
- <label name="lblTaxid" c:height="1" c:width="6" c:x="1" c:y="4"
- text="Tax ID:"/>
- <entry name="entTaxid" c:height="1" c:width="28" c:x="10" c:y="4"
- block="blk" field="fldOrgTaxid"/>
- <label name="lblAddress" c:height="1" c:width="8" c:x="1" c:y="5"
- text="Address:"/>
- <entry name="entAddress" c:height="1" c:width="28" c:x="10" c:y="5"
- block="blk" field="fldOrgAddress" style="dropdown"/>
- <button name="btnEditAddress" c:height="1" c:width="7" c:x="38" c:y="5"
- label="Edit...">
- <trigger type="On-Action" name="btnEditAddressTrigger">
- params = {'id': blk.fldOrgAddress.get() or ''}
- form.runForm('LOC_Address.gfd', params)
- blk.fldOrgAddress.resetForeignKey()
- </trigger>
- </button>
- </page>
- </layout>
-
-</form>
Copied: gnue-invoice/forms/Org-hu.gf (from rev 201,
gnue-invoice/forms/ORG_Org-hu.gfd)
Copied: gnue-invoice/forms/Org.gfd (from rev 201,
gnue-invoice/forms/ORG_Org.gfd)
===================================================================
--- gnue-invoice/forms/ORG_Org.gfd 2005-01-12 08:44:15 UTC (rev 201)
+++ gnue-invoice/forms/Org.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="iso8859-1"?>
+
+<!-- Organization Form
+
+ 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$ -->
+
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Organization">
+ <options/>
+
+ <import-trigger name='startupSearch' library='util.gfd'/>
+ <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
+
+ <datasource name="dts" connection="invoice" table="ORG_Org"/>
+ <datasource name="dts_Address" connection="invoice" table="LOC_Address"
+ prequery="Y"/>
+
+ <logic>
+ <block name="blk" datasource="dts">
+ <field name="fldOrgShortname" field="ORG_shortName" maxLength="35"/>
+ <field name="fldOrgLongname" field="ORG_longName" maxLength="70"/>
+ <field name="fldOrgKeywords" field="ORG_keywords" maxLength="255"/>
+ <field name="fldOrgTaxid" field="TAX_taxID" maxLength="35"/>
+ <field name="fldOrgAddress" field="ORG_address" maxLength="32"
+ fk_source="dts_Address" fk_key="gnue_id"
+ fk_description="LOC_formatted"/>
+ </block>
+ </logic>
+
+ <layout c:height="6" c:width="45">
+ <page>
+ <label name="lblName" c:height="1" c:width="5" c:x="1" c:y="1"
+ text="Name:"/>
+ <entry name="entName" c:height="1" c:width="28" c:x="10" c:y="1"
+ block="blk" field="fldOrgShortname"/>
+ <label name="lblLongname" c:height="1" c:width="10" c:x="1" c:y="2"
+ text="Long name:"/>
+ <entry name="entLongname" c:height="1" c:width="40" c:x="10" c:y="2"
+ block="blk" field="fldOrgLongname"/>
+ <label name="lblKeywords" c:height="1" c:width="10" c:x="1" c:y="3"
+ text="Keywords:"/>
+ <entry name="entKeywords" c:height="1" c:width="40" c:x="10" c:y="3"
+ block="blk" field="fldOrgKeywords"/>
+ <label name="lblTaxid" c:height="1" c:width="6" c:x="1" c:y="4"
+ text="Tax ID:"/>
+ <entry name="entTaxid" c:height="1" c:width="28" c:x="10" c:y="4"
+ block="blk" field="fldOrgTaxid"/>
+ <label name="lblAddress" c:height="1" c:width="8" c:x="1" c:y="5"
+ text="Address:"/>
+ <entry name="entAddress" c:height="1" c:width="28" c:x="10" c:y="5"
+ block="blk" field="fldOrgAddress" style="dropdown"/>
+ <button name="btnEditAddress" c:height="1" c:width="7" c:x="38" c:y="5"
+ label="Edit...">
+ <trigger type="On-Action" name="btnEditAddressTrigger">
+ params = {'id': blk.fldOrgAddress.get() or ''}
+ form.runForm('Address.gfd', params)
+ blk.fldOrgAddress.resetForeignKey()
+ </trigger>
+ </button>
+ </page>
+ </layout>
+
+</form>
Copied: gnue-invoice/forms/PaymentMethod-hu.gfd (from rev 202,
gnue-invoice/forms/INV_PaymentMethod-hu.gfd)
Copied: gnue-invoice/forms/PaymentMethod.gfd (from rev 202,
gnue-invoice/forms/INV_PaymentMethod.gfd)
Copied: gnue-invoice/forms/Region-hu.gfd (from rev 201,
gnue-invoice/forms/LOC_Region-hu.gfd)
===================================================================
--- gnue-invoice/forms/LOC_Region-hu.gfd 2005-01-12 08:44:15 UTC (rev
201)
+++ gnue-invoice/forms/Region-hu.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="iso8859-2"?>
+
+<!-- LOC_Region Hungarian Form
+
+ 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$ -->
+
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Megye/R�gi�">
+ <options/>
+
+ <import-trigger name='startupSearch' library='util.gfd'/>
+ <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
+
+ <datasource name="dts" connection="invoice" table="LOC_Region"/>
+ <datasource name="dts_LOC_Country" connection="invoice" prequery="Y"
+ table="LOC_Country"/>
+
+ <logic>
+ <block name="blk" datasource="dts">
+ <field name="fldLocCode" field="LOC_code" maxLength="8"/>
+ <field name="fldLocName" field="LOC_name" maxLength="70"/>
+ <field name="fldLocCountry" field="LOC_country" maxLength="32"
+ fk_source="dts_LOC_Country" fk_key="gnue_id"
+ fk_description="LOC_name"/>
+ </block>
+ </logic>
+
+ <layout c:height="4" c:width="48">
+ <page>
+ <label name="lblCode" c:height="1" c:width="4" c:x="1" c:y="1"
+ text="K�d:"/>
+ <entry name="entCode" c:height="1" c:width="8" c:x="8" c:y="1"
+ block="blk" field="fldLocCode"/>
+ <label name="lblName" c:height="1" c:width="4" c:x="1" c:y="2"
+ text="N�v:"/>
+ <entry name="entName" c:height="1" c:width="30" c:x="8" c:y="2"
+ block="blk" field="fldLocName"/>
+ <label name="lblCountry" c:height="1" c:width="7" c:x="1" c:y="3"
+ text="Orsz�g:"/>
+ <entry name="entCountry" c:height="1" c:width="30" c:x="8" c:y="3"
+ block="blk" field="fldLocCountry" style="dropdown"/>
+ <button name="btnEditCountry" c:height="1" c:width="10" c:x="38" c:y="3"
+ label="M�dos�t...">
+ <trigger type="ON-ACTION" name="btnEditCountryTrigger">
+ params = {'id': blk.fldLocCountry.get() or ''}
+ form.runForm('Country-hu.gfd', params)
+ blk.fldLocCountry.resetForeignKey()
+ </trigger>
+ </button>
+ </page>
+ </layout>
+
+</form>
Copied: gnue-invoice/forms/Region.gfd (from rev 201,
gnue-invoice/forms/LOC_Region.gfd)
===================================================================
--- gnue-invoice/forms/LOC_Region.gfd 2005-01-12 08:44:15 UTC (rev 201)
+++ gnue-invoice/forms/Region.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="iso8859-1"?>
+
+<!-- LOC_Region Form
+
+ 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$ -->
+
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Region">
+ <options/>
+
+ <import-trigger name='startupSearch' library='util.gfd'/>
+ <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
+
+ <datasource name="dts" connection="invoice" table="LOC_Region"/>
+ <datasource name="dts_LOC_Country" connection="invoice" prequery="Y"
+ table="LOC_Country"/>
+
+ <logic>
+ <block name="blk" datasource="dts">
+ <field name="fldLocCode" field="LOC_code" maxLength="8"/>
+ <field name="fldLocCountry" field="LOC_country" fk_description="LOC_name"
+ fk_key="gnue_id" fk_source="dts_LOC_Country" maxLength="32"/>
+ <field name="fldLocName" field="LOC_name" maxLength="70"/>
+ </block>
+ </logic>
+
+ <layout c:height="4" c:width="42">
+ <page>
+ <label name="lblCode:" c:height="1" c:width="4" c:x="1" c:y="1"
+ text="Code:"/>
+ <entry name="entCode" c:height="1" c:width="8" c:x="10" c:y="1"
+ block="blk" field="fldLocCode" focusorder="1" label=""/>
+ <label name="lblName:" c:height="1" c:width="4" c:x="1" c:y="2"
+ text="Name:"/>
+ <entry name="entName" c:height="1" c:width="30" c:x="10" c:y="2"
+ block="blk" field="fldLocName" focusorder="2" label=""/>
+ <label name="lblCountry:" c:height="1" c:width="7" c:x="1" c:y="3"
+ text="Country:"/>
+ <entry name="entCountry" c:height="1" c:width="30" c:x="10" c:y="3"
+ block="blk" field="fldLocCountry" focusorder="3" label=""
style="dropdown"/>
+ <button name="btnEditCountry" c:height="1" c:width="7" c:x="40" c:y="3"
+ label="Edit...">
+ <trigger type="ON-ACTION" name="btnEditCountryTrigger">
+ params = {'id': blk.fldLocCountry.get() or ''}
+ form.runForm('Country.gfd', params)
+ blk.fldLocCountry.resetForeignKey()
+ </trigger>
+ </button>
+ </page>
+ </layout>
+
+</form>
Copied: gnue-invoice/forms/Street-hu.gfd (from rev 201,
gnue-invoice/forms/LOC_Street-hu.gfd)
Copied: gnue-invoice/forms/Street.gfd (from rev 201,
gnue-invoice/forms/LOC_Street.gfd)
Deleted: gnue-invoice/forms/TAX_Vat-hu.gfd
===================================================================
--- gnue-invoice/forms/TAX_Vat-hu.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/TAX_Vat-hu.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,69 +0,0 @@
-<?xml version="1.0" encoding="iso8859-2"?>
-
-<!-- TAX_Vat Hungarian Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="�FA">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="TAX_Vat"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldTaxName" field="TAX_name"
maxLength="40"/>
- <field name="fldTaxRate" field="TAX_rate" maxLength="6"
- typecast="number"/>
- <field name="fldTaxValidfrom" field="TAX_validFrom" maxLength="10"
- typecast="date"/>
- <field name="fldTaxValiduntil" field="TAX_validUntil" maxLength="10"
- typecast="date"/>
- <field name="fldTaxReciprocate" field="TAX_reciprocate" maxLength="6"
- typecast="number"/>
- </block>
- </logic>
-
- <layout c:height="5" c:width="55">
- <page>
- <label name="lblName" c:height="1" c:width="11" c:x="1" c:y="1"
- text="Megnevez�s:"/>
- <entry name="entName" c:height="1" c:width="40" c:x="14" c:y="1"
- block="blk" field="fldTaxName"/>
- <label name="lblRate" c:height="1" c:width="9" c:x="1" c:y="2"
- text="Kulcs %:"/>
- <entry name="entRate" c:height="1" c:width="6" c:x="14" c:y="2"
- block="blk" field="fldTaxRate"/>
- <label name="lblValidfrom" c:height="1" c:width="13" c:x="1" c:y="3"
- text="�rv. kezdete:"/>
- <entry name="entValidfrom" c:height="1" c:width="10" c:x="14" c:y="3"
- block="blk" field="fldTaxValidfrom"/>
- <label name="lblValiduntil" c:height="1" c:width="10" c:x="1" c:y="4"
- text="�rv. v�ge:"/>
- <entry name="entValiduntil" c:height="1" c:width="10" c:x="14" c:y="4"
- block="blk" field="fldTaxValiduntil"/>
- </page>
- </layout>
-
-</form>
Deleted: gnue-invoice/forms/TAX_Vat.gfd
===================================================================
--- gnue-invoice/forms/TAX_Vat.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/TAX_Vat.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,69 +0,0 @@
-<?xml version="1.0" encoding="iso8859-1"?>
-
-<!-- TAX_Vat Form
-
- 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$ -->
-
-<form style="dialog" xmlns:c="GNUe:Layout:Char" title="VAT">
- <options/>
-
- <import-trigger name='startupSearch' library='util.gfd'/>
- <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
-
- <datasource name="dts" connection="invoice" table="TAX_Vat"/>
-
- <logic>
- <block name="blk" datasource="dts">
- <field name="fldTaxName" field="TAX_name" maxLength="40"/>
- <field name="fldTaxRate" field="TAX_rate" maxLength="6"
- typecast="number"/>
- <field name="fldTaxValidfrom" field="TAX_validFrom" maxLength="10"
- typecast="date"/>
- <field name="fldTaxValiduntil" field="TAX_validUntil" maxLength="10"
- typecast="date"/>
- <field name="fldTaxReciprocate" field="TAX_reciprocate" maxLength="6"
- typecast="number"/>
- </block>
- </logic>
-
- <layout c:height="5" c:width="55">
- <page>
- <label name="lblName:" c:height="1" c:width="11" c:x="1" c:y="1"
- text="VAT name:"/>
- <entry name="entName" c:height="1" c:width="40" c:x="14" c:y="1"
- block="blk" field="fldTaxName" label=""/>
- <label name="lblRate:" c:height="1" c:width="9" c:x="1" c:y="2"
- text="Rate:"/>
- <entry name="entRate" c:height="1" c:width="6" c:x="14" c:y="2"
- block="blk" field="fldTaxRate" label=""/>
- <label name="lblValidfrom:" c:height="1" c:width="13" c:x="1" c:y="3"
- text="Valid from:"/>
- <entry name="entValidfrom" c:height="1" c:width="10" c:x="14" c:y="3"
- block="blk" field="fldTaxValidfrom" label=""/>
- <label name="lblValiduntil:" c:height="1" c:width="10" c:x="1" c:y="4"
- text="Valid until:"/>
- <entry name="entValiduntil" c:height="1" c:width="10" c:x="14" c:y="4"
- block="blk" field="fldTaxValiduntil" label=""/>
- </page>
- </layout>
-
-</form>
Copied: gnue-invoice/forms/UnitType-hu.gfd (from rev 201,
gnue-invoice/forms/ITEM_UnitType-hu.gfd)
Copied: gnue-invoice/forms/UnitType.gfd (from rev 201,
gnue-invoice/forms/ITEM_UnitType.gfd)
Copied: gnue-invoice/forms/Vat-hu.gfd (from rev 201,
gnue-invoice/forms/TAX_Vat-hu.gfd)
Copied: gnue-invoice/forms/Vat.gfd (from rev 201,
gnue-invoice/forms/TAX_Vat.gfd)
Copied: gnue-invoice/forms/Zip-hu.gfd (from rev 201,
gnue-invoice/forms/LOC_Zip-hu.gfd)
===================================================================
--- gnue-invoice/forms/LOC_Zip-hu.gfd 2005-01-12 08:44:15 UTC (rev 201)
+++ gnue-invoice/forms/Zip-hu.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="iso8859-2"?>
+
+<!-- LOC_ZIP Hungarian Form
+
+ 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$ -->
+
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Ir�ny�t�sz�m">
+ <options/>
+
+ <import-trigger name='startupSearch' library='util.gfd'/>
+ <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
+
+ <datasource name="dts" connection="invoice" table="LOC_Zip"/>
+ <datasource name="dts_LOC_Region" connection="invoice" prequery="Y"
+ table="LOC_Region"/>
+
+ <logic>
+ <block name="blk" datasource="dts">
+ <field name="fldLocCode" field="LOC_code" maxLength="8"/>
+ <field name="fldLocCity" field="LOC_city" maxLength="60"/>
+ <field name="fldLocRegion" field="LOC_region" maxLength="32"
+ fk_source="dts_LOC_Region" fk_key="gnue_id"
+ fk_description="LOC_name"/>
+ </block>
+ </logic>
+
+ <layout c:height="4" c:width="50">
+ <page>
+ <label name="lblCode" c:height="1" c:width="8" c:x="1" c:y="1"
+ text="Ir.sz�m:"/>
+ <entry name="entCode" c:height="1" c:width="8" c:x="9" c:y="1"
+ block="blk" field="fldLocCode"/>
+ <label name="lblCity" c:height="1" c:width="8" c:x="1" c:y="2"
+ text="Helys�g:"/>
+ <entry name="entCity" c:height="1" c:width="30" c:x="9" c:y="2"
+ block="blk" field="fldLocCity"/>
+ <label name="lblRegion" c:height="1" c:width="6" c:x="1" c:y="3"
+ text="Megye:"/>
+ <entry name="entRegion" c:height="1" c:width="30" c:x="9" c:y="3"
+ block="blk" field="fldLocRegion" style="dropdown"/>
+ <button name="btnEditRegion" c:height="1" c:width="10" c:x="39" c:y="3"
+ label="M�dos�t...">
+ <trigger type="ON-ACTION" name="btnEditRegionTrigger">
+ params = {'id': blk.fldLocRegion.get() or ''}
+ form.runForm('Region-hu.gfd', params)
+ blk.fldLocRegion.resetForeignKey()
+ </trigger>
+ </button>
+ </page>
+ </layout>
+
+</form>
Copied: gnue-invoice/forms/Zip.gfd (from rev 201,
gnue-invoice/forms/LOC_Zip.gfd)
===================================================================
--- gnue-invoice/forms/LOC_Zip.gfd 2005-01-12 08:44:15 UTC (rev 201)
+++ gnue-invoice/forms/Zip.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="iso8859-1"?>
+
+<!-- LOC_ZIP Form
+
+ 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$ -->
+
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Postal Code">
+ <options/>
+
+ <import-trigger name='startupSearch' library='util.gfd'/>
+ <trigger name='OnActivation' type='On-Activation' src='startupSearch'/>
+
+ <datasource name="dts" connection="invoice" table="LOC_Zip"/>
+ <datasource name="dts_LOC_Region" connection="invoice" prequery="Y"
+ table="LOC_Region"/>
+
+ <logic>
+ <block name="blk" datasource="dts">
+ <field name="fldLocCode" field="LOC_code" maxLength="8"/>
+ <field name="fldLocCity" field="LOC_city" maxLength="60"/>
+ <field name="fldLocRegion" field="LOC_region" fk_description="LOC_name"
+ fk_key="gnue_id" fk_source="dts_LOC_Region" maxLength="32"/>
+ </block>
+ </logic>
+
+ <layout c:height="4" c:width="43">
+ <page>
+ <label name="lblCode:" c:height="1" c:width="4" c:x="1" c:y="1"
+ text="Code:"/>
+ <entry name="entCode" c:height="1" c:width="8" c:x="12" c:y="1"
+ block="blk" field="fldLocCode" focusorder="1" label=""/>
+ <label name="lblCity:" c:height="1" c:width="8" c:x="1" c:y="2"
+ text="City:"/>
+ <entry name="entCity" c:height="1" c:width="30" c:x="12" c:y="2"
+ block="blk" field="fldLocCity" focusorder="2" label=""/>
+ <label name="lblRegion:" c:height="1" c:width="6" c:x="1" c:y="3"
+ text="Region:"/>
+ <entry name="entRegion" c:height="1" c:width="30" c:x="12" c:y="3"
+ block="blk" field="fldLocRegion" focusorder="3" label=""
style="dropdown"/>
+ <button name="btnEditRegion" c:height="1" c:width="7" c:x="42" c:y="3"
+ label="Edit...">
+ <trigger type="ON-ACTION" name="btnEditRegionTrigger">
+ params = {'id': blk.fldLocRegion.get() or ''}
+ form.runForm('Region.gfd', params)
+ blk.fldLocRegion.resetForeignKey()
+ </trigger>
+ </button>
+ </page>
+ </layout>
+
+</form>
Copied: gnue-invoice/forms/grid-hu.gfd (from rev 202,
gnue-invoice/forms/INV_grid-hu.gfd)
===================================================================
--- gnue-invoice/forms/INV_grid-hu.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/grid-hu.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="iso8859-2"?>
+
+<!-- BILLING_Head Grid Hungarian Form
+
+ 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$ -->
+
+<form title="Sz�ml�k" readonly="Y">
+
+ <trigger type="ON-STARTUP" name="Trigger1">
+ #form.setFeature('GUI:MENUBAR:SUPPRESS', 1)
+ #form.setFeature('GUI:TOOLBAR:SUPPRESS', 1)
+ #form.setFeature('GUI:STATUSBAR:SUPPRESS', 1)
+ </trigger>
+
+ <datasource name="dts" connection="invoice" requery="True"
table="BILLING_Head"
+ prequery="Y"/>
+ <datasource name="dtsSeller" connection="invoice" table="BILLING_Company"
+ prequery="True"/>
+
+
+ <logic>
+ <block name="blk" datasource="dts" rows="8">
+ <field name="fldGnueid" field="gnue_id" maxLength="32"
+ readonly="Y"/>
+ <!--<field name="fldBuyerName" field="BILLING_buyer.ORG_shortName"
+ maxLength="35" readonly="Y"/>-->
+ <field name="fldBuyerName" field="BILLING_buyerName"
maxLength="35"
+ readonly="Y"/>
+ <field name="fldDatedelivery" field="BILLING_dateDelivery"
maxLength="10"
+ readonly="Y" typecast="date"/>
+ <field name="fldDateissued" field="BILLING_dateIssued"
maxLength="10"
+ readonly="Y" typecast="date"/>
+ <field name="fldNumber" field="BILLING_number"
maxLength="20"
+ readonly="Y"/>
+ <field name="fldPaymentmeth" field="BILLING_paymentMethod"
maxLength="32"
+ readonly="Y"/>
+ <field name="fldTotalgross" field="BILLING_totalGross"
maxLength="10"
+ readonly="Y" typecast="number"/>
+ <field name="fldTotalnet" field="BILLING_totalNet"
maxLength="10"
+ readonly="Y" typecast="number"/>
+ <field name="fldTotalvat" field="BILLING_totalVAT"
maxLength="10"
+ readonly="Y" typecast="number"/>
+ <field name="fldPrinted" field="BILLING_printed"
maxLength="10"
+ typecast="number"/>
+ </block>
+
+ <block name="blkSeller" datasource="dtsSeller">
+ <field name="fldNumPrint" field="BILLING_numPrint"
maxLength="10"
+ readonly="Y" typecast="number"/>
+ </block>
+ </logic>
+
+ <layout xmlns:c="GNUe:Layout:Char" c:height="11" c:width="100">
+ <page>
+ <label name="lblNumber" c:height="1" c:width="9" c:x="1" c:y="1"
+ alignment="center" text="Szla.sz�m"/>
+ <label name="lblBuyerName" c:height="1" c:width="32" c:x="12" c:y="1"
+ alignment="center" text="Vev�"/>
+ <label name="lblDateissued" c:height="1" c:width="10" c:x="45" c:y="1"
+ alignment="center" text="Kibocs�t�s"/>
+ <label name="lblDatedelivery" c:height="1" c:width="10" c:x="56" c:y="1"
+ alignment="center" text="Teljes�t�s"/>
+ <label name="lblTotalgross" c:height="1" c:width="10" c:x="67" c:y="1"
+ alignment="center" text="Brutt�"/>
+ <label name="lblTotalnet" c:height="1" c:width="10" c:x="78" c:y="1"
+ alignment="center" text="Nett�"/>
+ <label name="lblTotalvat" c:height="1" c:width="10" c:x="89" c:y="1"
+ alignment="center" text="�FA"/>
+
+ <entry name="entNumber" c:height="1" c:width="10" c:x="1" c:y="2"
+ block="blk" field="fldNumber"/>
+ <entry name="entBuyerName" c:height="1" c:width="32" c:x="12" c:y="2"
+ block="blk" field="fldBuyerName"/>
+ <entry name="entDateissued" c:height="1" c:width="10" c:x="45" c:y="2"
+ block="blk" field="fldDateissued"/>
+ <entry name="entDatedelivery" c:height="1" c:width="10" c:x="56" c:y="2"
+ block="blk" field="fldDatedelivery"/>
+ <entry name="entTotalgross" c:height="1" c:width="10" c:x="67" c:y="2"
+ block="blk" field="fldTotalgross"/>
+ <entry name="entTotalnet" c:height="1" c:width="10" c:x="78" c:y="2"
+ block="blk" field="fldTotalnet"/>
+ <entry name="entTotalvat" c:height="1" c:width="10" c:x="89" c:y="2"
+ block="blk" field="fldTotalvat"/>
+
+ <button name="btnNew" c:height="1" c:width="6" c:x="3"
c:y="10"
+ label="�j...">
+ <trigger type="ON-ACTION" name="btnNewTrigger">
+ runForm("Head-hu.gfd")
+ dts.createResultSet()
+ </trigger>
+ </button>
+
+ <button name="btnRevert" c:height="1" c:width="7" c:x="13"
c:y="10"
+ label="Storn�">
+ <trigger type="ON-ACTION" name="btnRevertTrigger">
+ ret = blk.call('BILLING_revert', {'invId': blk.fldGnueid.get()})
+ if ret is not None:
+ toPrint = blkSeller.fldNumPrint.get()
+ for i in range(toPrint):
+ print "%i. storn� sz�mlap�ld�ny nyomtat�sa" % (i + 1)
+ blk.fldPrinted.set(i + 1)
+ commit()
+ runReport('../reports/invoice-hu.grd', {'BILLING_number':ret})
+ else:
+ print "Storn� sz�ml�t nem lehet storn�zni!"
+ rollback()
+ dts.createResultSet()
+ </trigger>
+ </button>
+
+ <button name="btnPrint" c:height="1" c:width="8" c:x="23" c:y="10"
+ label="Nyomtat">
+ <trigger type="ON-ACTION" name="btnPrintTrigger">
+ invNumber = blk.fldNumber.get()
+ prevPrinted = blk.fldPrinted.get()
+ blk.fldPrinted.set(prevPrinted + 1)
+ commit()
+ runReport('../reports/invoice-hu.grd', {'BILLING_number' :
invNumber})
+ dts.createResultSet()
+ </trigger>
+ </button>
+
+ <button name="btnClose" c:height="1" c:width="10" c:x="89" c:y="10"
+ label="Kil�p">
+ <trigger type="ON-ACTION" name="btnCloseTrigger">
+ close()
+ </trigger>
+ </button>
+
+ </page>
+ </layout>
+
+</form>
Copied: gnue-invoice/forms/grid.gfd (from rev 202,
gnue-invoice/forms/INV_grid.gfd)
===================================================================
--- gnue-invoice/forms/INV_grid.gfd 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/forms/grid.gfd 2005-01-16 22:28:18 UTC (rev 203)
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- BILLING_Head Grid Form
+
+ 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$ -->
+
+<form title="Invoices" readonly="Y">
+
+ <trigger type="ON-STARTUP" name="Trigger1">
+ #form.setFeature('GUI:MENUBAR:SUPPRESS', 1)
+ #form.setFeature('GUI:TOOLBAR:SUPPRESS', 1)
+ #form.setFeature('GUI:STATUSBAR:SUPPRESS', 1)
+ </trigger>
+
+ <datasource name="dts" connection="invoice" requery="True"
table="BILLING_Head"
+ prequery="Y"/>
+ <datasource name="dtsSeller" connection="invoice" table="BILLING_Company"
+ prequery="True"/>
+
+
+ <logic>
+ <block name="blk" datasource="dts" rows="8">
+ <field name="fldGnueid" field="gnue_id" maxLength="32"
+ readonly="Y"/>
+ <!--<field name="fldBuyerName" field="BILLING_buyer.ORG_shortName"
+ maxLength="35" readonly="Y"/>-->
+ <field name="fldBuyerName" field="BILLING_buyerName"
maxLength="35"
+ readonly="Y"/>
+ <field name="fldDatedelivery" field="BILLING_dateDelivery"
maxLength="10"
+ readonly="Y" typecast="date"/>
+ <field name="fldDateissued" field="BILLING_dateIssued"
maxLength="10"
+ readonly="Y" typecast="date"/>
+ <field name="fldNumber" field="BILLING_number"
maxLength="20"
+ readonly="Y"/>
+ <field name="fldPaymentmeth" field="BILLING_paymentMethod"
maxLength="32"
+ readonly="Y"/>
+ <field name="fldTotalgross" field="BILLING_totalGross"
maxLength="10"
+ readonly="Y" typecast="number"/>
+ <field name="fldTotalnet" field="BILLING_totalNet"
maxLength="10"
+ readonly="Y" typecast="number"/>
+ <field name="fldTotalvat" field="BILLING_totalVAT"
maxLength="10"
+ readonly="Y" typecast="number"/>
+ <field name="fldPrinted" field="BILLING_printed"
maxLength="10"
+ typecast="number"/>
+ </block>
+
+ <block name="blkSeller" datasource="dtsSeller">
+ <field name="fldNumPrint" field="BILLING_numPrint"
maxLength="10"
+ readonly="Y" typecast="number"/>
+ </block>
+ </logic>
+
+ <layout xmlns:c="GNUe:Layout:Char" c:height="11" c:width="100">
+ <page>
+ <label name="lblNumber" c:height="1" c:width="10" c:x="1" c:y="1"
+ alignment="center" text="Number:"/>
+ <label name="lblBuyerName" c:height="1" c:width="32" c:x="12" c:y="1"
+ alignment="center" text="Buyer:"/>
+ <label name="lblDateissued" c:height="1" c:width="10" c:x="45" c:y="1"
+ alignment="center" text="Issued:"/>
+ <label name="lblDatedelivery" c:height="1" c:width="10" c:x="56" c:y="1"
+ alignment="center" text="Delivery:"/>
+ <label name="lblTotalgross:" c:height="1" c:width="10" c:x="67" c:y="1"
+ alignment="center" text="Gross:"/>
+ <label name="lblTotalnet:" c:height="1" c:width="10" c:x="78" c:y="1"
+ alignment="center" text="Net:"/>
+ <label name="lblTotalvat:" c:height="1" c:width="10" c:x="89" c:y="1"
+ alignment="center" text="Vat:"/>
+
+ <entry name="entNumber" c:height="1" c:width="10" c:x="1" c:y="2"
+ block="blk" field="fldNumber"/>
+ <entry name="entBuyerName" c:height="1" c:width="32" c:x="12" c:y="2"
+ block="blk" field="fldBuyerName"/>
+ <entry name="entDateissued" c:height="1" c:width="10" c:x="45" c:y="2"
+ block="blk" field="fldDateissued"/>
+ <entry name="entDatedelivery" c:height="1" c:width="10" c:x="56" c:y="2"
+ block="blk" field="fldDatedelivery"/>
+ <entry name="entTotalgross" c:height="1" c:width="10" c:x="67" c:y="2"
+ block="blk" field="fldTotalgross"/>
+ <entry name="entTotalnet" c:height="1" c:width="10" c:x="78" c:y="2"
+ block="blk" field="fldTotalnet"/>
+ <entry name="entTotalvat" c:height="1" c:width="10" c:x="89" c:y="2"
+ block="blk" field="fldTotalvat"/>
+
+ <button name="btnNew" c:height="1" c:width="10" c:x="3"
c:y="10"
+ label="New...">
+ <trigger type="ON-ACTION" name="btnNewTrigger">
+ runForm("Head.gfd")
+ dts.createResultSet()
+ </trigger>
+ </button>
+
+ <button name="btnRevert" c:height="1" c:width="10" c:x="14"
c:y="10"
+ label="Revert">
+ <trigger type="ON-ACTION" name="btnRevertTrigger">
+ ret = blk.call('BILLING_revert', {'invId': blk.fldGnueid.get()})
+ if ret is not None:
+ toPrint = blkSeller.fldNumPrint.get()
+ for i in range(toPrint):
+ print "Printing reverted invoice #%i" % (i + 1)
+ blk.fldPrinted.set(i + 1)
+ commit()
+ runReport('../reports/invoice.grd', {'BILLING_number':ret})
+ else:
+ print "Cannot revert reverted invoice!"
+ rollback()
+ dts.createResultSet()
+ </trigger>
+ </button>
+
+ <button name="btnPrint" c:height="1" c:width="10" c:x="25" c:y="10"
+ label="Print">
+ <trigger type="ON-ACTION" name="btnPrintTrigger">
+ invNumber = blk.fldNumber.get()
+ prevPrinted = blk.fldPrinted.get()
+ blk.fldPrinted.set(prevPrinted + 1)
+ commit()
+ runReport('../reports/invoice.grd', {'BILLING_number' : invNumber})
+ dts.createResultSet()
+ </trigger>
+ </button>
+
+ <button name="btnClose" c:height="1" c:width="10" c:x="89" c:y="10"
+ label="Close">
+ <trigger type="ON-ACTION" name="btnCloseTrigger">
+ close()
+ </trigger>
+ </button>
+
+ </page>
+ </layout>
+
+</form>
Modified: gnue-invoice/readme
===================================================================
--- gnue-invoice/readme 2005-01-16 16:16:02 UTC (rev 202)
+++ gnue-invoice/readme 2005-01-16 22:28:18 UTC (rev 203)
@@ -1,15 +1,11 @@
-IMPORTANT!!!
-This is a sample project and is in a quite 'dirty' state.
-IMPORTANT!!!
-
First, follow the setup instructions.
+
Then you should run GNUe AppServer in a terminal with the option
'--database invoice-backend', ie:
gacvs --database invoice-backend -Z
('scripts/start-appserver.sh' is provided to do that).
-Open another terminal and use GNUe Forms to open the file
-INV_grid.gfd.
+Open another terminal and use GNUe Forms to open the file 'grid.gfd'.
+
The GNUe-Invoice project is known to be running on GNUe AppServer version
-0.3.0, as of 15/10/2004, SVN version:6501. 'gnue.gsd' in the /schema directory
-is an exact copy of that found in GNUe AppServer's /share directory.
+0.3.5, as of 04/01/2005.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue-contrib] r203 - in gnue-invoice: . forms,
kilo <=