new RegisterMachineParcelPayDialog(getParent().getShell(),
registration, parcelId).open();
} else {
windowControl.openRegistrationControlCenter(registration
.getStudent().getId(), registrationId);
new RegistrationParcelPaymentDialog(getParent().getShell(),
registrationId, parcelId).open();
}
} catch (Exception e) {
logger.error("GetRegistration Exception: ", e);
}