<div style="">
	<div class="course-list defaultNone mt-1">
		<div class="col-12">
			<table class="table ">
				<thead>
				<tr>
					<th scope="col" class="text-center">發票日期</th>
					<th scope="col" class="text-center">發票編號</th>
					<th scope="col" class="text-center">課程名稱</th>
					<th scope="col" class="text-right">總計</th>
					<th scope="col" class="text-center">狀態</th>
					<th scope="col" class="text-center">列印發票</th>
				</tr>
				</thead>
				<tbody>
				<tr>
					<td class="text-center" scope="row"><?= date('Y-m-d'); ?></td>
					<td class="text-center">HQIN21060004</td>
					<td class="text-center">聖誕節<br />HQST0065</td>
					<td class="text-right">$1,000.00</td>
					<td class="text-center">未付款</td>
					<td class="text-center"><i class="fa fa-file-text-o" aria-hidden="true"></i></td>
				</tr>
				<?php
				foreach ($paid_records as $paid) {
					?>
					<tr>
						<td class="text-center" scope="row"><?= date('Y-m-d', $paid['create_time']); ?>
						</td>
						<td class="text-center"><?= $paid['course_name']; ?></td>
						<td class="text-center"><?= '$' . number_format($paid['selling_price'], 2, '.', ','); ?></td>
						<td class="text-center">未開始</td>
						<td class="">詳情</td>
						<td>進入課程&nbsp;<a href="<?= $base_url ?>/member/start_course?id=<?=$paid['course_id'];?>"><img
										src="<?= $base_url ?>assets/img/member/nlp-icon-play.png" alt="" width="10px"
										height="13px"></a></td>

					</tr>
					<?php
				}
				?>
				</tbody>
			</table>
		</div>
	</div>

</div>
