eurecap.xml 7.97 KB
Newer Older
Reinhold Kainhofer's avatar
Reinhold Kainhofer committed
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="UTF-8" ?>
<extension version="2.5" type="plugin" group="vmextended" method="upgrade">
    <name>VMEXT_EU_RECAP</name>
    <creationDate>2015-01-09</creationDate>
    <author>Open Tools</author>
    <authorEmail>office@open-tools.net</authorEmail>
    <authorUrl>http://www.open-tools.net/</authorUrl>
    <copyright>Copyright (C) 2015 Reinhold Kainhofer. All rights reserved.</copyright>
    <license>http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3</license>
10
    <version>0.9</version>
11
12
    <releaseDate>2016-01-01</releaseDate>
    <releaseType>Update</releaseType>
Reinhold Kainhofer's avatar
Reinhold Kainhofer committed
13
14
15
16
17
18
19
20
21
22
23
24
    <downloadUrl>http://www.open-tools.net</downloadUrl>

    <description>VMEXT_EU_RECAP_DESC</description>

    <files>
        <filename plugin="eurecap">eurecap.php</filename>
        <filename>eurecap.script.php</filename>
        <filename>index.html</filename>
        <folder>language</folder>
        <folder>controllers</folder>
        <folder>models</folder>
        <folder>views</folder>
25
26
        <folder>fields</folder>
        <folder>elements</folder>
Reinhold Kainhofer's avatar
Reinhold Kainhofer committed
27
28
29
30
31
32
33
    </files>
    <scriptfile>eurecap.script.php</scriptfile>
    <languages folder="language">
        <language tag="en-GB">en-GB/en-GB.plg_vmextended_eurecap.ini</language>
        <language tag="en-GB">en-GB/en-GB.plg_vmextended_eurecap.sys.ini</language>
    </languages>
    
34
<!-- 	VM 3.x: Fields -->
Reinhold Kainhofer's avatar
Reinhold Kainhofer committed
35
36
37
    <vmconfig>
        <fields name="settings" addfieldpath="/administrator/components/com_virtuemart/fields">
            <fieldset name="order_properties" addfieldpath="/plugins/vmextended/eurecap/fields" label="VMEXT_EU_RECAP_ORDERPROPERTIES">
38
                <field name="countries" type="eucountries" multiple="true" scope="com_virtuemart" default="" label="VMEXT_EU_RECAP_COUNTRIES" description="VMEXT_EU_RECAP_COUNTRIES_DESC"/>
Reinhold Kainhofer's avatar
Reinhold Kainhofer committed
39
40
                <field name="order_status" type="orderstatus" default="C,S" multiple="multiple" label="VMEXT_EU_RECAP_ORDERSTATUS" description="VMEXT_EU_RECAP_ORDERSTATUS_DESC "/>
                <field name="shopper_groups" type="vmshoppergroups" multiple="multiple" label="VMEXT_EU_RECAP_SHOPPERGROUP" description="VMEXT_EU_RECAP_SHOPPERGROUP_DESC" />
41
                <field name="vatid_userfield" type="vmuserfields" label="VMEXT_EU_RECAP_VATID_USERFIELD" multiple="multiple" default="" description="VMEXT_EU_RECAP_VATID_USERFIELD_DESC" />
42
<!--                <field name="include_taxed_orders" type="radio" default="0" class="btn-group btn-group-yesno" label="VMEXT_EU_RECAP_INCLUDE_TAXED" description="VMEXT_EU_RECAP_INCLUDE_TAXED_DESC" >
43
44
                    <option value="1">JYES</option>
                    <option value="0">JNO</option>
45
                </field>-->
46
                <field name="include_free" type="radio" default="0" class="btn-group btn-group-yesno" label="VMEXT_EU_RECAP_INCLUDE_FREE" description="VMEXT_EU_RECAP_INCLUDE_FREE_DESC" >
Reinhold Kainhofer's avatar
Reinhold Kainhofer committed
47
48
49
50
51
52
53
54
55
56
                    <option value="1">JYES</option>
                    <option value="0">JNO</option>
                </field>
            </fieldset>
            <fieldset name="report_settings" addfieldpath="/plugins/vmextended/eurecap/fields" label="VMEXT_EU_RECAP_REPORTSETTINGS">
                <field name="frequency" type="list" default="1" label="VMEXT_EU_RECAP_FREQUENCY" description="VMEXT_EU_RECAP_FREQUENCY_DESC" >
                    <option value="1">VMEXT_EU_RECAP_FREQUENCY_MONTHLY</option>
                    <option value="3">VMEXT_EU_RECAP_FREQUENCY_QUARTERLY</option>
                    <option value="12">VMEXT_EU_RECAP_FREQUENCY_YEARLY</option>
                </field>
57
                <field name="taxation_moment" type="list" default="placement" label="VMEXT_EU_RECAP_TAXATION_MOMENT" description="VMEXT_EU_RECAP_TAXATION_MOMENT_DESC" >
Reinhold Kainhofer's avatar
Reinhold Kainhofer committed
58
59
60
61
62
                    <option value="placement">VMEXT_EU_RECAP_TAXATION_MOMENT_PLACEMENT</option>
