@extends('backend.layouts.app') @section('head') @endsection @section('content')
{{translate('All products')}}
@if( auth()->user()->can('add_new_product'))
{{translate('Add New Product')}}
@endif
{{-- --}}{{-- {!! \App\Services\SelectService::multi_select_2_status('status',$status,trans('cp.datatable.status'))--}} {{-- !!}--}} {!! \App\Services\SelectService::multi_select_2('users',$users,trans('User')) !!} {!! \App\Services\SelectService::multi_select_2('categories',$categories,translate('category')) !!} {!! \App\Services\SelectService::select_featured('featured',translate('Featured'))!!} {!! \App\Services\SelectService::select_featured('published',translate('Published')) !!} {!! \App\Services\SelectService::select_featured('todays_deal',translate('Todays deal')) !!} {!! \App\Services\SelectService::select_featured('top',translate('Top')) !!} {!! \App\Services\SelectService::multi_select_2_status('shipping_type',$shipping_type,translate('Shipping type')) !!} {!! \App\Services\SelectService::multi_select_2_status('discount_type',$discount_type,translate('Discount type')) !!}
{!! \App\Services\SelectService::search_price('price',translate('Price Form'),translate('Price To')) !!}
{!! \App\Services\SelectService::search_crated_at() !!} {!! \App\Services\ButtonService::apply_filter_button() !!}
# {{translate('Name')}} {{translate('Category')}} {{translate('Added By')}} {{translate('User')}} {{translate('Price')}} {{translate('Published')}} {{translate('Featured')}} {{translate('Todays Deal')}} {{translate('Top')}} {{translate('Shipping type')}} {{translate('Discount type')}} {{translate('created at')}} {{translate('updated at')}}
@endsection @section('modal') @include('public_files.modals.delete_modal') @endsection @section('script') {!! $datatable_script !!} {!! $switch_script !!} {!! $switch_script_featured !!} {!! $switch_script_todays_deal !!} {!! $switch_script_top !!} @endsection