<table class="table table-bordered table-striped table-summary total-medium-ticket">
	<thead>
		<tr>
			<th>Bérlet típus</th>
			<th>Mennyiség</th>
			<th>Összeg</th>
		</tr>
	</thead>
	<tbody>
    		<?php
						foreach ( $model->ticketStats as $ticketStat ) {
							?>
						<tr>
			<td class="name"><?php echo $ticketStat['ticket_type_name'] ?></td>
			<td class="count"><?php echo $ticketStat['ticket_count']?> Db</td>
			<td class="money"><?php echo \Yii::$app->formatter->asInteger( $ticketStat['ticket_money'])?> FT</td>
		</tr>
    		<?php } ?>
					</tbody>
</table>

<div class="row">
	<div class="col-md-12 text-right" style="text-decoration: underline;">
	    				Összesen: <?php	echo \Yii::$app->formatter->asInteger(  $model->ticketMoney);	?> Ft
	    				
	    			</div>
</div>