Merge branch 'change-credit-note-to-refund-note' of gitlab.com:CIEFWorldwideSdnBhd/exchange-2.0

This commit is contained in:
edmondlang
2024-07-04 23:36:18 +08:00
@@ -24,8 +24,11 @@
</td>
<td class="header-details">
<div class="title">
@php
$credit_title = \Carbon\Carbon::parse($transaction->created_at)->greaterThanOrEqualTo('2024-04-02') ? 'Refund' : 'Credit'
@endphp
<strong>
{{ $transaction->type == 9 ? 'Credit' : 'Debit' }} Note
{{ $transaction->type == 9 ? $credit_title : 'Debit' }} Note
</strong>
</div>