@extends('layouts.main_without_top_button') @section('contentinner') @section('navigation') @stop
@include('clients.includes.client_summary')
PRINT
{{----}} {{--*/ $balance_t = $open_balance['amount'] /*--}} @foreach($statements as $statement) {{----}} @if($statement->mode =="PAYMENT") {{--*/ $debit = 0 /*--}} {{--*/ $credit = str_replace(",","",$statement->amount); /*--}} @elseif($statement->mode =="CREDIT") {{--*/ $debit = 0 /*--}} {{--*/ $credit = $statement->amount /*--}} @elseif($statement->mode =="DEBIT") {{--*/ $debit = $statement->amount /*--}} {{--*/ $credit = 0 /*--}} @elseif($statement->mode =="INVOICE") {{--*/ $debit = $statement->amount /*--}} {{--*/ $credit = 0 /*--}} @endif @endforeach
Date Description Ref. NoRoute CostDr Cr Balance
OPEN BALANCE BEFORE {{$open_balance['date']}} {{number_format($open_balance['amount'],2)}}
{{$statement->date}} {{$statement->description}}{{$statement->truck}} /--}} {{--{{$statement->file_number}}--}} {{--/--}} {{--{{$statement->container_number}}--}} {{--/--}} {{--{{$statement->consignee}}--}} {{--Rept NO. {{$statement->ref}} {{number_format($statement->amount,2)}}Credit Note NO. {{$statement->ref}} {{number_format($statement->amount,2)}}Debit Note NO. {{$statement->ref}} {{number_format($statement->amount,2)}} Inv NO. {{$statement->ref}} {{number_format($statement->amount,2)}} {{number_format(($balance_t = $balance_t + $debit - $credit),2)}}
@stop