|
@@ -1,7 +1,7 @@
|
|
|
<?php
|
|
|
-$orderDetailJson = $order->detailJson();
|
|
|
-$orderSelectedOptions = json_decode(@$orderDetailJson->selected_options ?? '{}');
|
|
|
-$orderSummary = $order->getOrderAllTestsRequested();
|
|
|
+ $orderDetailJson = $order->detailJson();
|
|
|
+ $orderSelectedOptions = json_decode(@$orderDetailJson->selected_options ?? '{}');
|
|
|
+ $orderSummary = $order->getOrderAllTestsRequested();
|
|
|
?>
|
|
|
|
|
|
<tr>
|
|
@@ -34,8 +34,7 @@ $orderSummary = $order->getOrderAllTestsRequested();
|
|
|
<tr height="24" style="background-color:rgb(250,250,250)">
|
|
|
<td colspan="5" valign="top"
|
|
|
style="text-align:center;text-transform:uppercase;padding:6px;border-top-left-radius:3px;border-bottom-left-radius:3px">
|
|
|
- <span style="font-size:15px;font-weight:600">Tests Ordered</span>
|
|
|
- </td>
|
|
|
+ <span style="font-size:15px;font-weight:600">Tests Ordered</span></td>
|
|
|
</tr>
|
|
|
<tr height="15">
|
|
|
<td colspan="5"></td>
|
|
@@ -43,7 +42,8 @@ $orderSummary = $order->getOrderAllTestsRequested();
|
|
|
@foreach ($orderSummary['all_tests'] as $tkey => $test)
|
|
|
<tr>
|
|
|
<td colspan="3" style="padding:0 0 0 0;vertical-align:top;">
|
|
|
- <span style="font-weight:400;">{{ $test['name'] }}</span>
|
|
|
+ <span
|
|
|
+ style="font-weight:400;">{{ $test['name'] }}</span>
|
|
|
</td>
|
|
|
<td align="right" valign="top" style="padding:0 0px;">
|
|
|
<span
|
|
@@ -54,17 +54,18 @@ $orderSummary = $order->getOrderAllTestsRequested();
|
|
|
|
|
|
@if (@$orderSelectedOptions->partner == 1)
|
|
|
|
|
|
- @foreach ($orderSummary['all_tests'] as $pTestKey => $pTest)
|
|
|
- <tr>
|
|
|
- <td colspan="3" style="padding:0 0 0 0;vertical-align:top;">
|
|
|
- <span style="font-weight:400;">{{ $pTest['name'] }} (Partner Test)</span>
|
|
|
- </td>
|
|
|
- <td align="right" valign="top" style="padding:0 0px;">
|
|
|
- <span
|
|
|
- style="font-weight:400;white-space:nowrap;display:block;">${{ number_format($pTest['price'], 2) }}</span>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endforeach
|
|
|
+ @foreach ($orderSummary['all_tests'] as $pTestKey => $pTest)
|
|
|
+ <tr>
|
|
|
+ <td colspan="3" style="padding:0 0 0 0;vertical-align:top;">
|
|
|
+ <span
|
|
|
+ style="font-weight:400;">{{ $pTest['name'] }} (Partner Test)</span>
|
|
|
+ </td>
|
|
|
+ <td align="right" valign="top" style="padding:0 0px;">
|
|
|
+ <span
|
|
|
+ style="font-weight:400;white-space:nowrap;display:block;">${{ number_format($pTest['price'], 2) }}</span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ @endforeach
|
|
|
@endif
|
|
|
</tbody>
|
|
|
</table>
|
|
@@ -87,21 +88,11 @@ $orderSummary = $order->getOrderAllTestsRequested();
|
|
|
<tr height="28">
|
|
|
<td align="right"
|
|
|
style="color:#000;font-size:14px;font-weight:400;padding:0 30px 0 0;border:none;border-width:1px;border-color:rgb(238,238,238)">
|
|
|
- User Tests Total</td>
|
|
|
- <td width="1" style="background-color:rgb(238,238,238);width:1px"></td>
|
|
|
- <td width="90" align="right"
|
|
|
- style="width:120px;font-size:16px;font-weight:400;white-space:nowrap">
|
|
|
- ${{ number_format(@$orderSummary['client_total'], 2) }}
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr height="28">
|
|
|
- <td align="right"
|
|
|
- style="color:#000;font-size:14px;font-weight:400;padding:0 30px 0 0;border:none;border-width:1px;border-color:rgb(238,238,238)">
|
|
|
- Partner Total</td>
|
|
|
+ Sub Total</td>
|
|
|
<td width="1" style="background-color:rgb(238,238,238);width:1px"></td>
|
|
|
<td width="90" align="right"
|
|
|
style="width:120px;font-size:16px;font-weight:400;white-space:nowrap">
|
|
|
- ${{ number_format(@$orderSummary['partner_total'], 2) }}
|
|
|
+ ${{ number_format(@$orderSummary['sub_total'], 2) }}
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr height="28">
|