@extends('layouts.app') @section('content')
{{ _lang('Invoice List') }}
@php $date_format = get_option('date_format','Y-m-d'); @endphp @foreach($invoices as $invoice) @endforeach
{{ _lang('Invoice Number') }} {{ _lang('Business Name') }} {{ _lang('Due Date') }} {{ _lang('Grand Total') }} {{ _lang('Status') }} {{ _lang('View') }}
{{ $invoice->invoice_number }} {{ $invoice->client->company->business_name }} {{ date($date_format, strtotime($invoice->due_date)) }} @php $client_currency = $invoice->client->currency; @endphp @php $currency = $company_currency[$invoice->company_id]; @endphp @if($client_currency != $currency) {{ decimalPlace($invoice->grand_total, currency($currency), $client_currency) }}
{{ decimalPlace($invoice->converted_total, currency($client_currency), $client_currency) }} @else {{ decimalPlace($invoice->grand_total, currency($currency), $client_currency) }} @endif
{!! strip_tags(invoice_status($invoice->status),'') !!} {{ _lang('View') }}
@endsection