CaiWuXiTong/resources/views/business/pages/store_invoicing.blade.php

40 lines
1.5 KiB
PHP

<div class="business-page-header">
<span class="business-page-title">{{ $title ?? '店铺后台开票' }}</span>
</div>
<div class="business-table-container">
<table class="business-table">
<thead>
<tr>
<th>序号</th>
<th>店铺</th>
<th>销售方名称</th>
<th>销售方税号</th>
<th>购买方名称</th>
<th>购买方税号</th>
<th>开票金额</th>
<th>类目</th>
<th>开票类型</th>
</tr>
</thead>
<tbody>
@foreach($items as $item)
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $item->store_name }}</td>
<td>{{ $item->seller_name }}</td>
<td>{{ $item->seller_tax_number }}</td>
<td>{{ $item->buyer_name }}</td>
<td>{{ $item->buyer_tax_number }}</td>
<td>{{ number_format($item->invoice_amount, 2) }}</td>
<td><span class="business-badge business-badge-info">{{ $item->category }}</span></td>
<td><span class="business-badge business-badge-info">{{ $item->invoice_type }}</span></td>
</tr>
@endforeach
@if($items->isEmpty())
<tr><td colspan=9 style="text-align:center; color:#9ca3af; padding:2rem;">暂无数据</td></tr>
@endif
</tbody>
</table>
</div>