@extends("admin.layouts.app") @section("styles") @endsection @section("content")
@lang("Parent") | @lang("constants.title") | @lang("constants.is_active") | @lang("constants.is_featured") | @lang("constants.options") | |||
---|---|---|---|---|---|---|---|
{!! Form::select("parent",IHouse::getParentAccessoryCategoriesAsArray(),Request::get("parent",null),['class'=>"form-filter input-sm form-control","placeholder"=>"All"])!!} | {{Form::text("title",Request::get("title",null),['class'=>"form-control form-filter input-sm"])}} | {!! Form::select("is_active",["active"=>"Active","not-active"=>"Not Active"],Request::get("is_active",null),['class'=>"form-filter input-sm form-control","placeholder"=>"All"])!!} | {!! Form::select("is_featured",["yes"=>"Featured","no"=>"Not Featured"],Request::get("is_featured",null),['class'=>"form-filter input-sm form-control","placeholder"=>"All"])!!} | Reset | |||
{{!is_null($accessory_category->parent_id)?$accessory_category->main_category->title:'---'}} | {{$accessory_category->title}} | @if ($accessory_category->is_active) @else @endif | @if ($accessory_category->is_featured) @else @endif | {{Form::open(['route'=>["admin.accessory-categories.destroy",$accessory_category->id],'method'=>"delete"])}} id)}}" class="btn btn-outline btn-sm purple" title="Edit"> @lang("constants.edit") {!! Form::close() !!} | |||
{!! $accessory_categories->appends($appends)->links()!!} |