@extends('layouts.app') @section('content')
View supplier purchases, payments and outstanding balances
| # | Supplier | Opening Balance | Purchases | Paid | Outstanding | Action |
|---|---|---|---|---|---|---|
| {{ $index + 1 }} |
{{ $supplier->company_name }}
@if($supplier->contact_person)
{{ $supplier->contact_person }} @endif @if($supplier->mobile) {{ $supplier->mobile }} @endif |
₹{{ number_format( $supplier->ledger_opening_balance, 2 ) }} | ₹{{ number_format( $supplier->ledger_purchase_amount, 2 ) }} | ₹{{ number_format( $supplier->ledger_paid_amount, 2 ) }} | @if( $supplier->ledger_outstanding > 0 ) ₹{{ number_format( $supplier->ledger_outstanding, 2 ) }} @elseif( $supplier->ledger_outstanding < 0 ) ₹{{ number_format( abs( $supplier->ledger_outstanding ), 2 ) }} Advance @else ₹0.00 @endif | View Ledger |
| No suppliers found. | ||||||