Invoice # | Date | Sale (Dr) | Receipts (Cr) | Balance |
---|---|---|---|---|
@if($ledger['ledger_type']=="order"){{$ledger['id']}} @endif @if($ledger['ledger_type']=="payment") {{$ledger['id']}} @endif | {{$ledger['date']}} | @if($ledger['ledger_type']=="order") {{$ledger['payment']}} @endif | @if($ledger['ledger_type']=="payment") {{$ledger['amount']}} @endif | {{ (-1) * (int)$ledger['balance']}} |