Dashboard changes : ps
This commit is contained in:
parent
1b01a0044c
commit
6ab29e8839
57
application/controllers/user.php
Normal file → Executable file
57
application/controllers/user.php
Normal file → Executable file
@ -40,13 +40,17 @@ class user extends BaseController
|
|||||||
|
|
||||||
|
|
||||||
$this->load->model('dahsboard_Model');
|
$this->load->model('dahsboard_Model');
|
||||||
|
// if(date('m') == 04) { $this->dahsboard_Model->update_FiscalYear(); }
|
||||||
|
$data['EmpCount'] = $this->employeedetails_model->getEmployeeCount();
|
||||||
|
$Users = $this->user_model->userListing();
|
||||||
|
$data['Usrcnt'] = count($Users);
|
||||||
|
|
||||||
$data['EmpCount'] = $this->employeedetails_model->getEmployeeCount();
|
|
||||||
|
|
||||||
$data['totalpurchaseorder']=$this->dahsboard_Model->totalpurchaseorder();
|
$data['totalpurchaseorder']=$this->dahsboard_Model->totalpurchaseorder();
|
||||||
|
|
||||||
//print_r( $data['totalpurchaseorder']);
|
//print_r( $data['totalpurchaseorder']);
|
||||||
$data['totalordervalue']=$this->dahsboard_Model->totalordervalue();
|
$data['totalordervalue']=$this->dahsboard_Model->totalordervalue();
|
||||||
|
$data['convertiontotalordervalue']=$this->convertamounttext($data['totalordervalue'][0]->totalordervalue);
|
||||||
$data['pendingpo']=$this->dahsboard_Model->pendingpo();
|
$data['pendingpo']=$this->dahsboard_Model->pendingpo();
|
||||||
// $data['totalserviceamount']=$this->dahsboard_Model->totalserviceamount();
|
// $data['totalserviceamount']=$this->dahsboard_Model->totalserviceamount();
|
||||||
// $data['totalcapitalamount']=$this->dahsboard_Model->totalcapitalamount();
|
// $data['totalcapitalamount']=$this->dahsboard_Model->totalcapitalamount();
|
||||||
@ -62,6 +66,8 @@ class user extends BaseController
|
|||||||
$data['details']=$this->dahsboard_Model->reqdetail();
|
$data['details']=$this->dahsboard_Model->reqdetail();
|
||||||
|
|
||||||
$data['pending_details']=$this->dahsboard_Model->req_pending();
|
$data['pending_details']=$this->dahsboard_Model->req_pending();
|
||||||
|
|
||||||
|
|
||||||
// $data['list']=$this->dahsboard_Model->req_list();
|
// $data['list']=$this->dahsboard_Model->req_list();
|
||||||
|
|
||||||
$data['serviceprogress']=$this->dahsboard_Model->serviceprogress();
|
$data['serviceprogress']=$this->dahsboard_Model->serviceprogress();
|
||||||
@ -77,7 +83,8 @@ class user extends BaseController
|
|||||||
|
|
||||||
//dashboard pie chart
|
//dashboard pie chart
|
||||||
$data['importbudgt'] = $this->dahsboard_Model->importbudgt();
|
$data['importbudgt'] = $this->dahsboard_Model->importbudgt();
|
||||||
$data['servicebudgt'] = $this->dahsboard_Model->servicebudgt();
|
$data['servicebudgt'] = $this->dahsboard_Model->servicebudgt();
|
||||||
|
// print_r($data);die();
|
||||||
$data['revenuebudgt'] = $this->dahsboard_Model->revenuebudgt();
|
$data['revenuebudgt'] = $this->dahsboard_Model->revenuebudgt();
|
||||||
$data['capitalbud'] = $this->dahsboard_Model->capitalbud();
|
$data['capitalbud'] = $this->dahsboard_Model->capitalbud();
|
||||||
$data['typebal'] = $this->dahsboard_Model->typebal();
|
$data['typebal'] = $this->dahsboard_Model->typebal();
|
||||||
@ -1568,6 +1575,52 @@ function deliver_perform()
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function count_digit($number) {
|
||||||
|
return strlen($number);
|
||||||
|
}
|
||||||
|
|
||||||
|
function divider($number_of_digits) {
|
||||||
|
$tens="1";
|
||||||
|
|
||||||
|
if($number_of_digits>8)
|
||||||
|
return 10000000;
|
||||||
|
|
||||||
|
while(($number_of_digits-1)>0)
|
||||||
|
{
|
||||||
|
$tens.="0";
|
||||||
|
$number_of_digits--;
|
||||||
|
}
|
||||||
|
return $tens;
|
||||||
|
}
|
||||||
|
|
||||||
|
function convertamounttext($num){
|
||||||
|
$ext="";//thousand,lac, crore
|
||||||
|
$split = explode(".", $num);
|
||||||
|
$number_of_digits = $this->count_digit($split[0]); //this is call :)
|
||||||
|
|
||||||
|
if($number_of_digits>3)
|
||||||
|
{
|
||||||
|
if($number_of_digits%2!=0)
|
||||||
|
$divider=$this->divider($number_of_digits-1);
|
||||||
|
else
|
||||||
|
$divider=$this->divider($number_of_digits);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
$divider=1;
|
||||||
|
|
||||||
|
$fraction=$num/$divider;
|
||||||
|
$fraction=number_format($fraction,2);
|
||||||
|
if($number_of_digits==4 ||$number_of_digits==5)
|
||||||
|
$ext="k";
|
||||||
|
if($number_of_digits==6 ||$number_of_digits==7)
|
||||||
|
$ext="Lac";
|
||||||
|
if($number_of_digits==8 ||$number_of_digits==9)
|
||||||
|
$ext="Cr";
|
||||||
|
return $fraction." ".$ext;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -3135,5 +3135,20 @@ function getDailyOpeningAmt($yesterday){
|
|||||||
return $query->result();
|
return $query->result();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function update_FiscalYear(){
|
||||||
|
if(date('m') >= 4) {
|
||||||
|
$d = date('Y-m-d', strtotime('+1 years'));
|
||||||
|
$arr = array('FiscalYearStartOn' => date('Y')."-04-01",
|
||||||
|
'FiscalYearEndsOn' => date('Y', strtotime($d))."-03-31");
|
||||||
|
} else {
|
||||||
|
$d = date('Y-m-d', strtotime('-1 years'));
|
||||||
|
$arr = array('FiscalYearStartOn' => date('Y', strtotime($d))."-04-01",
|
||||||
|
'FiscalYearEndsOn' => date('Y')."-03-31");
|
||||||
|
|
||||||
|
}
|
||||||
|
$this->db->where('CompID', "SI001");
|
||||||
|
$this->db->update('T_Company_Details',$arr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
572
application/views/dashboard.php
Executable file → Normal file
572
application/views/dashboard.php
Executable file → Normal file
@ -2,23 +2,83 @@
|
|||||||
$Empcnt = '';
|
$Empcnt = '';
|
||||||
if (!empty($EmpCount)) {
|
if (!empty($EmpCount)) {
|
||||||
foreach ($EmpCount as $Emp) {
|
foreach ($EmpCount as $Emp) {
|
||||||
$Empcnt = $Emp->EmpCount;
|
$Empcnt = $Emp->EmpCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
.HRMINHEIGHT {min-height: 950px !important;}
|
.HRMINHEIGHT {min-height: 950px !important;}
|
||||||
|
.card{
|
||||||
|
float: left;
|
||||||
|
position: relative;
|
||||||
|
min-height: 120px;
|
||||||
|
padding: 10px;
|
||||||
|
display: block;
|
||||||
|
background: #fff;
|
||||||
|
box-shadow: 0 1px 1px rgba(0,0,0,0.1);
|
||||||
|
border-radius: 2px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
margin-left: 1.1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sub-card{
|
||||||
|
position: relative;
|
||||||
|
display: block;
|
||||||
|
box-shadow: 0 1px 1px rgba(0,0,0,0.1);
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
.card-body{
|
||||||
|
min-height: 118px;
|
||||||
|
/* padding: 10px; */
|
||||||
|
padding: 4px 0 0 14px;
|
||||||
|
}
|
||||||
|
.card-label{
|
||||||
|
display: block;
|
||||||
|
font-size: 15px;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.card-number {
|
||||||
|
display: block;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 48px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.card-text {
|
||||||
|
display: block;
|
||||||
|
font-size: 14px;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.sub-card > .card-footer {
|
||||||
|
position: relative;
|
||||||
|
text-align: center;
|
||||||
|
padding: 3px 0;
|
||||||
|
color: #fff !important;
|
||||||
|
color: rgba(255, 255, 255, 0.8);
|
||||||
|
display: block;
|
||||||
|
z-index: 10;
|
||||||
|
background: rgba(0, 0, 0, 0.1);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.sub-card > .card-footer:hover {
|
||||||
|
color: #fff !important;
|
||||||
|
background: rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
<section class="content">
|
<section class="content">
|
||||||
<!-- 1 Dashboard for Account department -->
|
<!-- 1 Dashboard for Finances and Account department -->
|
||||||
<?php if ($DEPCode == FINANCE) { ?>
|
<?php if ($DEPCode == FINANCE) { ?>
|
||||||
|
|
||||||
<!-- Content Header (Page header) -->
|
<!-- Content Header (Page header) -->
|
||||||
<section class="content-header">
|
<section class="content-header">
|
||||||
<center>
|
<center> <h1> Accounts Department Dashboard</h1> </center>
|
||||||
<h1> Accounts Department Dashboard</h1>
|
|
||||||
</center>
|
|
||||||
</section>
|
</section>
|
||||||
<!-- Main content -->
|
<!-- Main content -->
|
||||||
<section class="content">
|
<section class="content">
|
||||||
@ -38,19 +98,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
<!--*************************************** Finances and Account Dashboard - Ends Here ****************************-->
|
||||||
|
|
||||||
<!-- 2 Dashboard for HR department -->
|
<!-- 2 Dashboard for HR department -->
|
||||||
<!-- 2.1 Script For Date Picker Ends Here -->
|
<!-- 2.1 Script For Date Picker Ends Here -->
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
//$( "#datepick" ).datepicker({maxDate: 'Date-1', dateFormat: 'dd-mm-yy' }).val();
|
|
||||||
//$( "#datepic" ).datepicker({maxDate: 'Date-1', dateFormat: 'dd-mm-yy' }).val();
|
|
||||||
//$("#datepic").datepicker({ defaultDate: '-2m'});
|
|
||||||
$('#datepick').datepicker({
|
$('#datepick').datepicker({
|
||||||
maxDate: 'Date-1',
|
maxDate: 'Date-1',
|
||||||
dateFormat: 'dd-mm-yy'
|
dateFormat: 'dd-mm-yy'
|
||||||
@ -71,10 +125,8 @@
|
|||||||
top: 0px !important;
|
top: 0px !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<!-- 2.3 codeing -->
|
||||||
<?php
|
<?php if ($DEPCode == HR) { ?>
|
||||||
if ($DEPCode == HR) {
|
|
||||||
?>
|
|
||||||
<div class="HRMINHEIGHT">
|
<div class="HRMINHEIGHT">
|
||||||
<!-- Content Header (Page header) -->
|
<!-- Content Header (Page header) -->
|
||||||
<section class="content-header">
|
<section class="content-header">
|
||||||
@ -481,10 +533,8 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<?php } ?>
|
||||||
<?php
|
<!-- 2.4 Script -->
|
||||||
}
|
|
||||||
?>
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
google.charts.load('current', {
|
google.charts.load('current', {
|
||||||
'packages': ['gauge']
|
'packages': ['gauge']
|
||||||
@ -568,6 +618,7 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<!-- 2.5 Script -->
|
||||||
<script>
|
<script>
|
||||||
$('#datepick').change(function() {
|
$('#datepick').change(function() {
|
||||||
//var datepick = $('#emp').val();
|
//var datepick = $('#emp').val();
|
||||||
@ -608,31 +659,22 @@
|
|||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<!--*************************************** HR Dashboard - Ends Here ****************************-->
|
||||||
<!-- \\\\\\\\\\\\\\\ HR END of the part ////////////////////////-->
|
<!-- 3 Dashboard for Admin department -->
|
||||||
<!-- Dashboard for admin-->
|
<?php if ($role != ROLE_ADMIN && $DEPCode != MANAGEMENT && $DEPCode != HR) { ?>
|
||||||
<?php
|
|
||||||
if ($role == ROLE_ADMIN && $DEPCode != MANAGEMENT && $DEPCode != HR) {
|
|
||||||
?>
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<!-- Content Header (Page header) -->
|
<!-- Content Header (Page header) -->
|
||||||
<section class="content-header">
|
<!-- <section class="content-header"><h1> Admin Dashboard </h1></section> -->
|
||||||
<center>
|
|
||||||
<h1> Admin Dashboard </h1>
|
|
||||||
</center>
|
|
||||||
</section>
|
|
||||||
<!-- Main content -->
|
<!-- Main content -->
|
||||||
<section class="content" style="min-height: 0px !important; padding: 0px !important;">
|
<section class="content" style="min-height: 0px !important; padding: 0px !important;">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
||||||
<!-- ./col -->
|
<!-- ./col -->
|
||||||
<div class=" col-xs-12 col-md-4 col-md-offset-4">
|
<div class=" col-xs-12 col-md-4 col-md-offset-4">
|
||||||
<!-- small box -->
|
<!-- small box -->
|
||||||
<div class="small-box bg-yellow">
|
<div class="small-box bg-yellow">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<h3>44</h3>
|
<h3><?php echo $Empcnt; ?></h3>
|
||||||
|
|
||||||
<p>User Registrations</p>
|
<p>User Registrations</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="icon">
|
<div class="icon">
|
||||||
@ -647,17 +689,10 @@
|
|||||||
</section>
|
</section>
|
||||||
<!-- /.content -->
|
<!-- /.content -->
|
||||||
</div>
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<!--*************************************** Admin Dashboard - Ends Here ****************************-->
|
||||||
<?php
|
<!-- 4 Dashboard for Manager -->
|
||||||
}
|
<?php if ($role == ROLE_MANAGER && $DEPCode != MANAGEMENT && $DEPCode != HR) { ?>
|
||||||
?>
|
|
||||||
|
|
||||||
<!-- Dashboard for Manager department-->
|
|
||||||
<?php
|
|
||||||
if ($role == ROLE_MANAGER && $DEPCode != MANAGEMENT && $DEPCode != HR) {
|
|
||||||
?>
|
|
||||||
|
|
||||||
<!-- Content Header (Page header) -->
|
<!-- Content Header (Page header) -->
|
||||||
<section class="content-header">
|
<section class="content-header">
|
||||||
<center>
|
<center>
|
||||||
@ -684,23 +719,19 @@
|
|||||||
</center>
|
</center>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
<?php } ?>
|
||||||
|
<!--***************************************3 Manager Dashboard - Ends Here ****************************-->
|
||||||
<?php
|
<!-- 4 Dashboard for Management department -->
|
||||||
}
|
<?php if ($role == ROLE_ADMIN || $DEPCode == MANAGEMENT) { ?>
|
||||||
|
|
||||||
if ($role == ROLE_ADMIN || $DEPCode == MANAGEMENT) {
|
|
||||||
?>
|
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<link href="<?php echo base_url(); ?>assets/plugins/morris/morris.css" rel="stylesheet" type="text/css" />
|
<link href="<?php echo base_url(); ?>assets/plugins/morris/morris.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
<!-- 4.1 script and style -->
|
||||||
<script>
|
<script>
|
||||||
/*!
|
/*!
|
||||||
DataTables Bootstrap 3 integration
|
DataTables Bootstrap 3 integration
|
||||||
©2011-2014 SpryMedia Ltd - datatables.net/license
|
©2011-2014 SpryMedia Ltd - datatables.net/license
|
||||||
*/
|
*/
|
||||||
(function(l, q) {
|
(function(l, q) {
|
||||||
var e = function(b, c) {
|
var e = function(b, c) {
|
||||||
b.extend(!0, c.defaults, {
|
b.extend(!0, c.defaults, {
|
||||||
@ -836,8 +867,85 @@
|
|||||||
</style>
|
</style>
|
||||||
<div>
|
<div>
|
||||||
<section class="content">
|
<section class="content">
|
||||||
<!-- Info boxes -->
|
<div class="row">
|
||||||
<div class="row">
|
<div class="card" style="width: 31.48% !important;">
|
||||||
|
<span class="card-label"><strong>Requisition</strong></span>
|
||||||
|
<div class="sub-card bg-aqua" style="width: 48% !important; float: left;">
|
||||||
|
<div class="card-body">
|
||||||
|
<?php if (!empty($details)) {
|
||||||
|
foreach ($details as $req) {
|
||||||
|
?>
|
||||||
|
<span class="card-number"><?php echo $req->TODAY_REQUESTS; ?></span>
|
||||||
|
<span class="card-text">Today</span>
|
||||||
|
<?php }} ?>
|
||||||
|
</div>
|
||||||
|
<a href="<?php echo base_url(); ?>Requisition" class="card-footer" >More info <i class="fa fa-arrow-circle-right"></i></a>
|
||||||
|
</div>
|
||||||
|
<div class="sub-card bg-blue" style="width: 48% !important; float: right;">
|
||||||
|
<div class="card-body">
|
||||||
|
<?php if (!empty($pending_details)) {
|
||||||
|
foreach ($pending_details as $req_p) {
|
||||||
|
?>
|
||||||
|
<span class="card-number"><?php echo $req_p->TOTAL_PENDING_REQUESTS; ?></span>
|
||||||
|
<span class="card-text">Total Pending</span>
|
||||||
|
<?php }} ?>
|
||||||
|
</div>
|
||||||
|
<a href="<?php echo base_url(); ?>reportpending" class="card-footer" >More info <i class="fa fa-arrow-circle-right"></i></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card" style="width: 45.48% !important;">
|
||||||
|
<span class="card-label"><strong>Purchase Order</strong></span>
|
||||||
|
<div class="sub-card bg-green">
|
||||||
|
<div class="card-body">
|
||||||
|
<div style="float: left; padding: 0 15px 0 0;">
|
||||||
|
<?php if (!empty($totalpurchaseorder)) {
|
||||||
|
foreach ($totalpurchaseorder as $po) {
|
||||||
|
?>
|
||||||
|
<span class="card-number"><?php echo $po->totalpurchaseorder; ?></span>
|
||||||
|
<span class="card-text">Total PO</span>
|
||||||
|
<?php }} ?>
|
||||||
|
</div>
|
||||||
|
<div style="float:right;padding: 0 15px 0 15px;">
|
||||||
|
<?php if (!empty($pendingpo)) {
|
||||||
|
foreach ($pendingpo as $pendingpolist) {
|
||||||
|
?>
|
||||||
|
<span class="card-number"><?php echo $pendingpolist->pending; ?></span>
|
||||||
|
<span class="card-text">Pending PO</span>
|
||||||
|
<?php }} ?>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<span class="card-number"><i class="fa fa-rupee "></i> <?php echo $convertiontotalordervalue; ?></span>
|
||||||
|
<span class="card-text">Total Order Value</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="<?php echo base_url(); ?>TotalOrder" class="card-footer" >More info <i class="fa fa-arrow-circle-right"></i></a>
|
||||||
|
</div>
|
||||||
|
<!-- <div class="sub-card bg-red" style="width: 48% !important; float: right;">
|
||||||
|
<div class="card-body">
|
||||||
|
<?php if (!empty($pendingpo)) {
|
||||||
|
foreach ($pendingpo as $pendingpolist) {
|
||||||
|
?>
|
||||||
|
<span class="card-number"><?php echo $pendingpolist->pending; ?></span>
|
||||||
|
<span class="card-text">Pending PO</span>
|
||||||
|
<?php }} ?>
|
||||||
|
</div>
|
||||||
|
<a href="<?php echo base_url(); ?>openOrder" class="card-footer" >More info <i class="fa fa-arrow-circle-right"></i></a>
|
||||||
|
</div> -->
|
||||||
|
</div>
|
||||||
|
<div class="card" style="width: 18.48% !important;">
|
||||||
|
<span class="card-label"><strong>User Registration</strong></span>
|
||||||
|
<div class="sub-card bg-yellow" style="width: 100% !important; float: right;">
|
||||||
|
<div class="card-body">
|
||||||
|
<span class="card-number"><?php echo $Usrcnt."/".$Empcnt; ?></span>
|
||||||
|
<span class="card-text">Register/Total Employee</span>
|
||||||
|
</div>
|
||||||
|
<a href="<?php echo base_url(); ?>userListing" class="card-footer" >More info <i class="fa fa-arrow-circle-right"></i></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" style="display: none;">
|
||||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||||
<a href="<?php echo base_url(); ?>Requisition">
|
<a href="<?php echo base_url(); ?>Requisition">
|
||||||
<div class="info-box" style="min-height: 105px;">
|
<div class="info-box" style="min-height: 105px;">
|
||||||
@ -953,33 +1061,16 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- /.row -->
|
<!-- /.row -->
|
||||||
|
|
||||||
|
<!-- Graph -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-header with-border">
|
<div class="box-header with-border">
|
||||||
<h3 class="box-title">Monthly Purchase Order</h3>
|
<h3 class="box-title">Monthly Purchase Order</h3>
|
||||||
|
|
||||||
<!--<div class="box-tools pull-right">
|
|
||||||
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
|
|
||||||
</button>
|
|
||||||
<div class="btn-group">
|
|
||||||
<button type="button" class="btn btn-box-tool dropdown-toggle" data-toggle="dropdown">
|
|
||||||
<i class="fa fa-wrench"></i></button>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li><a href="#">Action</a></li>
|
|
||||||
<li><a href="#">Another action</a></li>
|
|
||||||
<li><a href="#">Something else here</a></li>
|
|
||||||
<li class="divider"></li>
|
|
||||||
<li><a href="#">Separated link</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
|
|
||||||
</div>-->
|
|
||||||
</div>
|
|
||||||
<!-- /.box-header -->
|
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-12">
|
||||||
<p class="text-center">
|
<p class="text-center">
|
||||||
<strong>
|
<strong>
|
||||||
<?php
|
<?php
|
||||||
@ -1004,79 +1095,6 @@
|
|||||||
<!-- /.chart-responsive -->
|
<!-- /.chart-responsive -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.col -->
|
||||||
|
|
||||||
|
|
||||||
<div class="col-md-offset-1 col-md-3">
|
|
||||||
<strong style="font-size:18px;"> BUDGET AMOUNT</strong>
|
|
||||||
|
|
||||||
<br><br>
|
|
||||||
|
|
||||||
<div class="progress-group">
|
|
||||||
<?php if (!empty($servicebudgt)) {
|
|
||||||
foreach ($servicebudgt as $service) {
|
|
||||||
|
|
||||||
?>
|
|
||||||
<span class="description-text"><strong style="font-size:16px;">SERVICE : </strong><strong style="color:#00c0ef;font-size:18px;"><i class="fa fa-rupee " style="padding: 5px;"></i><?php echo $service->totalservicebudget; ?></strong></span>
|
|
||||||
|
|
||||||
<h5 class="description-header" </h5>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
<br>
|
|
||||||
<!-- /.progress-group -->
|
|
||||||
<div class="progress-group">
|
|
||||||
<?php if (!empty($revenuebudgt)) {
|
|
||||||
foreach ($revenuebudgt as $revenue) {
|
|
||||||
|
|
||||||
?>
|
|
||||||
<span class="description-text"><strong style="font-size:16px;">REVENUE : </strong><strong style="color:#dd4b39;font-size:18px;"><i class="fa fa-rupee " style="padding: 5px;"></i><?php echo $revenue->totalrevenuebudget; ?></strong></span>
|
|
||||||
|
|
||||||
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
<!-- /.progress-group -->
|
|
||||||
<div class="progress-group">
|
|
||||||
<?php if (!empty($importbudgt)) {
|
|
||||||
foreach ($importbudgt as $import) {
|
|
||||||
|
|
||||||
?>
|
|
||||||
<span class="description-text"><strong style="font-size:16px;">IMPORT : </strong><strong style="color:#00a65a;font-size:18px;"><i class="fa fa-rupee " style="padding: 5px;"></i><?php echo $import->totalimportbudget; ?></strong></span>
|
|
||||||
|
|
||||||
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
<br>
|
|
||||||
<!-- /.progress-group -->
|
|
||||||
<div class="progress-group">
|
|
||||||
<?php if (!empty($capitalbud)) {
|
|
||||||
foreach ($capitalbud as $capital) {
|
|
||||||
|
|
||||||
?>
|
|
||||||
<span class="description-text"><strong style="font-size:16px;">CAPITAL :  </strong><strong style="color:#f39c12;font-size:18px;"><i class="fa fa-rupee " style="padding: 5px;"></i><?php echo $capital->totalcapitalbudget; ?></strong></span>
|
|
||||||
|
|
||||||
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- /.progress-group -->
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<!-- /.col -->
|
|
||||||
|
|
||||||
<!-- /.row -->
|
<!-- /.row -->
|
||||||
</div>
|
</div>
|
||||||
<!-- ./box-body -->
|
<!-- ./box-body -->
|
||||||
@ -1087,90 +1105,115 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- /.row -->
|
<!-- /.row -->
|
||||||
<div class="box-footer">
|
<div class="row">
|
||||||
<div class="box-body">
|
<div class="col-md-12">
|
||||||
<div class="row">
|
<div class="box">
|
||||||
<div class="col-xs-6 col-md-3 text-center">
|
<div class="box-header with-border">
|
||||||
<div class="description-block border-right">
|
<h3 class="box-title">Budget Utilization in Percentage</h3>
|
||||||
<?php foreach ($servicebudgt as $service)
|
|
||||||
if (!empty($typebal)) {
|
|
||||||
foreach ($typebal as $serviceb)
|
|
||||||
$sb = $service->totalservicebudget - $serviceb->sr; {
|
|
||||||
?>
|
|
||||||
<div class="knob-label"><strong style="color:#00c0ef">SERVICE BUDGET</strong></div>
|
|
||||||
<input type="text" class="knob" data-thickness="0.4" data-readonly="true" value=<?php
|
|
||||||
echo number_format($sb, 2, '.', ''); ?> data-min="20" data-max=<?php echo $service->totalservicebudget; ?> data-width="" data-height="" data-fgColor="#00c0ef "> <br>
|
|
||||||
<div class="knob-label"><strong>TOTAL : <i class="fa fa-rupee "></i> <?php echo $service->totalservicebudget; ?></strong></div>
|
|
||||||
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee "></i> <?php
|
|
||||||
echo number_format($sb, 2, '.', ''); ?></strong></div>
|
|
||||||
</div>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</div>
|
</div>
|
||||||
<!-- ./col -->
|
<div class="box-footer">
|
||||||
<div class="col-xs-6 col-md-3 text-center">
|
<div class="box-body">
|
||||||
<div class="description-block border-right">
|
<div class="row">
|
||||||
<?php // if(!empty($totalrevenuepo))
|
<div class="col-sm-12 col-xs-12 col-md-3 col-lg-3 col-xl-3 text-center">
|
||||||
// {
|
<div class="description-block">
|
||||||
foreach ($revenuebudgt as $revenue)
|
<?php foreach ($servicebudgt as $service)
|
||||||
if (!empty($typebal)) {
|
if (!empty($typebal)) {
|
||||||
foreach ($typebal as $revenueb)
|
foreach ($typebal as $serviceb)
|
||||||
$rb = $revenue->totalrevenuebudget - $revenueb->rv; {
|
{
|
||||||
|
$sb = $service->totalservicebudget - $serviceb->sr;
|
||||||
?>
|
$x = $sb ? $sb : 0;
|
||||||
<div class="knob-label"><strong style="color:#dd4b39">REVENUE BUDGET</strong></div>
|
$y = $service->totalservicebudget ? $service->totalservicebudget : 0;
|
||||||
<input type="text" class="knob" data-thickness="0.4" data-readonly="true" value="<?php echo number_format($rb, 2, '.', ''); ?> " data-min="0" data-max=<?php echo $revenue->totalrevenuebudget; ?> data-width="" data-height="" data-fgColor="#dd4b39 "> <br>
|
if($x != 0 ||$y != 0){$percent = ($x/$y)*100;}else $percent = 0;
|
||||||
<div class="knob-label"><strong>TOTAL : <i class="fa fa-rupee "></i> <?php echo $revenue->totalrevenuebudget; ?> </strong> </div>
|
?>
|
||||||
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee "></i> <?php echo number_format($rb, 2, '.', ''); ?></strong> </div>
|
<div class="knob-label"><strong style="color:#00c0ef">SERVICE BUDGET</strong></div>
|
||||||
|
<input type="text" class="knob" data-thickness="0.4" data-readonly="true" value=<?php echo $percent." %"; ?> data-min="0" data-max="100" data-width="" data-height="" data-fgColor="#00c0ef "> <br><br>
|
||||||
|
<div class="knob-label"><strong>TOTAL : <i class="fa fa-rupee "></i> <?php echo number_format($service->totalservicebudget, 2, '.', ''); ?></strong></div>
|
||||||
|
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee "></i> <?php
|
||||||
|
echo number_format($sb, 2, '.', ''); ?></strong></div>
|
||||||
|
<!-- <div class="knob-label"><strong>percentage : <?php echo $sbInPercent; ?></strong></div> -->
|
||||||
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<!-- ./col -->
|
||||||
<!-- ./col -->
|
<div class="col-sm-12 col-xs-12 col-md-3 col-lg-3 col-xl-3 text-center">
|
||||||
<div class="col-xs-6 col-md-3 text-center">
|
<div class="description-block">
|
||||||
<div class="description-block border-right">
|
<?php // if(!empty($totalrevenuepo))
|
||||||
<?php foreach ($importbudgt as $import)
|
// {
|
||||||
if (!empty($typebal)) {
|
foreach ($revenuebudgt as $revenue)
|
||||||
foreach ($typebal as $importb)
|
if (!empty($typebal)) {
|
||||||
$im = $import->totalimportbudget - $importb->im; {
|
foreach ($typebal as $revenueb){
|
||||||
|
|
||||||
?>
|
$rb = $revenue->totalrevenuebudget - $revenueb->rv;
|
||||||
<div class="knob-label"><strong style="color:#00a65a">IMPORT BUDGET</strong></div>
|
$x = $rb ? $rb : 0 ;
|
||||||
<input type="text" class="knob" data-thickness="0.4" data-readonly="true" value=<?php echo number_format($im, 2, '.', ''); ?> data-min="0" data-max=<?php echo $import->totalimportbudget; ?> data-width="" data-height="" data-fgColor="#00a65a "> <br>
|
$y = $revenue->totalrevenuebudget ? $revenue->totalrevenuebudget : 0;
|
||||||
<div class="knob-label"><strong>TOTAL : <i class="fa fa-rupee "></i> <?php echo $import->totalimportbudget; ?> </strong></div>
|
if($x != 0 && $y != 0){$percent = ($x/$y)*100;}else $percent = 0;
|
||||||
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee "></i> <?php echo number_format($im, 2, '.', ''); ?> </strong></div>
|
|
||||||
</div>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
<div class="col-xs-6 col-md-3 text-center">
|
|
||||||
<div class="description-block border-right">
|
|
||||||
<?php foreach ($capitalbud as $capital)
|
|
||||||
if (!empty($typebal)) {
|
|
||||||
foreach ($typebal as $capitalb)
|
|
||||||
$ca = $capital->totalcapitalbudget - $capitalb->ca; {
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="knob-label"><strong style="color:#f39c12">CAPITAL BUDGET</strong></div>
|
<div class="knob-label"><strong style="color:#dd4b39">REVENUE BUDGET</strong></div>
|
||||||
<input type="text" class="knob" data-thickness="0.4" data-readonly="true" value=<?php echo number_format($ca, 2, '.', ''); ?> data-min="0" data-max=<?php echo $capital->totalcapitalbudget; ?> data-fgColor="#f39c12 "><br>
|
<input type="text" class="knob" data-thickness="0.4" data-readonly="true" value="<?php echo number_format($percent, 2, '.', ''); ?>" data-min="0" data-max="100" data-width="" data-height="" data-fgColor="#dd4b39 "> <br><br>
|
||||||
<div class="knob-label"><strong>TOTAL : <i class="fa fa-rupee "></i> <?php echo $capital->totalcapitalbudget; ?></strong></div>
|
<div class="knob-label"><strong>TOTAL : <i class="fa fa-rupee "></i> <?php echo number_format($revenue->totalrevenuebudget, 2, '.', ''); ?> </strong> </div>
|
||||||
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee "></i> <?php echo number_format($ca, 2, '.', ''); ?></strong> </div>
|
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee "></i> <?php echo number_format($rb, 2, '.', ''); ?></strong> </div>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ./col -->
|
||||||
|
<div class="col-sm-12 col-xs-12 col-md-3 col-lg-3 col-xl-3 text-center">
|
||||||
|
<div class="description-block">
|
||||||
|
<?php foreach ($importbudgt as $import)
|
||||||
|
if (!empty($typebal)) {
|
||||||
|
foreach ($typebal as $importb){
|
||||||
|
$im = $import->totalimportbudget - $importb->im;
|
||||||
|
$x = $im ? $im : 0 ;
|
||||||
|
$y = $import->totalimportbudget ? $import->totalimportbudget : 0;
|
||||||
|
if($x != 0 ||$y != 0){$percent = ($x/$y)*100;}else $percent = 0;
|
||||||
|
|
||||||
|
?>
|
||||||
|
<div class="knob-label"><strong style="color:#00a65a">IMPORT BUDGET</strong></div>
|
||||||
|
|
||||||
|
<input type="text" class="knob" data-thickness="0.4" data-readonly="true" value="<?php echo number_format($percent, 2, '.', ''); ?>" data-min="0" data-max="100" data-width="" data-height="" data-fgColor="#00a65a "> <br><br>
|
||||||
|
<div class="knob-label"><strong>TOTAL : <i class="fa fa-rupee "></i> <?php echo number_format($import->totalimportbudget, 2, '.', ''); ?> </strong></div>
|
||||||
|
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee "></i> <?php echo number_format($im, 2, '.', ''); ?> </strong></div>
|
||||||
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-12 col-xs-12 col-md-3 col-lg-3 col-xl-3 text-center">
|
||||||
|
<div class="description-block">
|
||||||
|
<?php foreach ($capitalbud as $capital)
|
||||||
|
if (!empty($typebal)) {
|
||||||
|
foreach ($typebal as $capitalb){
|
||||||
|
$ca = $capital->totalcapitalbudget - $capitalb->ca;
|
||||||
|
$x = $ca ? $ca : 0 ;
|
||||||
|
$y = $capital->totalcapitalbudget ? $capital->totalcapitalbudget : 0;
|
||||||
|
if($x != 0 ||$y != 0){$percent = ($x/$y)*100;}else $percent = 0;
|
||||||
|
|
||||||
|
?>
|
||||||
|
<div class="knob-label"><strong style="color:#f39c12">CAPITAL BUDGET</strong></div>
|
||||||
|
<input type="text" class="knob" data-thickness="0.4" data-readonly="true" value="<?php echo number_format($percent, 2, '.', ''); ?>" data-min="0" data-max="100" data-fgColor="#f39c12 "><br><br>
|
||||||
|
<div class="knob-label"><strong>TOTAL : <i class="fa fa-rupee "></i> <?php echo number_format($capital->totalcapitalbudget, 2, '.', ''); ?></strong></div>
|
||||||
|
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee "></i> <?php echo number_format($ca, 2, '.', ''); ?></strong> </div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
<!-- ./col -->
|
||||||
|
</div>
|
||||||
|
<!-- /.box-footer -->
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- ./col -->
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /.box-footer -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1189,42 +1232,42 @@
|
|||||||
<div class="chart" id="bar-chart" style="height: 300px;"></div>
|
<div class="chart" id="bar-chart" style="height: 300px;"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>-->
|
||||||
|
|
||||||
<script>
|
<!--<script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
|
||||||
//BAR CHART
|
//BAR CHART
|
||||||
var bar = new Morris.Bar({
|
var bar = new Morris.Bar({
|
||||||
element: 'bar-chart',
|
element: 'bar-chart',
|
||||||
resize: true,
|
resize: true,
|
||||||
data: [
|
data: [
|
||||||
{y: 'January', a: 100 , b: 90, c: 50, d: 40},
|
{y: 'January', a: 100 , b: 90, c: 50, d: 40},
|
||||||
{y: 'February', a: 50, b: 40, c: 50, d: 40},
|
{y: 'February', a: 50, b: 40, c: 50, d: 40},
|
||||||
{y: 'March', a: 50, b: 40, c: 50, d: 40},
|
{y: 'March', a: 50, b: 40, c: 50, d: 40},
|
||||||
{y: 'April', a: 75, b: 65, c: 50, d: 40},
|
{y: 'April', a: 75, b: 65, c: 50, d: 40},
|
||||||
{y: 'May', a: 50, b: 40, c: 50, d: 40},
|
{y: 'May', a: 50, b: 40, c: 50, d: 40},
|
||||||
{y: 'June', a: 75, b: 65, c: 50, d: 40},
|
{y: 'June', a: 75, b: 65, c: 50, d: 40},
|
||||||
{y: 'July', a: 100, b: 90 , c: 50, d: 40},
|
{y: 'July', a: 100, b: 90 , c: 50, d: 40},
|
||||||
{y: 'August', a: 75, b: 65, c: 50, d: 40},
|
{y: 'August', a: 75, b: 65, c: 50, d: 40},
|
||||||
{y: 'September', a: 75, b: 65, c: 50, d: 40},
|
{y: 'September', a: 75, b: 65, c: 50, d: 40},
|
||||||
{y: 'October', a: 100, b: 90 , c: 50, d: 40},
|
{y: 'October', a: 100, b: 90 , c: 50, d: 40},
|
||||||
{y: 'November', a: 50, b: 40, c: 50, d: 40},
|
{y: 'November', a: 50, b: 40, c: 50, d: 40},
|
||||||
{y: 'December', a: 75, b: 65, c: 50, d: 40}
|
{y: 'December', a: 75, b: 65, c: 50, d: 40}
|
||||||
],
|
],
|
||||||
barColors: ['#00c0ef ', '#dd4b39 ', '#00a65a ', '#f39c12 '],
|
barColors: ['#00c0ef ', '#dd4b39 ', '#00a65a ', '#f39c12 '],
|
||||||
xkey: 'y',
|
xkey: 'y',
|
||||||
ykeys: ['a', 'b', 'c', 'd'],
|
ykeys: ['a', 'b', 'c', 'd'],
|
||||||
labels: ['SERVICE', 'REVENUE', 'IMPORT', 'CAPITAL'],
|
labels: ['SERVICE', 'REVENUE', 'IMPORT', 'CAPITAL'],
|
||||||
hideHover: 'auto'
|
hideHover: 'auto'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>-->
|
</script>-->
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
|
||||||
<script src="<?php echo base_url(); ?>assets/plugins/morris/morris.min.js"></script>
|
<script src="<?php echo base_url(); ?>assets/plugins/morris/morris.min.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@ -1253,7 +1296,7 @@
|
|||||||
},*/
|
},*/
|
||||||
|
|
||||||
draw: function() { // "tron" case
|
draw: function() { // "tron" case
|
||||||
|
$(this.i).val(this.cv + '%')
|
||||||
if (this.$.data('skin') == 'tron') {
|
if (this.$.data('skin') == 'tron') {
|
||||||
var a = this.angle(this.cv) // Angle
|
var a = this.angle(this.cv) // Angle
|
||||||
|
|
||||||
@ -1329,14 +1372,9 @@
|
|||||||
</script>
|
</script>
|
||||||
<!-- Main row -->
|
<!-- Main row -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- /.row -->
|
<!-- /.row -->
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="<?php echo base_url(); ?>assets/plugins/chartjs/Chart.min.js"></script>
|
<script src="<?php echo base_url(); ?>assets/plugins/chartjs/Chart.min.js"></script>
|
||||||
@ -1563,13 +1601,7 @@
|
|||||||
// //- END PIE CHART -
|
// //- END PIE CHART -
|
||||||
// //-----------------
|
// //-----------------
|
||||||
</script>
|
</script>
|
||||||
|
<?php } ?>
|
||||||
|
<!--*************************************** 4 Management Dashboard - Ends Here ****************************-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
@ -4,7 +4,19 @@
|
|||||||
<div class="pull-right hidden-xs">
|
<div class="pull-right hidden-xs">
|
||||||
<b>Siddharth Industries</b> Admin System | Version 1.0
|
<b>Siddharth Industries</b> Admin System | Version 1.0
|
||||||
</div>
|
</div>
|
||||||
<strong>Copyright © 2016-2017 <a href="<?php echo base_url(); ?>">Siddharth Industries</a>.</strong> All rights reserved.
|
|
||||||
|
<strong>Copyright ©
|
||||||
|
<?php
|
||||||
|
$current_year=date("o");
|
||||||
|
if ($current_year=="2016")
|
||||||
|
echo "2016";
|
||||||
|
else
|
||||||
|
echo "2016 - $current_year";
|
||||||
|
?>
|
||||||
|
<a href="<?php echo base_url(); ?>">Siddharth Industries</a>.</strong> All rights reserved.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<!-- jQuery UI 1.11.2 -->
|
<!-- jQuery UI 1.11.2 -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user