@lang('purchase::app.menu.vendorCredit') @lang('app.details')


@method('PUT')
{{ $purchaseSetting->vendor_credit_prefix }}{{ $purchaseSetting->vendor_credit_separator }}{{ $zero }}
@foreach ($currencies as $currency) @endforeach
@foreach ($bills as $item) @endforeach

@foreach ($vendorCredit->items as $key => $item)
@if ($invoiceSetting->hsn_sac_code_show) @endif @if ($invoiceSetting->hsn_sac_code_show) @endif
@lang('app.description') @lang("app.hsnSac") @lang('modules.invoices.qty') @lang("modules.invoices.unitPrice") @lang('modules.invoices.tax') @lang('modules.invoices.amount')
{{ $item->item_name }} {{ $item->item_summary }} {{ !is_null($item->hsn_sac_code) ? $item->hsn_sac_code : '--' }} {{ $item->quantity }} @if (!is_null($item->unit_id) && $item->unit_id != 0) {{ $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')
{{ $vendorCredit->discount }}
{{ number_format((float) $vendorCredit->discount, 2, '.', '') }}
@lang('modules.invoices.tax')
0.00
@lang('modules.invoices.total') 0.00

{!! nl2br($invoiceSetting->invoice_terms) !!}

@lang('app.cancel')