@extends('layouts.app') @section('title', 'New Vendor Credit') @section('content')

Create Vendor Credit

@csrf
@if(isset($selectedBill)) @foreach($selectedBill->items as $index => $item) @endforeach @else @endif
Item Details Quantity Rate Amount
{{ isset($selectedBill) ? formatCurrency($item->amount) : getCurrencySymbol() . ' 0.00' }}
{{ getCurrencySymbol() }} 0.00
SUB TOTAL {{ isset($selectedBill) ? formatCurrency($selectedBill->subtotal) : getCurrencySymbol() . ' 0.00' }}
{{ isset($selectedBill) ? formatCurrency($selectedBill->tax_amount) : getCurrencySymbol() . ' 0.00' }}
TOTAL {{ isset($selectedBill) ? formatCurrency($selectedBill->total) : getCurrencySymbol() . ' 0.00' }}
@endsection