@extends('layouts.main_without_top_button') @section('contentinner') @section('navigation')
@stopDate | Description | Ref. No | {{--Route Cost | --}}Dr | Cr | Balance | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OPEN BALANCE BEFORE {{$open_balance['date']}} | {{number_format($open_balance['amount'],2)}} | |||||||||||||||
{{$statement->date}} | {{$statement->description}} | {{--Rept NO. {{$statement->ref}} | {{number_format($statement->amount,2)}} | @elseif($statement->mode =="CREDIT") {{--*/ $debit = 0 /*--}} {{--*/ $credit = $statement->amount /*--}}Credit Note NO. {{$statement->ref}} | {{number_format($statement->amount,2)}} | @elseif($statement->mode =="DEBIT") {{--*/ $debit = $statement->amount /*--}} {{--*/ $credit = 0 /*--}}Debit Note NO. {{$statement->ref}} | {{number_format($statement->amount,2)}} | @elseif($statement->mode =="INVOICE") {{--*/ $debit = $statement->amount /*--}} {{--*/ $credit = 0 /*--}} | Inv NO. {{$statement->ref}} | {{number_format($statement->amount,2)}} | @endif | {{number_format(($balance_t = $balance_t + $debit - $credit),2)}} |