annotate resources/views/clients/show.blade.php @ 2:90296614b7e2 default tip

Adding in the base for the clients table
author luka
date Thu, 28 Aug 2025 20:55:40 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
1 <x-app-layout>
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
2 <x-slot name="header">
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
3 <h2 class="fw-semibold fs-4 text-dark">
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
4 {{ ucfirst('client') }} Details
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
5 </h2>
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
6 </x-slot>
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
7
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
8 <div class="py-5">
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
9 <div class="container">
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
10 <div class="bg-white shadow-sm rounded p-4">
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
11 <div class="mb-3">
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
12 @foreach($fields as $field)
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
13 <div class="mb-2">
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
14 <span class="fw-semibold">{{ ucfirst($field) }}:</span>
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
15 <span class="ms-2">{{ $item->$field }}</span>
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
16 </div>
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
17 @endforeach
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
18 </div>
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
19 <div class="d-flex justify-content-end mt-4">
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
20 <a href="{{ route('clients.edit', $item) }}" class="me-2 btn btn-warning text-white">Edit</a>
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
21 <a href="{{ route('clients.index') }}" class="btn btn-secondary">Back</a>
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
22 </div>
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
23 </div>
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
24 </div>
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
25 </div>
90296614b7e2 Adding in the base for the clients table
luka
parents:
diff changeset
26 </x-app-layout>