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

{{ __($pageTitle) }}

@lang('modules.credit-notes.downloadPdf') @if($invoiceExist && $creditNote->invoice_id) @lang('app.viewInvoice') @endif @if ($creditNote->status == 'open') @lang('app.applyToInvoice') @endif @if ($creditNote->invoices->count() > 0) @lang('app.creditedInvoices') @endif
@endsection @push('head-script') @endpush @section('content')

{{ currency_formatter($creditNote->total,$creditNote->currency->currency_symbol)}} @lang('modules.credit-notes.creditAmountTotal')

{{ currency_formatter($creditNote->creditAmountRemaining(),$creditNote->currency->currency_symbol) }} @lang('modules.credit-notes.creditAmountRemaining')

{{ currency_formatter($creditNote->creditAmountUsed(),$creditNote->currency->currency_symbol) }} @lang('modules.credit-notes.creditAmountUsed')

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