Skip to content

Commit

Permalink
use multipliedBy
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinGab committed Nov 1, 2023
1 parent 02c7470 commit ac619d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/default.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@
@endif
</td>
<td class="nowrap py-2 pl-2 has-border-bottom-light has-text-right">
-{{ $invoice->formatMoney($discount->computeDiscountAmountOn($invoice->subTotalAmount())) }}
{{ $invoice->formatMoney($discount->computeDiscountAmountOn($invoice->subTotalAmount())?->multipliedBy(-1)) }}
</td>
</tr>
@endforeach
Expand Down

0 comments on commit ac619d9

Please sign in to comment.