@extends('layouts.app') @section('content')
| {{ _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') }} |