....
This commit is contained in:
@@ -54,6 +54,7 @@ namespace FCOMMON
|
||||
public static Boolean NotShowJobReportview = false;
|
||||
public static double dollertowon = 1200;
|
||||
public static Boolean ShowBuyerror = true;
|
||||
public static Boolean Disable_8hourover = false;
|
||||
public static sUserInfo Login;
|
||||
public static string Path;
|
||||
public static string CS;
|
||||
|
||||
@@ -417,6 +417,21 @@ namespace FPJ0000.JobReport_
|
||||
return;
|
||||
}
|
||||
|
||||
if(dr.RowState == DataRowState.Added || dr.RowState == DataRowState.Detached )
|
||||
{
|
||||
if(FCOMMON.info.Disable_8hourover)
|
||||
{
|
||||
var h = Single.Parse(tbHrs.Text);
|
||||
if (h > 8)
|
||||
{
|
||||
FCOMMON.Util.MsgE("근무시간은 8시간을 초과할 수 없습니다. 초과 근무는 [초과시간] 을 사용하세요");
|
||||
tbHrs.Focus();
|
||||
tbHrs.SelectAll();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (cmbType.Text.Trim() == "")
|
||||
{
|
||||
FCOMMON.Util.MsgE("업무형태를 선택하세요");
|
||||
|
||||
Reference in New Issue
Block a user