@extends('admin.layout.index')
@section('title')
{{__("message.Parameter")}}
@stop
@section('content')
<div class="page-header">
	<h3 class="page-title">{{__("message.Parameter")}} </h3>
	<nav aria-label="breadcrumb">	      		
       <ol class="breadcrumb">
         <li class="breadcrumb-item"><a href="{{route('admin-dashboard')}}">{{__("message.Home")}}</a></li>
         <li class="breadcrumb-item active">{{__("message.Parameter")}}</li>
       </ol>
     </nav>	      	
</div>
<div class="row">
	<div class="col-lg-12 grid-margin stretch-card">
       <div class="card">                	
         <div class="card-body">
         	 @if(Session::has('message'))
            <div class="col-sm-12">
               <div class="alert  {{ Session::get('alert-class', 'alert-info') }} alert-dismissible fade show" role="alert">{{ Session::get('message') }}
                  <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                  <span aria-hidden="true">&times;</span>
                  </button>
               </div>
            </div>
            @endif
          
            <a href="{{ route('save-parameter', ['id' => '0','tab'=>'1']) }}" class="btn btn-primary" style="margin-bottom: 25px;"> {{__("message.Add Parameter")}}</a>
         
            <div class="table-responsive">
                 <table id="ParameterTable" class="table table-bordered text-nowrap dataTable no-footer" style="width:100%">
                   	<thead>
                     <tr>
                         <th>{{__("message.ID")}}</th>
                         <th>{{__("message.Name")}}</th>
                         <th style="width:20%">{{__("message.Short Description")}}</th>
                         <th>{{__("message.Price")}}</th>
                         <th>{{__("message.FRQ")}}</th>
                          <th>{{__("message.View Report")}}</th>
                         <th>{{__("message.Action")}}</th>
                     </tr>
                   	</thead>
                   	<tbody>                        
                   	</tbody>
                   	<tfoot>
                        <tr>
                           <th>{{__("message.ID")}}</th>
                           <th>{{__("message.Name")}}</th>
                           <th style="width:20%">{{__("message.Short Description")}}</th>
                           <th>{{__("message.Price")}}</th>
                           <th>{{__("message.FRQ")}}</th>
                            <th>{{__("message.View Report")}}</th>
                           <th>{{__("message.Action")}}</th>
                        </tr>
                     </tfoot>
                 </table>
              </div>
         </div>
       </div>
     </div>
</div>
@endsection