@extends('layouts.admin')

@section('content')




        <!-- Content Wrapper. Contains car content -->
        <div class="content-wrapper" style="margin-left:10px !important;">
            <!-- Content Header (car header) -->
            <section class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1> تقرير عن المنصرفات  </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><a href="#">الرئيسية</a></li>
                                <li class="breadcrumb-item active">ادارة النظام</li>
                            </ol>
                        </div>
                    </div>
                </div><!-- /.container-fluid -->
            </section>









            <!-- Main content -->
            <section class="content">
                <div class="row">
                    <div class="col-md-12">
                        <div class="success">
                            @if(session()->has('success'))
                                <div class="alert alert-success">
                                    {{ session()->get('success') }}
                                </div>
                            @endif

                                <h2 id="success" style="color: green;
                                font-weight: bolder;">

                                </h2>


                        </div>
                        <form action="{{url('/admin/get_expense_report')}}" method="post" enctype="multipart/form-data">
                            @csrf
            

                      <div class="form-group">
                            <label for="date_from"> التاريخ من  </label>
                            <input type="date" name="date_from" id="date_from" class="form-control" id="date_from" placeholder="Enter date_from">
                            @error('date_from') {{ $message }} @enderror

                        </div>


                        <div class="form-group">
                            <label for="date_to"> التاريخ  الى  </label>
                            <input type="date" name="date_to" id="date_to" class="form-control" id="date_to" placeholder="Enter date_to">
                            @error('date_to') {{ $message }} @enderror

                        </div>

                     

                     

                        <div class="card-footer">
                        <button class="btn btn-primary" >عرض التقرير</button>
                       

                        </div>


                        </form>


                    </div>
                    <!-- /.col-->
                </div>
                <!-- ./row -->
            </section>
            <!-- /.content -->
        </div>
        <!-- /.content-wrapper -->





@endsection
