|
|
  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 |
Mã NV |
Tên nhân viên |
Chức vụ |
Ngày sinh |
Số ngày làm |
Lương cơ bản |
Giờ ca ngày |
Tiền ca ngày |
Lương ca đêm |
Giờ ca đêm |
Tiền ca đêm |
Thưởng (hours) |
Tiền thưởng |
Phụ cấp trưởng ca |
Thưởng |
Tăng ca |
Ứng lương |
Đi trễ |
Cà phê nội bộ |
Tổng chưa trừ |
Thực nhận |
Ngày thanh toán |
Hình thức nhận |
Ghi chú |
modify('last day of this month');
$last_day_this_month = $date->format('Y-m-d');
$check_thang_truoc = strtotime($last_day_this_month) < strtotime(date('Y-m-d')) ? true : false;
while($rw=$conn->fetchRow($rs)){
$stt++;
$songaylam = $rw['CHIL_SONGAYCONG'];
$tong_ngaylam += $songaylam;
$giocangay = $rw['CHIL_GIOCANGAY'];
$tong_giocangay += $giocangay;
$giocadem = $rw['CHIL_GIOCADEM'];
$tong_giocadem += $giocadem;
$luong =0;
$phucap =0;
if($check_thang_truoc){
if($rw['MUCL_LUONGGIO'] == 1){
$mucluong = $rw['CHIL_MUCLUONGNGAY'];
} else {
$mucluong = $rw['CHIL_LUONG'];
}
$mucluongdem = $rw['CHIL_MUCLUONGDEM'];
} else {
$mucluong = $rw['MUCL_LUONG'];
$mucluongdem = $rw['MUCL_LUONGCADEM'];
}
$phucap = $rw['PHUCAP'];
$luongcangay = $giocangay * $mucluong;
$tong_tiencangay += $luongcangay;
$luongcadem = $giocadem * $mucluongdem;
$tong_tiencadem += $luongcadem;
$giothuong = $rw['CHIL_GIOTHUONG'];
$tienthuonggio = $rw['CHIL_TIENTHUONGGIO'];
$phucaptruongca = $rw['CHIL_PHUCAPTRUONGCA'];
$tong_giothuong += $giothuong;
$tong_tienthuonggio += $tienthuonggio;
$tong_phucaptruongca += $phucaptruongca;
$tienthuong = $rw['CHIL_THUONG'];
$tong_thuong += $tienthuong;
$tientangca = $rw['TONGTANG'];
$tong_tangca += $tientangca;
$tienditre = $rw['CHIL_DITRE'];
$tiencaphenoibo = $rw['CHIL_CAPHENOIBO'];
$tong_ditre += $tienditre;
$tong_tamung += $rw['TONGTAMUNG'];
$tong_caphe += $tiencaphenoibo;
$tongchuatru = 0;
$thucnhan = 0;
$hinhthucnhan = $rw['CHIL_HTTHANHTOAN'];
if($hinhthucnhan == ''){
$hinhthucnhan = 0;
}
$tongchuatru = $luongcangay + $luongcadem + $tienthuonggio + $phucaptruongca + $tienthuong + $tientangca;
$thucnhan = $tongchuatru - $tienditre - $tiencaphenoibo - $rw['TONGTAMUNG'];
$tong_chuatru += $tongchuatru;
$tong_thucnhan += $thucnhan;
?>
|
"/>
"/>
|
|
|
|
|
|
format_vn_number($mucluong,2); ?>
|
|
format_vn_number($luongcangay,2); ?> |
format_vn_number($mucluongdem,2); ?> |
|
format_vn_number($luongcadem,2); ?> |
|
format_vn_number($tienthuonggio,2); ?> |
|
|
format_vn_number($tientangca);?> |
format_vn_number($rw['TONGTAMUNG']);?> |
|
|
format_vn_number($tongchuatru);?> |
format_vn_number($thucnhan);?> |
|
buildSelect('HinhThucNhan',$arrayHinhThucThanhToan,$hinhthucnhan,'textbox1 width_120',array(),' onchange="luu_hinh_thuc_thanh_toan('.$rw['NV_ID'].', this.value) " ','',false); ?>
|
|
| |
Không tìm thấy thông tin. |
| Tổng cộng |
format_vn_number($tong_ngaylam);?> |
|
format_vn_number($tong_giocangay);?> |
format_vn_number($tong_tiencangay);?> |
|
format_vn_number($tong_giocadem);?> |
format_vn_number($tong_tiencadem);?> |
format_vn_number($tong_giothuong);?> |
format_vn_number($tong_tienthuonggio);?> |
format_vn_number($tong_phucaptruongca);?> |
format_vn_number($tong_thuong);?> |
format_vn_number($tong_tangca);?> |
format_vn_number($tong_tamung);?> |
format_vn_number($tong_ditre);?> |
format_vn_number($tong_caphe);?> |
format_vn_number($tong_chuatru);?> |
format_vn_number($tong_thucnhan);?> |