formatting for reinvestments

This commit is contained in:
hackerESQ
2024-10-18 22:18:25 -05:00
parent 3cb0ad5c86
commit 074cfa70fb
2 changed files with 7 additions and 3 deletions
@@ -93,8 +93,10 @@ new class extends Component {
@scope('cell_transaction_type', $row)
<x-badge
:value="$row->split
? 'SPLIT'
: $row->transaction_type"
? 'SPLIT'
: ($row->reinvested_dividend
? 'REINVEST'
: $row->transaction_type)"
class="{{ $row->transaction_type == 'BUY'
? 'badge-success'
: 'badge-error' }} badge-sm mr-3"