add reception account state view and pdf export
This commit is contained in:
46
common/views/total/totaleasy.php
Normal file
46
common/views/total/totaleasy.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
use common\components\RoleDefinition;
|
||||
use yii\helpers\Html;
|
||||
use yii\helpers\Url;
|
||||
?>
|
||||
|
||||
<?php
|
||||
//echo $this->render('_list_pdf_head',[ 'searchModel' =>$model, 'label' => 'Napi bevételek - Egyszerű','type' =>'easy']);
|
||||
?>
|
||||
|
||||
<h2>Egyszerű összesítés</h2>
|
||||
<?php
|
||||
|
||||
// if ( !isset($model->output) ){
|
||||
|
||||
// $pdfUrl = Url::current([ Html::getInputName($model, 'output') => 'pdf']);
|
||||
// echo Html::a("Teljes PDF letöltése", $pdfUrl,['class' => 'btn btn-primary btn-all' ]);
|
||||
|
||||
// $pdfUrl = Url::current([ Html::getInputName($model, 'output') => 'pdf', Html::getInputName($model, 'outputView') => 'easy']);
|
||||
// echo Html::a("Egyszerű összesítő Pdf", $pdfUrl,['class' => 'btn btn-primary' ]);
|
||||
// }
|
||||
|
||||
|
||||
?>
|
||||
<h3>Bruttó</h3>
|
||||
<table class="table table-bordered table-striped table-summary">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Bérletek</th>
|
||||
<td class="money"><?php echo \Yii::$app->formatter->asInteger( $model->ticketMoney)?> FT</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Termékek</th>
|
||||
<td class="money"><?php echo \Yii::$app->formatter->asInteger( $model->productMoney)?> FT</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Pénzmozgások</th>
|
||||
<td class="money"><?php echo \Yii::$app->formatter->asInteger( $model->moneyMovementMoneis)?> FT</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Végösszeg bruttó</th>
|
||||
<td class="money"><span style='border-bottom: 1px solid black'><?php echo \Yii::$app->formatter->asInteger( $model->total)?> FT</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user