add reception account transfer/mixed
This commit is contained in:
45
frontend/views/account-state/mixed_pdf.php
Normal file
45
frontend/views/account-state/mixed_pdf.php
Normal 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
|
||||
] ); ?>
|
||||
|
||||
Reference in New Issue
Block a user