@extends('layouts.app') @push('styles') @endpush @php $addProductPermission = user()->permission('add_product'); @endphp @section('content')

@lang('app.creditNoteDetails')


@method('PUT')

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

{{ $creditNote->project ? $creditNote->project->project_name : '--' }}


@foreach ($creditNote->items as $key => $item)
@if ($creditNoteSetting->hsn_sac_code_show) @if ($creditNoteSetting->hsn_sac_code_show) @endif
@lang('app.description')@lang("app.hsnSac") @endif @lang('modules.invoices.qty') @lang("modules.invoices.unitPrice") @lang('modules.invoices.tax') @lang('modules.invoices.amount')
{{ $item->item_name }} {{ $item->hsn_sac_code }} {{ $item->quantity }} @if($item->unit)
{{ $item->unit->unit_type }}@endif
{{ $item->unit_price }}
@foreach ($taxes as $tax) @if (isset($item->taxes) && array_search($tax->id, json_decode($item->taxes)) !== false) @endif @endforeach
{{ 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('app.adjustmentAmount')
@lang('modules.invoices.total') 0.00
{!! nl2br($creditNoteSetting->invoice_terms) !!}
@lang('app.save')
@lang('app.cancel')
@endsection @push('scripts') @endpush