@extends('layouts.app') @section('title', 'Edit Product - Quotation App') @section('styles') @endsection @section('content')

Edit Product

Update product details and specifications

@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')

Master Product

Name: {{ $product->master->product_name }}

Note: {{ $product->master->note ?? '-' }}

@error('product_master_id'){{ $message }}@enderror

Product Details

@error('product_model'){{ $message }}@enderror
@error('price'){{ $message }}@enderror

Specifications

Specification Name Value Unit
@forelse($allSpecs as $index => $spec)
@empty
@endforelse
Cancel
@endsection