@extends('layouts.app') @section('title', 'Warranty Report') @section('breadcrumb')
{{ $from->format('d M Y') }} — {{ $to->format('d M Y') }}
| Customer | Product | Serial No. | Start | End | Days Left | Status |
|---|---|---|---|---|---|---|
|
{{ $w->customer?->name ?? '—' }}
{{ $w->customer?->phone }}
|
{{ $w->saleItem?->productVariant?->product?->name ?? '—' }}
{{ $w->saleItem?->productVariant?->variant_name }}
|
@if($w->serialNumber) {{ $w->serialNumber->serial_no }} @elseNon-serial@endif | {{ $w->start_date->format('d M Y') }} | {{ $w->end_date->format('d M Y') }} | @if($w->status === 'active') {{ $daysLeft }}d @else—@endif | {{ ucfirst($w->status) }} |
| No warranties in this period | ||||||
| Customer | Product | Claim Notes |
|---|---|---|
| {{ $w->customer?->name }} | {{ $w->saleItem?->productVariant?->product?->name }} | {{ $w->notes ?? '—' }} |