add reception account transfer/mixed

This commit is contained in:
2016-03-04 21:46:31 +01:00
parent da96c64348
commit ead52ae09b
18 changed files with 357 additions and 17 deletions

View File

@@ -0,0 +1,45 @@
<?php
use common\components\accountstate\AccountStateWidget;
use common\components\total\TotalDifferenceWidget;
?>
<div class="account-state-view ">
<table class="table-top">
<tbody>
<tr>
<td class="top-cell first">
<p class="p">Zárás összefoglaló</p>
<?php echo AccountStateWidget::widget(['model' =>$model]) ?>
</td>
<td class="top-cell last">
<?php if ( $model->hasDifferenceToPrevState() ){
?>
<?php
if ( $model->hasMinus()){
?>
<p class="p">Negatív különbözet</p>
<?php
}else{
?>
<p class="p">Pozitív különbözet</p>
<?php
}
echo TotalDifferenceWidget::widget(['model' => $model] );
}
?>
</td>
</tr>
</tbody>
</table>
</div>
<?php echo $this->render('_mixed', [
'model' => $model,
'details' => $details
] ); ?>