@extends('layouts.admin') @section('styles') @endsection @section('content')
@if($data->is_provider == 1) No Image @else No Image @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 !!}

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 --}} @endsection @section('scripts') @endsection