@extends('layouts.admin') @section('styles') @endsection @section('content')
@if($data->is_provider == 1) No Image @else {{ __( @endif {{ __("Send Message") }}
{{ __("Vendor ID#") }} {{$data->id}}
{{ __("Store Name") }} {{ $data->shop_name }}
{{ __("Owner Name") }} {{ $data->owner_name }}
{{ __("Email") }} {{ $data->email }}
{{ __("Shop Number") }} {{ $data->shop_number }}
{{ __("Registration Number") }} {{ $data->reg_number }}
{{ __("Shop Address") }} {{ $data->shop_address }}
{{ __("Message") }} {{ $data->shop_message }}
{{ __("Total Product(s)") }} {{ $data->products()->count() }}
{{ __("Joined") }} {{ $data->created_at->diffForHumans() }}
{{ __("Shop Details") }} {!! $data->shop_details !!}
@if($data->checkStatus()) Verified (View) @else Unverified @endif

{{ __("Products Added") }}

@foreach($data->products as $dt) @php $stck = (string)$dt->stock; if($stck == "0") $stck = "Out Of Stock"; elseif($stck == null) $stck = "Unlimited"; @endphp @endforeach
{{ __("Product ID") }} {{ __("Type") }} {{ __("Stock") }} {{ __("Price") }} {{ __("Status") }}
{{ sprintf("%'.08d",$dt->id) }} {{ $dt->type }}{{ $stck }} {{ App\Models\Product::convertPrice($dt->price) }}
{{ __("Details") }}
{{-- MESSAGE MODAL --}}
{{-- MESSAGE MODAL ENDS --}} {{-- GALLERY MODAL --}} {{-- GALLERY MODAL ENDS --}} @endsection @section('scripts') @endsection