fix: Adjust cost calculation based on service status in cost result view
This commit is contained in:
@@ -224,7 +224,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-end">
|
<td class="text-end">
|
||||||
<strong>{{ $breakdown['service']['total'] + $breakdown['onetime']['total'] + $fee['fee'] }}</strong>
|
<strong>
|
||||||
|
{{ $serviceStatus === 'yes'
|
||||||
|
? $breakdown['service']['total'] + $breakdown['onetime']['total'] + $fee['fee']
|
||||||
|
: $breakdown['onetime']['total'] + $fee['fee'] }}
|
||||||
|
</strong>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Reference in New Issue
Block a user