휴가 승인자 정보 추적
This commit is contained in:
@@ -46,6 +46,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.holyreq));
|
||||
|
||||
this.dtED.Text = DateTime.Now.AddMonths(1).ToShortDateString();// sdate.AddMonths(1).AddDays(-1).ToShortDateString();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.OtConfirm
|
||||
{
|
||||
public partial class fHolyRequestAdd : Form
|
||||
public partial class fHolyRequestAdd : fBase
|
||||
{
|
||||
DSKuntae.EETGW_HolydayRequestRow dr;
|
||||
Boolean binit = false;
|
||||
@@ -111,6 +112,7 @@ namespace FPJ0000.OtConfirm
|
||||
public bool IsAdmin { get { return curLevel >= 5; } }
|
||||
private void fHolyRequestAdd_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.holyreq));
|
||||
|
||||
|
||||
@@ -421,6 +423,18 @@ namespace FPJ0000.OtConfirm
|
||||
else if (rad1.Checked) dr.conf = 1;
|
||||
else if (rad2.Checked) dr.conf = 2;
|
||||
else dr.conf = 0;
|
||||
|
||||
if(rad1.Checked || rad2.Checked)
|
||||
{
|
||||
dr.conf_id = FCOMMON.info.Login.no;
|
||||
dr.conf_time = DateTime.Now;
|
||||
}
|
||||
else
|
||||
{
|
||||
dr.Setconf_idNull();
|
||||
dr.Setconf_timeNull();
|
||||
}
|
||||
|
||||
dr.EndEdit();
|
||||
|
||||
DialogResult = DialogResult.OK;
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace FPJ0000
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
//this.dtSD.Text = DateTime.Now.ToString("yyyy-MM-01");
|
||||
//var sdate = DateTime.Parse(dtSD.Text);
|
||||
this.dtED.Text = DateTime.Now.ToShortDateString();// sdate.AddMonths(1).AddDays(-1).ToShortDateString();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.OtConfirm
|
||||
{
|
||||
public partial class fOTConfirmOK : Form
|
||||
public partial class fOTConfirmOK : fBase
|
||||
{
|
||||
dsPRJ.JobReportRow[] dr;
|
||||
//Boolean binit = false;
|
||||
@@ -26,6 +27,7 @@ namespace FPJ0000.OtConfirm
|
||||
int curLevel = 0;
|
||||
private void fHolyRequestAdd_Load(object sender, EventArgs e)
|
||||
{
|
||||
EnsureVisibleAndUsableSize();
|
||||
curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.holyreq));
|
||||
button1.Enabled = curLevel >= 5;
|
||||
//binit = true;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.OtConfirm
|
||||
{
|
||||
public partial class fOTConfirmValue : Form
|
||||
public partial class fOTConfirmValue : fBase
|
||||
{
|
||||
public fOTConfirmValue()
|
||||
{
|
||||
@@ -19,7 +20,7 @@ namespace FPJ0000.OtConfirm
|
||||
|
||||
private void fOTConfirmValue_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
EnsureVisibleAndUsableSize();
|
||||
}
|
||||
|
||||
private void btOK_Click(object sender, EventArgs e)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FCOMMON;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -10,7 +11,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace FPJ0000.OtConfirm
|
||||
{
|
||||
public partial class fOutCoomplete : Form
|
||||
public partial class fOutCoomplete : fBase
|
||||
{
|
||||
public fOutCoomplete(DSKuntae.EETGW_HolydayRequestRow dr)
|
||||
{
|
||||
@@ -23,7 +24,11 @@ namespace FPJ0000.OtConfirm
|
||||
else
|
||||
this.dtED.Value = DateTime.Parse(ed.ToShortDateString() + " " + dr.etime + ":00");
|
||||
}
|
||||
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
EnsureVisibleAndUsableSize();
|
||||
}
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (FCOMMON.Util.MsgQ("완료 할까요? 관리자 완료 메일이 발송 됩니다") != DialogResult.Yes) return;
|
||||
|
||||
Reference in New Issue
Block a user