<div class="form-group">
    <?php echo CHtml::activeLabelEx($model, 'merchant_id'); ?>
    <?php echo CHtml::activeTextField($model, 'merchant_id', array('size' => 60, 'maxlength' => 255, 'class' => 'form-control')); ?>
    <?php echo CHtml::error($model, 'merchant_id'); ?>
</div>

<div class="form-group">
    <?php echo CHtml::activeLabelEx($model, 'secret_key'); ?>
    <?php echo CHtml::activeTextField($model, 'secret_key', array('size' => 60, 'maxlength' => 255, 'class' => 'form-control')); ?>
    <?php echo CHtml::error($model, 'secret_key'); ?>
</div>

<div class="form-group">
    <?php echo CHtml::activeLabelEx($model, 'mode'); ?>
    <?php echo CHtml::activeDropDownList($model, 'mode', $this->getModeOptions(), array('class' => 'form-control')); ?>
    <?php echo CHtml::error($model, 'mode'); ?>
</div>


<hr style="height:1px;border:none;color:#333;background-color:#333;"/>

<div class="alert alert-info">
    <?php echo tt('Use_ATOL_help', 'payment'); ?>
</div>

<div class="form-group">
    <?php echo CHtml::activeCheckBox($model, 'useAtol'); ?>
    <?php echo CHtml::activeLabelEx($model, 'useAtol'); ?>
    <?php echo CHtml::error($model, 'useAtol'); ?>
</div>

<div class="form-group">
    <?php echo CHtml::activeLabelEx($model, 'atolCmsLogin'); ?>
    <?php echo CHtml::activeTextField($model, 'atolCmsLogin', array('size' => 60, 'class' => 'form-control')); ?>
    <?php echo CHtml::error($model, 'atolCmsLogin'); ?>
</div>

<div class="form-group">
    <?php echo CHtml::activeLabelEx($model, 'atolCmsPass'); ?>
    <?php echo CHtml::activeTextField($model, 'atolCmsPass', array('size' => 60, 'class' => 'form-control')); ?>
    <?php echo CHtml::error($model, 'atolCmsPass'); ?>
</div>

<div class="form-group">
    <?php echo CHtml::activeLabelEx($model, 'taxSystem'); ?>
    <?php echo CHtml::activeDropDownList($model, 'taxSystem', AtolApi::getTaxSystems(), array('class' => 'form-control')); ?>
    <?php echo CHtml::error($model, 'taxSystem'); ?>
</div>

<div class="form-group">
    <?php echo CHtml::activeLabelEx($model, 'taxNumber'); ?>
    <?php echo CHtml::activeDropDownList($model, 'taxNumber', AtolApi::getTaxNumber(), array('class' => 'form-control')); ?>
    <?php echo CHtml::error($model, 'taxNumber'); ?>
</div>

<div class="form-group">
    <?php echo CHtml::activeLabelEx($model, 'orgGroupCode'); ?>
    <?php echo CHtml::activeTextField($model, 'orgGroupCode', array('size' => 60, 'class' => 'form-control')); ?>
    <?php echo CHtml::error($model, 'orgGroupCode'); ?>
</div>

<div class="form-group">
    <?php echo CHtml::activeLabelEx($model, 'orgInn'); ?>
    <?php echo CHtml::activeTextField($model, 'orgInn', array('size' => 60, 'class' => 'form-control')); ?>
    <?php echo CHtml::error($model, 'orgInn'); ?>
</div>

<div class="form-group">
    <?php echo CHtml::activeLabelEx($model, 'orgAddress'); ?>
    <?php echo CHtml::activeTextField($model, 'orgAddress', array('size' => 60, 'class' => 'form-control')); ?>
    <?php echo CHtml::error($model, 'orgAddress'); ?>
</div>

<hr style="height:1px;border:none;color:#333;background-color:#333;"/>
