KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/peoplebee.in/webmaster.peoplebee.in/resources/views/reports/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/peoplebee.in/webmaster.peoplebee.in/resources/views/reports/report.blade.php
@extends('layout')
@section('content')
    <!-- begin::main content -->
    <style>
  /* Styles for tabs */
  .tab {
    display: inline-block;
    padding: 12px 26px;
    cursor: pointer;
    
    background-color: #E6EAED;
    margin-right: -4px; /* Remove spacing between tabs */
  }

  /* Style for highlighted tab */
  .tab.active {
    background-color: white;
  }

  /* Content area style */
  .tab-content {
    
    padding: 20px;
    border-radius: 0 0 5px 5px;
    display: none; /* Hide all content areas by default */
  }

  /* Show active content area */
  .tab-content.active {
    display: block;
  }
  .form-group {
    margin-bottom: 1rem;
    margin-bottom: 30px !important;
}
.form-group input, .form-group select{
    height:42px;
    padding-top:10px 25px !important;
}
.form-group label, .tab{
    font-size:13px !important;
}
.company-save-btn{
    position:fixed;
    bottom:0;left:250px;
    background-color:white;
    border-top:1px solid #ccc;
}
.inner-border{
    border:-2px solid #ddd !important;
}
@media only screen and (max-width: 768px) {
    .company-save-btn{
    position:fixed;
    bottom:0;left:0px;
    background-color:white;
    border-top:1px solid #ccc;
}
}
</style>

    <main class="main-content px-0">

        <div class="container">

            <!-- begin::page header -->
            <div class="page-header m-0 border-0">
                <h3>  {{__('message.reports')}}</h3>
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="{{ asset('dashboard') }}">{{__('message.dashboard')}}</a></li>
                        <li class="breadcrumb-item" aria-current="page"><a href="{{ asset('reports') }}">{{__('message.reports')}}</a></li>
                        <li class="breadcrumb-item active" aria-current="page">{{__('message.add')}}</li>
                    </ol>
                </nav>
            </div>
            <!-- end::page header -->

            <div class="row ">
                <div class="col-md-12">

                    <x-flashMessage />
                    <div class="card border-0">
                        
                        <div class="card-body px-5 border py-4">
                            <div class="container">
                               <h3>Reports</h3>
                                
                                <form action="{{ asset('generate-reports') }}" method="post">
                                    @csrf
                                    <div class="row mb-3">
                                        
                                        <div class="col-md-6">
                                            <label for="employee" class="form-label">Employee</label>
                                            <select class="form-control text-capitalize select2 searchSelect" name="employee_id" >
                                                    <option selected disabled>--SELECT--</option>
                                                @foreach($employee as $emp)
                                                    <option value="{{$emp->id}}">{{$emp->name}}</option>
                                                @endforeach
                                            </select>
                                        </div>
                                        <div class="col-md-6">
                                            <label for="distributor" class="form-label">Distributor</label>
                                            <select class="form-control text-capitalize select2 searchSelect"  name="distributor_id" >
                                                    <option selected disabled>--SELECT--</option>
                                                @foreach($distributor as $d)
                                                    <option value="{{$d->id}}">{{$d->name}}</option>
                                                @endforeach
                                            </select>
                                        </div>

                                        
                                    </div>

                                    <div class="row mb-5">
                                        <div class="col-md-6">
                                            <div class="row">
                                                <div class="col-md-6">
                                                    <label for="fromDate" class="form-label">From Date</label>
                                                    <input type="date" class="form-control" id="fromDate" name="from_date">
                                                </div>

                                                <div class="col-md-6">
                                                    <label for="toDate" class="form-label">To Date</label>
                                                    <input type="date" class="form-control" id="toDate" name="to_date">
                                                </div>
                                            </div>
                                        </div>
                                        
                                        <div class="col-md-6">
                                            <label for="toDate" class="form-label">Format</label>
                                            <select class="form-control" id="formate" name="report_format">
                                                <option value="excel">Excel</option>
                                                <option value="pdf">PDF</option>
                                            </select>
                                        </div>
                                        
                                    </div>

                                    <div class="row">
                                        <div class="col-md-12 text-center">
                                            <button type="submit" class="btn btn-outline-primary">Download Now</button>
                                            
                                        </div>
                                    </div>
                                </form>

                                
                            </div>
                        </div>
                    </div>



                </div>

            </div>

        </div>

    </main>
    <!-- end::main content -->
@endsection
@push('footer-script')
    <!-- begin::select2 -->
    <link rel="stylesheet" href="{{ asset('public/admin/vendors/select2/css/select2.min.css') }}" type="text/css">
    <script src="{{ asset('public/admin/vendors/select2/js/select2.min.js') }}"></script>
    <!-- end::select2 -->
    <script>
       
        $(document).ready(function() {
           
            $('.searchSelect').select2({
                placeholder: "Select an option",
                allowClear: false
            });

        });

      

    </script>
@endpush

Anon7 - 2021