@extends('layouts.admin-master') @section('title', 'Home') @section('style') @include('admin.style') @endsection @section('content')
@include('admin.header')

FARM TO APMC

@csrf @method('PUT')
{{-- Left Column: Market Visibility & Date --}}
Marketplace Settings
  • Marketplace
    {{-- DO NOT add a hidden input here if you use $request->has() in the controller --}} display_on_marketplace ? 'checked' : '' }}>
  • Effective Date
{{-- Right Column: Pricing & Relational Details --}}
Pricing Details
{{-- Vendor Selection (Read-only or Select) --}}
Vendor
{{-- Display as plain text with a slight background or border for clarity --}}
{{ $rate->vendor->vendor_name ?? 'N/A' }}
{{-- Crucial: Hidden input to ensure the vendor_id is submitted with the form --}}
{{-- Crop Selection --}}
Crop
{{-- Min and Max Rates --}}
Rate Range
{{-- Measure Unit --}}
Measure Unit

Cancel
@include('admin.footer') @section('script') @include('admin.script') @endsection
@endsection