@extends('layouts.production') @section('content')

{{ Trans('suppliers.menu') }} {{ Trans('suppliers.show') }}

@include('layouts.includes.message')
@if(UserRole::has('edit_supplier') || UserRole::has('delete_supplier')) @endif @foreach($suppliers as $supplier) @if(UserRole::has('edit_supplier') || UserRole::has('delete_supplier')) @endif @endforeach
# {{ Trans('suppliers.company_name') }} {{ Trans('suppliers.tel') }}{{ Trans('dashboard.crud.actions') }}
{{ $supplier->id }} {{link_to_route('suppliers.show', $supplier->company_name, [$supplier->id]) }} {{ $supplier->tel }} {{link_to_route('suppliers.show', trans('dashboard.others.detail'), [$supplier->id], ['class' => "btn btn-xs btn-default"]) }} @if(UserRole::has("edit_supplier")) id) }}" class="btn btn-xs btn-info">{{Trans("dashboard.crud.edit")}} @endif @if(UserRole::has("delete_supplier")) {{Trans("dashboard.crud.remove")}} @include('layouts.includes.modals.danger', ['model' => $supplier,'toRoute'=>'suppliers','attribute'=>'company_name']) @endif
{{ Form::close() }}
@endsection @section('addJs') @endsection