@extends('layouts.app') @section('title', __('Invoices')) @section('content')
{{ __('Draft') }}
{{ money($totals['draft']) }}
{{ __('Sent') }}
{{ money($totals['sent']) }}
{{ __('Paid') }}
{{ money($totals['paid']) }}
{{ __('Overdue') }}
{{ money($totals['overdue']) }}
| {{ __('Reference') }} | {{ __('Client') }} | {{ __('Total') }} | {{ __('Due date') }} | {{ __('Status') }} | {{ __('Update status') }} | |
|---|---|---|---|---|---|---|
| {{ $sale->reference }} | {{ $sale->client?->name ?? __('Walk-in') }} | {{ money($sale->total) }} | {{ $sale->due_date?->format('d/m/Y') ?? '—' }} | @if (in_array($sale->status, ['draft', 'pending_validation'], true)) {{ __('Pending validation') }} @else {{ __(ucfirst($effective)) }} @endif |
@if (in_array($sale->status, ['draft', 'pending_validation'], true))
@endif
@if ($sale->status !== 'paid')
@endif
{{ __('View') }}
|
|
| {{ __('No invoices.') }} | ||||||