
@{
	Layout = null;
}

<html>
<head>
	<title>UPES | Applicant Dashboard | Print Application </title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<base target="_blank">
	<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,700,800,900" rel="stylesheet">
	<style>
		td:nth-child(even) {
			padding: 15px 10px !important;
		}
		#tbldetails tr:nth-child(even) {
			background-color: #F3F3F3;
		}
		@@media print {
			 body {
				-webkit-print-color-adjust: exact;
			}
		}

		@@media print {
			.vendorListHeading td {
				color: #fff !important;
			}
		}
	</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="font-family: 'Montserrat', sans-serif;">

	<a id="printbutton" href="#" onclick="CallPrint('tblprint')" style="display: block;width: 300px;
	margin: 10px auto;
	background: #000;
	color: #fff;
	padding: 10px;
	text-align:center;
	border-radius: 4px;
	text-decoration: none;">Print Your Application Form</a>

	<table width="800" cellpadding="0" cellspacing="0" align="center" id="tblprint" style="border:1px solid black">
		<tr>
			<td><img src="/img/application/upes%20logo.png" style="width: 120px; padding-left: 10px;"></td>
			<td style="text-align:center;">
				<span style="color:#013F92;"><b>UPES - @ViewBag.ApplyYear</b></span><br />
				<b>Online Application Form</b>
			</td>
			<td style="text-align:center; font-size: 10px;">UPES University<br />Energy Acres, Bidholi, Dehradun,<br />Uttrakhand 248007.</td>
		</tr>
		<tr style="height: 50px;background-color:#000;" class="vendorListHeading">
			<td colspan="3" style="padding-left: 20px;color: #fff"><strong>Application Number: @ViewBag.appno</strong></td>
		</tr>

		<tr  style="height: 50px;">
			<td colspan="3" style="padding-left: 20px; border-bottom: 1px solid black;"><b>Personal Details:</b></td>
		</tr>
		<tr>
			<td colspan="3">
				<table border="0" width="100%" cellspacing="0" cellpadding="0" id="tbldetails">
					<tr style="height: 35px;">
						<td style="padding-left: 20px;">Full Name</td>
						<td style="padding-left: 20px;text-transform:capitalize;">@ViewBag.fname</td>
						<td rowspan="5" style="width: 170px;">

							@if (ViewBag.uploadimg != "")
							{
								<img src="/profileimages/@ViewBag.uploadimg" align="right" style="width: 170px; height: 220px;border: 2px solid;">
							}


						</td>
					</tr>
					<tr style="height: 35px;">
						<td style="padding-left: 20px;">Email Id</td>
						<td style="padding-left: 20px;">@ViewBag.email</td>
					</tr>
					@if (@ViewBag.Nationality == "indian")
					{
						<tr style="height: 100px;">
							<td style="padding-left: 20px;">Address</td>
							<td style="padding-left: 20px;text-transform:capitalize;">
								@ViewBag.address1
								<br /> @ViewBag.address2
								<br />@ViewBag.address3

								<br />   @ViewBag.city  @ViewBag.pincode

							</td>


						</tr>
					}

					else
					{
						<tr style="height: 35px;">

							<td style="padding-left: 20px;text-transform:capitalize;">&nbsp;</td>

							<td style="padding-left: 20px;text-transform:capitalize;">&nbsp;</td>


						</tr>
					}

					<tr style="height: 35px;">
						<td style="padding-left: 20px;">Date of Birth</td>
						<td style="padding-left: 20px;">@ViewBag.dob</td>
					</tr>

					@if (@ViewBag.Nationality == "indian")
					{
						<tr style="height: 35px;">
							<td style="padding-left: 20px;">Nationality</td>
							<td style="padding-left: 20px; text-transform:capitalize; ">@ViewBag.country</td>
						</tr>
						<tr style="height: 35px;">
							<td style="padding-left: 20px;">State</td>
							<td style="padding-left: 20px;text-transform:capitalize;">@ViewBag.state</td>
							<td style="width: 170px;">&nbsp;</td>
						</tr>
						<tr style="height: 35px;">
							<td style="padding-left: 20px;">City</td>
							<td style="padding-left: 20px;text-transform:capitalize;">@ViewBag.city</td>
							<td style="width: 170px;">&nbsp;</td>
						</tr>


					}

					@if (@ViewBag.Nationality == "nri")
					{
						<tr style="height: 35px;">
							<td style="padding-left: 20px;">Nationality</td>
							<td style="padding-left: 20px;text-transform:capitalize;">@ViewBag.country</td>
						</tr>
						<tr style="height: 35px;">
							<td style="padding-left: 20px;">City</td>
							<td style="padding-left: 20px;text-transform:capitalize;">@ViewBag.nricity</td>
							<td style="width: 170px;">&nbsp;</td>
						</tr>



					}

					<tr style="height: 35px;">
						<td style="padding-left: 20px;">Mobile No.</td>
						<td style="padding-left: 20px;">@ViewBag.phone</td>
						<td style="width: 170px;">&nbsp;</td>
					</tr>
					<tr style="height: 50px;">
						<td colspan="3" style="padding-left: 20px; border-bottom: 1px solid black; border-top: 1px solid black;"><b>Program Details:</b></td>
					</tr>

					<tr style="height: 35px;">
						<td style="padding-left: 20px;width:310px;">Course selected for UPES</td>
						<td style="padding-left: 20px;width:320px;">@ViewBag.coursename</td>
						<td style="width: 170px;">&nbsp;</td>
					</tr>

					@if (@ViewBag.program1 != "")
					{
						<tr style="height: 35px;">
							<td style="padding-left: 20px;">Program Preferences</td>
							<td style="padding-left: 20px;">1.)@ViewBag.program1</td>
							<td style="width: 170px;">&nbsp;</td>
						</tr>
					}
					@if (@ViewBag.program2 != "")
					{
						<tr style="height: 35px;">
							<td style="padding-left: 20px;"></td>
							<td style="padding-left: 20px;">2.) @ViewBag.program2</td>
							<td style="width: 170px;">&nbsp;</td>
						</tr>
					}

					@if (@ViewBag.program3 != "")
					{
						<tr style="height: 35px;">
							<td style="padding-left: 20px;"></td>
							<td style="padding-left: 20px;">3.) @ViewBag.program3</td>
							<td style="width: 170px;">&nbsp;</td>
						</tr>
					}

					@if (@ViewBag.Nationality == "indian")
					{

                <tr style="height: 35px;border-bottom:1px solid black;">
                    <td style="padding-left: 20px;border-bottom:1px solid black;">Application Category</td>
                    <td style="padding-left: 20px;border-bottom:1px solid black;">@ViewBag.appcat</td>
                    <td style="padding-left: 20px;border-bottom:1px solid black;">&nbsp;</td>
                </tr>
					}

					else
					{
                <tr style="height: 35px; border-bottom: 1px solid black;">
                    <td style="padding-left: 20px;border-bottom:1px solid black;">Application Category</td>
                    <td style="padding-left: 20px;border-bottom:1px solid black;">Non Exam</td>
                    <td style="padding-left: 20px;border-bottom:1px solid black;">&nbsp;</td>
                </tr>
					}
					<tr style="height: 35px;">
						<td style="padding-left: 20px; text-align: center; border-bottom: 1px solid black;" colspan="3">Payment Details: Application fee paid through online mode with the below particulars.</td>
					</tr>

				</table>



			</td>
		</tr>
		<tr style="height:30px;">
			<td style="padding-left: 20px;"><b>Transaction Number</b></td>
			<td style="padding-left: 20px; text-align:center;"><b>Transaction Date</b></td>
			<td style="padding-left: 20px; text-align:center;"><b>Transaction Amount (INR)</b></td>
		</tr>
		<tr style="height:30px;">
			<td style="padding-left: 20px;">@ViewBag.transactionNo</td>
			<td style="padding-left: 20px; text-align:center;">@ViewBag.paymentdate</td>
			<td style="padding-left: 20px; text-align:center;">@ViewBag.amount</td>
		</tr>
		<tr style="height:40px;">
			<td colspan="3">&nbsp;</td>
		</tr>



	</table>



</body>

</html>

<script type="text/javascript" src="../scripts/component.js?qr=@DateTime.Now.Ticks"></script>
<script type="text/javascript" src="../scripts/loader-min.js?qr=@DateTime.Now.Ticks"></script>

<script language="javascript">
	function CallPrint(strid) {
	   // $("#displayimage").css("display", "block");
	   // var prtContent = document.getElementById(strid);
	   // var WinPrint =
	   //window.open('', '', 'letf=0,top=0,width=1,height=1,toolbar=0,scrollbars=0,sta­tus=0');
	   // WinPrint.document.write(prtContent.innerHTML);
	   // WinPrint.document.close();
	   // WinPrint.focus();
	   // WinPrint.print();
	   // WinPrint.close();
		$("#printbutton").css("display", "none");
		window.print();
	}


</script>
<!--Start of SuperBot Chat Script-->

<script type="text/javascript">

window.$superbot||(function(d,s){var sb=$superbot=function(c){sb._.push(c)},$=sb.s=d.createElement(s),e=d.getElementsByTagName(s)[0];sb.set=function(o){sb.set._.push(o)};sb._=[];sb.set._=[];$.async=!0;$.setAttribute("charset","utf-8");$.src="https://app.superbot.works/agent.js?a=bZm18BXLDz&l=en";sb.t=+new Date;$.type="text/javascript";e.parentNode.insertBefore($,e)})(document,"script");

</script>

<!--End of SuperBot Chat Script-->