@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 Commission Shop Earnings
{{ $item->prefix . $item->id }} {{ $item->order_state }} {{ $item->type == 1 ? 'Online Payment' : 'COD' }} {{ $item->amount }} ₹ {{ $item->cart->delivery_charge }} ₹ {{ $item->comission }} ₹ {{ str_replace(',', '', $item->cart->total_amount) - str_replace(',', '', $item->comission) }} ₹
No Items

Total Orders {{ $payment->count }}
{{--
Total Earnings {{$paymnet->tot_amt}} ₹
--}}
Shop Earnings {{ $payment->total }} ₹
{{ config('app.name') }} Commission {{ $payment->com }} ₹
Account Name {{ $payment->bank->name ?? null }}
Bank Name {{ $payment->bank->bank_name ?? null }}
Account Number {{ $payment->bank->acc_no ?? null }}
Branch Name {{ $payment->bank->branch ?? null }}
City {{ $payment->bank->city ?? null }}

@if ($payment->pay_status >= 0)
{{ $payment->requested_at ? \Carbon\Carbon::parse($payment->requested_at)->format('d-m-Y') : null }}
@endif @if ($payment->pay_status >= 2)
{{ $payment->accepted_at ? \Carbon\Carbon::parse($payment->accepted_at)->format('d-m-Y') : null }}
@endif @if ($payment->pay_status == 3)
{{ $payment->completed_at ? \Carbon\Carbon::parse($payment->completed_at)->format('d-m-Y') : null }}
@endif
@if (request('status') !== 0 && $orders->count() > 0 && auth()->user()->hasAnyRole('admin') && $payment->completed_at == null)
@method('POST') @csrf
@if ($payment->accepted_at == null)
@endif
accepted_at != null) checked @endif>
@endif @if (request('status') === 0 && $orders->count() > 0 && auth()->user()->hasAnyRole('vendor'))
@method('POST') @csrf
@endif
{{--
--}}
{{-- --}} {{--
--}}
@push('scripts') @endpush @endsection