add backend transfer list changes
This commit is contained in:
41
frontend/views/common/_card_number_tickets.php
Normal file
41
frontend/views/common/_card_number_tickets.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
use yii\base\Object;
|
||||
use common\models\Ticket;
|
||||
?>
|
||||
<style>
|
||||
.reception-tickets-container{
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
</style>
|
||||
<div class="reception-tickets-container">
|
||||
<table class="table table-bordered table-striped">
|
||||
<?php $model = new Ticket() ;?>
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?php echo $model->getAttributeLabel('id_ticket_type') ?></th>
|
||||
<th><?php echo $model->getAttributeLabel('start') ?></th>
|
||||
<th><?php echo $model->getAttributeLabel('end') ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<?php if (isset($tickets) && count($tickets) ) {?>
|
||||
<tbody>
|
||||
<?php foreach ($tickets as $ticket){ ?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $ticket->ticketTypeName ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo Yii::$app->formatter->asDate( $ticket->start ) ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo Yii::$app->formatter->asDate( $ticket->end ) ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
</tbody>
|
||||
<?php }?>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
Reference in New Issue
Block a user