ARREGLOS: Errores de disposicion de errores corregidos.

This commit is contained in:
Bryam105
2026-01-28 10:17:37 -03:30
parent 869d3e1a2c
commit 0c639cb7b9
3 changed files with 47 additions and 16 deletions
+12 -13
View File
@@ -36,20 +36,19 @@
<x-section-header subtitle="Punto de Venta" title="Nueva " highlight="Venta" />
<x-ui.alert />
@if($errors->any())
<div class="bg-red-900/50 border border-red-500 text-red-300 px-4 py-3 rounded-lg mb-6 shadow-sm">
<ul class="list-disc list-inside">
@foreach($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<div class="w-full max-w-5xl mx-auto bg-panel-bg border border-neutral-800 rounded-xl p-8 shadow-lg">
<x-ui.alert />
@if($errors->any())
<div class="bg-red-900/50 border border-red-500 text-red-300 px-4 py-3 rounded-lg mb-6 shadow-sm">
<ul class="list-disc list-inside">
@foreach($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<form action="{{ route('sales.store') }}" method="POST">
@csrf