<?php use app\libraries\CommonHelper;?>
<tr style="border-top: 12px solid transparent;">
	<td style=""><br /><span>學生 : <?=$RECIPIENT_NAME;?></span><br><?=$ITEM . $ITEM_TIMESLOT;?></td>
	<td style="text-align: center; "><br /><?=$PRICE;?></td>
	<td style="text-align: center; "><br /><?=$QTY;?></td>
	<td style="text-align: center; "><br /><?=$DISCOUNT;?></td>
	<td style="text-align: right; "><br /><?=$AMOUNT;?></td>
</tr>
<?php if(!empty($EXTRA)):?>
	<?php foreach($EXTRA as $item):?>
		<tr>
			<td colspan="4"><?php echo $item['name']; ?></td>
			<td style="text-align: right"><?=CommonHelper::money($item['amount']);?></td>
		</tr>
	<?php endforeach;?>
<?php endif;?>
