....
This commit is contained in:
@@ -69,7 +69,7 @@ namespace FPJ0000.OtConfirm
|
||||
private void fHolyRequestAdd_Load(object sender, EventArgs e)
|
||||
{
|
||||
curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.holyreq));
|
||||
|
||||
|
||||
|
||||
//관리자라면 관리자패널을 활성해준다.
|
||||
if (dr.RowState == DataRowState.Detached)
|
||||
@@ -111,6 +111,13 @@ namespace FPJ0000.OtConfirm
|
||||
if (tbDays.Text.IsNumeric()) vDay = int.Parse(tbDays.Text.Trim());
|
||||
if (tbTimes.Text.IsNumeric()) vTime = float.Parse(tbTimes.Text.Trim());
|
||||
|
||||
if (vDay > 0 && vTime > 0)
|
||||
{
|
||||
FCOMMON.Util.MsgE("사용일/시간을 동시에 입력할 수는 없습니다.\r\n" +
|
||||
"대체휴가의 경우에만 시간을 입력하시기 바랍니다");
|
||||
return;
|
||||
}
|
||||
|
||||
if (vDay < 1 && vTime < 0.1)
|
||||
{
|
||||
FCOMMON.Util.MsgE("사용 일/시간 값을 입력해주세요\n대체휴가에는 시간을 입력하세요");
|
||||
@@ -132,7 +139,7 @@ namespace FPJ0000.OtConfirm
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
dr.HolyReason = tbReason.Text.Trim();
|
||||
dr.HolyLocation = tbLocation.Text.Trim();
|
||||
@@ -157,7 +164,7 @@ namespace FPJ0000.OtConfirm
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void cmbPreset_SelectedIndexChanged(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user