fix(analytics): align yoy and detail table contracts
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
This commit is contained in:
@@ -821,18 +821,18 @@
|
||||
<table id="dataTable" class="table table-hover align-middle mb-0" style="width:100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center" style="width: 60px;">排名</th>
|
||||
<th style="width: 100px;">商品編號</th>
|
||||
<th style="width: 25%;">商品名稱</th>
|
||||
{% if cols.brand %}<th>品牌</th>{% endif %}
|
||||
{% if cols.vendor %}<th>廠商名稱</th>{% endif %}
|
||||
{% if cols.cat %}<th>分類</th>{% endif %}
|
||||
{% if cols.qty %}<th>平均單價</th>{% endif %}
|
||||
{% if cols.cost or cols.profit %}<th>毛利率</th>{% endif %}
|
||||
{% if cols.return_qty %}<th>退貨率</th>{% endif %}
|
||||
{% if cols.date %}<th>銷售月份</th>{% endif %}
|
||||
{% if cols.qty %}<th class="text-end">銷售數量</th>{% endif %}
|
||||
<th class="text-end">銷售金額</th>
|
||||
<th data-field="rank" class="text-center" style="width: 60px;">排名</th>
|
||||
<th data-field="product_id" style="width: 100px;">商品編號</th>
|
||||
<th data-field="name" style="width: 25%;">商品名稱</th>
|
||||
{% if cols.brand %}<th data-field="brand">品牌</th>{% endif %}
|
||||
{% if cols.vendor %}<th data-field="vendor">廠商名稱</th>{% endif %}
|
||||
{% if cols.cat %}<th data-field="category">分類</th>{% endif %}
|
||||
{% if cols.qty %}<th data-field="avg_price">平均單價</th>{% endif %}
|
||||
{% if cols.cost or cols.profit %}<th data-field="margin_rate">毛利率</th>{% endif %}
|
||||
{% if cols.return_qty %}<th data-field="return_rate">退貨率</th>{% endif %}
|
||||
{% if cols.date %}<th data-field="month_str">銷售月份</th>{% endif %}
|
||||
{% if cols.qty %}<th data-field="qty" class="text-end">銷售數量</th>{% endif %}
|
||||
<th data-field="amount" class="text-end">銷售金額</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
|
||||
Reference in New Issue
Block a user