{!! trans('invoice.confirm_instruction', [
'back_link' => link_to_route('invoice-drafts.show', trans('app.back'), $draft->draftKey)
]) !!}
{{ trans('invoice.detail') }}
@php
$project = App\Entities\Projects\Project::findOrFail($draft->projectId);
@endphp
| {{ trans('invoice.project') }} | {{ $project->name }} |
| {{ trans('customer.customer') }} | {{ $project->customer->name }} |
| {{ trans('invoice.date') }} | {{ $draft->date }} |
| {{ trans('invoice.due_date') }} | {{ $draft->dueDate }} |
| {{ trans('invoice.total') }} |
{{ format_money($draft->getTotal()) }} |
| {{ trans('invoice.notes') }} | {{ $draft->notes }} |
{{ trans('invoice.items') }}
| {{ trans('app.table_no') }} |
{{ trans('invoice.item_description') }} |
{{ trans('invoice.item_amount') }} |
@forelse($draft->items() as $key => $item)
| {{ $key + 1 }} |
{!! nl2br($item->description) !!} |
{{ format_money($item->amount) }} |
@empty
@endforelse
| {{ trans('invoice.total') }} : |
{{ format_money($draft->getTotal()) }} |