diff --git a/NKC_WF/WebUserControls/cmp_batchDetail.ascx b/NKC_WF/WebUserControls/cmp_batchDetail.ascx
index d60e3b1..211e412 100644
--- a/NKC_WF/WebUserControls/cmp_batchDetail.ascx
+++ b/NKC_WF/WebUserControls/cmp_batchDetail.ascx
@@ -98,14 +98,15 @@
diff --git a/NKC_WF/WebUserControls/cmp_batchDetail.ascx.cs b/NKC_WF/WebUserControls/cmp_batchDetail.ascx.cs
index 41a8c77..3278732 100644
--- a/NKC_WF/WebUserControls/cmp_batchDetail.ascx.cs
+++ b/NKC_WF/WebUserControls/cmp_batchDetail.ascx.cs
@@ -328,7 +328,11 @@ namespace NKC_WF.WebUserControls
protected void txtRatio_TextChanged(object sender, EventArgs e)
{
- lblSplitRatio.Text = txtRatio.Text;
+ int valRatio = 0;
+ int.TryParse(txtRatio.Text, out valRatio);
+ lblRatio01.Text = $"{valRatio}";
+ lblRatio02.Text = $"{100 - valRatio}";
+ lblSplitRatio.Text = $"{valRatio}/{100 - valRatio}";
}
#endregion Protected Methods
diff --git a/NKC_WF/WebUserControls/cmp_batchDetail.ascx.designer.cs b/NKC_WF/WebUserControls/cmp_batchDetail.ascx.designer.cs
index b225acc..c6828d8 100644
--- a/NKC_WF/WebUserControls/cmp_batchDetail.ascx.designer.cs
+++ b/NKC_WF/WebUserControls/cmp_batchDetail.ascx.designer.cs
@@ -68,6 +68,15 @@ namespace NKC_WF.WebUserControls
///
protected global::System.Web.UI.WebControls.Label lblTestJson;
+ ///
+ /// lblRatio01 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblRatio01;
+
///
/// lblSplitRatio control.
///
@@ -77,6 +86,15 @@ namespace NKC_WF.WebUserControls
///
protected global::System.Web.UI.WebControls.Label lblSplitRatio;
+ ///
+ /// lblRatio02 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblRatio02;
+
///
/// txtRatio control.
///