@extends('layouts.app') @section('page-title')

{{ __($pageTitle) }}

@lang('modules.invoices.downloadPdf') @if($invoice->status == 'review') @endif @if ($invoice->credit_notes->count() > 0) @lang('app.appliedCredits') @endif
@endsection @push('head-script') @endpush @section('content')

{{ currency_formatter($invoice->total,$invoice->currency->currency_symbol)}} @lang('modules.payments.totalAmount')

{{ currency_formatter($invoice->amountPaid(),$invoice->currency->currency_symbol) }} @lang('modules.payments.totalPaid')

{{ currency_formatter($invoice->amountDue(),$invoice->currency->currency_symbol) }} @lang('modules.payments.totalDue')

@if ($message = Session::get('success'))
{!! $message !!}