Skip to content

Commit

Permalink
fix #271: do not update billing address, timestamp and payment method
Browse files Browse the repository at this point in the history
  • Loading branch information
cbellone committed Apr 6, 2017
1 parent 13296f0 commit 3761d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/alfio/manager/AdminReservationManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private Result<Boolean> performUpdate(String reservationId, Event event, TicketR
if(arm.isUpdateContactData()) {
AdminReservationModification.CustomerData customerData = arm.getCustomerData();
ticketReservationRepository.updateTicketReservation(reservationId, r.getStatus().name(), customerData.getEmailAddress(), customerData.getFullName(),
customerData.getFirstName(), customerData.getLastName(), r.getUserLanguage(), null, null, null);
customerData.getFirstName(), customerData.getLastName(), r.getUserLanguage(), r.getBillingAddress(), r.getConfirmationTimestamp(), Optional.ofNullable(r.getPaymentMethod()).map(PaymentProxy::name).orElse(null));
}
arm.getTicketsInfo().stream()
.filter(TicketsInfo::isUpdateAttendees)
Expand Down

0 comments on commit 3761d83

Please sign in to comment.