@php $nameSpace = ucfirst(data_get($pm, 'slug')).'::deposit-preview'; @endphp @if(view()->exists($nameSpace)) @include($nameSpace) @else
{!! __('You are about to deposit :amount in your account.', [ 'amount' => ''.money($amount, $currency, ['dp' => 'calc']).'' ]) !!}
{{ __('Please review the information and confirm.') }}