Update SpeedOfferController.java

This commit is contained in:
Thiloparn 2021-03-25 19:42:41 +01:00 committed by GitHub
parent f2324efb9f
commit 042f8f2731
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,7 +79,7 @@ public class SpeedOfferController {
Client client = this.clientService.getCurrentclient();
if(speedOffer.getClient().equals(client)) {
speedOffer.setType(StatusOffer.active);
speedOffer.setCode("SE-"+speedOfferId);
speedOffer.setCode("SP-"+speedOfferId);
this.speedOfferService.saveSpeedOffer(speedOffer);
} else {
modelMap.addAttribute("message", "You don't have access to this speed offer");