Skip to content

Commit

Permalink
PAY-651 ccd reference and Case reference added back into CSV report (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sacsdam authored and jaleen committed Mar 22, 2018
1 parent 124c86d commit 5306ac0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ public String toCardPaymentCsv() {
.add(getServiceName())
.add(getPaymentGroupReference())
.add(getPaymentReference())
.add(getCcdCaseNumber())
.add(getCaseReference())
.add(sdf.format(getDateCreated()))
.add(sdf.format(getDateUpdated()))
.add(getStatus())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ public Map<String, Map<String, FeeVersionDto>> getFeesVersionsData() {
public Map<String, Fee2Dto> getFeesDtoMap() {
try {
if (feesDtoMap.isEmpty()) {
if (feesRegisterClient.getFeesDataAsMap().isPresent())
feesDtoMap = feesRegisterClient.getFeesDataAsMap().get();
Optional<Map<String, Fee2Dto>> optionalFeesDtoMap = feesRegisterClient.getFeesDataAsMap();
if (optionalFeesDtoMap.isPresent()) {
feesDtoMap = optionalFeesDtoMap.get();
}
}
} catch (Exception ex) {
LOG.error("FeesService - Unable to get fees data." + ex.getMessage());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class PaymentsReportService {

private static final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd-HH-mm-ss");

private static final String CARD_PAYMENTS_HEADER = "Service,Payment Group reference,Payment reference,"
private static final String CARD_PAYMENTS_HEADER = "Service,Payment Group reference,Payment reference,CCD reference,Case reference,"
+ "Payment created date,Payment status updated date,Payment status,Payment channel,Payment method,Payment amount,"
+ "Site id,Fee code,Version,Calculated amount,Memoline,Natural account code,"
+ "Fee code,Version,Calculated amount,Memoline,Natural account code,"
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.9
2.1.10

0 comments on commit 5306ac0

Please sign in to comment.