Current File : /home/tradevaly/new.tradevaly.com.bd/resources/views/backend/pages/featureProduct/cindeex.blade.php
@extends('backend.layouts.app')

@push('style')

@endpush

@section('content')
<div class="container-fluid">
  <div class="row">
    <div class="col-md-6">
      <div class="card">
        <div class="card-header card-header-info card-header-icon">
          <div class="card-icon">
            <i class="material-icons">visibility</i>
          </div>
          <h4 class="card-title">{{translate("Features Table")}}</h4>
        </div>
        <div class="card-body">
          <div class="table-responsive">
            <table class="table">
              <thead>
                <tr>
                  <th class="text-center">#</th>
                  <th>{{translate("Name")}}</th>
                  <th class="text-right">{{translate("Actions")}}</th>
                </tr>
              </thead>
              <tbody>
                @php
                   $i = 0;
                @endphp
                @foreach ($pros as $product)
                <tr>
                  <?php $i++; ?>
                  <td class="text-center">{{$i}}</td>
                  <td>{{$product->category->name}}</td>
                  <td class="td-actions text-right">
                    <a href="{{url('b2b/feature_category/delete',$product->id)}}" name="about" class="btn btn-danger confirmDelete" title="Delete" style="color: #fff">
                      <i class="material-icons">close</i>
                    </a>
                  </td>
                </tr>
                @endforeach
              </tbody>
            </table>
          </div>
        </div>
      </div>
  </div>
    <div class="col-md-6">
      <div class="card">
        <div class="card-header card-header-icon card-header-rose">
          <div class="card-icon">
            <i class="material-icons">add_task</i>
          </div>
          <h4 class="card-title">{{translate("ADD NEW FEATURES 111")}}
          </h4>
        </div>
        <div class="card-body">
          <form action="{{url('b2b/feature_category/add')}}" method="POST">@csrf
            <div class="row">
              <div class="col-md-8 mt-5">
                <select class="selectpicker" data-size="12" data-style="btn btn-rose" title="Single Select" name="category_id">
                    <option disabled selected>{{translate("Single Option")}}</option>
                    @foreach ($categories as $c)
                    <option value="{{$c->id}}">{{$c->name}}</option>
                    @endforeach
                 </select>
              </div>
            </div>
            <button type="submit" class="btn  btn-rose mt-5">{{translate("Upload")}}</button>
            </div>
            <div class="clearfix"></div>
          </form>
        </div>
      </div>
    </div>
</div>
@stop

@push('script')
   
@endpush