@php $trs_statuses= [ 'F' => 'The transaction has been completed successfully (PAYMENT SUCCESSFUL).', 'E' => 'The transaction was not completed because of an error (PAYMENT UNSUCCESSFUL).', 'A' => 'The transaction is in progress (PAYMENT PENDING).', 'R' => 'The transaction has been fully or partially refunded.', 'X' => 'The transaction was cancelled by the merchant.', 'M' => 'The customer has disputed the transaction with the issuing bank.', 'MA' => 'Dispute awaiting response.', 'MI' => 'Dispute in progress.', 'ML' => 'A disputed transaction has been refunded (dispute lost).', 'MW' => 'Dispute won.', 'MS' => 'Suspected dispute.', ]; @endphp {{ $trs_statuses[$value] }}