private bool check_validate_data_is_ok()
{
if (m_sle_chon_nhan_vien.EditValue == null)
{
CHRM_BaseMessages.MsgBox_Error("Vui lòng chọn nhân viên!");
return false;
}
else if (m_sle_quy_tien.EditValue == null)
{
CHRM_BaseMessages.MsgBox_Error("Vui lòng chọn quỹ tiền!");
return false;
}
//else if (m_txt_thang.Text.Trim() == "" )
//{
// CHRM_BaseMessages.MsgBox_Error("Vui lòng nhập tháng còn thiếu!");
// return false;
//}
//else if (m_txt_nam.Text.Trim() == "")
//{
// CHRM_BaseMessages.MsgBox_Error("Vui lòng nhập năm còn thiếu!");
// return false;
//}
else if (m_txt_so_tien.Text.Trim() =="" || m_txt_thuc_linh.Text.Trim() == "")
{
CHRM_BaseMessages.MsgBox_Error("Vui lòng nhập số tiền còn thiếu!");
return false;
}
return true;
}