VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

EU Sales Reports for VirtueMart

We are currently unable to provide proper support!

For the last few months we have been very busy working on some huge, very time-consuming and time-sensitive projects, so our support was very limited and we were unable to provide proper support in our forums! We now have a huge backlog of requests from our customers, which we are trying to clear bit by bit. Unfortunately, this takes longer than we anticipated, so our response time is not yet up to par. We are trying our best to improve this situation as soon as possible.

Sorry for the inconvenience and thank you for your understanding!

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: [SOLVED] Scripts in export

Scripts in export 28 Jul 2016 13:38 #1

  • DaSteelMan
  • DaSteelMan's Avatar Topic Author
  • Offline
  • Posts: 8
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

Please Log in or Create an account to join the conversation.

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

Please Log in or Create an account to join the conversation.

Scripts in export 01 Aug 2016 10:10 #3

  • DaSteelMan
  • DaSteelMan's Avatar Topic Author
  • Offline
  • Posts: 8
Thanks!

Please Log in or Create an account to join the conversation.

Scripts in export 01 Aug 2016 10:39 #4

  • DaSteelMan
  • DaSteelMan's Avatar Topic Author
  • Offline
  • Posts: 8
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.

Please Log in or Create an account to join the conversation.

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

Please Log in or Create an account to join the conversation.

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

Problem solved.

Please Log in or Create an account to join the conversation.

Scripts in export 07 Aug 2016 14:26 #7

  • DaSteelMan
  • DaSteelMan's Avatar Topic Author
  • Offline
  • Posts: 8
Thanks!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1