@extends('admin.index')
@section('content')
<title>{{trans('admin.Translate')}}</title>
<style>

@media only screen and (max-width: 300px){
 .table-responsive{
        display:block;
        width:100%;
    }}
    @media only screen and (min-width: 992px){
 .table-responsive{
        display:table;
        width:100%;
    }}
</style>
<main id="js-page-content" role="main" class="page-content">
   <ol class="breadcrumb page-breadcrumb">
      <li class="breadcrumb-item"><a href="javascript:void(0);"> {{trans('admin.Settings')}}</a></li>
      <li class="breadcrumb-item active">{{trans('admin.Translate')}}</li>
      <li class="position-absolute pos-top pos-right d-none d-sm-block"><span
         class="js-get-date"></span></li>
   </ol>
   <div class="row">
      <div class="col-xl-12">
         <div id="panel-1" class="panel">
            <div class="panel-hdr">
               <h2>
                  <span class="fw-300"><i>{{trans('admin.Translate')}}</i></span>
               </h2>
               <div class="panel-toolbar">
                   
               
              <!--     <button type="button" class="btn btn-default" data-toggle="modal" data-target="#default-example-modal-lg">{{trans('admin.AddNew')}}</button> -->

                   
                  <button class="btn btn-primary btn-sm mx-3" data-toggle="dropdown">Table Style</button>
                  <div
                     class="dropdown-menu dropdown-menu-animated dropdown-menu-right position-absolute pos-top">
                     <button class="dropdown-item active" data-action="toggle"
                        data-class="table-bordered" data-target="#dt-basic-example"> Bordered
                     Table </button>
                     <button class="dropdown-item" data-action="toggle" data-class="table-sm"
                        data-target="#dt-basic-example"> Smaller Table </button>
                     <button class="dropdown-item" data-action="toggle" data-class="table-dark"
                        data-target="#dt-basic-example"> Table Dark </button>
                     <button class="dropdown-item active" data-action="toggle"
                        data-class="table-hover" data-target="#dt-basic-example"> Table Hover
                     </button>
                     <button class="dropdown-item active" data-action="toggle"
                        data-class="table-stripe" data-target="#dt-basic-example"> Table
                     Stripped </button>
                     <div class="dropdown-divider m-0"></div>
                     <div class="dropdown-multilevel dropdown-multilevel-left">
                        <div class="dropdown-item">
                           tbody color
                        </div>
                        <div class="dropdown-menu no-transition-delay">
                           <div class="js-tbody-colors dropdown-multilevel dropdown-multilevel-left d-flex flex-wrap"
                              style="width: 15.9rem; padding: 0.5rem">
                              <a href="javascript:void(0);" data-bg="bg-primary-100"
                                 class="btn d-inline-block bg-primary-100 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-200"
                                 class="btn d-inline-block bg-primary-200 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-300"
                                 class="btn d-inline-block bg-primary-300 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-400"
                                 class="btn d-inline-block bg-primary-400 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-500"
                                 class="btn d-inline-block bg-primary-500 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-600"
                                 class="btn d-inline-block bg-primary-600 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-700"
                                 class="btn d-inline-block bg-primary-700 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-800"
                                 class="btn d-inline-block bg-primary-800 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-900"
                                 class="btn d-inline-block bg-primary-900 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-100"
                                 class="btn d-inline-block bg-success-100 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-200"
                                 class="btn d-inline-block bg-success-200 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-300"
                                 class="btn d-inline-block bg-success-300 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-400"
                                 class="btn d-inline-block bg-success-400 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-500"
                                 class="btn d-inline-block bg-success-500 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-600"
                                 class="btn d-inline-block bg-success-600 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-700"
                                 class="btn d-inline-block bg-success-700 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-800"
                                 class="btn d-inline-block bg-success-800 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-900"
                                 class="btn d-inline-block bg-success-900 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-100"
                                 class="btn d-inline-block bg-info-100 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-200"
                                 class="btn d-inline-block bg-info-200 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-300"
                                 class="btn d-inline-block bg-info-300 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-400"
                                 class="btn d-inline-block bg-info-400 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-500"
                                 class="btn d-inline-block bg-info-500 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-600"
                                 class="btn d-inline-block bg-info-600 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-700"
                                 class="btn d-inline-block bg-info-700 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-800"
                                 class="btn d-inline-block bg-info-800 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-900"
                                 class="btn d-inline-block bg-info-900 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-100"
                                 class="btn d-inline-block bg-danger-100 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-200"
                                 class="btn d-inline-block bg-danger-200 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-300"
                                 class="btn d-inline-block bg-danger-300 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-400"
                                 class="btn d-inline-block bg-danger-400 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-500"
                                 class="btn d-inline-block bg-danger-500 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-600"
                                 class="btn d-inline-block bg-danger-600 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-700"
                                 class="btn d-inline-block bg-danger-700 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-800"
                                 class="btn d-inline-block bg-danger-800 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-900"
                                 class="btn d-inline-block bg-danger-900 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-100"
                                 class="btn d-inline-block bg-warning-100 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-200"
                                 class="btn d-inline-block bg-warning-200 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-300"
                                 class="btn d-inline-block bg-warning-300 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-400"
                                 class="btn d-inline-block bg-warning-400 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-500"
                                 class="btn d-inline-block bg-warning-500 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-600"
                                 class="btn d-inline-block bg-warning-600 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-700"
                                 class="btn d-inline-block bg-warning-700 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-800"
                                 class="btn d-inline-block bg-warning-800 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-900"
                                 class="btn d-inline-block bg-warning-900 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-100"
                                 class="btn d-inline-block bg-fusion-100 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-200"
                                 class="btn d-inline-block bg-fusion-200 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-300"
                                 class="btn d-inline-block bg-fusion-300 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-400"
                                 class="btn d-inline-block bg-fusion-400 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-500"
                                 class="btn d-inline-block bg-fusion-500 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-600"
                                 class="btn d-inline-block bg-fusion-600 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-700"
                                 class="btn d-inline-block bg-fusion-700 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-800"
                                 class="btn d-inline-block bg-fusion-800 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-900"
                                 class="btn d-inline-block bg-fusion-900 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg=""
                                 class="btn d-inline-block bg-white border width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                           </div>
                        </div>
                     </div>
                     <div class="dropdown-multilevel dropdown-multilevel-left">
                        <div class="dropdown-item">
                           thead color
                        </div>
                        <div class="dropdown-menu no-transition-delay">
                           <div class="js-thead-colors dropdown-multilevel dropdown-multilevel-left d-flex flex-wrap"
                              style="width: 15.9rem; padding: 0.5rem">
                              <a href="javascript:void(0);" data-bg="bg-primary-100"
                                 class="btn d-inline-block bg-primary-100 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-200"
                                 class="btn d-inline-block bg-primary-200 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-300"
                                 class="btn d-inline-block bg-primary-300 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-400"
                                 class="btn d-inline-block bg-primary-400 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-500"
                                 class="btn d-inline-block bg-primary-500 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-600"
                                 class="btn d-inline-block bg-primary-600 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-700"
                                 class="btn d-inline-block bg-primary-700 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-800"
                                 class="btn d-inline-block bg-primary-800 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-primary-900"
                                 class="btn d-inline-block bg-primary-900 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-100"
                                 class="btn d-inline-block bg-success-100 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-200"
                                 class="btn d-inline-block bg-success-200 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-300"
                                 class="btn d-inline-block bg-success-300 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-400"
                                 class="btn d-inline-block bg-success-400 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-500"
                                 class="btn d-inline-block bg-success-500 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-600"
                                 class="btn d-inline-block bg-success-600 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-700"
                                 class="btn d-inline-block bg-success-700 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-800"
                                 class="btn d-inline-block bg-success-800 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-success-900"
                                 class="btn d-inline-block bg-success-900 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-100"
                                 class="btn d-inline-block bg-info-100 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-200"
                                 class="btn d-inline-block bg-info-200 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-300"
                                 class="btn d-inline-block bg-info-300 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-400"
                                 class="btn d-inline-block bg-info-400 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-500"
                                 class="btn d-inline-block bg-info-500 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-600"
                                 class="btn d-inline-block bg-info-600 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-700"
                                 class="btn d-inline-block bg-info-700 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-800"
                                 class="btn d-inline-block bg-info-800 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-info-900"
                                 class="btn d-inline-block bg-info-900 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-100"
                                 class="btn d-inline-block bg-danger-100 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-200"
                                 class="btn d-inline-block bg-danger-200 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-300"
                                 class="btn d-inline-block bg-danger-300 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-400"
                                 class="btn d-inline-block bg-danger-400 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-500"
                                 class="btn d-inline-block bg-danger-500 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-600"
                                 class="btn d-inline-block bg-danger-600 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-700"
                                 class="btn d-inline-block bg-danger-700 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-800"
                                 class="btn d-inline-block bg-danger-800 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-danger-900"
                                 class="btn d-inline-block bg-danger-900 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-100"
                                 class="btn d-inline-block bg-warning-100 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-200"
                                 class="btn d-inline-block bg-warning-200 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-300"
                                 class="btn d-inline-block bg-warning-300 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-400"
                                 class="btn d-inline-block bg-warning-400 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-500"
                                 class="btn d-inline-block bg-warning-500 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-600"
                                 class="btn d-inline-block bg-warning-600 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-700"
                                 class="btn d-inline-block bg-warning-700 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-800"
                                 class="btn d-inline-block bg-warning-800 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-warning-900"
                                 class="btn d-inline-block bg-warning-900 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-100"
                                 class="btn d-inline-block bg-fusion-100 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-200"
                                 class="btn d-inline-block bg-fusion-200 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-300"
                                 class="btn d-inline-block bg-fusion-300 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-400"
                                 class="btn d-inline-block bg-fusion-400 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-500"
                                 class="btn d-inline-block bg-fusion-500 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-600"
                                 class="btn d-inline-block bg-fusion-600 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-700"
                                 class="btn d-inline-block bg-fusion-700 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-800"
                                 class="btn d-inline-block bg-fusion-800 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg="bg-fusion-900"
                                 class="btn d-inline-block bg-fusion-900 width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                              <a href="javascript:void(0);" data-bg=""
                                 class="btn d-inline-block bg-white border width-2 height-2 p-0 rounded-0"
                                 style="margin:1px"></a>
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
            <div class="panel-container show">
               <span id="ex"> @include('admin.layouts.messages')</span>      
               <div class="panel-content">
                  <!-- datatable start -->
                  <table id="dt-basic-example"
                     class="table table-bordered table-responsive table-hover table-striped w-100">
                     <thead class="bg-highlight">
                        <tr>
                           <th>{{trans('admin.Original_Name')}}</th>
                           <th>{{trans('admin.New_Name_in_Arabic')}}</th>
                           <th>{{trans('admin.New_Name_in_English')}}</th>
                           <th>{{trans('admin.Actions')}}</th>
                        </tr>
                     </thead>
                     <tbody>
                        @foreach($items as $item)    
                        <tr>
                           <td>
                            {{trans('admin.'.$item->Original_Name)}}
                            </td>
                           <td>{{$item->New_Arabic_Name}}</td>
                           <td>{{$item->New_English_Name}}</td>
                           <td class="text-center">

                              <button type="button" class="btn btn-default" data-toggle="modal" data-target="#default-example-modal-lg-edit{{$item->id}}"><i class="fal fa-edit"></i></button>

                         <!--     <button type="button" class="btn btn-default" data-toggle="modal" data-target="#default-example-modal-center{{$item->id}}"><i class="fal fa-trash"></i></button> -->
                                               
                           </td>
                        </tr>
                        @endforeach
                     </tbody>
                     <tfoot>
                        <tr>
                          <th>{{trans('admin.Original_Name')}}</th>
                           <th>{{trans('admin.New_Name_in_Arabic')}}</th>
                           <th>{{trans('admin.New_Name_in_English')}}</th>
                           <th>{{trans('admin.Actions')}}</th>
                        </tr>
                     </tfoot>
                  </table>
                  <!-- datatable end -->
                   {{$items->Links()}}
               </div>
            </div>
         </div>
      </div>
   </div>
    
    
    
   <!-- Modal Add-->
   <div class="modal fade" id="default-example-modal-lg" tabindex="-1" role="dialog" aria-hidden="true">
      <div class="modal-dialog modal-lg" role="document">
         <div class="modal-content">
            <div class="modal-header">
               <h5 class="modal-title">{{trans('admin.AddNew')}}  </h5>
               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
               <span aria-hidden="true"><i class="fal fa-times"></i></span>
               </button>
            </div>
            <div class="modal-body">
               <form action="{{url('AddTranslate')}}" method="post">
                  {!! csrf_field() !!}
                   @honeypot
                  <div class="form-row">
                      
                      <div class="form-group col-lg-12">
                        <label class="form-label" for="simpleinput">{{trans('admin.Original_Name')}}</label>
                      <select class="select2 form-control" name="Original_Name" required>
                          <option value="">{{trans('admin.Original_Name')}}</option>
                          <option value="Accounting_Manual">{{trans('admin.Accounting_Manual')}}</option>
                          <option value="Assets">{{trans('admin.Assets')}}</option>
                          <option value="Start_Period_Sechdule">{{trans('admin.Start_Period_Sechdule')}}</option>
                          <option value="Ledger">{{trans('admin.Ledger')}}</option>
                          <option value="Incom_List">{{trans('admin.Incom_List')}}</option>
                          <option value="Financial_Center">{{trans('admin.Financial_Center')}}</option>
                          <option value="Add_Items">{{trans('admin.Add_Items')}}</option>
                          <option value="Items_Guide">{{trans('admin.Items_Guide')}}</option>
                          <option value="Stores">{{trans('admin.Stores')}}</option>
                          <option value="Measurement_Units">{{trans('admin.Measurement_Units')}}</option>
                          <option value="Items_Groups">{{trans('admin.Items_Groups')}}</option>
                          <option value="Manufacture">{{trans('admin.Manufacture')}}</option>
                          <option value="Virables">{{trans('admin.Virables')}}</option>
                          <option value="Sub_Virables">{{trans('admin.Sub_Virables')}}</option>
                          <option value="Inventory_Sechdule">{{trans('admin.Inventory_Sechdule')}}</option>
                          <option value="Settlement_Sechdule">{{trans('admin.Settlement_Sechdule')}}</option>
                          <option value="Products_Sechdule">{{trans('admin.Products_Sechdule')}}</option>
                     <option value="Permission_to_exchange_goods">{{trans('admin.Permission_to_exchange_goods')}}</option>
                          <option value="Permission_to_receive_goods">{{trans('admin.Permission_to_receive_goods')}}</option>
                          <option value="ReceiveGoodsSechdule">{{trans('admin.ReceiveGoodsSechdule')}}</option>
                          <option value="ExchangeGoodsSechdule">{{trans('admin.ExchangeGoodsSechdule')}}</option>
                          <option value="Consists">{{trans('admin.Consists')}}</option>
                          <option value="ConsistsSechdule">{{trans('admin.ConsistsSechdule')}}</option>
                          <option value="Activites">{{trans('admin.Activites')}}</option>
                          <option value="Projects">{{trans('admin.Projects')}}</option>
                          <option value="Missions">{{trans('admin.Missions')}}</option>
                          <option value="PurchasesOrder">{{trans('admin.PurchasesOrder')}}</option>
                          <option value="PurchasesOrderSechdule">{{trans('admin.PurchasesOrderSechdule')}}</option>
                          <option value="ReciptMaintaince">{{trans('admin.ReciptMaintaince')}}</option>
                          <option value="ReciptMaintainceSechdule">{{trans('admin.ReciptMaintainceSechdule')}}</option>
                          <option value="DeviceDescrips">{{trans('admin.DeviceDescrips')}}</option>
                          <option value="Unit">{{trans('admin.Unit')}}</option>
                          <option value="Barcode">{{trans('admin.Barcode')}}</option>
                          <option value="Price_One">{{trans('admin.Price_One')}}</option>
                          <option value="Price_Two">{{trans('admin.Price_Two')}}</option>
                          <option value="Price_Three">{{trans('admin.Price_Three')}}</option>
                          <option value="Minimum">{{trans('admin.Minimum')}}</option>
                          <option value="Maximum">{{trans('admin.Maximum')}}</option>
                          <option value="Code">{{trans('admin.Code')}}</option>
                          <option value="Account_Credit">{{trans('admin.Account_Credit')}}</option>
                      
                          </select>
                     </div>      
                      
                     <div class="form-group col-lg-6">
                        <label class="form-label" for="simpleinput">{{trans('admin.New_Name_in_Arabic')}}</label>
                        <input type="text" name="New_Arabic_Name" value="{{old('New_Arabic_Name')}}"  class="form-control" required>
                     </div>
                     <div class="form-group col-lg-6">
                        <label class="form-label" for="simpleinput"> {{trans('admin.New_Name_in_English')}}</label>
                        <input type="text" name="New_English_Name"  value="{{old('New_English_Name')}}" class="form-control" >
                     </div>
                      
                      
                      


                  </div>
                  <div class="modal-footer">
                     <button type="button" class="btn btn-secondary" data-dismiss="modal">{{trans('admin.Close')}}</button>
                     <button type="submit" class="btn btn-primary"> {{trans('admin.Save')}}</button>
                  </div>
               </form>
            </div>
         </div>
      </div>
   </div>
   @foreach($items as $item)  
   <!-- Modal Edit-->
   <div class="modal fade" id="default-example-modal-lg-edit{{$item->id}}" tabindex="-1" role="dialog" aria-hidden="true">
      <div class="modal-dialog modal-lg" role="document">
         <div class="modal-content">
            <div class="modal-header">
               <h5 class="modal-title">{{trans('admin.Edit')}}  </h5>
               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
               <span aria-hidden="true"><i class="fal fa-times"></i></span>
               </button>
            </div>
            <div class="modal-body">
               <form action="{{url('EditTranslate/'.$item->id)}}" method="post">
                  {!! csrf_field() !!}
                   @honeypot
                  <div class="form-row">
                         <div class="form-group col-lg-12">
                        <label class="form-label" for="simpleinput">{{trans('admin.Original_Name')}}</label>
                      <select class="select2 form-control"  disabled>
                          <option value="">{{trans('admin.Original_Name')}}</option>
                            <option value="Accounting_Manual" @if($item->Original_Name == 'Accounting_Manual') selected @endif>{{trans('admin.Accounting_Manual')}}</option>
                          <option value="Assets" @if($item->Original_Name == 'Assets') selected @endif>{{trans('admin.Assets')}}</option>
                          <option value="Start_Period_Sechdule" @if($item->Original_Name == 'Start_Period_Sechdule') selected @endif>{{trans('admin.Start_Period_Sechdule')}}</option>
                          <option value="Ledger" @if($item->Original_Name == 'Ledger') selected @endif>{{trans('admin.Ledger')}}</option>
                          <option value="Incom_List" @if($item->Original_Name == 'Incom_List') selected @endif>{{trans('admin.Incom_List')}}</option>
                          <option value="Financial_Center" @if($item->Original_Name == 'Financial_Center') selected @endif>{{trans('admin.Financial_Center')}}</option>
                          <option value="Add_Items" @if($item->Original_Name == 'Add_Items') selected @endif>{{trans('admin.Add_Items')}}</option>
                          <option value="Items_Guide" @if($item->Original_Name == 'Items_Guide') selected @endif>{{trans('admin.Items_Guide')}}</option>
                          <option value="Stores" @if($item->Original_Name == 'Stores') selected @endif>{{trans('admin.Stores')}}</option>
                          <option value="Measurement_Units" @if($item->Original_Name == 'Measurement_Units') selected @endif>{{trans('admin.Measurement_Units')}}</option>
                          <option value="Items_Groups" @if($item->Original_Name == 'Items_Groups') selected @endif>{{trans('admin.Items_Groups')}}</option>
                          <option value="Manufacture" @if($item->Original_Name == 'Manufacture') selected @endif>{{trans('admin.Manufacture')}}</option>
                          <option value="Virables" @if($item->Original_Name == 'Virables') selected @endif>{{trans('admin.Virables')}}</option>
                          <option value="Sub_Virables" @if($item->Original_Name == 'Sub_Virables') selected @endif>{{trans('admin.Sub_Virables')}}</option>
                          <option value="Inventory_Sechdule" @if($item->Original_Name == 'Inventory_Sechdule') selected @endif>{{trans('admin.Inventory_Sechdule')}}</option>
                          <option value="Settlement_Sechdule" @if($item->Original_Name == 'Settlement_Sechdule') selected @endif>{{trans('admin.Settlement_Sechdule')}}</option>
                          <option value="Products_Sechdule" @if($item->Original_Name == 'Products_Sechdule') selected @endif>{{trans('admin.Products_Sechdule')}}</option>
                     <option value="Permission_to_exchange_goods" @if($item->Original_Name == 'Permission_to_exchange_goods') selected @endif>{{trans('admin.Permission_to_exchange_goods')}}</option>
                          <option value="Permission_to_receive_goods" @if($item->Original_Name == 'Permission_to_receive_goods') selected @endif>{{trans('admin.Permission_to_receive_goods')}}</option>
                          <option value="ReceiveGoodsSechdule" @if($item->Original_Name == 'ReceiveGoodsSechdule') selected @endif>{{trans('admin.ReceiveGoodsSechdule')}}</option>
                          <option value="ExchangeGoodsSechdule" @if($item->Original_Name == 'ExchangeGoodsSechdule') selected @endif>{{trans('admin.ExchangeGoodsSechdule')}}</option>
                          <option value="Consists" @if($item->Original_Name == 'Consists') selected @endif>{{trans('admin.Consists')}}</option>
                          <option value="ConsistsSechdule" @if($item->Original_Name == 'ConsistsSechdule') selected @endif>{{trans('admin.ConsistsSechdule')}}</option>
                          <option value="Activites" @if($item->Original_Name == 'Activites') selected @endif>{{trans('admin.Activites')}}</option>
                          <option value="Projects" @if($item->Original_Name == 'Projects') selected @endif>{{trans('admin.Projects')}}</option>
                          <option value="Missions" @if($item->Original_Name == 'Missions') selected @endif>{{trans('admin.Missions')}}</option>
                          <option value="PurchasesOrder" @if($item->Original_Name == 'PurchasesOrder') selected @endif>{{trans('admin.PurchasesOrder')}}</option>
                          <option value="PurchasesOrderSechdule" @if($item->Original_Name == 'PurchasesOrderSechdule') selected @endif>{{trans('admin.PurchasesOrderSechdule')}}</option>
                          <option value="ReciptMaintaince" @if($item->Original_Name == 'ReciptMaintaince') selected @endif>{{trans('admin.ReciptMaintaince')}}</option>
                          <option value="ReciptMaintainceSechdule" @if($item->Original_Name == 'ReciptMaintainceSechdule') selected @endif>{{trans('admin.ReciptMaintainceSechdule')}}</option>
                          <option value="DeviceDescrips" @if($item->Original_Name == 'DeviceDescrips') selected @endif>{{trans('admin.DeviceDescrips')}}</option>
                          <option value="Unit" @if($item->Original_Name == 'Unit') selected @endif>{{trans('admin.Unit')}}</option>
                          <option value="Barcode" @if($item->Original_Name == 'Barcode') selected @endif>{{trans('admin.Barcode')}}</option>
                          <option value="Price_One" @if($item->Original_Name == 'Price_One') selected @endif>{{trans('admin.Price_One')}}</option>
                          <option value="Price_Two" @if($item->Original_Name == 'Price_Two') selected @endif>{{trans('admin.Price_Two')}}</option>
                          <option value="Price_Three" @if($item->Original_Name == 'Price_Three') selected @endif>{{trans('admin.Price_Three')}}</option>
                          <option value="Minimum" @if($item->Original_Name == 'Minimum') selected @endif>{{trans('admin.Minimum')}}</option>
                          <option value="Maximum" @if($item->Original_Name == 'Maximum') selected @endif>{{trans('admin.Maximum')}}</option>
                          <option value="Code" @if($item->Original_Name == 'Code') selected @endif>{{trans('admin.Code')}}</option>
                          <option value="Account_Credit" @if($item->Original_Name == 'Account_Credit') selected @endif>{{trans('admin.Account_Credit')}}</option>
                          </select>
                        <input type="hidden" name="Original_Name" value="{{$item->Original_Name}}">     
                     </div>      
                      
                     <div class="form-group col-lg-6">
                        <label class="form-label" for="simpleinput">{{trans('admin.New_Name_in_Arabic')}}</label>
                        <input type="text" name="New_Arabic_Name" value="{{$item->New_Arabic_Name}}"  class="form-control" required>
                     </div>
                     <div class="form-group col-lg-6">
                        <label class="form-label" for="simpleinput"> {{trans('admin.New_Name_in_English')}}</label>
                        <input type="text" name="New_English_Name"  value="{{$item->New_English_Name}}" class="form-control" >
                     </div>
                      
                  </div>
                  <div class="modal-footer">
                     <button type="button" class="btn btn-secondary" data-dismiss="modal">{{trans('admin.Close')}}</button>
                     <button type="submit" class="btn btn-primary"> {{trans('admin.Save')}}</button>
                  </div>
               </form>
            </div>
         </div>
      </div>
   </div>
   <!-- Modal Delete -->
   <div class="modal fade" id="default-example-modal-center{{$item->id}}" tabindex="-1" role="dialog" aria-hidden="true">
      <div class="modal-dialog modal-dialog-centered" role="document">
         <div class="modal-content">
            <div class="modal-header">
               <h4 class="modal-title">
                  {{trans('admin.RUSWDT')}} <strong>{{$item->Arabic_Name}}</strong>
               </h4>
               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
               <span aria-hidden="true"><i class="fal fa-times"></i></span>
               </button>
            </div>
            <div class="modal-footer">
               <button type="button" class="btn btn-secondary" data-dismiss="modal"> {{trans('admin.No')}}</button>
               <a href="{{url('DeleteTranslate/'.$item->id)}}"  class="btn btn-primary"> {{trans('admin.Yes')}}</a>
            </div>
         </div>
      </div>
   </div>
   @endforeach
