@extends('admin.layout') @section('title',__('Show merchant')) @section('css') @endsection @section('breadcrump')

{{$merchant->name}}

@endsection @section('content')

{{ __('Merchant information') }}

@can('edit_merchant') @endcan
{{__('Name')}} {{$merchant->name}}
{{__('Shop Name')}} {{$merchant->shop_name}}
{{__('Email')}} {{$merchant->email}}
{{__('Phone')}} {{$merchant->phone}}
{{__('State')}} @if(isset($merchant['state'])){{$merchant['state']['name']}}@endif
{{__('City')}} @if(isset($merchant['city'])){{$merchant['city']['name']}}@endif
{{__('Address')}} {{$merchant->address}}
{{__('Facebook link')}} {{$merchant->facebook_link}}
{{__('Telegram link')}} {{$merchant->telegram_link}}
{{ __('Confirmed balance') }} {{formated_price($merchant->confirmed_balance)}}
{{ __('Hold balance') }} {{formated_price($merchant->hold_balance)}}
{{ __('Paid balance') }} {{formated_price($merchant->paid_balance)}}
{{ __('Available balance') }} {{formated_price($merchant->total_balance)}}
{{__('Status')}}
{{ __('Note for admin') }} {{$merchant->note}}

{{ __('Merchant statistics') }}

{{$total_orders}}

{{__('Total Orders')}}

{{formated_price($total_payments)}}

{{__('Total Payments')}}

{{formated_price($total_commission)}}

{{__('Total Earning')}}

{{ __('Merchant orders') }}

{{$pending_orders}}

{{__('New orders')}}

{{$hold_orders}}

{{__('Hold orders')}}

{{$confirmed_orders}}

{{__('Confirmed orders')}}

{{$sending_orders}}

{{__('Sending')}}

{{$delivered_orders}}

{{__('Delivered orders')}}

{{$canceled_orders}}

{{__('Canceled orders')}}

{{$price_being_received_orders}}

{{__('The price is being received')}}

{{ __('Balance') }}

{{formated_price($merchant->confirmed_balance)}}

{{__('Confirmed balance')}}

{{formated_price($merchant->hold_balance)}}

{{__('Hold balance')}}

{{formated_price($merchant->paid_balance)}}

{{__('Paid balance')}}

{{formated_price($merchant->total_balance)}}

{{__('Available balance')}}

{{ __('Orders details') }}

@foreach($orders as $order) @endforeach
# {{__('Status')}} {{__('Order Number')}} {{__('Subtotal')}} {{__('Commission')}} {{__('Shipping')}} {{__('Total')}} {{__('Details')}}
{{$order->id}} {{$order->order_id}} {{formated_price($order->subtotal)}} {{formated_price($order->commission)}} {{formated_price($order->shipping)}} {{formated_price($order->total)}}
@include('admin.pages.orders.status_modal') @include('admin.pages.merchants._form') @endsection @section('scripts') @include('admin.pages.merchants.show_js') @endsection