@extends('layouts.app') @section('content')
| # | Invoice | Store | Customer | Return Date | Return Amount | Lines | Action |
|---|---|---|---|---|---|---|---|
| {{ $returns->firstItem() + $i }} |
{{ $row->invoice_number }}
Sale: {{ $row->posted_at ? \Carbon\Carbon::parse($row->posted_at)->format('Y-m-d') : '-' }}
|
{{ $row->location_name ?? 'N/A' }} |
{{ $row->customer_name ?? 'Walk-in Customer' }}
@if(!empty($row->customer_pin))
PIN: {{ $row->customer_pin }}
@endif
|
{{ $row->last_return_at ? \Carbon\Carbon::parse($row->last_return_at)->format('Y-m-d h:i A') : '-' }} | {{ number_format((float)($row->return_total ?? 0), 2) }} | {{ (int)($row->return_lines ?? 0) }} | Open Print View |