Skip to content
Snippets Groups Projects
Select Git revision
  • 13b38a815bc8cb41973853c8418dc4e7e8fdc8f6
  • master default
  • VMFramework
  • V0.9
  • V0.8
  • V0.7
  • V0.6
  • V0.5
  • V0.4
  • V0.3
  • V0.1
11 results

default.php

Blame
  • default.php 7.35 KiB
    <?php
    if( !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
    
    /**
    *
    * @package VirtueMart
    * @subpackage EU Recapitulative Statement
    * @copyright Copyright (C) 2015 Open Tools, Reinhold Kainhofer.
    * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.txt
    * VirtueMart is free software. This version may have been modified pursuant
    * to the GNU General Public License, and as distributed it includes or
    * is derivative of works licensed under the GNU General Public License or
    * other free or open source software licenses.
    *
    * http://www.open-tools.net
    */
    
    AdminUIHelper::startAdminArea($this);
    
    JHtml::_('behavior.framework', true);
    if (!class_exists('CurrencyDisplay'))
        require(VMPATH_ADMIN . DS . 'helpers' . DS . 'currencydisplay.php');
    $myCurrencyDisplay = CurrencyDisplay::getInstance();
    
    
    ?>
    
    <form action="index.php" method="post" name="adminForm" id="adminForm">
    	<?php echo $this->addStandardHiddenToForm(); ?>
    
        <div id="header">
            <h2><?php echo vmText::sprintf('VMEXT_EU_RECAP_VIEW_TITLE_DATE', vmJsApi::date( $this->from_period, 'LC',true) , vmJsApi::date( $this->until_period, 'LC',true) ); ?></h2>
            <p><?php echo vmText::_('VMEXT_EU_RECAP_VIEW_EXPLANATION'); ?> </p>
            <div id="filterbox">
                <table width="100%">
                    <tr width="100%">
                        <td align="left">
    						<div style="float: left">
    						<?php 
    						echo vmText::_('VMEXT_EU_RECAP_LIST_PERIOD');
    						if ($this->frequency<12) {
    							echo $this->period_lists['month_list']; 
    						} 
    						echo $this->period_lists['year_list'];
    
                            if(VmConfig::get('multix','none')!='none'){
                                $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>
                            </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>
                        <td align="right" style="vertical-align: top">
    						<div style="float: right"><?php echo $this->export_format_list; ?>
                            <button class="btn btn-small" name="format" value="raw" onclick="this.form.task.value='export'; this.form.submit();" style="vertical-align: top;"><?php echo vmText::_('VMEXT_EU_RECAP_EXPORT'); ?>
                            </button></div>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="resultscounter">
                <?php if ($this->pagination) echo $this->pagination->getResultsCounter();?>
            </div>
        </div>
    
        <div id="editcell">
    	    <table class="adminlist table table-striped" cellspacing="0" cellpadding="0">
                <thead>
                    <tr>