@extends('layouts.app') @section('content')

@lang('app.menu.credit-note') @lang('app.details')


{{ $creditNoteSetting->credit_note_prefix }}{{ $creditNoteSetting->credit_note_number_separator }}{{ $zero }}

{{ $creditNote->client->name }}

@if ($creditNote->project)

{{ $creditNote->project->project_name }}

@else

--

@endif

@foreach($creditNote->items as $key => $item)
@lang('app.description') @lang("modules.invoices.qty") @lang("modules.invoices.unitPrice") @lang('modules.invoices.tax') @lang('modules.invoices.amount')
{{ number_format((float)$item->amount, 2, '.', '') }}
@endforeach

@lang('modules.invoices.subTotal') 0.00
@lang('modules.invoices.discount')
{{ number_format((float)$creditNote->discount, 2, '.', '') }}
@lang('modules.invoices.tax')
0.00
@lang('modules.invoices.total') 0.00
{!! nl2br($invoiceSetting->invoice_terms) !!}
@lang('app.cancel')
@lang('app.save')
@endsection