private bool check_data_is_ok()
{
if (m_sle_chon_nhan_vien.EditValue == null || m_sle_chon_nhan_vien.EditValue == "")
{
CHRM_BaseMessages.MsgBox_Error(CONST_ID_MSGBOX.ERROR_CHUA_CHON_NHAN_VIEN);
return false;
}
//if (m_txt_chon_thang.Text == "")
//{
// CHRM_BaseMessages.MsgBox_Error(CONST_ID_MSGBOX.ERROR_CHUA_CHON_THANG);
// return false;
//}
//if (m_txt_chon_nam.Text == "")
//{
// CHRM_BaseMessages.MsgBox_Error(CONST_ID_MSGBOX.ERROR_CHUA_CHON_NAM);
// return false;
//}
if (CHRMCommon.thang_da_chot_bang_luong(m_txt_thang, m_txt_nam))
{
CHRM_BaseMessages.MsgBox_Error(CONST_ID_MSGBOX.ERROR_THANG_DA_CHOT_BANG_LUONG);
return false;
}
return true;
}