UI
ERP System
Home
Dashboard
Shops
{{ $shop->name }}
Dashboard
/
Shops
/
{{ $shop->code }}
Edit
Delete
@if (session('success'))
✓ {{ session('success') }}
@endif
Total Orders
{{ $shop->total_orders }}
Total Purchase
Rs. {{ number_format($shop->total_purchase, 2) }}
Outstanding Balance
Rs. {{ number_format($shop->outstanding_balance, 2) }}
@if ($shop->image)
Shop Image
@endif
Basic Information
Shop Code
{{ $shop->code }}
Sticker Code
{{ $shop->sticker_code ?? 'Not generated' }}
Status
@if ($shop->status == 'active')
Active
@elseif($shop->status == 'inactive')
Inactive
@else
Blocked
@endif
Shop Name
{{ $shop->name }}
Shop Type
{{ $shop->shop_type }}
Owner Name
{{ $shop->owner_name ?? 'Not specified' }}
Assigned Agent
{{ $shop->agent ? $shop->agent->code . ' - ' . $shop->agent->name : 'Unassigned' }}
Contact Information
Phone (Primary)
{{ $shop->phone }}
Phone (Secondary)
@if ($shop->phone_secondary)
{{ $shop->phone_secondary }}
@else Not provided @endif
Email
@if ($shop->email)
{{ $shop->email }}
@else Not provided @endif
District
{{ $shop->district ?? 'Not specified' }}
City
{{ $shop->city ?? 'Not specified' }}
State
{{ $shop->state ?? 'Not specified' }}
Address
{{ $shop->address ?? 'Not provided' }}
GPS Location
Latitude
{{ $shop->latitude ?? 'Not captured' }}
Longitude
{{ $shop->longitude ?? 'Not captured' }}
@if ($shop->latitude && $shop->longitude)
📍 Location: {{ $shop->latitude }}, {{ $shop->longitude }}
View on Google Maps →
@else
GPS location not available
@endif
Financial Information
Credit Limit
Rs. {{ number_format($shop->credit_limit, 2) }}
Available Credit
Rs. {{ number_format($shop->getAvailableCredit(), 2) }}
Last Order Date
{{ $shop->last_order_date ? $shop->last_order_date->format('M d, Y') : 'No orders yet' }}
Created
{{ $shop->created_at->format('M d, Y') }}
@if ($shop->outstanding_balance > 0)
@csrf
Send Payment Reminder (Rs. {{ number_format($shop->outstanding_balance, 2) }})
@endif
Delete Shop?
Are you sure you want to delete
{{ $shop->name }}
? This action cannot be undone.
Cancel
@csrf @method('DELETE')
Delete