@extends('merchant.layout') @section('title',__('Show Payment request receipt')) @section('css') @if(app()->getLocale()=='ar') @else @endif @endsection @section('breadcrump')

{{ __('Payments') }}

@endsection @section('content')

{{ __('Show Payment request receipt') }}

@csrf @method('put') @if($payment_request['paid']) @else @endif
@if(isset($payment_request['user'])) {{$payment_request['user']['name']}} @endif
@if($payment_request['payment_method_id']==1) @elseif($payment_request['payment_method_id']==2) @elseif($payment_request['payment_method_id']==3) @endif
{{__('Payment request no.')}} : #{{$payment_request['id']}}
{{__('User')}} : @if(isset($payment_request['user'])) {{$payment_request['user']['name']}} @endif
{{__('Amount')}} : {{formated_price($payment_request['amount'])}}
{{__('Payment status')}} : @if($payment_request['paid']) {{__('paid')}} @else {{__('unpaid')}} @endif
{{__('Payment Method')}} : @if(isset($payment_request['payment_method'])) {{__($payment_request['payment_method']['name'])}} @endif
{{__('Bank Name')}} : @if(isset($payment_request['user_payment_method'])) {{__($payment_request['user_payment_method']['bank_name'])}} @endif
{{__('Account Owner Name')}} : @if(isset($payment_request['user_payment_method'])) {{__($payment_request['user_payment_method']['name'])}} @endif
{{__('Account Number')}} : @if(isset($payment_request['user_payment_method'])) {{__($payment_request['user_payment_method']['account_number'])}} @endif
{{__('Phone Number')}} : @if(isset($payment_request['user_payment_method'])) {{__($payment_request['user_payment_method']['phone_number'])}} @endif
{{__('ID Card')}} : @if(isset($payment_request['user_payment_method'])) @endif
@endsection