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

36 lines
1.2 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>
</tr>
</thead>
<tbody>
@foreach($items as $item)
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $item->store_name }}</td>
<td>{{ $item->store_entity }}</td>
<td>{{ $item->invoice_officer }}</td>
<td>{{ number_format($item->invoice_quota, 2) }}</td>
<td>{{ number_format($item->output_amount, 2) }}</td>
<td>{{ number_format($item->input_amount, 2) }}</td>
</tr>
@endforeach
@if($items->isEmpty())
<tr><td colspan=7 style="text-align:center; color:#9ca3af; padding:2rem;">暂无数据</td></tr>
@endif
</tbody>
</table>
</div>