@extends('layouts.app') @section('title','Master Klien') @section('page-title','Master Klien') @section('breadcrumb') /Master Klien @endsection @section('content')

Master Klien {{ $clients->total() }}

@foreach(request()->except('per_page','page') as $k=>$v)@endforeach Tampilkan data
@foreach(request()->except('search','status','page') as $k=>$v)@endforeach @if(request()->hasAny(['search','status'])) Reset @endif
@can('create_clients') Tambah Klien @endcan
@if($clients->isEmpty())

Tidak ada data klien

@can('create_clients')Tambah Klien@endcan
@else @foreach($clients as $client) @endforeach

Kode

Industri

PIC

Status

Aksi

{{ $client->code }} {{ $client->name }} @if($client->company_type){{ $client->company_type }}@endif {{ $client->industry ?? '—' }} {{ $client->city ?? '—' }} @if($client->pic_name) {{ $client->pic_name }} @if($client->pic_position){{ $client->pic_position }}@endif @else — @endif {{ $client->tenders_count }} {{ $client->status === 'active' ? 'Aktif' : 'Tidak Aktif' }}
@can('update_clients') @endcan @can('delete_clients') @endcan
@endif
@if($clients->isNotEmpty()) @endif
@endsection