fix: Adjust cost calculation based on service status in cost result view
This commit is contained in:
@@ -224,7 +224,11 @@
|
||||
</div>
|
||||
</td>
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
Reference in New Issue
Block a user