@extends('pdf') @section('content-area')

@lang('All invoices')

@foreach ($invoices as $key => $invoice) @endforeach
@lang('#') @lang('Invoice No') @lang('Invoice Date') @lang('Client') @lang('Subtotal') @lang('Transport') @lang('Discount') @lang('Tax') @lang('Net Total') @lang('Due') @lang('Status')
{{ ++$key }} {{ config('config.invoicePrefix') . '-' . $invoice['invoice_no'] }} {{ \Carbon\Carbon::parse($invoice['invoice_date'])->format('d-M-Y') }} {{ $invoice['client']['name'] }} @currency($invoice['sub_total']) @currency($invoice['transport']) @currency($invoice['discount']) @currency($invoice['calculated_tax']) @currency($invoice['calculated_total']) @currency($invoice['calculated_due']) @if ($invoice['status']) @lang('Active') @else @lang('Inactive') @endif
@endsection