From ba493e5277f54fc355e168878ba570dd0cda95f7 Mon Sep 17 00:00:00 2001
From: Reinhold Kainhofer <reinhold@kainhofer.com>
Date: Tue, 9 Aug 2016 14:52:07 +0200
Subject: [PATCH] Auto-submit form when 'included taxed orders' checkbox is
 changed

---
 views/eurecap/tmpl/default.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/views/eurecap/tmpl/default.php b/views/eurecap/tmpl/default.php
index 1ea895c..f5afc6d 100644
--- a/views/eurecap/tmpl/default.php
+++ b/views/eurecap/tmpl/default.php
@@ -47,7 +47,7 @@ $myCurrencyDisplay = CurrencyDisplay::getInstance();
                             $vendorId = vRequest::getInt('virtuemart_vendor_id',1);
                             echo ShopFunctions::renderVendorList($vendorId,false);
                         } ?><br>
-                        <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>
+                        <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>
                         </div>
                         <span><button class="btn btn-small" name="Go" onclick="this.form.task.value=''; this.form.submit();"><?php echo vmText::_('COM_VIRTUEMART_GO'); ?></button></span>
                     </td>
-- 
GitLab