@FXML
	private void acceptOffer(ActionEvent event) {
		if (offersList.getSelectionModel().getSelectedIndex() >= 0) {
			Offer offer = HockmanMain.currManagedTeam.getTransfer()
					.getSellNegOffer(
							offersList.getSelectionModel().getSelectedIndex());
			if (!offer.isImmediately()
					&& offer.getPlayer().getFee() <= offer.getBuyer().getFinances()
							.calcCurrTotal()
					|| offer.isImmediately()
					&& (offer.getTrade() != null || offer.getPlayer().getFee()
							* Transfer.TRANS_IMMEDIATELY_FACTOR <= offer.getBuyer()
							.getFinances().calcCurrTotal())) {
				int nofPlayers = Transfer.buyerNofPlayers(offer,
						HockmanMain.game.getLeague().getPlayerVector());
				if (nofPlayers < ch.hockman.model.team.Team.TEAM_MAXTEAMPLAYER
						+ ch.hockman.model.team.Team.TEAM_MAXFARMPLAYER) {
					// do lineup of AI buyer after immediate buying from managed
					// team
					if (offer.isImmediately()) {
						ch.hockman.model.team.Team buyer = offer.getBuyer();
						HockmanMain.currManagedTeam.getTransfer().acceptOffer(
								offer, HockmanMain.game.getNews());
						CoachAI.Analysis dummy = new CoachAI.Analysis();
						buyer.getLineUp().farmAndFirstTeamKI(
								buyer,
								dummy,
								HockmanMain.game.getLeague().getModus()
										.maxNofForeigners());
						buyer.getLineUp().lineUpAI(
								buyer,
								dummy,
								HockmanMain.game.getLeague().getModus()
										.maxNofForeigners());
					} else {
						HockmanMain.currManagedTeam.getTransfer().acceptOffer(
								offer, HockmanMain.game.getNews());
					}
				} else {
					HockmanMain.currManagedTeam.getTransfer().rejectOffer(
							HockmanMain.currManagedTeam.getTransfer()
									.getSellNegOffer(
											offersList.getSelectionModel()
													.getSelectedIndex()));
					HockmanMain.msgBoxLbl = Util.getModelResourceBundle().getString("L_OTHER_NOT_ENOUGH_SPACE");
					HockmanMain.stageHandler
							.showModalStageAndWait("MessageBox.fxml", Util.getModelResourceBundle().getString("L_MASKTITLE_MESSAGEBOX"));
				}
			} else {
				// buyer has not enough money
				HockmanMain.currManagedTeam.getTransfer().rejectOffer(
						HockmanMain.currManagedTeam.getTransfer()
								.getSellNegOffer(
										offersList.getSelectionModel()
												.getSelectedIndex()));
				HockmanMain.msgBoxLbl = Util.getModelResourceBundle().getString("L_OTHER_NOT_ENOUGH_CASH");
				HockmanMain.stageHandler
						.showModalStageAndWait("MessageBox.fxml", Util.getModelResourceBundle().getString("L_MASKTITLE_MESSAGEBOX"));
			}
			showForm();
		}

	}