</main>
@endsection
@push('js')
    <link rel="stylesheet" media="screen, print" href="{{asset('Admin/css/datagrid/datatables/datatables.bundle.css')}}">
    <link rel="stylesheet" media="screen, print" href="{{asset('Admin/css/formplugins/summernote/summernote.css')}}">
    <link rel="stylesheet" media="screen, print" href="{{asset('Admin/css/formplugins/select2/select2.bundle.css')}}">

    <script src="{{asset('Admin/js/datagrid/datatables/datatables.bundle.js')}}"></script>
    <script src="{{asset('Admin/js/datagrid/datatables/datatables.export.js')}}"></script>
    <script src="{{asset('Admin/js/formplugins/summernote/summernote.js')}}"></script>
    <script src="{{asset('Admin/js/formplugins/select2/select2.bundle.js')}}"></script>
     <script>
        var autoSave = $('#autoSave');
        var interval;
        var timer = function()
        {
            interval = setInterval(function()
            {
                //start slide...
                if (autoSave.prop('checked'))
                    saveToLocal();

                clearInterval(interval);
            }, 3000);
        };

        //save
        var saveToLocal = function()
        {
            localStorage.setItem('summernoteData', $('#saveToLocal').summernote("code"));
            console.log("saved");
        }

        //delete 
        var removeFromLocal = function()
        {
            localStorage.removeItem("summernoteData");
            $('#saveToLocal').summernote('reset');
        }

        $(document).ready(function()
        {
            //init default
            $('.js-summernote').summernote(
            {
                height: 200,
                tabsize: 2,
                placeholder: "Type here...",
                dialogsFade: true,
                toolbar: [
                    ['style', ['style']],
                    ['font', ['strikethrough', 'superscript', 'subscript']],
                    ['font', ['bold', 'italic', 'underline', 'clear']],
                    ['fontsize', ['fontsize']],
                    ['fontname', ['fontname']],
                    ['color', ['color']],
                    ['para', ['ul', 'ol', 'paragraph']],
                    ['height', ['height']]
                    ['table', ['table']],
                    ['insert', ['link', 'picture', 'video']],
                    ['view', ['fullscreen', 'codeview', 'help']]
                ],
                callbacks:
                {
                    //restore from localStorage
                    onInit: function(e)
                    {
                        $('.js-summernote').summernote("code", localStorage.getItem("summernoteData"));
                    },
                    onChange: function(contents, $editable)
                    {
                        clearInterval(interval);
                        timer();
                    }
                }
            });

            //load emojis
            $.ajax(
            {
                url: 'https://api.github.com/emojis',
                async: false
            }).then(function(data)
            {
                window.emojis = Object.keys(data);
                window.emojiUrls = data;
            });

            //init emoji example
            $(".js-hint2emoji").summernote(
            {
                height: 100,
                toolbar: false,
                placeholder: 'type starting with : and any alphabet',
                hint:
                {
                    match: /:([\-+\w]+)$/,
                    search: function(keyword, callback)
                    {
                        callback($.grep(emojis, function(item)
                        {
                            return item.indexOf(keyword) === 0;
                        }));
                    },
                    template: function(item)
                    {
                        var content = emojiUrls[item];
                        return '<img src="' + content + '" width="20" /> :' + item + ':';
                    },
                    content: function(item)
                    {
                        var url = emojiUrls[item];
                        if (url)
                        {
                            return $('<img />').attr('src', url).css('width', 20)[0];
                        }
                        return '';
                    }
                }
            });

            //init mentions example
            $(".js-hint2mention").summernote(
            {
                height: 100,
                toolbar: false,
                placeholder: "type starting with @",
                hint:
                {
                    mentions: ['jayden', 'sam', 'alvin', 'david'],
                    match: /\B@(\w*)$/,
                    search: function(keyword, callback)
                    {
                        callback($.grep(this.mentions, function(item)
                        {
                            return item.indexOf(keyword) == 0;
                        }));
                    },
                    content: function(item)
                    {
                        return '@' + item;
                    }
                }
            });

        });

    </script>

    <!-- Search Selecet -->
