<?php 
include ('connection.php') ;
session_start();

if (!isset($_SESSION['is_logged_in'])) {
    header("Location:login.php");
    die();
    }

date_default_timezone_set('Asia/Calcutta');
$today = date("d/m/y");
$today1 = date("d-m-Y");
$today2 = date("Y-m-d");


$time = date("Y-m-d H:i:s");
$currentyear = date("Y");
$currentmonth = date("m");

if($currentmonth>03) { 
$cuyear = date("Y");
$cuyear1 = date("y")+1;
} 
else { 
$cuyear = date("Y")-1;
$cuyear1 =  date("y");
} 
$f_year = "$cuyear"."-"."$cuyear1";



$time = date("h:i A");
?>
<?php
?>

<!DOCTYPE html>
<html>
<!-- Mirrored from themesdesign.in/xadmino/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 03 Feb 2021 12:04:34 GMT -->
<head>
<meta charset="utf-8" />
<title>CRESCENT SHIPPING AGENCY :: CRM</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta content="Admin Dashboard" name="description" />
<meta content="ThemeDesign" name="author" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="shortcut icon" href="assets/images/favicon.png">
<link href="assets/plugins/timepicker/bootstrap-timepicker.min.css" rel="stylesheet">
<link href="assets/plugins/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css" rel="stylesheet">
<link href="assets/plugins/bootstrap-datepicker/css/bootstrap-datepicker.min.css" rel="stylesheet">
<link href="assets/plugins/bootstrap-touchspin/css/jquery.bootstrap-touchspin.min.css" rel="stylesheet" />
<link href="assets/plugins/datatables/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />
<link href="assets/plugins/datatables/responsive.bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="assets/plugins/datatables/dataTables.bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="assets/css/icons.css" rel="stylesheet" type="text/css">
<link href="assets/css/style.css" rel="stylesheet" type="text/css">
<link href="vendors/bower_components/select2/dist/css/select2.min.css" rel="stylesheet" type="text/css">
<link href="vendors/bower_components/bootstrap-select/dist/css/bootstrap-select.min.css" rel="stylesheet" type="text/css">
<link href="vendors/bower_components/multiselect/css/multi-select.css" rel="stylesheet" type="text/css">

 <style type="text/css">
@media print
    {
    	#non-printable { display: none; }
    	#printable { display: block; }
    }
</style>
 <script type="text/javascript" >
   function preventBack(){window.history.forward();}
    setTimeout("preventBack()", 0);
    window.onunload=function(){null};
</script>

