add display money to account state close, delete ticket on customer tickets
This commit is contained in:
31
common/views/total/total_cassa_open.php
Normal file
31
common/views/total/total_cassa_open.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?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 }?>
|
||||
Reference in New Issue
Block a user