Browse Source

#customer SOA

Ime-london-webcore
Leeza Baidar 9 months ago
parent
commit
fe6dedabc0
  1. 4
      Swift.web/Remit/CustomerSOA/CustomerSoaReceipt.aspx.cs
  2. 2
      Swift.web/Remit/CustomerSOA/List.aspx
  3. 3
      Swift.web/Remit/CustomerSOA/List.aspx.cs

4
Swift.web/Remit/CustomerSOA/CustomerSoaReceipt.aspx.cs

@ -88,9 +88,11 @@ namespace Swift.web.Remit.CustomerSOA
txtDob.InnerText = firstRow["sdob"].ToString();
int sNo = 1;
double totalAmt = 0;
double totalPayoutAmt = 0;
foreach (DataRow dr in dt.Rows)
{
totalAmt += Convert.ToDouble(dr["tAmt"].ToString());
totalPayoutAmt += Convert.ToDouble(dr["pAmt"].ToString());
DateTime date = DateTime.Parse(dr["approvedDate"].ToString());
string approvedDate = date.ToString("yyyy-MM-dd");
sb.AppendLine("<tr class=\"table-info\">");
@ -110,7 +112,7 @@ namespace Swift.web.Remit.CustomerSOA
sb.AppendLine("<td colspan=\"3\" style=\"text-align: center;\" class=\"tright\">TOTAL</td>");
sb.AppendLine(" <td style=\"text-align: center;\" class=\"tright\">" + GetStatic.ShowDecimal(totalAmt.ToString()) + " " + firstRow["collCurr"].ToString() + "</td>");
sb.AppendLine("<td>&nbsp;</td>");
sb.AppendLine("<td>&nbsp;</td>");
sb.AppendLine(" <td style=\"text-align: center;\" class=\"tright\">" + GetStatic.ShowDecimal(totalPayoutAmt.ToString()) + " " + firstRow["payoutCurr"].ToString() + "</td>");
return sb.ToString();
}
}

2
Swift.web/Remit/CustomerSOA/List.aspx

@ -177,7 +177,7 @@
<label class="control-label">
&nbsp;</label><br />
<asp:Button ID="searchButton" Text="Search" class="btn btn-primary" runat="server" OnClick="searchButton_Click" />
<input name="button3" type="button" id="btnAdvSearch" onclick="PickSenderData('a');" class="btn btn-primary" value="Advance Search" />
<input name="button3" type="button" id="btnAdvSearch" onclick="PickSenderData('a');" class="btn btn-primary" style="display:none;" value="Advance Search" />
<input name="button4" type="button" id="btnClear" value="Clear List" class="btn btn-primary" onclick="ClearAllCustomerInfo();" />
</div>
</div>

3
Swift.web/Remit/CustomerSOA/List.aspx.cs

@ -124,7 +124,7 @@ namespace Swift.web.Remit.CustomerSOA
_grid.ColumnList = new List<GridColumn>
{
new GridColumn("ID", "Transaction Id", "", "T"),
new GridColumn("controlNo", "JME No", "", "T"),
new GridColumn("controlNo", "IME No", "", "T"),
new GridColumn("senderName", "Sender Name", "", "T"),
new GridColumn("receiverName", "ReceiverName", "", "T"),
new GridColumn("approvedDate", "Send Date", "", "D"),
@ -148,6 +148,7 @@ namespace Swift.web.Remit.CustomerSOA
_grid.ShowCheckBox = true;
_grid.IsGridWidthInPercent = true;
_grid.MultiSelect = true;
_grid.DownloadAll = true;
string sql = "";
string searchType = HiddenSearchType.Value.ToString();
if (!string.IsNullOrEmpty(customerId))

Loading…
Cancel
Save