@component('components.filters', ['title' => __('report.filters'), 'class' => 'hide'])
@if($type == 'customer')
@elseif($type == 'supplier')
@endif
@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __( 'contact.all_your_contact', ['contacts' => __('lang_v1.'.$type.'s') ])])
@if(auth()->user()->can('supplier.create') || auth()->user()->can('customer.create') || auth()->user()->can('supplier.view_own') || auth()->user()->can('customer.view_own'))
@slot('tool')
@endslot
@endif
@if(auth()->user()->can('supplier.view') || auth()->user()->can('customer.view') || auth()->user()->can('supplier.view_own') || auth()->user()->can('customer.view_own'))
@endif
@endcomponent
@stop
@section('javascript')
@if(!empty($api_key))
@endif
@endsection