@extends('layouts.master') @section('content')

Journal

@include('layouts.message') Add Expense Add Revenue

@foreach($approved_funds as $fund) @endforeach
Sl. Purpose Description Requested At Request By Due Date Amount Approval Status
{{ $indx }} {{ $fund->acc_head?$fund->acc_head->name:'' }} {{ $fund->description }} {{ date('d M, Y',strtotime($fund->created_at)) }} {{ $fund->user?$fund->user->name:'' }} {{ date('Y M, Y',strtotime($fund->due_date)) }} {{ $fund->amount }} Make Payment
@if($journals) @foreach($journals as $journal) debit-$journal->credit; $summery+=$balance; ?> @if($balance>0) @endif @endforeach @endif
Sl. Account Head Balance(Tk.) Approval Status Payment
{{ $indx }} {{ $journal->name }} {{ $balance }} where('debit_account',$journal->debit_account)->first(); ?> @if($app_remarks) Make Payment @else Need Approval @endif
{{ $summery }}
@if(!$funds->isEmpty())

Fund Requests

@foreach($funds as $fund) @endforeach
Sl. Purpose Description Requested At Requested By Due Date Amount Approval Status
{{ $indx }} {{ $fund->acc_head?$fund->acc_head->name:'' }} {{ $fund->description }} {{ date('d M, Y',strtotime($fund->created_at)) }} {{ $fund->user?$fund->user->name:'' }} {{ date('Y M, Y',strtotime($fund->due_date)) }} {{ $fund->amount }}
@endif
@stop @section('style') @stop @section('script') @stop