@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Supplier') @section('css') @endsection @section('content')
{{-- --}} {{-- --}} {{-- --}} @foreach($suppliers as $supplier) {{-- --}} {{-- --}} {{-- --}} @endforeach
noneCompany Contact Telephone Telefax AddressBankDiscountLast DeliveryComments Actions
{{ $loop->iteration }}{{ @$supplier->company_title ? $supplier->company_title.'. ' : '' }}{{ $supplier->company_name }} {{ @$supplier->contact_title ? $supplier->contact_title.'. ' : '' }}{{ $supplier->first_name ?? '-' }},
{{ $supplier->contact_name }}
{{ $supplier->telephone }} {{ $supplier->telefax ?? '-' }} {{ $supplier->address }}, {{ @$supplier->city->city_name ? @$supplier->city->city_name : '' }}, {{ @$supplier->country->country_name }} {{ @$supplier->post_code }}{{ $supplier->bank_name }} - {{ $supplier->bank_acct_no }} a/n {{ $supplier->atas_nama_bank }}{{ $supplier->discount ? $supplier->discount.'%' : '-' }}{{ $supplier->last_delivery ? date('d-m-Y', strtotime($supplier->last_delivery)) : "-" }}{{ $supplier->comments ?? '-' }}
@endsection @section('js') @endsection