<style>
.frmSearch {border: 0px solid #666666;margin: 2px 0px;padding:0px;}
#country-list{float:left;list-style:none;margin:0;padding:0;}
#country-list li{padding: 3px; background:#FAFAFA;border-bottom:#F0F0F0 0px solid;}
#country-list li:hover{background:#F0F0F0;}
#search-box{padding: 3px;border:#666666 1px solid;}
</style>
<script src="https://code.jquery.com/jquery-2.1.1.min.js" type="text/javascript"></script>
<script>
$(document).ready(function(){
	$("#search-box").keyup(function(){
		$.ajax({
		type: "POST",
		url: "readmobile.php",
		data:'keyword='+$(this).val(),
		beforeSend: function(){
			$("#search-box").css("background","#FFF url(LoaderIcon.gif) no-repeat");
		},
		success: function(data){
			$("#suggesstion-box").show();
			$("#suggesstion-box").html(data);
			$("#search-box").css("background","#FFF");
		}
		});
	});
});

function selectCountry(val) {
$("#search-box").val(val);
$("#suggesstion-box").hide();
}
</script> 

<style type="text/css">
<!--
.style1 {color: #FF0000}
-->

.blink-bg{
		
		animation: blinkingBackground 2s infinite; padding:5px; color:#FFFFFF;
	}
	@keyframes blinkingBackground{
		0%		{ background-color: #10c018;}
		25%		{ background-color: #1056c0;}
		50%		{ background-color: #F7DD04;}
		75%		{ background-color: #254878;}
		100%	        { background-color: #04a1d5;}
	}
</style>


</head>
<body class="fixed-left">
<div id="wrapper">
  <div class="topbar">
    <div class="topbar-left">
      <div class="text-center" id="non-printable"> <a href="index.php" class="logo"><img src="assets/images/logo_white_2.png"></a> <a href="index.php" class="logo-sm"><img src="assets/images/logo_sm.png" height="36"></a></div>
    </div>
    <div class="navbar navbar-default" role="navigation">
      <div class="container">
        <div class="">
          <div class="pull-left">
            <button type="button" class="button-menu-mobile open-left waves-effect waves-light"> <i class="ion-navicon"></i> </button>
            <span class="clearfix"></span></div>
        
          <ul class="nav navbar-nav navbar-right pull-right">
            
            <li class="hidden-xs"> <a href="#" id="btn-fullscreen" class="waves-effect waves-light"><i class="fa fa-crosshairs"></i></a></li>
            <li class="dropdown"> <a href="#" class="dropdown-toggle profile waves-effect waves-light" data-toggle="dropdown" aria-expanded="true"><img src="assets/images/users/avatar-1.jpg" alt="user-img" class="img-circle"> </a>
              <ul class="dropdown-menu">
                <!--<li><a href="javascript:void(0)"> Profile</a></li>
                <li><a href="javascript:void(0)"><span class="badge badge-success pull-right">5</span> Settings </a></li>-->
               <!-- <li class="divider"></li>-->
                <li><a href="logout.php"> Logout</a></li>
              </ul>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
  <div class="left side-menu">
    <div class="sidebar-inner slimscrollleft">
      <div class="user-details">
        <div class="text-center"> <img src="assets/images/users/avatar-1.jpg" alt="" class="img-circle"></div>
        <div class="user-info">
          <div class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"><?php echo $first_name?></a>
            
          </div>
          <p class="text-muted m-0"><i class="fa fa-dot-circle-o text-success"></i> Online</p>
        </div>
      </div>
       <div id="sidebar-menu"><ul style="text-transform:uppercase;">

        		    <li> <a href="index.php" class="waves-effect"><i class="ti-home"></i><span>Dashboard </span></a></li> 
 				<li><a href="view_all_job.php"><i class="fa fa-circle-o"></i>View All Jobs </a></li>
		  
		  	
		  		<li><a href="view_all_direct_invoice.php"><i class="fa fa-circle-o"></i>AASHIRVADH Invoice </a></li>
		  		<li><a href="view_all_direct_invoice_csa.php"><i class="fa fa-circle-o"></i>CSA Invoice </a></li>
						  		<li><a href="view_all_credit_invoice.php"><i class="fa fa-circle-o"></i>AASHIRVADH Credit Note </a></li>


			<?php /*?> <li class="has_sub"> <a href="javascript:void(0);" class="waves-effect"><i class="ti-agenda"></i><span>AASHIRVADH INVOICE </span>
		  <span class="pull-right"><i class="mdi mdi-plus"></i></span></a>
            <ul class="list-unstyled">
                <li><a href="direct_invoice_AI.php"><i class="fa fa-circle-o"></i>New Invoice </a></li>
            </ul>
          </li> 
<?php */?>
				
				 <li class="has_sub"> <a href="javascript:void(0);" class="waves-effect"><i class="ti-agenda"></i><span>Masters </span>
		  <span class="pull-right"><i class="mdi mdi-plus"></i></span></a>
            <ul class="list-unstyled">
			   <li><a href="view_all_crescent_accounts.php"><i class="fa fa-circle-o"></i>CRESCENT Customer</a></li>
                <li><a href="view_all_accounts.php"><i class="fa fa-circle-o"></i>AASHIRVADH Customer</a></li>
				<li><a href="service_master.php"><i class="fa fa-circle-o"></i>Service Master</a></li>
				<li><a href="view_all_hsn_code.php"><i class="fa fa-circle-o"></i>HSN/SAC Master</a></li>
            </ul>
          </li> 
		  
		   <li class="has_sub"> <a href="javascript:void(0);" class="waves-effect"><i class="ti-stats-up"></i><span>Report </span>
		  <span class="pull-right"><i class="mdi mdi-plus"></i></span></a>
            <ul class="list-unstyled">
                <li><a href="bdo_report_step1.php"><i class="fa fa-circle-o"></i>E-Invoice</a></li>
				<li><a href="bdo_cnreport_step1.php"><i class="fa fa-circle-o"></i>Credit Note E-Invoice</a></li>
				<li><a href="ashirwadgst_report_step1.php"><i class="fa fa-circle-o"></i>AASHIRVADH GST</a></li>
				
            </ul>
          </li> 

</ul>

     
      </div><div class="clearfix"></div>
    </div>
  </div><style>
    .box{
        color:fff;
        display: none;
        margin-top: 5px;
    }
    .red{  }
	.Approved{  }
	.YES{  }
	.NO{  }
    .Hold{  }
	.OK{  }
	.EX-STOCK{  }
	.BLOCK{  }
    .LOST{  }
	.Customers_Budget{  }
	.Customers_Sale{  }
	.Auto_Approval_Of_Discount{  }
	.Block_From_Upcoming{  }
	.Block_From_Existing{  }
    .blue{ background: #0000ff; }
</style>
  <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script>
$(document).ready(function(){
    $("select").change(function(){
        $(this).find("option:selected").each(function(){
            var optionValue = $(this).attr("value");
            if(optionValue){
                $(".box").not("." + optionValue).hide();
                $("." + optionValue).show();
            } else{
                $(".box").hide();
            }
        });
    }).change();
});
</script>
