@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')

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

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

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

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