Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!checkDate(wybranyFryzjer.get(0), czaswizyty, koniecwizyty))
- {
- wybranyFryzjer.get(0);
- wiz = wizytaRepository.save(wiz);
- Notification.show("Zarezerwowano wizytę", Notification.Type.WARNING_MESSAGE);
- }else
- Notification.show("Nie można zarezerwować wizyty", Notification.Type.WARNING_MESSAGE);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement