@extends('layouts.app') @section('content')
Model: {{ $stock->product->model ?? 'N/A' }}
#{{ $stock->id }}
{{ str_replace('_', ' ', ucfirst($stock->availability_status)) }}
{{ $stock->quantity }}
@if($stock->requires_approval) Yes @else No @endif
@if($stock->is_approved) Approved @else Pending @endif
User #{{ $stock->approved_by }}
@if($stock->estimated_time_of_arrival_date) {{ date('M d, Y', strtotime($stock->estimated_time_of_arrival_date)) }} @else N/A @endif
@if($stock->next_arrival_date) {{ date('M d, Y', strtotime($stock->next_arrival_date)) }} @else N/A @endif
@if($stock->last_arrival_date) {{ date('M d, Y', strtotime($stock->last_arrival_date)) }} @else N/A @endif
@if($stock->expected_restock_date) {{ date('M d, Y', strtotime($stock->expected_restock_date)) }} @else N/A @endif
{{ $stock->created_at->format('M d, Y H:i A') }}
{{ $stock->updated_at->format('M d, Y H:i A') }}
Product Name:
{{ $stock->product->name }}
Model:
{{ $stock->product->model ?? 'N/A' }}
Price:
₹{{ number_format($stock->product->price, 2) }}
Brand:
{{ $stock->product->brand->name ?? 'N/A' }}
Manufacturer:
{{ $stock->product->manufacturer->name ?? 'N/A' }}
Category:
{{ $stock->product->category->name ?? 'N/A' }}