{!! Form::open(['route' => 'mobile_recharge_journeys.productPage', 'files' => true]) !!}
{!! Form::label('phone', __('Phone Number')) !!}
{!! Form::text('phone', $phone??null, ['class' => 'form-control','placeholder' => 'Phone Number','readonly']) !!}
{!! Form::label('wallet_id', __('Wallet')) !!}
{!! Form::text('wallet_id_name', $wallet_payee->name, ['class' => 'form-control','placeholder' => 'Select Wallet','readonly']) !!}
{!! Form::hidden('user_id', $user_payee->id, ['class' => 'form-control','placeholder' => 'Select User','readonly']) !!}
{!! Form::hidden('wallet_id', $wallet_payee->id, ['class' => 'form-control','placeholder' => 'Select Wallet','readonly']) !!}
{!! Form::label('currency_id', __('Currency')) !!}
{!! Form::text('currency_id_name', $wallet_payee_currency->name.'-'.$wallet_payee_currency->country_name, ['class' => 'form-control','placeholder' => 'Select Wallet','readonly']) !!}
{!! Form::hidden('currency_id', $wallet_payee_currency->id, ['class' => 'form-control','placeholder' => 'Select Wallet','readonly']) !!}
{!! Form::label('service_charge', __('Service Charge')) !!}
{!! Form::number('service_charge', 0, ['class' => 'form-control','placeholder' => 'Select User','required','step'=>'any']) !!}
@foreach ($available_products as $product)
@endforeach
{!! Form::close() !!}
{{$product->name}}
@php
$operator = json_decode($product->operator);
$country = $operator->country;
$prices = json_decode($product->prices);
$wholesale_prices = $prices->wholesale;
$provider_country_currency = CountryCurrency::where('code',$wholesale_prices->unit)->get()->first();
$my_basic_currency = Auth::user()->myBasicCurrency();
$cnvrt_to_bsc_crnc_price_amount = Auth::user()->toBasicCurrency($wholesale_prices->amount,$provider_country_currency);
$cnvrt_to_wlt_crnc_price_amount = Auth::user()->convertCurrencyBtwn($wholesale_prices->amount,$provider_country_currency,$wallet_payee_currency);
@endphp
{!! $operator->name !!}
{!! $country->name !!}