휴가 승인자 정보 추적

This commit is contained in:
chi
2024-05-08 14:53:55 +09:00
parent 7eb2dbd2cd
commit e4f8981491
201 changed files with 1355 additions and 3219 deletions

View File

@@ -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;