| " align="left" class="grid-title"> |
| " style='padding:10px'>
checkQuyenChucNang('ql_dongiagiocong','xem')){ ?>
  Kỳ buildSelect('ChiLuong_KyLuong',$arrKyLuong,$search_kyluong,'cbo width_150',array(),'','',false);?>
Tháng buildMonthSelect2('ChiLuong_Thang',$thang,'cbo width_100'); echo "-".$htmlHelper->buildYearSelect2('ChiLuong_Nam',date('Y')-3,date('Y'),$nam,'cbo width_100');?>
|
| STT |
Họ tên NV |
checkQuyenChucNang('ql_dongiagiocong','xem')){ ?>
Tạm ứng |
Thanh toán |
Chức danh |
|
|
|
Tiền ăn ngày |
|
Tháng trước |
|
|
Tạm ứng |
|
Giam lương |
|
Còn lại |
Ghi chú |
Ngày thanh toán |
Ngày nhận |
Ký nhận |
fetchRow($rs)){
$stt++;
$luong =0;
$phucap =0;
$mucluong = $rw['MUCL_LUONG'];
$tienan = $rw['MUCL_TIENAN'];
if ($cachtinh == TINHLUONG_NGAY && $rw['NGAYTRA']===NULL){
$songay_cong = $mChamCongChiTiet->getSoGioCongNhanVien($rw['NV_ID'],$thang,$nam) ;
$luong = $songay_cong * $rw['LUONG'];
$phucap = $songay_cong * $rw['MUCL_TIENAN'];
}else{
if ($cty_id == 31){// ks NGOC HAN
$songay_cong = $rw['NGAYCONG_SONGAY'];
$phucap = $rw['TIENAN_SOTIEN'];
$luong = $songay_cong * $mucluong;// mức lương tính theo ngày
}else{
$songay_cong = $rw['CHIL_SONGAYCONG'];
$luong =$rw['LUONG'];
$phucap =$rw['PHUCAP'];
}
}
$tongcong = $luong + $phucap + $rw['TONGTANG'] + $rw['THANGTRUOC'] - $rw['TONGTRU'] - $rw['TONGTAMUNG'];
$conlai_sau_giam = $tongcong - $rw['GIAMLUONG'];
$conlai = $tongcong - $rw['GIAMLUONG'] - $rw['CHIL_THANHTOAN'];
$tong_mucluong += $mucluong;
$tong_luong += $luong;
$tong_phucap += $phucap;
$tong_thangtruoc += $rw['THANGTRUOC'];
$tong_tangluong += $rw['TONGTANG'];
$tong_tienan += $tienan;
$tong_truluong += $rw['TONGTRU'];
$tong_tamung += $rw['TONGTAMUNG'];
$tong_giamluong += $rw['GIAMLUONG'];
$tong_tongcong +=$tongcong;
$tong_thanhtoan +=$rw['CHIL_THANHTOAN'];
$tong_conlai +=$conlai;
?>
|
"/>
"/>
|
|
checkQuyenChucNang('ql_dongiagiocong','xem')){ ?>
format_vn_number($rw['TONGTAMUNG']);?> |
format_vn_number($rw['CHIL_THANHTOAN']);?> |
|
format_vn_number($songay_cong,2);} ?>
|
format_vn_number($mucluong,2); ?> |
format_vn_number($luong,2); ?> |
format_vn_number($tienan,2); ?> |
format_vn_number($phucap,2);} ?>
|
format_vn_number($rw['THANGTRUOC']);?> |
format_vn_number($rw['TONGTANG']);?> |
format_vn_number($rw['TONGTRU']);?> |
format_vn_number($rw['TONGTAMUNG']);?> |
format_vn_number($tongcong);?> |
format_vn_number($rw['GIAMLUONG']);?> |
format_vn_number($rw['CHIL_THANHTOAN']);?> |
format_vn_number($conlai);?> |
|
|
|
|
| |
">Không tìm thấy thông tin. |
checkQuyenChucNang('ql_dongiagiocong','xem')){ ?>
| Tổng cộng |
|
|
format_vn_number($tong_mucluong); ?> |
format_vn_number($tong_luong,2); ?> |
format_vn_number($tong_tienan,2); ?> |
format_vn_number($tong_phucap,2); ?>
|
format_vn_number($tong_thangtruoc);?> |
format_vn_number($tong_tangluong);?> |
format_vn_number($tong_truluong);?> |
format_vn_number($tong_tamung);?> |
format_vn_number($tong_tongcong);?> |
format_vn_number($tong_giamluong);?> |
format_vn_number($tong_thanhtoan);?> |
format_vn_number($tong_conlai);?> |
|
|
|
| ">
|