src/views/bill/index.php 1 location
|
@@ 30-33 (lines=4) @@
|
27 |
|
<?php $page->setSearchFormData(compact('billTypes', 'billGroupLabels')) ?> |
28 |
|
|
29 |
|
<?php $page->beginContent('main-actions') ?> |
30 |
|
<?php if (Yii::$app->user->can('deposit')) : ?> |
31 |
|
<?= Html::a(Yii::t('hipanel:finance', 'Recharge account'), ['@pay/deposit'], ['class' => 'btn btn-sm btn-success']) ?> |
32 |
|
<?php endif ?> |
33 |
|
<?php if (Yii::$app->user->can('bill.create')) : ?> |
34 |
|
<?= Html::a(Yii::t('hipanel:finance', 'Add payment'), ['@bill/create'], ['class' => 'btn btn-sm btn-success']) ?> |
35 |
|
<?= Html::a(Yii::t('hipanel:finance', 'Currency exchange'), ['@bill/create-exchange'], ['class' => 'btn btn-sm btn-default']) ?> |
36 |
|
<?= Html::a(Yii::t('hipanel:finance', 'Import payments'), ['@bill/import'], ['class' => 'btn btn-sm btn-default']) ?> |
src/views/menus/dashboardBillItem.php 1 location
|
@@ 41-44 (lines=4) @@
|
38 |
|
<?php $box->endBody() ?> |
39 |
|
<?php $box->beginFooter() ?> |
40 |
|
<?= Html::a(Yii::t('hipanel', 'View') . $box->icon(), '@bill/index', ['class' => 'small-box-footer']) ?> |
41 |
|
<?php if (Yii::$app->user->can('bill.create')) : ?> |
42 |
|
<?= Html::a(Yii::t('hipanel', 'Create') . $box->icon('fa-plus'), '@bill/create', ['class' => 'small-box-footer']) ?> |
43 |
|
<?php endif ?> |
44 |
|
<?php if (Yii::$app->user->can('deposit')) : ?> |
45 |
|
<?= Html::a(Yii::t('hipanel', 'Recharge') . $box->icon('fa-credit-card-alt'), '@pay/deposit', ['class' => 'small-box-footer']) ?> |
46 |
|
<?php endif ?> |
47 |
|
<?php $box->endFooter() ?> |
src/views/menus/dashboardTariffItem.php 1 location
|
@@ 32-35 (lines=4) @@
|
29 |
|
<?php $box->endBody() ?> |
30 |
|
<?php $box->beginFooter() ?> |
31 |
|
<?= Html::a(Yii::t('hipanel', 'View') . $box->icon(), '@plan/index', ['class' => 'small-box-footer']) ?> |
32 |
|
<?php if (Yii::$app->user->can('plan.create')) : ?> |
33 |
|
<?= Html::a(Yii::t('hipanel', 'Create') . $box->icon('fa-plus'), '@plan/create', ['class' => 'small-box-footer']) ?> |
34 |
|
<?php endif ?> |
35 |
|
<?php $box->endFooter() ?> |
36 |
|
<?php $box::end() ?> |
37 |
|
</div> |
38 |
|
|
src/views/plan/certificate/view.php 1 location
|
@@ 25-28 (lines=4) @@
|
22 |
|
<?php if (Yii::$app->user->can('plan.create')) : ?> |
23 |
|
<?= CreatePricesButton::widget(compact('model')) ?> |
24 |
|
<?php endif ?> |
25 |
|
<?php if (Yii::$app->user->can('plan.update')) : ?> |
26 |
|
<?= Html::a(Yii::t('hipanel', 'Update'), ['@plan/update-prices', 'id' => $model->id], ['class' => 'btn btn-sm btn-warning']) ?> |
27 |
|
<?php endif ?> |
28 |
|
<?php $page->endContent() ?> |
29 |
|
<?php endif ?> |
30 |
|
|
31 |
|
<?php $page->beginContent('table') ?> |
src/views/plan/index.php 1 location
|
@@ 19-22 (lines=4) @@
|
16 |
|
<?php $page->setSearchFormData([]) ?> |
17 |
|
|
18 |
|
<?php $page->beginContent('main-actions') ?> |
19 |
|
<?php if (Yii::$app->user->can('plan.create')) : ?> |
20 |
|
<?= Html::a(Yii::t('hipanel', 'Create'), ['/finance/plan/create'], ['class' => 'btn btn-sm btn-success']) ?> |
21 |
|
<?php endif ?> |
22 |
|
<?php $page->endContent() ?> |
23 |
|
|
24 |
|
<?php $page->beginContent('sorter-actions') ?> |
25 |
|
<?= $page->renderSorter(['attributes' => ['id']]) ?> |
src/views/purse/_client-view.php 1 location
|
@@ 18-21 (lines=4) @@
|
15 |
|
<?php $box->beginHeader() ?> |
16 |
|
<?= $box->renderTitle(Yii::t('hipanel:finance', '<b>{currency}</b> account', ['currency' => strtoupper($model->currency)]), ' ') ?> |
17 |
|
<?php $box->beginTools() ?> |
18 |
|
<?php if ($user->can('deposit')) : ?> |
19 |
|
<?= Html::a(Yii::t('hipanel', 'Recharge account'), ['@pay/deposit'], ['class' => 'btn btn-default btn-xs']) ?> |
20 |
|
<?php endif ?> |
21 |
|
<?php $box->endTools() ?> |
22 |
|
<?php $box->endHeader() ?> |
23 |
|
<?php $box->beginBody() ?> |
24 |
|
<?= PurseGridView::detailView([ |