Browse Source

#txn report

feature/Redmine-16525-Cosmetic_Changes
Leeza Baidar 2 months ago
parent
commit
2a02ea6427
  1. 13
      Swift.web/Remit/Transaction/Reports/TransactionNew/TranReport.aspx.cs
  2. 3
      Swift.web/Swift.web.csproj

13
Swift.web/Remit/Transaction/Reports/TransactionNew/TranReport.aspx.cs

@ -185,13 +185,18 @@ namespace Swift.web.Remit.Transaction.Reports.TransactionNew
{ {
decimal total = partnerTable.AsEnumerable() decimal total = partnerTable.AsEnumerable()
.Sum(row => decimal.TryParse(row[i].ToString(), out decimal val) ? val : 0); .Sum(row => decimal.TryParse(row[i].ToString(), out decimal val) ? val : 0);
if(i == 17 && i == 27)
//if(i == 17)
//{
// strTable.Append("<td align=\"left\"><b>" + total + "</b></td>");
//}
//else
if (i == 26)
{ {
strTable.Append("<td align=\"left\"><b>" + total + "</b></td>");
strTable.Append("<td align=\"left\"><b>" + total + " USD</b></td>");
} }
else if (i == 26)
else if(i == 27)
{ {
strTable.Append("<td align=\"left\"><b>" + total + " USD</b></td>");
strTable.Append("<td align=\"left\"><b>" + total + "</b></td>");
} }
else else
{ {

3
Swift.web/Swift.web.csproj

@ -9727,12 +9727,15 @@
</Compile> </Compile>
<Compile Include="Remit\Transaction\VerifyMobileTransaction\VerifyDebitCardTxn.aspx.cs"> <Compile Include="Remit\Transaction\VerifyMobileTransaction\VerifyDebitCardTxn.aspx.cs">
<DependentUpon>VerifyDebitCardTxn.aspx</DependentUpon> <DependentUpon>VerifyDebitCardTxn.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Remit\Transaction\VerifyMobileTransaction\VerifyInwardTransaction.aspx.cs"> <Compile Include="Remit\Transaction\VerifyMobileTransaction\VerifyInwardTransaction.aspx.cs">
<DependentUpon>VerifyInwardTransaction.aspx</DependentUpon> <DependentUpon>VerifyInwardTransaction.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
</Compile> </Compile>
<Compile Include="Remit\Transaction\VerifyMobileTransaction\VerifyDebitCardTxn.aspx.designer.cs"> <Compile Include="Remit\Transaction\VerifyMobileTransaction\VerifyDebitCardTxn.aspx.designer.cs">
<DependentUpon>VerifyDebitCardTxn.aspx</DependentUpon> <DependentUpon>VerifyDebitCardTxn.aspx</DependentUpon>
</Compile>
<Compile Include="Remit\Transaction\VerifyMobileTransaction\VerifyInwardTransaction.aspx.designer.cs"> <Compile Include="Remit\Transaction\VerifyMobileTransaction\VerifyInwardTransaction.aspx.designer.cs">
<DependentUpon>VerifyInwardTransaction.aspx</DependentUpon> <DependentUpon>VerifyInwardTransaction.aspx</DependentUpon>
</Compile> </Compile>

Loading…
Cancel
Save