@if (Session::has('success'))
Success ! {{ session('success') }}
@endif
@if($errors->any())
@foreach($errors->all() as $error)
Error ! {{ $error }}
@endforeach
@endif
Millennium Computers And Networking
Bank Account Transaction For {{ $glcodeName }} , {{ $CostcenterName }}
From {{ $start_date}} To {{ $end_date}}
@php
$count = 1;
$BlDrAmount = 0;
$BlCrAmount = 0;
@endphp
@foreach ($bankdetailsopening as $bankdetailsopen)
@php
$BlDrAmount = $bankdetailsopen->total;
@endphp
@endforeach
| Entry No |
Type |
Date |
Particulars |
Cheque No |
Period Transaction |
Balance |
| Debit |
Credit |
Debit |
Credit |
| Opening Balance |
{{ $BlDrAmount }} |
{{ $BlCrAmount }} |
@php
$Total_dr=0;
$Total_cr=0;
$MasterBalance=$BlDrAmount;
@endphp
@foreach ($bankdtransactions as $bankdtransaction)
@php
$DrAmount = $bankdtransaction->DrAmount;
$CrAmount = $bankdtransaction->CrAmount;
$ttype = $bankdtransaction->ttype;
$userid = $bankdtransaction->userid;
$partyid = $bankdtransaction->partyid;
$Total_dr=$Total_dr+$DrAmount;
$Total_cr=$Total_cr+$CrAmount;
if(strcmp($ttype,"Dr")==0)
{
$MasterBalance=$MasterBalance+$DrAmount;
}
else
{
$MasterBalance=$MasterBalance-$CrAmount;
}
//////////////////////////////////////////
if($MasterBalance>0)
{
$BlDrAmount=$MasterBalance;
$BlCrAmount=0;
}
else if($MasterBalance<0)
{
$BlCrAmount=$MasterBalance*-1;
$BlDrAmount=0;
}
else
{
$BlDrAmount=0;
$BlCrAmount=0;
}
//////////////////////////////////////////
if( $partyid>0){
$userid= "
UserID:". wordwrap(pick('trn_clients_service','GROUP_CONCAT(IF(user_id=\'\', null, user_id))',"client_id= ".$partyid." GROUP BY client_id"),70,'
',TRUE)."";
}else{
$userid='';
}
@endphp
| {{ $masjournal->journalno }} |
{{ $masjournal->journaltype }} |
{{ $masjournal->journaldate }} |
{{ $masjournal->remarks }} {{ $userid }} |
{{ $masjournal->chequeno }} |
{{ $DrAmount }} |
{{ $CrAmount }} |
{{ $BlDrAmount }} |
{{ $BlCrAmount }} |
@endforeach
| Total |
0.00 |
0.00 |
|
@endsection