@extends('layouts.master') @section('css') @endsection @section('title') Balance Sheet @endsection @section('content')
@foreach ($groups as $group) @if ($group->closing_dr_cr == 1 && $group->amount != 0) @endif @endforeach @if ($isNetProfit) @endif @if ($openingBalanceDiff != 0 && $openingBalanceDrCr == 0) @endif
Liabilities Amount
{{ $group->name }} {{ $numberFormat($group->amount) }}
Net Profit {{ $numberFormat($netProfitOrLoss) }}
Difference in Opening Balance {{ $numberFormat($openingBalanceDiff) }}
@foreach ($groups as $group) @if ($group->closing_dr_cr == 0 && $group->amount != 0) @endif @endforeach @if (!$isNetProfit) @endif @if ($openingBalanceDiff != 0 && $openingBalanceDrCr == 1) @endif
Assets Amount
{{ $group->name }} {{ $numberFormat($group->amount) }}
Net Loss {{ $numberFormat($netProfitOrLoss) }}
Difference in Opening Balance {{ $numberFormat($openingBalanceDiff) }}
Total {{ $numberFormat($creditTotal) }} Total {{ $numberFormat($debitTotal) }}
{{-- Print Modal --}} {{-- Export --}} @endsection @section('script') @endsection