@extends('agency.layouts.app') @section('title', 'Tanımlar') @section('page_title', 'Tanımlar') @php $breadcrumbs = [ ['title' => 'Dashboard', 'url' => route('agency.dashboard')], ['title' => 'Tanımlar', 'url' => ''] ]; @endphp @push('styles') @endpush @section('content')

Tanımlarım

Acentenize ait tanımları yönetin

@if($types->isNotEmpty()) @endif
@if($definitions->total() > 0)
{{ $definitions->total() }}
Toplam Tanım
{{ $definitions->where('is_active', true)->count() }}
Aktif
{{ $definitions->where('is_featured', true)->count() }}
Öne Çıkan
{{ $types->count() }}
Kategori
@endif
@if($definitions->count() > 0)
@foreach($definitions as $definition)
@if($definition->image) {{ $definition->name }} @else
@endif
{{ $definition->definitionType->display_name }}
@if($definition->is_featured)
Öne Çıkan
@endif
{{ $definition->name }}
{{ $definition->is_active ? 'Aktif' : 'Pasif' }}
@if($definition->description)

{{ Str::limit($definition->description, 100) }}

@endif @if($definition->values->count() > 0)
@foreach($definition->values->take(3) as $value)
{{ $value->definitionAttribute->display_name }} : {{ $value->formatted_value }}
@endforeach @if($definition->values->count() > 3) +{{ $definition->values->count() - 3 }} özellik daha @endif
@endif
{{ $definition->created_at->diffForHumans() }}
@endforeach
{{ $definitions->appends(request()->query())->links() }}
@else

Henüz tanım bulunmuyor

Acenteniz için yeni tanımlar oluşturmaya başlayın.

@if($types->isNotEmpty()) @else

Henüz tanım kategorisi bulunmuyor.

@endif
@endif
@endsection @push('scripts') @endpush