Example #1
0
<?php

$merchant_id = Yii::app()->functions->getMerchantID();
$enabled = Yii::app()->functions->getOption('merchant_bankdeposit_enabled', $merchant_id);
$deposit_instructions = Yii::app()->functions->getOption('merchant_deposit_instructions', $merchant_id);
if (empty($deposit_instructions)) {
    $deposit_instructions = EmailTPL::bankDepositTPL();
}
?>

<div id="error-message-wrapper"></div>

<form class="uk-form uk-form-horizontal forms" id="forms">
<?php 
echo CHtml::hiddenField('action', 'merchantBankDeposit');
?>

<div class="uk-form-row">
  <label class="uk-form-label"><?php 
echo Yii::t("default", "Enabled Offline Bank Deposit");
?>
?</label>
  <?php 
echo CHtml::checkBox('merchant_bankdeposit_enabled', $enabled == "yes" ? true : false, array('value' => "yes", 'class' => "icheck"));
?>
 
</div>

<div class="uk-form-row">
  <label class="uk-form-label"><?php 
echo Yii::t("default", "Email Sender");