@csrf
Tipo precio
@foreach ($precios as $pre)
{{ $pre->tipo }}
@endforeach
Precio
id == null) disabled @endif class="btn btn-primary">
Guardar
@if ($data?->tiposPrecios) @if (count($data->tiposPrecios) > 0) @foreach ($data->tiposPrecios as $key => $item) @endforeach
#
Tipo
Precio
Estado
Eliminar
{{ $key + 1 }}
{{ $item->tipo }}
{{ number_format($item->pivot->precio, 2) }}
@if ($item->pivot->estado == true)
Activo
@else
Desactivo
@endif
@if (!$validate)
@else
@endif
@else
¡Opps! Parece que no tienes ningun precio registrado.
@endif @endif