환불시 Database Insert Date 버그 수정
This commit is contained in:
@@ -774,7 +774,7 @@ namespace HSUCO_Cargo_Garage_Operation_Program
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
query = $"INSERT INTO LedgerProceeds(UserNo, Type, Amount, Date) Values('{no}',{(int)EProceedsType.Refunds},{-amount},'{DateTime.Now}')";
|
query = $"INSERT INTO LedgerProceeds(UserNo, Type, Amount, Date) Values('{no}',{(int)EProceedsType.Refunds},{-amount},'{DateTime.Now.DateTimeDatabase()}')";
|
||||||
using (var command = _sqLiteConnection.CreateCommand())
|
using (var command = _sqLiteConnection.CreateCommand())
|
||||||
{
|
{
|
||||||
command.CommandText = query;
|
command.CommandText = query;
|
||||||
|
@@ -74,7 +74,7 @@
|
|||||||
this.metroTabControl_Main.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.metroTabControl_Main.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.metroTabControl_Main.Location = new System.Drawing.Point(20, 60);
|
this.metroTabControl_Main.Location = new System.Drawing.Point(20, 60);
|
||||||
this.metroTabControl_Main.Name = "metroTabControl_Main";
|
this.metroTabControl_Main.Name = "metroTabControl_Main";
|
||||||
this.metroTabControl_Main.SelectedIndex = 3;
|
this.metroTabControl_Main.SelectedIndex = 0;
|
||||||
this.metroTabControl_Main.Size = new System.Drawing.Size(984, 688);
|
this.metroTabControl_Main.Size = new System.Drawing.Size(984, 688);
|
||||||
this.metroTabControl_Main.TabIndex = 0;
|
this.metroTabControl_Main.TabIndex = 0;
|
||||||
this.metroTabControl_Main.UseSelectable = true;
|
this.metroTabControl_Main.UseSelectable = true;
|
||||||
|
Reference in New Issue
Block a user