<script>
    $(document).ready(function () {
        $(function () {
            $(".select2").select2();

            $(".select2-placeholder-multiple").select2({
                placeholder: "Select State",
            });
            $(".js-hide-search").select2({
                minimumResultsForSearch: 1 / 0,
            });
            $(".js-max-length").select2({
                maximumSelectionLength: 2,
                placeholder: "Select maximum 2 items",
            });
            $(".select2-placeholder").select2({
                placeholder: "Select a state",
                allowClear: true,
            });

            $(".js-select2-icons").select2({
                minimumResultsForSearch: 1 / 0,
                templateResult: icon,
                templateSelection: icon,
                escapeMarkup: function (elm) {
                    return elm;
                },
            });

            function icon(elm) {
                elm.element;
                return elm.id ? "<i class='" + $(elm.element).data("icon") + " mr-2'></i>" + elm.text : elm.text;
            }

            $("#Emp").select2({
                placeholder: "select...",
                ajax: {
                    type: "GET",
                    dataType: "json",
                    url: "AllEmps",
                    processResults: function (data) {
                        return {
                            results: $.map(data, function (obj, index) {
                                return { id: index, text: obj };
                            }),
                        };

                        console.log(data);
                    },
                   data: function (params) {  
   
            
                   var query = {
                            search: params.term,
                        };
                                
            
              $.ajax({
                              url: 'AllEmpsJ/'+params.term,
                              type:"GET",
                              dataType:"json",
                              beforeSend: function(){
                                  $('#loader').css("visibility", "visible");
                              },

                              success:function(data) {
                                          $('#Emp').empty();  
                                  $.each(data, function(key, value){
   
                         $('#Emp').append('<option value="'+ key +'">' + value + '</option>');
                   
                                  });
                              },
                              complete: function(){
                                  $('#loader').css("visibility", "hidden");
                              }
                          });
            
            
            
        }
                },
            });

            $("#Emp").on("select2:select", function (e) {
                console.log("select done", e.params.data);
            });
            
              $("#client").select2({
                placeholder: "select...",
                ajax: {
                    type: "GET",
                    dataType: "json",
                    url: "AllClientsFilter",
                    processResults: function (data) {
                        return {
                            results: $.map(data, function (obj, index) {

                                return { id: index, text: obj };
                            }),
                        };

                        console.log(data);
                    },
                  data: function (params) {  
   
            
                   var query = {
                            search: params.term,
                        };
                                
            
              $.ajax({
                              url: 'AllClientsFilterJS/'+params.term,
                              type:"GET",
                              dataType:"json",
                              beforeSend: function(){
                                  $('#loader').css("visibility", "visible");
                              },

                              success:function(data) {
                                          $('#client').empty();  
                                  $.each(data, function(key, value){
   
                         $('#client').append('<option value="'+ key +'">' + value + '</option>');
                   
                                  });
                                  
                                var countryId = $('#client').val();
                      if(countryId) {
                          $.ajax({
                              url: 'AccountBalanceSOFilter/'+countryId,
                              type:"GET",
                              dataType:"json",
                              beforeSend: function(){
                                  $('#loader').css("visibility", "visible");
                              },
   
                              success:function(data) {
                                  $.each(data, function(key, value){
   
        
                    $('#AccountCredit').val(key); 
                    $('#AccountCredit').val(value); 
                                  });
                              },
                              complete: function(){
                                  $('#loader').css("visibility", "hidden");
                              }
                          });
                      } else {
   
                          $('select[name="state"]').empty();
                      }          
                                 
                                  
                                  
                              },
                              complete: function(){
                                  $('#loader').css("visibility", "hidden");
                              }
                          });
            
            
            
        }
                },
            });

            $("#client").on("select2:select", function (e) {
                console.log("select done", e.params.data);
            });
     
            
                          $('#AccountCodeF').select2({
    placeholder: "select...",
    ajax: {
        type: "GET",
        dataType: 'json',
        url: 'AllClientsFilter',
        processResults: function (data) {
          return {
            results: $.map(data, function(obj, index) {
              return { id: index, text: obj };
            })
          };
            
            	console.log(data);
            
        },
         data: function (params) {  
   
            
                   var query = {
                            search: params.term,
                        };
                                
            
              $.ajax({
                              url: 'AllClientsFilterJS/'+params.term,
                              type:"GET",
                              dataType:"json",
                              beforeSend: function(){
                                  $('#loader').css("visibility", "visible");
                              },

                              success:function(data) {
                                          $('#AccountCodeF').empty();  
                                  $.each(data, function(key, value){
   
                         $('#AccountCodeF').append('<option value="'+ key +'">' + value + '</option>');
                   
                                  });
                              },
                              complete: function(){
                                  $('#loader').css("visibility", "hidden");
                              }
                          });
            
            
            
        }
    }
  });

    
$('#AccountCodeF').on('select2:select', function (e) {
	console.log("select done", e.params.data);
});
      
            
            
            
                          $('#AccountCodee').select2({
    placeholder: "select...",
    ajax: {
        type: "GET",
        dataType: 'json',
        url: 'AllClientsFilter',
        processResults: function (data) {
          return {
            results: $.map(data, function(obj, index) {
              return { id: index, text: obj };
            })
          };
            
            	console.log(data);
            
        },
         data: function (params) {  
   
            
                   var query = {
                            search: params.term,
                        };
                                
            
              $.ajax({
                              url: 'AllClientsFilterJS/'+params.term,
                              type:"GET",
                              dataType:"json",
                              beforeSend: function(){
                                  $('#loader').css("visibility", "visible");
                              },

                              success:function(data) {
                                          $('#AccountCodee').empty();  
                                  $.each(data, function(key, value){
   
                         $('#AccountCodee').append('<option value="'+ key +'">' + value + '</option>');
                   
                                  });
                              },
                              complete: function(){
                                  $('#loader').css("visibility", "hidden");
                              }
                          });
            
            
            
        }
    }
  });

    
$('#AccountCodee').on('select2:select', function (e) {
	console.log("select done", e.params.data);
});
      
            
            
            
            
            
            
        });
    });
</script>
@endpush