<?php
$form = $this->form;
$form->prepare();
$form->setAttribute('action', $this->url('bookinghistory', ['action' => 'index']));
$form->setAttribute('method', 'post');
$form->setAttribute('id', 'booking-status-search-form');
echo $this->form()->openTag($form);
?>
<input type="hidden" id="tab_type" name="tab_type" value="<?php if(isset($test)){echo $tab_type;}?>">
 <input type="hidden" name="tab_type" value="status">
<div class="col-sm-col-sm-offset-1 margin-10auto0 paddingRL10px">
        <div class="row">
            <div class="form-group clearfix margintopbottom20">
                <label id="flight_nos" class="col-sm-2 control-label labelalign "><?php echo $this->translate('Booking Status');?></label>
                <div class="col-sm-4">
                    <?php echo $this->FormElement($form->get('booking_status')); ?>
                </div>
                <label id="point_airport" class="col-sm-2 control-label labelalign "><?php echo $this->translate('Order Time');?></label>
                <div class="col-sm-4">
                    <?php echo $this->FormElement($form->get('order_time')); ?>
                </div>
            </div>
        </div>

        <div class="row">
            <div class="form-group clearfix margintopbottom20">
                <div class="col-sm-4 pull-right">
                    <?php echo $this->FormReset($form->get('clear')); ?>
                    <?php echo $this->FormElement($form->get('search')); ?>
                </div>
            </div>
        </div>
    </div>
<?php echo $this->form()->closeTag(); ?>