fix splits command

and add splits test
This commit is contained in:
hackerESQ
2024-09-09 19:39:38 -05:00
parent 0c27ebaba5
commit 75fbd60a54
6 changed files with 80 additions and 32 deletions
@@ -92,7 +92,9 @@ new class extends Component {
@endscope
@scope('cell_transaction_type', $row)
<x-badge
:value="$row->transaction_type"
:value="$row->split
? 'SPLIT'
: $row->transaction_type"
class="{{ $row->transaction_type == 'BUY'
? 'badge-success'
: 'badge-error' }} badge-sm mr-3"