@extends('layouts.layout') @section('title', __('supplier.title')) @section('content')

{{__('supplier.title') }}

@include('common.message')
{{Form::open(array('url'=>['search-supplier'],'method'=>'GET'))}}
 
{!! Form::close() !!}
@if(isset($alldata) && count($alldata)<1) @else @foreach($alldata as $data) @if($data->profile_image) @else @endif @endforeach @endif
{{__('supplier.image') }} {{__('supplier.supplier_name') }} {{__('supplier.company_name') }} {{__('supplier.phone_number') }} {{__('supplier.email') }} {{__('same.action') }}
{{__('same.empty_row') }}
@if(file_exists('storage/app/public/uploads/suppliers/'.$data->profile_image)) @else @endif {{ $data->name }} {{ $data->company_name }} {{ $data->phn_number }} {{ $data->mail_address }}
{{Form::open(array('route'=>['supplier.destroy',$data->id],'method'=>'DELETE'))}} {!! Form::close() !!}
{{ $alldata->render() }}
@endsection