formatting for reinvestments
This commit is contained in:
@@ -59,7 +59,9 @@ new class extends Component {
|
|||||||
<x-badge
|
<x-badge
|
||||||
:value="$transaction->split
|
:value="$transaction->split
|
||||||
? 'SPLIT'
|
? 'SPLIT'
|
||||||
: $transaction->transaction_type"
|
: ($transaction->reinvested_dividend
|
||||||
|
? 'REINVEST'
|
||||||
|
: $transaction->transaction_type)"
|
||||||
class="{{ $transaction->transaction_type == 'BUY'
|
class="{{ $transaction->transaction_type == 'BUY'
|
||||||
? 'badge-success'
|
? 'badge-success'
|
||||||
: 'badge-error' }} badge-sm mr-3"
|
: 'badge-error' }} badge-sm mr-3"
|
||||||
|
|||||||
@@ -94,7 +94,9 @@ new class extends Component {
|
|||||||
<x-badge
|
<x-badge
|
||||||
:value="$row->split
|
:value="$row->split
|
||||||
? 'SPLIT'
|
? 'SPLIT'
|
||||||
: $row->transaction_type"
|
: ($row->reinvested_dividend
|
||||||
|
? 'REINVEST'
|
||||||
|
: $row->transaction_type)"
|
||||||
class="{{ $row->transaction_type == 'BUY'
|
class="{{ $row->transaction_type == 'BUY'
|
||||||
? 'badge-success'
|
? 'badge-success'
|
||||||
: 'badge-error' }} badge-sm mr-3"
|
: 'badge-error' }} badge-sm mr-3"
|
||||||
|
|||||||
Reference in New Issue
Block a user