
<form name=FilterForm id=FilterForm  action=index.php method=get>
<input type=hidden name=commited value=yes>
<input type=hidden name=md value='<?php echo $this->a_md?>'>
<input type=hidden id=list_page name=list_page value='<?php echo $_REQUEST['list_page']?>'>
<input type=hidden name=reporttype value='transactions'>
<input type=hidden name=filtered value="1" >

<table class="listing mt10" border=0 cellspacing=0 cellpadding=2 width="100%">
<?php QUnit_Templates::printAdvancedFilter(1, L_G_TRANSACTIONS_REP, $this->a_form_preffix, $this->a_form_name); ?>
<tr class="listheaderNoLineLeft">
  <td valign=top align=left>
  <table border=0 cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td>
        <div id="<?php echo $this->a_form_preffix?>standard_filter" <?php echo ($_REQUEST[$this->a_form_preffix.'advanced_filter_show'] == '1') ? 'style="display:none;"' : ''?>>
        </div>
        <div id="<?php echo $this->a_form_preffix?>advanced_filter" <?php echo ($_REQUEST[$this->a_form_preffix.'advanced_filter_show'] == '1') ? '' : 'style="display:none;"'?>>
        <br>
        <table cellpadding="2" cellspacing="0" border="0" width="100%">
        <tr>
        	<td valign="top">
                <table width="100%" cellpadding="0" cellspacing="0">
                <tr><td align="right"></td>
                    <td><select name="<?php echo $this->a_form_preffix?>custom1">
                        <?php foreach($this->a_filterColumns as $key => $value) { ?>
                            <option value="<?php echo $key?>" <?php echo ($_REQUEST[$this->a_form_preffix.'custom1'] == $key) ? 'selected' :''?>><?php echo $value?></option>
                        <?php } ?>
                        </select></td>
                    <td style="width:24px;" width="24"><?php echo L_G_ISLIKE?></td>
                    <td><input type=text name="<?php echo $this->a_form_preffix?>custom1data" size=8 value="<?php echo $_REQUEST[$this->a_form_preffix.'custom1data']?>"></td></tr>
                <tr><td align="right"><?php echo L_G_AND?></td>
                    <td><select name="<?php echo $this->a_form_preffix?>custom2">
                        <?php foreach($this->a_filterColumns as $key => $value) { ?>
                            <option value="<?php echo $key?>" <?php echo ($_REQUEST[$this->a_form_preffix.'custom2'] == $key) ? 'selected' :''?>><?php echo $value?></option>
                        <?php } ?>
                        </select></td>
                    <td><?php echo L_G_ISLIKE?></td>
                    <td><input type=text name="<?php echo $this->a_form_preffix?>custom2data" size=8 value="<?php echo $_REQUEST[$this->a_form_preffix.'custom2data']?>"></td>
                </tr>
                <tr><td align="right"><?php echo L_G_AND?></td>
                    <td><select name="<?php echo $this->a_form_preffix?>custom3">
                        <?php foreach($this->a_filterColumns as $key => $value) { ?>
                            <option value="<?php echo $key?>" <?php echo ($_REQUEST[$this->a_form_preffix.'custom3'] == $key) ? 'selected' :''?>><?php echo $value?></option>
                        <?php } ?>
                        </select></td>
                    <td><?php echo L_G_ISLIKE?></td>
                    <td><input type=text name="<?php echo $this->a_form_preffix?>custom3data" size=8 value="<?php echo $_REQUEST[$this->a_form_preffix.'custom3data']?>"></td>
                </tr>
                </table>
            </td>
            <td valign="top">
                <?php QUnit_Global::includeTemplate('filter_transtype.tpl.php'); ?>
                <div class="filterline"></div>
                <?php QUnit_Global::includeTemplate('filter_status.tpl.php'); ?>
                <!-- added filerline and new filter  -->
                <div class="filterline"></div>
                <?php QUnit_Global::includeTemplate('filter_transaction_date.tpl.php'); ?>
            </td>
        </tr>
        </table>
        <div class="filterline"></div>
        </div>
    </td>
  </tr>
  <tr><td>
        <?php QUnit_Global::includeTemplate('filter_time.tpl.php') ?>
        <input type="submit" class="btn" value="<?php echo L_G_APPLYFILTER?>"><br></td></tr>
  </table>
</td></tr>
</table>

