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I RuBNU0 T "; echo ""; echo "
Name"; echo "
Date"; echo "
Technology "; echo "
Semester"; $query="select s.stdID,S.stdName,f.feeID,h.headName,f.amtPosted,f.techID,c.headName as courseName,f.thisMonth,f.amtReceived,f.date_ from student s, studentFee f,AccountHeads h,AccountHeads c where f.techID=c.ID and f.feeID=h.ID and f.stdID=s.stdID and s.stdID='$stdID' and f.date_=(select max(date_) from studentFee where stdID='$stdID') order by f.date_ desc,f.feeID asc"; $cur= odbc_exec( $conn, $query ); $cnt=1; $total=0; while( odbc_fetch_row( $cur ) ) { if ($cnt==1) echo "
Fee
HeadsAmountPaid"; $feeID= odbc_result( $cur, 'feeID' ); $feeName= odbc_result( $cur, 'headName' ); $amtPosted=odbc_result( $cur, 'amtPosted' ); $thisMonth=odbc_result( $cur, 'thisMonth' )-odbc_result( $cur, 'amtReceived' ); $amtPaid=odbc_result( $cur, 'amtReceived' ); $date_ = date('d-m-Y',strtotime(odbc_result( $cur, 'date_' ))); $total=$total+$amtPosted; echo ""; echo "
$feeName$thisMonth" ; $cnt+=1; } $cnt-=1; echo ""; echo "
"; echo "
Remarks"; echo "
Deposit No."; echo "
Payment Type +"; echo "
"; echo "
"; $query="select s.stdID,s.stdName,sp.amount,sp.paymentDate,h.headName,sp.Remarks,f.headName as feeHead from student s,studentPayments sp,AccountHeads h,AccountHeads f where sp.feeID=f.ID and sp.paymentType=h.ID and s.stdid=sp.stdID and s.stdID='$stdID' order by sp.paymentDate asc"; $cur= odbc_exec( $conn, $query ); $cnt=1; $total=0; while( odbc_fetch_row( $cur ) ) { if ($cnt==1) echo "
SerialDateFee HeadRemarksAmountDelete"; //$paymentDate=odbc_result( $cur, 'paymentDate' ); $paymentDate = date('Y-m-d',strtotime(odbc_result( $cur, 'paymentDate' ))); $paymentType=odbc_result( $cur, 'headName' ); $feeHead=odbc_result( $cur, 'feeHead' ); $amtPaid=odbc_result( $cur, 'amount' ); $Remarks=odbc_result( $cur, 'Remarks' ); $total=$total+$amtPaid; echo "
". $cnt++ . "$paymentDate$feeHead$Remarks$amtPaidDelete" ; } echo "
Total$total
"; echo "
"; echo ""; echo "
Name"; echo "
Date Month"; echo "
Semester"; echo "
Technology "; echo "
Fee Head +"; echo "
Total Amount"; //echo "
Paid Amount"; echo "
Monthly"; echo "
This Month"; echo "
"; echo "
"; $query="select s.stdID,S.stdName,f.feeID,h.headName,f.amtPosted,f.techID,c.headName as courseName,f.monthly,f.amtReceived,f.date_,f.thisMonth from student s, studentFee f,AccountHeads h,AccountHeads c where f.techID=c.ID and f.feeID=h.ID and f.stdID=s.stdID and s.stdID='$stdID' order by f.date_ desc,f.feeID asc"; $cur= odbc_exec( $conn, $query ); $cnt=1; $total=0; while( odbc_fetch_row( $cur ) ) { if ($cnt==1) echo "
SerialFee MonthCourseAccountHeadsAmountPaidMonthlythisMonthDeletePrint"; $feeID= odbc_result( $cur, 'feeID' ); $feeName= odbc_result( $cur, 'headName' ); $techID= odbc_result( $cur, 'techID' ); $courseName= odbc_result( $cur, 'courseName' ); $amtPosted=odbc_result( $cur, 'amtPosted' ); $monthly=odbc_result( $cur, 'monthly' ); $thisMonth=odbc_result( $cur, 'thisMonth' ); $amtPaid=odbc_result( $cur, 'amtReceived' ); $date_ = date('d-m-Y',strtotime(odbc_result( $cur, 'date_' ))); $total=$total+$amtPosted; echo "
". $cnt++ . "$date_$courseName$feeName$amtPosted$amtPaid$monthly$thisMonthDeletePrintSlip" ; } echo "
Total$total"; echo "
"; $lateFee=getName($conn,"select openingBalance from AccountHeads where headType='lateFee'"); if($lateFee=="") $lateFee="300"; // /* echo "
"; echo ""; echo "
Post Fee for the MonthLateFee"; echo ""; echo "
"; //*/ echo "
"; echo ""; echo "
Post Fee for the MonthLateFee"; echo ""; echo ""; echo "
"; odbc_close($conn); ?>