@extends('adminlte::page') @section('title_prefix', ($model->custom_list) ? $customListOptions[$model->custom_list].'|' : '') @section('title', 'クライアント一覧') @section('content_header')

クライアント一覧

@stop @section('content')
{{ Form::open(['id' => 'search-form', 'method' => 'POST']) }} @include('elements.tools', ['fnc' => 'company', 'search' => $model]) @include('elements.searcher_modal') {{ Form::close() }}

クライアント管理

CSVアップロード @include('elements.download_button', ['collection' => $companies, 'fnc' => 'company'])
{{ $companies->total() }}件中 {{ $companies->firstItem() }}-{{ $companies->lastItem() }}件
{{ $companies->links() }}
@foreach($model->custom_list_fields as $field) @endforeach @foreach ($companies as $company) @foreach($model->custom_list_fields as $field) @endforeach @endforeach
詳細 クライアントID 顧客企業名 契約件数 {{ $model::FIELD_NAME[$field['field']] }}
詳細 {{$company->co_id}} {{$company->co_name}} {{$company->valid_contracts_count}}件 @if($company->valid_contracts_count>0) 確認 @include('elements.contracts_modal', ['contracts' => $company->valid_contracts]) @endif {!! $company->getIndexAttribute($field['field']) !!}
@endsection @section('js') @endsection @push('css') @endpush