Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

EU Sales Reports for VirtueMart

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Scripts in export 28 Jul 2016 13:38 #1

  • DaSteelMan
  • DaSteelMan's Avatar Topic Author
Hello,

Great plugin!

I am running Joomla! 3.5.1, VirtueMart 3.0.14 and EU Sales Reports 0.5.
The issue I found is that in an exported document there are java scripts?
<script id="updateChosen_js" type="text/javascript">//<![CDATA[ 
if (typeof Virtuemart === "undefined")
	var Virtuemart = {};
	Virtuemart.updateChosenDropdownLayout = function() {
		var vm2string = {editImage: 'edit image',select_all_text: 'Alles selecteren',select_some_options_text: 'Voor iedereen beschikbaar'};
		jQuery("select").each( function () {
			var swidth = jQuery(this).css("width")+10;
			jQuery(this).chosen({enable_select_all: true,select_all_text : vm2string.select_all_text,select_some_options_text:vm2string.select_some_options_text,disable_search_threshold: 5, width: swidth});
		});
	}
	Virtuemart.updateChosenDropdownLayout(); //]]>
</script>

<script id="vm.countryState_js" type="text/javascript">//<![CDATA[ 
vmSiteurl = "http://localhost/jolo/";

		jQuery( function($) {
			$("#virtuemart_country_id_field").vm2front("list",{dest : "#virtuemart_state_id_field",ids : "735",prefiks : ""});
		}); //]]>
</script>
<script id="keepAliveTime_js" type="text/javascript">//<![CDATA[ 
var sessMin = 15;var vmAliveUrl = "index.php?option=com_virtuemart&view=virtuemart&task=keepalive";var maxlps = "5";var minlps = "2"; //]]>
</script>

Any idea how to resolve this?

Kind regards,
Jack Houben

Scripts in export 30 Jul 2016 19:58 #2

Dear Jack,
Thank you for reminding us about this issue (we have encountered this ourselves with our own EU sales reports, but we just removed the JS manually before submitting the exported file to the tax authorities, rather than fixing the bug for sure - shame on us, I know...).

We have now fixed this issue for good and released a new version 0.6 of the plugin.

Best regards,
Reinhold

Scripts in export 01 Aug 2016 10:10 #3

  • DaSteelMan
  • DaSteelMan's Avatar Topic Author
Thanks!

Scripts in export 01 Aug 2016 10:39 #4

  • DaSteelMan
  • DaSteelMan's Avatar Topic Author
btw:
You could add onchange to the checkbox on line 50 in default.php (tmpl folder)
Change:
                        <label><input type="checkbox" <?php if ($this->include_taxed_orders) { ?>checked <?php } ?> name="include_taxed_orders" value="true" style="vertical-align: top; position: relative; bottom: 1px;">&nbsp;<?php echo vmText::_('VMEXT_EU_RECAP_INCLUDE_TAXED'); ?></label>

into
                        <label><input type="checkbox" <?php if ($this->include_taxed_orders) { ?>checked <?php } ?> name="include_taxed_orders" value="true" style="vertical-align: top; position: relative; bottom: 1px;" onchange="this.form.submit();">&nbsp;<?php echo vmText::_('VMEXT_EU_RECAP_INCLUDE_TAXED'); ?></label>

Now the results always reflect the selected period and option.

Scripts in export 06 Aug 2016 15:14 #5

Dear DaSteelMan,
Thank you for noticing (I actually always ignored this little inconvenience and simply pressed the button to refresh). I have included the onchange attribute to the tag. So, the fix should be included in the next version.

Best regards,
Reinhold

[SOLVED] Scripts in export 06 Aug 2016 15:14 #6

Problem solved.

Scripts in export 07 Aug 2016 14:26 #7

  • DaSteelMan
  • DaSteelMan's Avatar Topic Author
Thanks!
  • Page:
  • 1