Browse Source

Transaction detail

feature/19315_Customer-Registration-new
Dinesh 10 months ago
parent
commit
439dedcd1a
  1. 2
      CustomerOnlineV2/CustomerOnlineV2.Common/Models/HomeModel/HomeModel.cs
  2. 6
      CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/HomeRepository/HomeRepository.cs
  3. 7
      CustomerOnlineV2/CustomerOnlineV2/Views/Home/Index.cshtml

2
CustomerOnlineV2/CustomerOnlineV2.Common/Models/HomeModel/HomeModel.cs

@ -56,6 +56,8 @@ namespace CustomerOnlineV2.Common.Models.HomeModel
public string? TransactionYear { get; set; }
public string? PaymentMethod { get; set; }
public string? PBankName { get; set; }
public string? BankBranch { get; set; }
public string? PromotionDiscount { get; set; }
public string? Amount { get; set; }
public string? Status { get; set; }
public string? PCurrency { get; set; }

6
CustomerOnlineV2/CustomerOnlineV2.Repository/Repository/HomeRepository/HomeRepository.cs

@ -193,15 +193,17 @@ namespace CustomerOnlineV2.Repository.Repository.HomeRepository
acAmt = Convert.ToString(item["tAmt"]),
Amount = Convert.ToString(item["Amount"]),
PBankName = Convert.ToString(item["PBankName"]),
BankBranch = Convert.ToString(item["pbankBranchName"]),
PaymentMethod = Convert.ToString(item["paymentMethod"]),
PromotionDiscount = Convert.ToString(item["PromotionDiscount"]),
ControlNo = Convert.ToString(item["controlNo"]),
pCountry = Convert.ToString(item["pCountry"]),
Id = Convert.ToString(item["Id"]),
TransactionDay = Convert.ToString(item["tranDate"]),
Rate = Convert.ToString(item["customerRate"]),
Status = Convert.ToString(item["Status"]),
receiverName = Convert.ToString(item["ReceiverName"])
});
receiverName = Convert.ToString(item["ReceiverName"])
}) ;
}
_response.CustomerTransaction = obj;
}

7
CustomerOnlineV2/CustomerOnlineV2/Views/Home/Index.cshtml

@ -146,8 +146,8 @@
<div class="px-3">
<ul class="list-unstyled">
<li class="mb-2" id="payAmt">Collected Amount (GBP) <span class="float-end text-3">GP</span></li>
<li class="mb-2" id="serviceCharge">Service Fee (GBP) <span class="float-end text-3"></span></li>
<li class="mb-2" id="reward">Reward Amount used (GBP)<span class="float-end text-3">0</span></li>
<li class="mb-2" id="serviceCharge">Service Fee (GBP) <span class="float-end text-3"></span></li>
<li class="mb-2" id="reward">Reward Amount used (GBP)<span class="float-end text-3"></span></li>
<li class="mb-2" id="tAmt">Total Sent Amount (GBP) <span class="float-end text-3"></span></li>
<li class="mb-2" id="exRate">Ex Rate (GBP-NPR) <span class="float-end text-3"></span></li>
</ul>
@ -497,6 +497,8 @@
$('#hDate').text(data.transactionDay);
$('#payAmt').find('span').text(data.cAmt);
$('#serviceCharge').find('span').text(data.serviceCharge);
$('#reward').find('span').text(data.promotionDiscount);
//$('#reward').next().text(data.promotionDiscount);
$('#tAmt').find('span').text(data.acAmt);
$('#exRate').find('span').text(data.rate);
$('#tAmtNpr').find('span').text(data.amount);
@ -506,6 +508,7 @@
$('#tranId').next().text(data.id);
$('#paymentMethod').next().text(data.paymentMethod);
$('#controlNo').next().text(data.controlNo);
$('#tstatus').next().text(data.status);

Loading…
Cancel
Save