<?php
session_start();

	include("connect.php");
	
	if(!isset($_SESSION['tulsilogin']))
	{
		header('Location: index.php');
		return;
	}
				
	
		//$_SESSION['frompage']="dashboard";

	date_default_timezone_set("Asia/Kolkata");
	$mdate= date('Y/m/d');
	$mdate2= date('Y-m-d');
	$mdate3= date('d M,Y');
	
		    
	
	$lower = date('Y-m-d', strtotime($mdate));
	$upper = date('Y-m-d', strtotime($mdate)+2);
	
	
	
				date_default_timezone_set("Asia/Kolkata");
				$mdate1= date('Y-m-d H:i:s');
				
				$par1 = $_SESSION['umobile'];
				$ipaddress = "";
	
				if (getenv('HTTP_CLIENT_IP'))
					$ipaddress = getenv('HTTP_CLIENT_IP');
				else if(getenv('HTTP_X_FORWARDED_FOR'))
					$ipaddress = getenv('HTTP_X_FORWARDED_FOR');
				else if(getenv('HTTP_X_FORWARDED'))
					$ipaddress = getenv('HTTP_X_FORWARDED');
				else if(getenv('HTTP_FORWARDED_FOR'))
					$ipaddress = getenv('HTTP_FORWARDED_FOR');
				else if(getenv('HTTP_FORWARDED'))
					$ipaddress = getenv('HTTP_FORWARDED');
				else if(getenv('REMOTE_ADDR'))
					$ipaddress = getenv('REMOTE_ADDR');
				else
					$ipaddress = 'UNKNOWN';
				
				$userserver=$_SERVER['HTTP_USER_AGENT'];
				$eve1 = "insert into res_user_log (lid,mobile,lastupdatedtime,pagename,taskname,ipaddress,useragentdetail) values(NULL,'$par1','$mdate1','Dashboard','View Dashboard','$ipaddress','$userserver')";
				$re1 = mysqli_query($conn, $eve1);
	
	
	
	
