@extends('admin.layouts.master') @section('title', __('Edit Currency Exchange')) @section('page_content')
{{ __('Exchange Details') }}
@if ($exchange->status)

{{ __('Status') }} : @if ($exchange->status == 'Success') {{ __('Success') }} @endif @if ($exchange->status == 'Blocked') {{ __('canceled') }} @endif

@endif
@csrf

{{ getColumnValue($exchange->user) }}

{{ $exchange->uuid }}

@if ($exchange->from_wallet)

{{ $exchange->fromWallet?->currency?->code }}

@endif @if ($exchange->to_wallet)

{{ $exchange->toWallet?->currency?->code }}

@endif @if ($exchange->exchange_rate)

{{ moneyFormat(optional($exchange->currency)->symbol, (float) $exchange->exchange_rate) }}

@endif

{{ dateFormat($exchange->created_at) }}

{{ __('Cancel') }}
@if ($exchange->amount)

{{ moneyFormat(optional($exchange->currency)->symbol, formatNumber($exchange->amount)) }}

@endif @if (isset($exchange->fee))

{{ moneyFormat(optional($exchange->currency)->symbol, formatNumber($exchange->fee)) }}

@endif
@php $total = $exchange->fee + $exchange->amount; @endphp @if (isset($total))

{{ moneyFormat(optional($exchange->currency)->symbol, formatNumber($total)) }}

@endif
@endsection @push('extra_body_scripts') @endpush