Exemplo n.º 1
0
    </div>

    <div id="order_new_is_payment_yes">

        <div class="control-group">
            <label class="control-label"><?php 
echo __('payment_type');
?>
</label>
            <div class="controls">
                <select id="order_payment_type" name="payment_type" class="chosen-select select-xlarge" data-placeholder="<?php 
echo __('choose');
?>
">
                    <option value=""></option>
                    <? foreach(Payments::types() as $key => $value){ ?>
                        <?if($key == 'pn'){?>
                        <option value="<?php 
echo $key;
?>
" <?if($model->payment_type == $key){?>selected="" <?}?>><?php 
echo $value;
?>
</option>
                        <?}?>
                    <? } ?>
                </select>
                <span class="help-inline"></span>
            </div>
        </div>