@extends('layouts.main') @section('content') @push('css') @endpush
Shop referel no : #5876432{{ $shop->id }}
Created Date: {{ \Carbon\Carbon::parse($shop->created_at)->format('d-m-Y H:i') }}
Status: ( {{ $shop->active == 1 ? 'Active' : 'Inactive' }} - {{ $shop->opened == 1 ? 'Opened' : 'Closed' }} )

{{ $shop->name }}

{{ $shop->email }}
{{ $shop->mobile }}

Shop Address
{{ $shop->name }}
{{ $shop->street }}, {{ $shop->area }},
{{ $shop->city }}
{{--
{{$order->cart->centre->user->email}}
{{$order->cart->centre->user->mobile}}
--}}
Shop Vendor Details
Name : {{ $shop->user->name }}
Email : {{ $shop->user->email }}
Mobile : {{ $shop->user->mobile }}

@forelse ($orders as $item) @empty @endforelse
Order ID Order Status Payment Type Total Delivery Charge Shop Earnings Commission
{{ $item->prefix . $item->id }} {{ $item->order_state }} {{ $item->type == 1 ? 'Online Payment' : 'COD' }} {{ $item->amount }} ₹ {{ $item->cart->delivery_charge }} ₹ {{ str_replace(',', '', $item->cart->total_amount) - str_replace(',', '', $item->comission) }} ₹ {{ $item->comission }} ₹
No Items

Total Orders {{ $total_orders }}
{{--
Total Earnings {{$paymnet->tot_amt}} ₹
--}}
Shop Earnings {{ $shop_total }} ₹
{{ config('app.name') }} Commission {{ $commission }} ₹
@if ($orders->count() <= 0)

No Pending Payments

@endif @if (request('status') !== 0 && $orders->count() > 0 && auth()->user()->hasAnyRole('admin'))
@method('POST') @csrf
ADD NEW BANK

Choose bank

@forelse ($banks as $bank)
first) checked @endif >
@empty
Please add bank account to proceed
@endforelse
@endif @if (request('status') == 0 && $orders->count() > 0 && auth()->user()->hasAnyRole('vendor'))
@method('POST') @csrf
ADD NEW BANK

Choose bank

@forelse ($banks as $bank)
first) checked @endif >
@empty
Please add bank account to proceed
@endforelse
@endif
{{--
--}}
{{-- --}} {{--
--}}
@include('payments.addnewBank') @push('scripts') @endpush @endsection