<!--                     <option value="status">VMEXT_EU_RECAP_TAXATION_MOMENT_STATUSCHANGE</option> -->
<!--                     <option value="payment">VMEXT_EU_RECAP_TAXATION_MOMENT_PAYMENT</option> -->
                    <option value="invoice">VMEXT_EU_RECAP_TAXATION_MOMENT_INVOICE</option>
                </field>
63
<!--                <field name="export_format" type="list" default="full" label="VMEXT_EU_RECAP_EXPORT_FORMAT" description="VMEXT_EU_RECAP_EXPORT_FORMAT_DESC" >
64
65
66
                    <option value="full">VMEXT_EU_RECAP_EXPORT_FULL</option>
                    <option value="AT_xml">VMEXT_EU_RECAP_EXPORT_AT_XML</option>
                    <option value="DE_csv">VMEXT_EU_RECAP_EXPORT_DE_CSV</option>
67
68
                    <option value="SK_xml">VMEXT_EU_RECAP_EXPORT_SK_XML</option>
                </field>-->
69
                <field name="vendor_vatid" type="text" scope="com_virtuemart" default="" label="VMEXT_EU_RECAP_VENDOR_VATID" description="VMEXT_EU_RECAP_VENDOR_VATID_DESC"/>
Reinhold Kainhofer's avatar
Reinhold Kainhofer committed
70
71
72
73
                <field name="taxnr" type="text" scope="com_virtuemart" default="" label="VMEXT_EU_RECAP_TAXNR" description="VMEXT_EU_RECAP_TAXNR_DESC"/>
            </fieldset>
        </fields>
    </vmconfig>
74
75
76
77
78
79
80
81


   <!-- VM 2.0 support (params rather than fields): -->
    <params addpath="/plugins/vmextended/eurecap/elements" />
    <params addpath="/administrator/components/com_virtuemart/elements" >
        <param type="vmjpluginwarning" />
        <param name="order_status" type="vmorderstates" default="C,S" multiple="multiple" label="VMEXT_EU_RECAP_ORDERSTATUS" description="VMEXT_EU_RECAP_ORDERSTATUS_DESC "/>
        <param name="shopper_groups" type="vmshoppergroups" multiple="multiple" label="VMEXT_EU_RECAP_SHOPPERGROUP" description="VMEXT_EU_RECAP_SHOPPERGROUP_DESC" />
82
        <param name="vatid_userfield" type="vmuserfields" label="VMEXT_EU_RECAP_VATID_USERFIELD" multiple="multiple" default="" description="VMEXT_EU_RECAP_VATID_USERFIELD_DESC" />
83
<!--         <param name="include_taxed_orders" type="radio" default="0" class="btn-group btn-group-yesno" label="VMEXT_EU_RECAP_INCLUDE_TAXED" description="VMEXT_EU_RECAP_INCLUDE_TAXED_DESC" > 
84
85
            <option value="1">JYES</option>
            <option value="0">JNO</option>
86
		</param>-->
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
        <param name="include_free" type="radio" default="0" class="btn-group btn-group-yesno" label="VMEXT_EU_RECAP_INCLUDE_FREE" description="VMEXT_EU_RECAP_INCLUDE_FREE_DESC" >
            <option value="1">JYES</option>
            <option value="0">JNO</option>
        </param>
        <param name="frequency" type="list" default="1" label="VMEXT_EU_RECAP_FREQUENCY" description="VMEXT_EU_RECAP_FREQUENCY_DESC" >
            <option value="1">VMEXT_EU_RECAP_FREQUENCY_MONTHLY</option>
            <option value="3">VMEXT_EU_RECAP_FREQUENCY_QUARTERLY</option>
            <option value="12">VMEXT_EU_RECAP_FREQUENCY_YEARLY</option>
        </param>
        <param name="countries" type="eucountries" multiple="true" scope="com_virtuemart" default="" label="VMEXT_EU_RECAP_COUNTRIES" description="VMEXT_EU_RECAP_COUNTRIES_DESC"/>
        <param name="taxation_moment" type="list" default="placement" label="VMEXT_EU_RECAP_TAXATION_MOMENT" description="VMEXT_EU_RECAP_TAXATION_MOMENT_DESC" >
            <option value="placement">VMEXT_EU_RECAP_TAXATION_MOMENT_PLACEMENT</option>
<!--             <option value="status">VMEXT_EU_RECAP_TAXATION_MOMENT_STATUSCHANGE</option> -->
<!--             <option value="payment">VMEXT_EU_RECAP_TAXATION_MOMENT_PAYMENT</option> -->
            <option value="invoice">VMEXT_EU_RECAP_TAXATION_MOMENT_INVOICE</option>
        </param>
        <param name="vendor_vatid" type="text" scope="com_virtuemart" default="" label="VMEXT_EU_RECAP_VENDOR_VATID" description="VMEXT_EU_RECAP_VENDOR_VATID_DESC"/>
        <param name="taxnr" type="text" scope="com_virtuemart" default="" label="VMEXT_EU_RECAP_TAXNR" description="VMEXT_EU_RECAP_TAXNR_DESC"/>
    </params>
106
107
	
	<updateservers>
108
		<server type="extension" name="VM EU Recapitulative Statements Updates"><![CDATA[http://open-tools.net/UpdateServer/index.php?package=Joomla&amp;extension=EURecap&amp;file=extension.xml]]></server>
109
	</updateservers>
110

Reinhold Kainhofer's avatar
Reinhold Kainhofer committed
111
</extension>