@extends('layouts.panel') @section('title', 'Precios por empresa') @section('content')
@forelse ($tariffs as $tariff) @empty @endforelse
EmpresaServicioLínea Precio/kgVigenciaEstado Acciones
{{ $tariff->client->business_name ?: $tariff->client->contact_name }} {{ $tariff->service->name }} {{ $tariff->serviceLineLabel() }} ${{ number_format($tariff->price_per_kg, 0, ',', '.') }} {{ $tariff->valid_from->format('d-m-Y') }} — {{ $tariff->valid_to?->format('d-m-Y') ?? 'indefinido' }} @if ($tariff->isCurrentlyValid()) Vigente @else No vigente @endif
@csrf @method('DELETE')
No hay precios propios registrados. Todas las empresas usan el precio base.
{{ $tariffs->links('pagination::bootstrap-5') }}
@endsection