31 lines
1.1 KiB
PHP
31 lines
1.1 KiB
PHP
<?php
|
|
use common\components\DailyListing;
|
|
/** @var $model common\components\DailyListing */
|
|
?>
|
|
<?php if ( $model->showWithCassaOpen && isset($model->cassaOpen) ){?>
|
|
<h2>Aktuális záró összeg</h2>
|
|
<table class="table table-bordered table-striped table-summary">
|
|
<tbody>
|
|
<tr>
|
|
<th>Kasszanyitás </th>
|
|
<td ><span style=' '><?php echo ( $model->cassaOpen->user->username ) ?> </span></td>
|
|
</tr>
|
|
<tr>
|
|
<th>Kasszanyitás ideje</th>
|
|
<td ><span style=' '><?php echo ( $model->cassaOpen->created_at ) ?> </span></td>
|
|
</tr>
|
|
<tr>
|
|
<th>Kasszanyitás összege</th>
|
|
<td class="money"><span style=' '><?php echo isset($model->cassaOpen) ? \Yii::$app->formatter->asInteger( $model->cassaOpen->money ) : ""?> FT</span></td>
|
|
</tr>
|
|
<tr>
|
|
<th>Végösszeg</th>
|
|
<td class="money"><span style=' '><?php echo \Yii::$app->formatter->asInteger($model->total)?> FT</span></td>
|
|
</tr>
|
|
<tr>
|
|
<th>Kasszában lévő összeg</th>
|
|
<td class="money"><span style='border-bottom: 1px solid black'><?php echo \Yii::$app->formatter->asInteger( $model->totalWithCassa ) ?> FT</span></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<?php }?>
|