@extends('layouts.app') @section('content')

Edit Product

Update product information

Back to Products
Product Information
@csrf @method('PUT')
@error('name')
{{ $message }}
@enderror
@error('category_id')
{{ $message }}
@enderror
@error('supplier_id')
{{ $message }}
@enderror
@error('quantity')
{{ $message }}
@enderror
BDT
@error('purchase_price')
{{ $message }}
@enderror
BDT
@error('sale_price')
{{ $message }}
@enderror
Cancel
Product Details
Product ID
{{ $product->id }}
Category
@if($product->category) {{ $product->category->name }} @else No Category @endif
Supplier
@if($product->supplier) {{ $product->supplier->name }} @else No Supplier @endif
Current Stock
{{ $product->quantity }}
Created
{{ $product->created_at->format('M d, Y') }}
Last Updated
{{ $product->updated_at->format('M d, Y') }}
@endsection