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

{{ __($pageTitle) }}

@endsection @push('head-script') @endpush @section('content')
@lang('app.update') @lang('app.credit-note')
{!! Form::open(['id'=>'updatePayments','class'=>'ajax-form','method'=>'PUT']) !!}
@if(in_array('projects', $modules))
@endif

@lang('modules.credit-notes.item')
@if($invoiceSetting->hsn_sac_code_show)
@lang('modules.invoices.hsnSacCode')
@endif
@lang('modules.credit-notes.qty')
@lang('modules.credit-notes.unitPrice')
@lang('modules.credit-notes.tax')
@lang('modules.credit-notes.amount')
 
@foreach($creditNote->items as $key => $item)
@if($invoiceSetting->hsn_sac_code_show)
@endif

{{ number_format((float)$item->amount, 2, '.', '') }}

@endforeach
@lang('modules.credit-notes.subTotal')

{{ number_format((float)$creditNote->sub_total, 2, '.', '') }}

@lang('modules.credit-notes.discount')
@lang('modules.credit-notes.tax')

0

@lang('modules.credit-notes.total')

{{ number_format((float)$creditNote->total, 2, '.', '') }}

{!! Form::close() !!}
@endsection @push('footer-script') {{----}} @endpush