Files
gzth/yuthon_property_approval/static/xml/misc.xml
T
2025-09-25 20:07:48 +08:00

47 lines
1.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="json_widget_management.table_management" owl="1">
<div class="mb-3">
<t t-if="lines and lines.length">
<table class="table table-striped">
<thead class="table-dark">
<tr>
<th scope="col">收费项目</th>
<th scope="col">上月表数</th>
<th scope="col">本月表数</th>
<th scope="col">倍率</th>
<th scope="col">计费数量</th>
<th scope="col">应收开始</th>
<th scope="col">应收结束</th>
<th scope="col">当期金额</th>
<th scope="col">实际应付</th>
<th scope="col">备注</th>
</tr>
</thead>
<tbody>
<tr t-foreach="lines" t-as="line" t-key="line_index">
<td><strong><t t-esc="line.management_type_id || '-'"/></strong></td>
<td><t t-esc="line.last_month_table || '-'"/></td>
<td><t t-esc="line.this_month_table || '-'"/></td>
<td><t t-esc="line.ratio || '-'"/></td>
<td><t t-esc="line.billable_quantity !== undefined ? line.billable_quantity : '-'"/></td>
<td><t t-esc="line.due_date ? line.due_date : '-'"/></td>
<td><t t-esc="line.due_date_end ? line.due_date_end : '-'"/></td>
<td><t t-esc="line.original_amount !== undefined ? line.original_amount : '-'"/></td>
<td><t t-esc="line.actual_coping !== undefined ? line.actual_coping : '-'"/></td>
<td><t t-esc="line.remark || '-'"/></td>
</tr>
</tbody>
</table>
</t>
<t t-else="">
<div class="alert alert-info" role="alert">
<i class="fa fa-info-circle"></i> 暂无收费项目数据
</div>
</t>
</div>
</t>
</templates>