<?php
//no direct access
defined('_JEXEC') or die('Restricted access.'); ?>
<div class="btn-wrapper statusButtons">
	<select name="new_status" id="new_status" class="small select_status btn btn-small btn-default btn-sm">
		<option selected value="no_value"><?php echo JText::_('SELECT_TO_CHANGE_STATUS'); ?></option>
            <?php 
            if($this->layout_type == "INVOICE") $statuses = InvoicesHelper::getStatus();
        	else $statuses = InvoicesHelper::getQuoteStatus();
            foreach($statuses as $status_value){ ?>
            <option value="<?php echo $status_value ?>"><?php echo JText::_($status_value); ?></option>
            <?php } ?>
    </select>
    <button class="btn btn-small btn-default btn-sm" onclick="change_many_status();"><?php echo JText::_('CHANGE_STATUS_BUTTON'); ?></button>
</div>