add collections to backend
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
use yii\helpers\Html;
|
||||
use yii\widgets\ActiveForm;
|
||||
use kartik\widgets\DateTimePicker;
|
||||
use frontend\components\HtmlHelper;
|
||||
use kartik\widgets\DateTimePicker;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $model frontend\models\CollectionSearch */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
use yii\helpers\Html;
|
||||
use frontend\components\TransferTotalWidget;
|
||||
use frontend\components\AccountStatisticWidget;
|
||||
use common\components\AccountStatisticWidget;
|
||||
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
use yii\helpers\Html;
|
||||
use yii\widgets\DetailView;
|
||||
use frontend\components\AccountStatisticWidget;
|
||||
use common\components\AccountStatisticWidget;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $model common\models\Collection */
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
<?php
|
||||
use common\components\AccountTotalWidget;
|
||||
?>
|
||||
<div class='row'>
|
||||
<div class='col-md-4'>
|
||||
<?php
|
||||
echo AccountTotalWidget::widget([
|
||||
'statistic' => $model->totals['created_at'],
|
||||
'panelHeading' => 'Kiadva',
|
||||
]);
|
||||
?>
|
||||
</div>
|
||||
<div class='col-md-4'>
|
||||
<?php
|
||||
echo AccountTotalWidget::widget([
|
||||
'statistic' => $model->totals['created_at_paid'],
|
||||
'panelHeading' => 'Kiadva/fizetve',
|
||||
]);
|
||||
?>
|
||||
</div>
|
||||
<div class='col-md-4'>
|
||||
<?php
|
||||
echo AccountTotalWidget::widget([
|
||||
'statistic' => $model->totals['created_at_not_paid'],
|
||||
'panelHeading' => 'Kiadva/nem fizetve (Hitel)',
|
||||
'panelType' => 'panel-danger'
|
||||
]);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
<div class='col-md-4'>
|
||||
|
||||
</div>
|
||||
<div class='col-md-4'>
|
||||
<?php
|
||||
echo AccountTotalWidget::widget([
|
||||
'statistic' => $model->totals['paid_at_not_created_at'],
|
||||
'panelHeading' => 'Adósság (Hitel)/Fizetve' ,
|
||||
]);
|
||||
?>
|
||||
</div>
|
||||
<div class='col-md-4'>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='row'>
|
||||
<div class='col-md-4'>
|
||||
|
||||
</div>
|
||||
<div class='col-md-4'>
|
||||
<?php
|
||||
echo AccountTotalWidget::widget([
|
||||
'statistic' => $model->totals['paid_at'],
|
||||
'panelHeading' => 'Fizetve' ,
|
||||
'panelType' => 'panel-success'
|
||||
]);
|
||||
?>
|
||||
</div>
|
||||
<div class='col-md-4'>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
use frontend\components\TransferTotalWidget;
|
||||
use frontend\components\AccountStatisticWidget;
|
||||
use common\components\AccountStatisticWidget;
|
||||
?>
|
||||
<?php
|
||||
|
||||
|
||||
@@ -48,7 +48,6 @@ use kartik\widgets\DateTimePicker;
|
||||
<?= $form->field($model, 'id_account')->dropDownList($accountOptions) ?>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<?php //echo $form->field($model, 'type')->dropDownList( ['' =>'Mind']+ Transfer::types()) ?>
|
||||
<?php echo $form->field($model, 'types')->checkboxList( Transfer::types()) ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user