|
@@ -78,7 +78,7 @@
|
|
|
<div class="inline-block">安装地点: {{$order['install_position_title'] ?? ''}}</div>
|
|
|
<div class="inline-block">备注: {{$order['mark'] ?? ''}}</div>
|
|
|
</div>
|
|
|
-
|
|
|
+ @if(! empty($order['product']))
|
|
|
<div style="margin-bottom: 20px;margin-top: 20px"><span style="font-weight:bold;">产品信息 </span></div>
|
|
|
<table>
|
|
|
<tr>
|
|
@@ -87,7 +87,7 @@
|
|
|
<th style="text-align: center">规格</th>
|
|
|
<th style="text-align: center">单位</th>
|
|
|
<th style="text-align: center">数量</th>
|
|
|
- <th style="text-align: center">单价</th>
|
|
|
+ <th style="text-align: center">金额</th>
|
|
|
</tr>
|
|
|
@foreach($order['product'] as $key => $value)
|
|
|
<tr>
|
|
@@ -96,10 +96,19 @@
|
|
|
<td style="text-align: center">{{ $value['size'] ?? '' }}</td>
|
|
|
<td style="text-align: center">{{ $value['unit_title'] ?? '' }}</td>
|
|
|
<td style="text-align: center">{{ $value['number'] ?? '' }}</td>
|
|
|
- <td style="text-align: center">{{ $value['price'] ?? '' }}</td>
|
|
|
+ <td style="text-align: center">{{ $value['final_amount'] ?? '' }}</td>
|
|
|
</tr>
|
|
|
@endforeach
|
|
|
+ <tr>
|
|
|
+ <td style="text-align: center"></td>
|
|
|
+ <td style="text-align: center"></td>
|
|
|
+ <td style="text-align: center"></td>
|
|
|
+ <td style="text-align: center"></td>
|
|
|
+ <td style="text-align: center">{{ $order['product_sum']['num'] ?? 0 }}</td>
|
|
|
+ <td style="text-align: center">{{ $order['product_sum']['total'] ?? 0 }}</td>
|
|
|
+ </tr>
|
|
|
</table>
|
|
|
+ @endif
|
|
|
|
|
|
@if(! empty($order['activity_product']))
|
|
|
<div style="margin-bottom: 20px;margin-top: 20px"><span style="font-weight:bold;">活动包产品信息 </span></div>
|
|
@@ -110,7 +119,7 @@
|
|
|
<th style="text-align: center">规格</th>
|
|
|
<th style="text-align: center">单位</th>
|
|
|
<th style="text-align: center">数量</th>
|
|
|
- <th style="text-align: center">单价</th>
|
|
|
+ <th style="text-align: center">金额</th>
|
|
|
</tr>
|
|
|
@foreach($order['activity_product'] as $key => $value)
|
|
|
<tr>
|
|
@@ -119,9 +128,17 @@
|
|
|
<td style="text-align: center">{{ $value['size'] ?? '' }}</td>
|
|
|
<td style="text-align: center">{{ $value['unit_title'] ?? '' }}</td>
|
|
|
<td style="text-align: center">{{ $value['number'] ?? '' }}</td>
|
|
|
- <td style="text-align: center">{{ $value['price'] ?? '' }}</td>
|
|
|
+ <td style="text-align: center">{{ $value['final_amount'] ?? '' }}</td>
|
|
|
</tr>
|
|
|
@endforeach
|
|
|
+ <tr>
|
|
|
+ <td style="text-align: center"></td>
|
|
|
+ <td style="text-align: center"></td>
|
|
|
+ <td style="text-align: center"></td>
|
|
|
+ <td style="text-align: center"></td>
|
|
|
+ <td style="text-align: center">{{ $order['activity_product_sum']['num'] ?? 0 }}</td>
|
|
|
+ <td style="text-align: center">{{ $order['activity_product_sum']['total'] ?? 0 }}</td>
|
|
|
+ </tr>
|
|
|
</table>
|
|
|
@endif
|
|
|
|