Skip to content
Snippets Groups Projects
Commit ba493e52 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Auto-submit form when 'included taxed orders' checkbox is changed

parent 69f4a655
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ $myCurrencyDisplay = CurrencyDisplay::getInstance(); ...@@ -47,7 +47,7 @@ $myCurrencyDisplay = CurrencyDisplay::getInstance();
$vendorId = vRequest::getInt('virtuemart_vendor_id',1); $vendorId = vRequest::getInt('virtuemart_vendor_id',1);
echo ShopFunctions::renderVendorList($vendorId,false); echo ShopFunctions::renderVendorList($vendorId,false);
} ?><br> } ?><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> </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> <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> </td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment