<?php

namespace Modules\Partners\Corporates;

class View_Update extends \App\Mvc\View_Popup_Entity_GeneralAbstract
{

	/**
	 * Attach vars that will be sent to the parent window on popup close
	 * @see \App\Mvc\View_Popup_Entity_GeneralAbstract::render_formExecutedOk()
	 */
	protected function render_formExecutedOk()
	{
		$id 	= $this->input['idRecord'];
		$idReservation = $this->input['formData']['idReservation'];

		$this->setOutputVar('execOutput', ['id'=>$id, 'idReservation'=>$idReservation]);
	}

}
