diff --git a/Makefile b/Makefile index d3da598624f35bd81772b9e4f65ea1229c2c01d5..f2e200ffb818568a41655eab72df606e63f522c4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ BASE=eurecap PLUGINTYPE=vmextended -VERSION=0.3 +VERSION=0.4 PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html # $(BASE)/ diff --git a/eurecap.xml b/eurecap.xml index e29889ed97a500007cfd656c861112f9d7334724..429864530787bb0c49d2f31fffa4e78aebda108b 100644 --- a/eurecap.xml +++ b/eurecap.xml @@ -7,9 +7,9 @@ <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> - <version>0.3</version> - <releaseDate>2015-04-01</releaseDate> - <releaseType>Initial Release</releaseType> + <version>0.4</version> + <releaseDate>2016-01-01</releaseDate> + <releaseType>Update</releaseType> <downloadUrl>http://www.open-tools.net</downloadUrl> <description>VMEXT_EU_RECAP_DESC</description> @@ -103,5 +103,9 @@ <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> + + <updateservers> + <server type="extension" name="VM EU Recapitulative Statements Updates"><![CDATA[http://open-tools.net/UpdateServer/index.php?package=Joomla&extension=EURecap]]></server> + </updateservers> </extension> diff --git a/views/eurecap/tmpl/export_at_xml.php b/views/eurecap/tmpl/export_at_xml.php index 3780078c9b4a7e8c750368072309ff9651829b09..d37c0aba173bceb74008dc6ae07d8c13760efd79 100644 --- a/views/eurecap/tmpl/export_at_xml.php +++ b/views/eurecap/tmpl/export_at_xml.php @@ -48,7 +48,7 @@ foreach ($this->report as $r) { ?> <ZM> <UID_MS><?php echo $vatid; ?></UID_MS> - <SUM_BGL type="kz"><?php echo $r['sum_order_total']; ?></SUM_BGL> + <SUM_BGL type="kz"><?php echo floor($r['sum_order_total']); ?></SUM_BGL> <?php // <DREIECK>0</DREIECK> ?> <SOLEI>1</SOLEI> </ZM>