@extends('layouts.app') @section('title', __('invoice.list')) @section('content')
| {{ __('app.table_no') }} | {{ __('invoice.number') }} | {{ __('app.date') }} | {{ __('project.project') }} | {{ __('invoice.customer') }} | {{ __('invoice.amount') }} | {{ __('app.action') }} | @forelse($invoices as $key => $invoice)
|---|---|---|---|---|---|---|
| {{ 1 + $key }} | {{ $invoice->numberLink() }} | {{ $invoice->created_at->format('Y-m-d') }} | {{ $invoice->project->nameLink() }} | {{ $invoice->project->customer->nameLink() }} | {{ format_money($invoice->amount) }} | {!! html_link_to_route( 'invoices.show', '', [$invoice->number], [ 'icon' => 'search', 'class' => 'btn btn-info btn-xs', 'title' => __('invoice.show'), ] ) !!} {!! html_link_to_route( 'invoices.pdf', '', [$invoice->number], [ 'icon' => 'print', 'class' => 'btn btn-default btn-xs', 'title' => __('invoice.print'), 'target' => '_blank' ] ) !!} |
| {{ __('invoice.empty') }} | ||||||