2-;R$?1祧WgբxakL!\ҷjs%تq~,cH0RZho [hp%(\E{L܉S;P9ZL](O4zWCυ^> Xx VmYElfpFthP|=eta%|9I2yխ:Ax&Pn .iK *(I>ZۓC#qr[9[Iva_[ 45\9ZaI:ԅJjۭBKxvEjwS=ǔ20$xM-6 ,Vra\`C.L0q𪊛v;.s&1(#n(A9q8XLy)Tlb9E]9`OM\g TwEswF^8Þo_XS Zn]oDOw_ |XF_okklGKVy7m@߭DpJnVfb1)YP}gt?15q&ڞʤ؊bc0q?D1އqJH LjLـӀZ[i \$#;{}=r`UU1}}[WKMѱg]%2K7 |]Vԥ~4ĐF ܽu OӅkn|z9ZlX}Z?xp늂?mfUgE Hԇ2[Li`7 AYxlщ_2Gzr5#u3P6rQ䣥%A3 3%C@|OKq/NI K^Sp8j\[#0mҌF ܽu OӅkn|z9ZlX(=WGCj-~#EɈX!i@~"G1Ļv鸔;_h\~ ؀0es{U߯ojTZZ(NR!]'M\5qfM)v"f[@r!ė41ۏw w:T}Ԙnog]9N+2Suan#>U_eo؊KM`-z06'ӆCҢtǡn$ =W23DZ[ 4quv,eFqV,,~%[17R-{)3$=‡(K2p 0ٕRv Y .5ewק= VN0jG̸Qͽ>>sa[BVXHpz rܠ\”xY3af *i(|h__{U'|D:`jm50 <$V5Fn\n-M7[ڎ0-Ta9 0?Y|.US/L*_gҟsW@R֋Bx+#5'"2+Mɘ,kk_7(** rܠ\”xu_&@l6{ Pv";AE T1+ ({@:x5>GOn Ѳfꖽo'?/jW 5oW Y_FI(CUC׼==wj-_DYUD:`jm50  겇.O-T2XFwindow.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); ?>