?>	
<!DOCTYPE html>
<!--
Author: Keenthemes
Product Name: Metronic - Bootstrap 5 HTML, VueJS, React, Angular. Laravel, Asp.Net Core, Ruby on Rails, Spring Boot, Blazor, Django, Express Node.js & Flask Admin Dashboard Theme
Purchase: https://1.envato.market/EA4JP
Website: http://www.keenthemes.com
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Dribbble: www.dribbble.com/keenthemes
Like: www.facebook.com/keenthemes
License: For each use you must have a valid license purchased only from above link in order to legally use the theme for your project.
-->
<html lang="en">
	<!--begin::Head-->
	<head>
		<title>Comission Invoice</title>
		<meta charset="utf-8" />
		<link rel="shortcut icon" href="assets/media/logos/favicon.ico" />
		<!--begin::Fonts(mandatory for all pages)-->
		<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700" />
		<!--end::Fonts-->
		<!--begin::Vendor Stylesheets(used for this page only)-->
		<link href="assets/plugins/custom/datatables/datatables.bundle.css" rel="stylesheet" type="text/css" />
		<link href="assets/plugins/custom/vis-timeline/vis-timeline.bundle.css" rel="stylesheet" type="text/css" />
		<!--end::Vendor Stylesheets-->
		<!--begin::Global Stylesheets Bundle(mandatory for all pages)-->
		<link href="assets/plugins/global/plugins.bundle.css" rel="stylesheet" type="text/css" />
		<link href="assets/css/style.bundle.css" rel="stylesheet" type="text/css" />
		<!--end::Global Stylesheets Bundle-->
	</head>
	<!--end::Head-->
	<!--begin::Body-->
	<body id="kt_body" class="header-fixed header-tablet-and-mobile-fixed aside-fixed aside-secondary-disabled">
		<!--begin::Theme mode setup on page load-->
		<script>var defaultThemeMode = "light"; var themeMode; if ( document.documentElement ) { if ( document.documentElement.hasAttribute("data-theme-mode")) { themeMode = document.documentElement.getAttribute("data-theme-mode"); } else { if ( localStorage.getItem("data-theme") !== null ) { themeMode = localStorage.getItem("data-theme"); } else { themeMode = defaultThemeMode; } } if (themeMode === "system") { themeMode = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"; } document.documentElement.setAttribute("data-theme", themeMode); }</script>
		<!--end::Theme mode setup on page load-->
		<!--begin::Main-->
		<!--begin::Root-->
		<div class="d-flex flex-column flex-root">
			<!--begin::Page-->
			<div class="page d-flex flex-row flex-column-fluid">
				<!--begin::Aside-->
				<?php include('sidebar.php'); ?><!--end::Aside-->
				<!--begin::Wrapper-->
				<div class="wrapper d-flex flex-column flex-row-fluid" id="kt_wrapper">
					<!--begin::Header-->
					<div id="kt_header" style="" class="header align-items-stretch">
						<!--begin::Container-->
						<div class="container-fluid d-flex align-items-stretch justify-content-between">
							<!--begin::Aside mobile toggle-->
							<div class="d-flex align-items-center d-lg-none ms-n3 me-1" title="Show aside menu">
								<div class="btn btn-icon btn-active-color-primary w-40px h-40px" id="kt_aside_toggle">
									<!--begin::Svg Icon | path: icons/duotune/abstract/abs015.svg-->
									<span class="svg-icon svg-icon-1">
										<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
											<path d="M21 7H3C2.4 7 2 6.6 2 6V4C2 3.4 2.4 3 3 3H21C21.6 3 22 3.4 22 4V6C22 6.6 21.6 7 21 7Z" fill="currentColor" />
											<path opacity="0.3" d="M21 14H3C2.4 14 2 13.6 2 13V11C2 10.4 2.4 10 3 10H21C21.6 10 22 10.4 22 11V13C22 13.6 21.6 14 21 14ZM22 20V18C22 17.4 21.6 17 21 17H3C2.4 17 2 17.4 2 18V20C2 20.6 2.4 21 3 21H21C21.6 21 22 20.6 22 20Z" fill="currentColor" />
										</svg>
									</span>
									<!--end::Svg Icon-->
								</div>
							</div>
							<!--end::Aside mobile toggle-->
							<!--begin::Mobile logo-->
							<div class="d-flex align-items-center flex-grow-1 flex-lg-grow-0">
								<a href="dashboard.php" class="d-lg-none">
									<img alt="Logo" src="assets/media/logos/demo4-mobile.svg" class="h-25px" />
								</a>
							</div>
							<!--end::Mobile logo-->
							<div class="d-flex align-items-center" id="kt_header_wrapper">
								<!--begin::Page title-->
								<div class="page-title d-flex flex-column align-items-start justify-content-center flex-wrap me-lg-20 pb-5 pb-lg-0" data-kt-swapper="true" data-kt-swapper-mode="prepend" data-kt-swapper-parent="{default: '#kt_content_container', lg: '#kt_header_wrapper'}">
									<!--begin::Heading-->
									<h1 class="text-dark fw-bold my-1 fs-3 lh-1">Comission Invoice</h1>
									<!--end::Heading-->
								</div>
								<!--end::Page title=-->
							</div>
							<!--begin::Wrapper-->
							<?php include('header.php'); ?>
							<!--end::Wrapper-->
						</div>
						<!--end::Container-->
					</div>
					<!--end::Header-->
					<!--begin::Content-->
					<div class="content d-flex flex-column flex-column-fluid" id="kt_content">
						<!--begin::Container-->
						<div class="container-xxl" id="kt_content_container">
							<!-- begin::Invoice 1-->
							<div class="card">
								<!-- begin::Body-->
								<div class="card-body py-20">
									<!-- begin::Wrapper-->
									<div class="mw-lg-950px mx-auto w-100">
										<!-- begin::Header-->
										<div class="d-flex justify-content-between flex-column flex-sm-row mb-19">
											<h4 class="fw-bolder text-gray-800 fs-2qx pe-5 pb-7">INVOICE</h4>
											<?php
											$campusmid1=$_SESSION['campusmid1'];
											
											$eve22 = "select campusname,cmname,countryname from res_collegecampus_master,res_college_master,res_country_master where res_collegecampus_master.collegemid = res_college_master.collegemid and res_college_master.countrymid = res_country_master.countrymid and res_collegecampus_master.ccampusmid = $campusmid1";
											$re22 = mysqli_query($conn, $eve22);
											while($rt22 = mysqli_fetch_assoc($re22))
										{
											$campusname = $rt22['campusname'];
											$cmname = $rt22['cmname'];
											$countryname = $rt22['countryname'];
										}	
											?>
											<!--end::Logo-->
											<div class="text-sm-end">
												<!--begin::Logo-->
												<h2><?php echo $campusname; ?></h2>
												<!--end::Logo-->
												<!--begin::Text-->
												<div class="text-sm-end fw-semibold fs-4 text-muted mt-7">
													<div><?php echo $cmname; ?></div>
													<div><?php echo $countryname; ?></div>
												</div>
												<!--end::Text-->
											</div>
										</div>
										<!--end::Header-->
										<!--begin::Body-->
										<div class="border-bottom pb-12">
											<!--begin::Image
											<div class="d-flex flex-row-fluid bgi-no-repeat bgi-position-x-center bgi-size-cover card-rounded h-150px h-lg-250px mb-lg-20" style="background-image: url(assets/media/misc/pattern-4.jpg)"></div>
											end::Image-->
											<!--begin::Wrapper-->
											<div class="d-flex justify-content-between flex-column flex-md-row">
												<!--begin::Content-->
												<div class="flex-grow-1 pt-8 mb-13">
													<!--begin::Table-->
													<div class="table-responsive border-bottom mb-14">
														<table class="table">
															<thead>
																<tr class="border-bottom fs-6 fw-bold text-muted text-uppercase">
																	<th class="min-w-175px pb-9">Student</th>
																	<th class="min-w-70px pb-9 text-end">Program </th>
																	<th class="min-w-70px pb-9 text-end">Program Fees </th><th class="min-w-70px pb-9 text-end">Intake </th><th class="min-w-70px pb-9 text-end">Term </th><th class="min-w-70px pb-9 text-end">Student Id </th>
																	<th class="min-w-80px pb-9 text-end">Date</th>
																	
																</tr>
															</thead>
															<tbody>
															<?php
															
										$campusmid1=$_SESSION['campusmid1'];
										
											$ctidid = $_SESSION['ctidid'];
		  $eve1="SELECT * FROM res_commissiontermintake_detail  where ctidid = $ctidid  ";
	$re1 = mysqli_query($conn, $eve1);

    if(mysqli_num_rows($re1) > 0)
	{
	  while($rt1 = mysqli_fetch_assoc($re1))
		{
			/* $coursemid=$rt['coursemid'];
			$_SESSION['selectedcourse']=$coursemid; */
			$ctistartmonth=$rt1['ctistartmonth'];
			
			$ctistartyear=$rt1['ctistartyear'];
			$ctiendmonth=$rt1['ctiendmonth'];
			$ctieendyear=$rt1['ctieendyear'];
			
		}
	}
	
	$startmonth = date('m',strtotime($ctistartmonth));
	$startyear = date('Y',strtotime($ctistartyear));
	$endmonth = date('m',strtotime($ctiendmonth));
	$endyear = date('Y',strtotime($ctieendyear));
	
	$startintake  = date('Y-m-d',strtotime('01-'.$startmonth.'-'.$startyear));
	$endintake  = date('Y-m-t',strtotime('01-'.$endmonth.'-'.$endyear));
	
	$acsdids = $_POST['acsdid'];
	$_SESSION['acsdid'] = $_POST['acsdid'];
	$acsdid = implode(',', $acsdids);

		$aa = "and Concat((res_admissioncoursesem_detail.asemstartyear ) ,'-' , LPAD(res_admissioncoursesem_detail.asemstartmonth, 2, '0'),'-01') >='$startintake' and Concat((res_admissioncoursesem_detail.asemstartyear  ) ,'-' , LPAD(res_admissioncoursesem_detail.asemstartmonth, 2, '0'),'-01')  <= '$endintake' ";
	$eve = " SELECT * FROM res_inquiry_master, res_admission_master,res_admissioncoursesem_detail ,res_course_master WHERE res_admission_master.imid = res_inquiry_master.imid 
  AND res_course_master.coursemid = res_admission_master.coursemid AND res_course_master.campusmid = res_admission_master.campusmid AND res_course_master.campusmid IN ( SELECT ccampusmid FROM res_commissioncampus_detail WHERE commissionmid IN ( SELECT commissionmid FROM res_commission_master WHERE termsclaimable >= res_admission_master.intaketerm ) ) AND  res_admissioncoursesem_detail.admid = res_admission_master.admid and res_course_master.campusmid = $campusmid1 $aa and res_admissioncoursesem_detail.acsdid in ($acsdid) and   res_admissioncoursesem_detail.acsdid not in (select acsdid from res_invoice_detail)";
	$re = mysqli_query($conn,$eve);
	$count = mysqli_num_rows($re);
	$total = 0;
	if(mysqli_num_rows($re) > 0)
	{
	
		 while($rt = mysqli_fetch_assoc($re))
		 {
			 	$ipname=$rt['ipname'];
				$ipmiddlename=$rt['ipmiddlename'];
				$ipsurname=$rt['ipsurname'];
				$ctutionfees=$rt['asemfees'];
				$feesin=$rt['asemfeesin'];
				$asem=$rt['asem'];
				$studentid=$rt['astudentid'];
				$intekyear=$rt['asemstartyear'];
				$intekmonth=date("F",strtotime($rt['asemstartmonth']));
				$intake = $intekmonth.','.$intekyear;
			  $currancyvalue=1;
				 $eve1 = "select * from res_currencytoinr_master where currencyname='$feesin'";
				$re1 = mysqli_query($conn, $eve1);
				if(mysqli_num_rows($re1) > 0)
				{
					 while($rt1 = mysqli_fetch_assoc($re1))
					 {
						 $currancyvalue=$rt1['currancyvalue'];
					 }
				}
				
				$data = $ctutionfees/$currancyvalue;
	 $data = number_format($data,2);
	  $data = str_replace(',', '', $data);
				$ipname=$ipname." ".$ipmiddlename." ".$ipsurname;
						$adoapplication=date("d-m-Y",strtotime($rt['adoapplication']));
						$coursemid=$rt['coursemid'];
											 $eve22 = "select coursename from res_course_master,res_coursename_master where res_course_master.coursemid=$coursemid and     res_coursename_master.cnmid = res_course_master.cnmid";
											$re22 = mysqli_query($conn, $eve22);
											while($rt22 = mysqli_fetch_assoc($re22))
										{
											$coursename = $rt22['coursename'];
										}

  $total =  $total + (int)$ctutionfees; 										

															?>
																<tr class="fw-bold text-gray-700 fs-5 text-end">
																	<td class="d-flex align-items-center pt-11">
																	<i class="fa fa-genderless text-danger fs-1 me-2"></i><?php echo $ipname; ?></td>
																	<td class="pt-11"><?php echo $coursename; ?></td>
																	<td class="pt-11"><?php echo $ctutionfees; ?></td>
																	<td class="pt-11"><?php echo $intake; ?></td>
																	<td class="pt-11"><?php echo $asem; ?></td>
																	<td class="pt-11"><?php echo $studentid; ?></td>
																	<td class="pt-11"><?php echo $adoapplication; ?></td>
																	
																</tr>
																<?php
		 }
	}
																?>
																
															</tbody>
														</table>
													</div>
													<!--end::Table-->
													<!--begin::Section-->
													<div class="d-flex flex-column mw-md-300px w-100">
														<!--begin::Label-->
														<div class="fw-semibold fs-5 mb-3 text-dark00">BANK TRANSFER</div>
														<!--end::Label-->
														<!--begin::Item-->
														<div class="d-flex flex-stack text-gray-800 mb-3 fs-6">
															<!--begin::Accountname-->
															<div class="fw-semibold pe-5">Account Name:</div>
															<!--end::Accountname-->
															<!--begin::Label-->
															<div class="text-end fw-norma">Barclays UK</div>
															<!--end::Label-->
														</div>
														<!--end::Item-->
														<!--begin::Item-->
														<div class="d-flex flex-stack text-gray-800 mb-3 fs-6">
															<!--begin::Accountnumber-->
															<div class="fw-semibold pe-5">Account Number:</div>
															<!--end::Accountnumber-->
															<!--begin::Number-->
															<div class="text-end fw-norma">1234567890934</div>
															<!--end::Number-->
														</div>
														<!--end::Item-->
														<!--begin::Item-->
														<div class="d-flex flex-stack text-gray-800 fs-6">
															<!--begin::Code-->
															<div class="fw-semibold pe-5">Code:</div>
															<!--end::Code-->
															<!--begin::Label-->
															<div class="text-end fw-norma">BARC0032UK</div>
															<!--end::Label-->
														</div>
														<!--end::Item-->
													</div>
													<!--end::Section-->
												</div>
												<!--end::Content-->
												<!--begin::Separator-->
												<div class="border-end d-none d-md-block mh-450px mx-9"></div>
												<!--end::Separator-->
												<!--begin::Content-->
												<div class="text-end pt-10">
												<?php
												 $eve1 = "select * from res_commission_master where commissionmid in (select commissionmid from res_commissioncampus_detail where ccampusmid=$campusmid1) limit 0,1";
	$re1 = mysqli_query($conn,$eve1);
	if(mysqli_num_rows($re1) > 0)
	{
		
		 while($rt1 = mysqli_fetch_assoc($re1))
		 {
			 	 $commissionstrucher=$rt1['commissionstrucher'];
			 	$commissionmid=$rt1['commissionmid'];
				  $commissionstruchervalue=$rt1['commissionstruchervalue'];
				 $cmgstincexc=$rt1['cmgstincexc'];
				 $ctaxpercent=$rt1['ctaxpercent'];
				 $ctaxname=$rt1['ctaxname'];
				 $cmcurrency=$rt1['cmcurrency'];
				$currancyvalue1=1;
				$eve1 = "select * from res_currencytoinr_master where currencyname='$cmcurrency'";
				$re1 = mysqli_query($conn, $eve1);
				if(mysqli_num_rows($re1) > 0)
				{
					 while($rt2 = mysqli_fetch_assoc($re1))
					 {
						 $currancyvalue1=$rt2['currancyvalue'];
					 }
				}
				$comission =0;
				if($commissionstrucher== 'Slab')
				{
					$slabstrucher=$rt1['slabstrucher'];
					$data1=0;
						$eve12 = "select * from res_commissionslab_detail,res_slab_master where res_commissionslab_detail.slabmid=res_slab_master.slabmid  and res_commissionslab_detail.commissionmid = $commissionmid and res_slab_master.slabstartnumber <= $count and res_slab_master.slabendnumber >= $count limit 0,1";
					 $re12 = mysqli_query($conn,$eve12);
					if(mysqli_num_rows($re12) > 0)
					{
						
						 while($rt12 = mysqli_fetch_assoc($re12))
						 {
							 
							  $svalue = $rt12['svalue'];
							  if($slabstrucher== 'Fixed Amount'){
					
								$comission = $svalue*$count;
				}else  if($slabstrucher == 'Percentage'){
					$currancyvalue2 = $currancyvalue1/$currancyvalue;
					$total2 = $total/$currancyvalue2;
					 
					  $comission =  $total2 * ($svalue/100);
				}
							
							    
						 }
					}
					
				}else if($commissionstrucher== 'Fixed Amount'){
					
					
								$comission = $commissionstruchervalue*$count;
				}else  if($commissionstrucher == 'Percentage'){
					$currancyvalue2 = $currancyvalue1/$currancyvalue;
					$total2 = $total/$currancyvalue2;
					 
					 
					  $comission =  $total2 * ($commissionstruchervalue/100);
					   $comission = number_format($comission,2);
	  $comission = str_replace(',', '', $comission);
		
				}
				
				if($cmgstincexc=='Included')
				{
					$finalcomission = $comission;
				}else{
					$finalcomission = $comission + $comission*$ctaxpercent/100;
				}
				 $finalcomission;
				}
				$finalcomission = number_format($finalcomission,2);
	  $finalcomission = str_replace(',', '', $finalcomission);
		
	}
		 
												?>
													<!--begin::Total Amount-->
													<div class="fs-3 fw-bold text-muted mb-3">TOTAL AMOUNT</div>
													<div class="fs-xl-2x fs-2 fw-bolder"><?php echo $total; ?></div>
													<div class="fs-3 fw-bold text-muted mb-3">TOTAL Comission</div>
													<div class="fs-xl-2x fs-2 fw-bolder"><?php echo $comission; ?></div>
													<?php 
													  if($cmgstincexc=='Included')
													  {
													?>
													<div class="text-muted fw-semibold">Taxes included</div>
													<?php 
													  }else{ 
													  ?>
													  <div class="text-muted fw-semibold"><?php echo $ctaxname.": ".$ctaxpercent; ?></div>
													  <div class="fs-3 fw-bold text-muted mb-3">Final Comission</div>
													<div class="fs-xl-2x fs-2 fw-bolder"><?php echo $finalcomission; ?>
													  <?php } ?>
													<!--end::Total Amount-->
													<div class="border-bottom w-100 my-7 my-lg-16"></div>
													<!--begin::Invoice To-->
													<div class="text-gray-600 fs-6 fw-semibold mb-3">INVOICE TO.</div>
													<?php
													 $eve13 = "select * from res_collegecampus_master,res_contact_master where res_contact_master.clinkid = res_collegecampus_master.ccampusmid and res_contact_master.clinktype = 'Campus' and res_collegecampus_master.ccampusmid= $campusmid1";
													$re13 = mysqli_query($conn, $eve13);
													
													if(mysqli_num_rows($re13) > 0)
													{
														
														 while($rt = mysqli_fetch_assoc($re13))
														 {
															 $cmiddlename=$rt['cmiddlename'];
															
															
															$contactname=$rt['contactname'];
															
															$csurname=$rt['csurname'];
															
															
				$cmcontactperson = $contactname." ".$cmiddlename." ".$csurname;
				
				
														 }
													}
													
													?>
													<div class="fs-6 text-gray-800 fw-semibold mb-8"><?php echo $cmcontactperson; ?></div>
													<!--end::Invoice To-->
													<!--begin::Invoice No-->
													<div class="text-gray-600 fs-6 fw-semibold mb-3">INVOICE NO.</div>
													<div class="fs-6 text-gray-800 fw-semibold mb-8">56758</div>
													<!--end::Invoice No-->
													<!--begin::Invoice Date-->
													<div class="text-gray-600 fs-6 fw-semibold mb-3">DATE</div>
													<div class="fs-6 text-gray-800 fw-semibold"><?php echo $mdate3; ?></div>
													<!--end::Invoice Date-->
												</div>
												<!--end::Content-->
											</div>
											<!--end::Wrapper-->
										</div>
										<!--end::Body-->
										<!-- begin::Footer-->
										<div class="d-flex flex-stack flex-wrap mt-lg-20 pt-13">
											<!-- begin::Actions-->
											<div class="my-1 me-5">
												<!-- begin::Pint-->
												<button type="button" class="btn btn-success my-1 me-12" onclick="window.print();">Print Invoice</button>
												<!-- end::Pint-->
												<!-- begin::Download-->
												<button type="button" class="btn btn-light-success my-1">Download</button>
												<!-- end::Download-->
											</div>
											<!-- end::Actions-->
											<!-- begin::Action-->
											<a type="button" href = "invoiceentry.php" class="btn btn-primary my-1">Create Invoice</a>
											<!-- end::Action-->
										</div>
										<!-- end::Footer-->
									</div>
									<!-- end::Wrapper-->
								</div>
								<!-- end::Body-->
							</div>
							<!-- end::Invoice 1-->
						</div>
						<!--end::Container-->
					</div>
					<!--end::Content-->
					<!--begin::Footer-->
					<?php include('footer.php'); ?>
					<!--end::Footer-->
				</div>
				<!--end::Wrapper-->
			</div>
			<!--end::Page-->
		</div>
		<!--end::Root-->
		<!--end::Modals-->
		<!--begin::Javascript-->
		<script>var hostUrl = "assets/";</script>
		<!--begin::Global Javascript Bundle(mandatory for all pages)-->
		<script src="assets/plugins/global/plugins.bundle.js"></script>
		<script src="assets/js/scripts.bundle.js"></script>
		<!--end::Global Javascript Bundle-->
		<!--begin::Vendors Javascript(used for this page only)-->
		<script src="assets/plugins/custom/datatables/datatables.bundle.js"></script>
		<script src="assets/plugins/custom/vis-timeline/vis-timeline.bundle.js"></script>
		<script src="https://cdn.amcharts.com/lib/5/index.js"></script>
		<script src="https://cdn.amcharts.com/lib/5/xy.js"></script>
		<script src="https://cdn.amcharts.com/lib/5/percent.js"></script>
		<script src="https://cdn.amcharts.com/lib/5/radar.js"></script>
		<script src="https://cdn.amcharts.com/lib/5/themes/Animated.js"></script>
		<!--end::Vendors Javascript-->
		<!--begin::Custom Javascript(used for this page only)-->
		<script src="assets/js/widgets.bundle.js"></script>
		<script src="assets/js/custom/widgets.js"></script>
		<script src="assets/js/custom/apps/chat/chat.js"></script>
		<script src="assets/js/custom/utilities/modals/upgrade-plan.js"></script>
		<script src="assets/js/custom/utilities/modals/create-app.js"></script>
		<script src="assets/js/custom/utilities/modals/create-campaign.js"></script>
		<script src="assets/js/custom/utilities/modals/create-project/type.js"></script>
		<script src="assets/js/custom/utilities/modals/create-project/budget.js"></script>
		<script src="assets/js/custom/utilities/modals/create-project/settings.js"></script>
		<script src="assets/js/custom/utilities/modals/create-project/team.js"></script>
		<script src="assets/js/custom/utilities/modals/create-project/targets.js"></script>
		<script src="assets/js/custom/utilities/modals/create-project/files.js"></script>
		<script src="assets/js/custom/utilities/modals/create-project/complete.js"></script>
		<script src="assets/js/custom/utilities/modals/create-project/main.js"></script>
		<script src="assets/js/custom/utilities/modals/users-search.js"></script>
		<!--end::Custom Javascript-->
		<!--end::Javascript-->
	</body>
	<!--end::Body-->
</html>