@if ($invoices != NULL) @foreach ($invoices as $invoice) @endforeach @endif
{!!trans('x.Number')!!} {!!trans('x.Year')!!} {!!trans('x.Brand')!!} {!!trans('x.Customer')!!} {!!trans('x.Pcs')!!} {!!trans('x.Total')!!} {!!trans('x.Date')!!} {!!trans('x.Payment date')!!}
{!!$invoice->number!!} {!!$invoice->year!!} {!!$invoice->brand!!} @if ($invoice->customer_id != 0) {{ $invoice->customer->companyname}} @endif @if ($invoice->supplier_id != 0) {{ $invoice->supplier->companyname}} @endif {{ $invoice->items_qty}} {{ $invoice->total}} {{ $invoice->created_at->format('d/m/Y') }} {{ $invoice->payment_date->format('d/m/Y') }}