<?php
    $ci =& get_instance();
    $ci->load->library("encrypt");
?>
<form class="form-horizontal az-form" name="form" method="post" id="form_sales_transaction" >
	<div class="form-group element-top-filter" data-id="<?= $ci->encrypt->encode("date");?>">
        <label for="" class="col-sm-2 control-label"><?php echo azlang('Date');?></label>
        <div class="col-sm-6">
            <div class="row">
                <div class="col-sm-5">
                    <?php echo $datetime1;?>
                </div>
                <div class="col-sm-2 div-between-col">
                	s/d
                </div>
                <div class="col-sm-5">
                	<?php echo $datetime2;?>
                </div>
            </div>
        </div>
    </div>
    <?php 
        if (strlen($this->session->userdata('idoutlet')) == 0) {
    ?>
    <div class="form-group">
        <label for="" class="col-sm-2 control-label"><?php echo azlang('Outlet');?></label>
        <div class="col-sm-6">
            <?php echo $outlet;?>
        </div>
    </div>
    <?php
        }
    ?>
    <div class="form-group">
        <label for="" class="col-sm-2 control-label"><?php echo azlang('Customer');?></label>
        <div class="col-sm-6">
            <?php echo az_select_customer('customer', 'transaction_group');?>
        </div>
    </div>
    <div class="form-group">
        <label for="" class="col-sm-2 control-label"><?php echo azlang('Invoice Code');?></label>
        <div class="col-sm-6">
            <input type="text" id="filter_code" class="form-control element-top-filter" data-id="<?php echo $ci->encrypt->encode('transaction_group.code');?>">
        </div>
    </div>
</form>