인증서 발급 일자 오류 수정
This commit is contained in:
@@ -4,7 +4,6 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Runtime.Remoting.Channels;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
@@ -151,7 +150,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl
|
||||
break;
|
||||
}
|
||||
string vehicleType = "";
|
||||
switch(nowUserList[i].VehicleType)
|
||||
switch (nowUserList[i].VehicleType)
|
||||
{
|
||||
case EVehicleType.Large_Down:
|
||||
vehicleType = "대형(4.5톤 미만)";
|
||||
@@ -446,6 +445,8 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl
|
||||
int lastNo = Database.GetLastCertificate(nowDateTime.Year);
|
||||
lastNo++;
|
||||
certificateInformation.IssueNumber = nowDateTime.Year.ToString() + "-C" + lastNo.ToString();
|
||||
certificateInformation.StartDate = promotion.StartDate;
|
||||
certificateInformation.EndDate = promotion.EndDate;
|
||||
|
||||
SetCertificateInformation setCertificateInformation = new SetCertificateInformation();
|
||||
setCertificateInformation.No = certificateInformation.IssueNumber;
|
||||
@@ -540,12 +541,12 @@ namespace HSUCO_Cargo_Garage_Operation_Program.CustomUserControl
|
||||
if (status == EPaymentStatus.Delete)
|
||||
{
|
||||
DialogResult dialogResult = MetroMessageBox.Show(this, "해당 사용자는 이미 삭제된 사용자입니다. 복구 하시겠습니까?", "Information", MessageBoxButtons.YesNo, MessageBoxIcon.Information);
|
||||
if(dialogResult== DialogResult.No )
|
||||
if (dialogResult == DialogResult.No)
|
||||
{
|
||||
return;
|
||||
}
|
||||
bool result = Database.DeleteUserUndo(no);
|
||||
if(result)
|
||||
if (result)
|
||||
{
|
||||
MetroMessageBox.Show(this, "성공적으로 복구 하였습니다..", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
DataChange();
|
||||
|
Reference in New Issue
Block a user