Skip to content

Commit

Permalink
Fixed recharge account link on bill/index
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Mar 10, 2016
1 parent 6a44458 commit e9615f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/messages/ru/finance.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@
'Confirm invoice updating' => 'Подтвердите обновление инвойса',
'Invoice' => 'Инвойс',
'Invoices' => 'Инвойсы',
'Recharge account' => 'Пополнить счёт',
];
3 changes: 2 additions & 1 deletion src/views/bill/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

use hipanel\modules\finance\grid\BillGridView;
use hipanel\widgets\ActionBox;
use yii\helpers\Html;

$this->title = Yii::t('app', 'Bills');
$this->params['breadcrumbs'][] = $this->title;
Expand All @@ -15,7 +16,7 @@
if (Yii::$app->user->can('manage')) {
echo $box->renderCreateButton(Yii::t('app', 'Add payment')) . ' ';
}
echo $box->renderCreateButton(Yii::t('app', 'Recharge account'));
echo Html::a(Yii::t('hipanel/finance', 'Recharge account'), ['@pay/deposit'], ['class' => 'btn btn-success']);
?>
<?= $box->renderSearchButton() ?>
<?= $box->renderSorter([
Expand Down

0 comments on commit e9615f8

Please sign in to comment.