@php use \App\Enums\TransactionType; use \App\Enums\TransactionStatus; use \App\Enums\TransactionCalcType; $details = data_get($transaction, 'details'); $type = data_get($transaction, 'type'); $calc = data_get($transaction, 'calc'); $status = data_get($transaction, 'status'); $ledger = data_get($transaction,'ledger'); @endphp