Skip to content

Commit 0f46308

Browse files
committed
Showed the Highest Voucher Section and corrected data extraction in Remaining and Extra Amounts Section.
1 parent 50ea53f commit 0f46308

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

WebApplication2/Customer/Pages/CustomerComponent.aspx.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ protected void Page_Load(object sender, EventArgs e)
1818
// Example input values, replace with actual inputs from user or session
1919
MobileNo = Session["accountmn"] as String;
2020
//int NationalID = 2; // Example NationalID
21-
//string PlanName = "Premium Plan"; // Example PlanName
21+
string PlanName = "Splan1"; // Example PlanName
2222

2323
//// ShowConsoleMessage("Retrieving all active benefits...");
2424
ShowAllServicePlans(connStr);
@@ -31,7 +31,7 @@ protected void Page_Load(object sender, EventArgs e)
3131
//ShowUnresolvedTickets(connStr, NationalID);
3232

3333
//ShowConsoleMessage("Retrieving the highest voucher...");
34-
//ShowHighestVoucher(connStr, MobileNo);
34+
ShowHighestVoucher(connStr, MobileNo);
3535

3636
//ShowConsoleMessage("Retrieving remaining amount for the last payment...");
3737
//ShowRemainingAmount(connStr, MobileNo, PlanName);
@@ -726,7 +726,7 @@ protected void btnSubmit_Cashback(object sender, EventArgs e)
726726
protected void btnSubmit_RemainingExtraAmount(object sender, EventArgs e)
727727
{
728728
string connStr = WebConfigurationManager.ConnectionStrings["Milestone2DB_24"].ToString();
729-
string PlanName = TextBoxNationalID.Text;
729+
string PlanName = txtPlanName.Text;
730730
ShowRemainingAmount(connStr, MobileNo, PlanName);
731731
ShowExtraAmount(connStr, MobileNo, PlanName);
732732
ClearConsole();

0 commit comments

Comments
 (0)