@extends('layouts.config_dashboard.app')

@section('content')
    <div class="container-fluid mt-4 ">
        <div class="row">
            <div class="col-12">
                <div class="card">
                    <div class="card-body mt-1">
                        <form action="{{ route('NoteHonoraire.update',$note->id) }}" method="post">
                            @csrf
                            @method('PUT')
                            <div class="form-group mb-1 mt-1">
                                <label for="price">Assurance</label>
                                <input type="text" readonly name="ok" value="{{ $note->company->company }}" required
                                    class="form-control">
                            </div>
                            <div class="form-group mb-1 mt-1">
                                <label for="price">Type Dossier</label>
                                <input type="text" readonly name="ok" value="{{ $note->typeexpertise->type }}" required
                                    class="form-control ">
                            </div>
                            <div class="form-group mb-1 mt-1">
                                <label for="price">Montant</label>
                                <input type="number" name="montant" value="{{ $note->montant }}" required
                                    class="form-control @error('montant') is-invalid @enderror">
                                @error('montant')
                                    <span class="invalid-feedback" role="alert">
                                        <strong>{{ $message }}</strong>
                                    </span>
                                @enderror
                            </div>

                            <div class="modal-footer">
                                <button type="submit" class="btn btn-primary">Modifier</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>

@endsection
