@extends('layouts.agent.app')

@section('content')

<main id="main" class="main">
    <div class="container" style="margin-top:5%;">
        <form action="{{url('/agent/assignorder/generateReport')}}" method="post">
            @csrf
            <div class="card">
                <div class="card-body">
                    {{--<p><b>START DATE :</b><input type="date" class="form-control" name="start-date" required/></p>
                    <p><b>END DATE :</b><input type="date" class="form-control" name="end-date" required/></p>--}}

                    <div style="display: flex; gap: 20px; align-items: center;">
                        <div style="display: flex; flex-direction: column; width: 200px;">
                            <label><b>START DATE :</b></label>
                            <input type="date" class="form-control" name="start-date" required/>
                        </div>
                        <div style="display: flex; flex-direction: column; width: 200px;">
                            <label><b>END DATE :</b></label>
                            <input type="date" class="form-control" name="end-date" required/>
                        </div>
                    </div><br>

                    <button class="btn btn-primary" type="submit">Search</button>
                </div>
            </div>
        </form>
    </div>
</main>

@endsection