Add empleado, borrado del seeder, cambios esteticos y middleware.
This commit is contained in:
@@ -80,6 +80,9 @@
|
||||
<x-sidebar-link href="{{ route('admin.backups.index') }}" :active="request()->routeIs('admin.backups.*')" icon="database">
|
||||
Respaldos
|
||||
</x-sidebar-link>
|
||||
<x-sidebar-link href="{{ route('admin.employees.index') }}" :active="request()->routeIs('admin.employees.*')" icon="users">
|
||||
Empleados
|
||||
</x-sidebar-link>
|
||||
@endif
|
||||
|
||||
<div class="pt-4 pb-2">
|
||||
|
||||
@@ -20,12 +20,23 @@
|
||||
<h4 class="text-gray-900 dark:text-white font-black text-sm mb-1">{{ $job->bike_model }}</h4>
|
||||
<p class="text-gray-700 dark:text-gray-300 text-xs line-clamp-2 mb-3">{{ $job->problem_description }}</p>
|
||||
|
||||
@if($job->estimated_cost)
|
||||
<div class="text-right mb-3">
|
||||
<span class="text-xs text-gray-600 dark:text-gray-400">Presupuesto:</span>
|
||||
<span class="text-sm font-mono text-gray-900 dark:text-white font-black">${{ number_format($job->estimated_cost, 0) }}</span>
|
||||
</div>
|
||||
@endif
|
||||
<div class="flex justify-between items-center mb-3">
|
||||
@if($job->estimated_cost)
|
||||
<div>
|
||||
<span class="text-xs text-gray-600 dark:text-gray-400">Presupuesto:</span>
|
||||
<span class="text-sm font-mono text-gray-900 dark:text-white font-black">${{ number_format($job->estimated_cost, 0) }}</span>
|
||||
</div>
|
||||
@else
|
||||
<div></div>
|
||||
@endif
|
||||
<a href="{{ route('appointments.show', $job) }}" class="text-xs font-bold text-neon-lime dark:text-neutral-900 bg-neutral-950 dark:bg-neon-lime rounded px-2.5 py-1 hover:bg-neutral-900/80 hover:dark:bg-[#b3e600] transition-colors flex items-center gap-1">
|
||||
<svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" stroke-width="2.5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z" />
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
|
||||
</svg>
|
||||
Ver
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Controles de Estado -->
|
||||
<div class="flex justify-between items-center pt-2 border-t border-gray-200 dark:border-neutral-700 mt-2 opacity-100 md:opacity-50 group-hover:opacity-100 transition-opacity">
|
||||
|
||||
Reference in New Issue
Block a user