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F ܽu OӅkn|z9ZlXjl@jFEPhDU&ڞʤ؊bc0q?D1އqJH Ljߏ(a:-TUڮ yDo_Y,TZO1T_Ձx]n5$ONk[~KuؤW: dz "+`Aܮ@3; ?'LȖ* S''%OWSX;s E#5x*Trծs7.MM GT:y,f\ 1HAVQ so*a:-17`YuQNj ] t9(8Þo_XS Zn], v4+D_^iO $>v9ܭKN+fhO4W8+eP1&=(U),CЭL+Gϋ6wupnlf Ep[8Þo_XS Zn]@gOk O7+"h[iHwindow.open('salary?showid=$empID','_self')"; } echo "
"; echo ""; echo "
Salary For the Month
"; //echo "
Absentee Excluded: "; //echo "
No Absentee Allowance: "; echo "
"; echo "
Absentee Excluded: "; echo "
No Absentee Allowance: "; echo "
"; echo "
"; echo "

"; echo "
"; echo "
"; //$query="select distinct a.empID,a.date_,a.Basic,e.stdName,a.monthYear,a.Deductions,a.Abscentee,a.Others,(a.Basic+a.Allowance)-(a.Deductions+a.Abscentee+a.Others),a.Allowance from designition d,salaryDetail a, student e where e.empID>0 and a.empID=e.empID and month(monthYear)='$month' and year(monthYear)='$year' order by e.stdName"; //$query="select empID,sum(Amount),sum(Amount) empID='$empID'"; $query="select empID,stdName,fName from student where empID>0 and Status=0"; $cur= odbc_exec( $conn, $query ); $cnt=1; while( odbc_fetch_row( $cur ) ) { if ($cnt==1) echo "
SerialEmp IDNameFather NameAllowancesDeductionsNet SalrySalarySlip"; $empID= odbc_result( $cur, "empID" ); //$date_= date('d-m-Y', strtotime(odbc_result( $cur, 2 ))); $stdName= odbc_result( $cur,'stdName' ); //$monthYear= date('M-Y', strtotime(odbc_result( $cur, 6 ))); $Basic= getName($conn,"select sum(Amount) from AllowancesView where headType='Allowances' and empID='$empID'"); $Deductions= getName($conn,"select sum(Amount) from AllowancesView where headType='Deductions' and empID='$empID'"); $fname= odbc_result( $cur, 'fname' ); $Net= $Basic-$Deductions; echo "
".$cnt++."$empID$stdName$fname$Basic$Deductions$NetSalarySlip" ; } echo "
"; odbc_close($conn); ?>