permissiontime
This commit is contained in:
parent
10a4af5f37
commit
0f353b2a3f
@ -7,10 +7,10 @@ if(!empty($EmpCount))
|
||||
{
|
||||
foreach ($EmpCount as $Emp)
|
||||
{
|
||||
$Empcnt = $Emp->EmpCount;
|
||||
}
|
||||
|
||||
|
||||
$Empcnt = $Emp->EmpCount;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@ -18,23 +18,23 @@ if(!empty($EmpCount))
|
||||
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<!-- Dashboard for Account department-->
|
||||
<?php
|
||||
if($DEPCode == FINANCE)
|
||||
{
|
||||
?>
|
||||
<!-- Dashboard for Account department-->
|
||||
<?php
|
||||
if($DEPCode == FINANCE)
|
||||
{
|
||||
?>
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<center><h1> Accounts Department Dashboard</h1> </center>
|
||||
<center><h1> Accounts Department Dashboard</h1> </center>
|
||||
</section>
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<!-- Info boxes -->
|
||||
<center>
|
||||
<center>
|
||||
<div class="row">
|
||||
<!-- fix for small devices only -->
|
||||
<div class="clearfix visible-sm-block"></div>
|
||||
<div class="clearfix visible-sm-block"></div>
|
||||
<div class="col-md-4 col-md-offset-4 col-sm-6 col-xs-12">
|
||||
<div class="info-box">
|
||||
<span class="info-box-icon bg-yellow"><i class="ion ion-ios-people-outline"></i></span>
|
||||
@ -45,17 +45,12 @@ if(!empty($EmpCount))
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</center>
|
||||
<div>
|
||||
<marquee direction="up" scrollamount="2" height="150px;"> <font color="Brown"> <h1><b>Guidelines:</b></h1><h3> # PaySlip menu in header has two sub menu ( 1.Upload Salary , 2.PaySlip Generator)<br/><br/>
|
||||
# Upload salary menu is used to upload the Salary Excel file into the database<br/><br/>
|
||||
# Payslip generator menu is to generate the salary slip for individual Employess or All Employees</h3>
|
||||
</center> </font></marquee>
|
||||
</div>
|
||||
</section>
|
||||
</center>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<!-- HR Start part to-->
|
||||
@ -505,12 +500,12 @@ $("#monthabs").val('');
|
||||
<!-- \\\\\\\\\\\\\\\ HR END of the part ////////////////////////-->
|
||||
|
||||
|
||||
<!-- Dashboard for admin-->
|
||||
<?php
|
||||
if($role == ROLE_ADMIN && $DEPCode != MANAGEMENT)
|
||||
{
|
||||
?>
|
||||
<div class="content">
|
||||
<!-- Dashboard for admin-->
|
||||
<?php
|
||||
if($role == ROLE_ADMIN && $DEPCode != MANAGEMENT && $DEPCode != HR)
|
||||
{
|
||||
?>
|
||||
<div class="content">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1> Admin Dashboard </h1>
|
||||
@ -538,32 +533,32 @@ $("#monthabs").val('');
|
||||
|
||||
<!-- ./col -->
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<!-- /.content -->
|
||||
</div>
|
||||
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- Dashboard for Manager department-->
|
||||
<?php
|
||||
if($role == ROLE_MANAGER && $DEPCode != MANAGEMENT)
|
||||
{
|
||||
?>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- Dashboard for Manager department-->
|
||||
<?php
|
||||
if($role == ROLE_MANAGER && $DEPCode != MANAGEMENT)
|
||||
{
|
||||
?>
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<center><h1> Manager Department Dashboard</h1> </center>
|
||||
<center><h1> Manager Department Dashboard</h1> </center>
|
||||
</section>
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<!-- Info boxes -->
|
||||
<center>
|
||||
<center>
|
||||
<div class="row">
|
||||
<!-- fix for small devices only -->
|
||||
<div class="clearfix visible-sm-block"></div>
|
||||
<div class="clearfix visible-sm-block"></div>
|
||||
<div class="col-md-4 col-md-offset-4 col-sm-6 col-xs-12">
|
||||
<div class="info-box">
|
||||
<span class="info-box-icon bg-yellow"><i class="ion ion-ios-people-outline"></i></span>
|
||||
@ -574,19 +569,17 @@ $("#monthabs").val('');
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</center>
|
||||
<div>
|
||||
<marquee direction="up" scrollamount="2" height="150px;">Hi This Is Manager Login </marquee>
|
||||
</div>
|
||||
</section>
|
||||
</center>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}
|
||||
<?php
|
||||
}
|
||||
|
||||
if($DEPCode == MANAGEMENT)
|
||||
{
|
||||
?>
|
||||
if($DEPCode == MANAGEMENT)
|
||||
{
|
||||
?>
|
||||
|
||||
<head>
|
||||
<link href="<?php echo base_url();?>assets/plugins/morris/morris.css" rel="stylesheet" type="text/css" />
|
||||
@ -595,7 +588,7 @@ $("#monthabs").val('');
|
||||
<script>
|
||||
/*!
|
||||
DataTables Bootstrap 3 integration
|
||||
©2011-2014 SpryMedia Ltd - datatables.net/license
|
||||
©2011-2014 SpryMedia Ltd - datatables.net/license
|
||||
*/
|
||||
(function(l,q){var e=function(b,c){b.extend(!0,c.defaults,{dom:"<'row'<'col-sm-9'l><'col-sm-3'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-9'i><'col-sm-3'p>>",renderer:"bootstrap"});b.extend(c.ext.classes,{sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm"});c.ext.renderer.pageButton.bootstrap=function(g,e,r,s,i,m){var t=new c.Api(g),u=g.oClasses,j=g.oLanguage.oPaginate,d,f,n=0,p=function(c,e){var k,h,o,a,l=function(a){a.preventDefault();
|
||||
b(a.currentTarget).hasClass("disabled")||t.page(a.data.action).draw(!1)};k=0;for(h=e.length;k<h;k++)if(a=e[k],b.isArray(a))p(c,a);else{f=d="";switch(a){case "ellipsis":d="…";f="disabled";break;case "first":d=j.sFirst;f=a+(0<i?"":" disabled");break;case "previous":d=j.sPrevious;f=a+(0<i?"":" disabled");break;case "next":d=j.sNext;f=a+(i<m-1?"":" disabled");break;case "last":d=j.sLast;f=a+(i<m-1?"":" disabled");break;default:d=a+1,f=i===a?"active":""}d&&(o=b("<li>",{"class":u.sPageButton+" "+
|
||||
@ -612,68 +605,68 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
border-collapse: collapse;
|
||||
table-layout: fixed;
|
||||
word-wrap:break-word;
|
||||
|
||||
|
||||
}
|
||||
|
||||
th, td { white-space: nowrap; }
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
margin: 0 auto;
|
||||
|
||||
|
||||
}
|
||||
|
||||
div.container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.dataTables_paginate {
|
||||
|
||||
.dataTables_paginate {
|
||||
margin-top: -25px;
|
||||
position: absolute;
|
||||
text-align: right;
|
||||
left: -20%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
<div class="content-wrapper">
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<!-- Info boxes -->
|
||||
<div class="row">
|
||||
<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;">
|
||||
<span class="info-box-icon bg-aqua" style="height: 105px;padding:25px;"><i<i class="fa fa-spinner"></span>
|
||||
<?php
|
||||
if(!empty($details))
|
||||
if(!empty($details))
|
||||
{
|
||||
foreach($details as $req)
|
||||
{
|
||||
foreach($details as $req)
|
||||
{
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text" style="color:#00c0ef;"><strong>TODAY'S REQUESTS</strong></span>
|
||||
<span class="info-box-number"style="color:black;"><?php echo $req->TODAY_REQUESTS;?></span>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
<!-- /.info-box-content -->
|
||||
</div>
|
||||
</a>
|
||||
</a>
|
||||
<!-- /.info-box -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<a href="<?php echo base_url(); ?>reportpending">
|
||||
<a href="<?php echo base_url(); ?>reportpending">
|
||||
<div class="info-box" style="min-height: 105px;">
|
||||
<span class="info-box-icon bg-red" style="height: 105px;padding:25px;"><i class="fa fa-hourglass-end"></i></span>
|
||||
|
||||
<?php if(!empty($pending_details))
|
||||
{
|
||||
foreach($pending_details as $req_p){
|
||||
{
|
||||
foreach($pending_details as $req_p){
|
||||
|
||||
?>
|
||||
|
||||
@ -683,11 +676,11 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<!-- /.info-box-content -->
|
||||
</div>
|
||||
</a>
|
||||
</a>
|
||||
<!-- /.info-box -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
@ -696,66 +689,66 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
<div class="clearfix visible-sm-block"></div>
|
||||
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<a href="<?php echo base_url(); ?>TotalOrder">
|
||||
<a href="<?php echo base_url(); ?>TotalOrder">
|
||||
<div class="info-box" style="min-height: 105px;">
|
||||
<span class="info-box-icon bg-green" style="height: 105px;padding:25;"><i class="fa fa-industry" style="padding: 5px;"></i></span>
|
||||
<?php if(!empty($totalpurchaseorder))
|
||||
{
|
||||
foreach($totalpurchaseorder as $po)
|
||||
|
||||
{
|
||||
|
||||
?>
|
||||
{
|
||||
foreach($totalpurchaseorder as $po)
|
||||
|
||||
{
|
||||
|
||||
?>
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text" style="color:#00a65a;"><strong>TOTAL PURCHASE ORDER</strong></span>
|
||||
<span class="info-box-number"style="color:black;"><strong><?php echo $po->totalpurchaseorder;?></strong></span>
|
||||
<?php
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php if(!empty($totalordervalue))
|
||||
{
|
||||
foreach($totalordervalue as $ordervalue)
|
||||
|
||||
{
|
||||
|
||||
?>
|
||||
<span class="info-box-text" style="color:#00a65a;"><strong>TOTAL ORDER VALUE</strong></span>
|
||||
|
||||
<span class="info-box-number"style="color:black;"><strong><i class="fa fa-rupee " ></i> <?php echo $ordervalue->totalordervalue;?></strong></span>
|
||||
<?php
|
||||
<?php if(!empty($totalordervalue))
|
||||
{
|
||||
foreach($totalordervalue as $ordervalue)
|
||||
|
||||
{
|
||||
|
||||
?>
|
||||
<span class="info-box-text" style="color:#00a65a;"><strong>TOTAL ORDER VALUE</strong></span>
|
||||
|
||||
<span class="info-box-number"style="color:black;"><strong><i class="fa fa-rupee " ></i> <?php echo $ordervalue->totalordervalue;?></strong></span>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- /.info-box-content -->
|
||||
</div>
|
||||
</a>
|
||||
</a>
|
||||
<!-- /.info-box -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<a href="<?php echo base_url(); ?>openOrder">
|
||||
<a href="<?php echo base_url(); ?>openOrder">
|
||||
<div class="info-box" style="min-height: 105px;">
|
||||
<span class="info-box-icon bg-yellow" style="height: 105px;padding:25px;"><i class="fa fa-hourglass-1 " style="padding: 5px;"></i></span>
|
||||
<?php if(!empty($pendingpo))
|
||||
{
|
||||
foreach($pendingpo as $pendingpolist){
|
||||
|
||||
?>
|
||||
{
|
||||
foreach($pendingpo as $pendingpolist){
|
||||
|
||||
?>
|
||||
<div class="info-box-content">
|
||||
<span class="info-box-text" style="color:#f39c12;"><strong>PENDING PURCHASE ORDER</strong></span>
|
||||
<span class="info-box-number"style="color:black;"><?php echo $pendingpolist->pending;?></span>
|
||||
</div>
|
||||
<?php
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<!-- /.info-box-content -->
|
||||
</div>
|
||||
</a>
|
||||
</a>
|
||||
<!-- /.info-box -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
@ -791,19 +784,19 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
<div class="col-md-8">
|
||||
<p class="text-center">
|
||||
<strong>
|
||||
<?php
|
||||
if (date('m') >= 4) {
|
||||
$yearl = date('Y').'-'.(date('Y')+1);
|
||||
} else {
|
||||
$yearl = (date('Y')-1).'-'.date('Y');
|
||||
}
|
||||
$ab=$yearl;
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
echo '1 April, '.$fa.' - 31 March, '.$aa.'';
|
||||
?>
|
||||
|
||||
</strong>
|
||||
<?php
|
||||
if (date('m') >= 4) {
|
||||
$yearl = date('Y').'-'.(date('Y')+1);
|
||||
} else {
|
||||
$yearl = (date('Y')-1).'-'.date('Y');
|
||||
}
|
||||
$ab=$yearl;
|
||||
$fa=substr($ab,0,-5);
|
||||
$aa=substr($ab,5,5);
|
||||
echo '1 April, '.$fa.' - 31 March, '.$aa.'';
|
||||
?>
|
||||
|
||||
</strong>
|
||||
</p>
|
||||
|
||||
<div class="chart">
|
||||
@ -813,89 +806,89 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
<!-- /.chart-responsive -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-md-offset-1 col-md-3">
|
||||
<strong style="font-size:18px;"> BUDGET AMOUNT</strong>
|
||||
|
||||
<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>
|
||||
|
||||
<?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
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<br>
|
||||
<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 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
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<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 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
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<br>
|
||||
<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 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
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- /.progress-group -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
|
||||
<!-- /.row -->
|
||||
@ -906,89 +899,89 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
<div class="box-footer">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<div class="col-xs-6 col-md-3 text-center">
|
||||
<div class="description-block border-right">
|
||||
<?php foreach($servicebudgt as $service)
|
||||
if(!empty($servicebal))
|
||||
{
|
||||
foreach($servicebal as $serviceb)
|
||||
{
|
||||
?>
|
||||
<div class="knob-label"><strong style="color:#00c0ef">SERVICE BUDGET</strong></div>
|
||||
<?php foreach($servicebudgt as $service)
|
||||
if(!empty($servicebal))
|
||||
{
|
||||
foreach($servicebal as $serviceb)
|
||||
{
|
||||
?>
|
||||
<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 $serviceb->balservicebudget;?> 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 $serviceb->balservicebudget;?></strong></div>
|
||||
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee " ></i> <?php echo $serviceb->balservicebudget;?></strong></div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ./col -->
|
||||
<div class="col-xs-6 col-md-3 text-center">
|
||||
<div class="description-block border-right">
|
||||
<?php // if(!empty($totalrevenuepo))
|
||||
// {
|
||||
foreach($revenuebudgt as $revenue)
|
||||
if(!empty($revenuebal))
|
||||
{
|
||||
foreach($revenuebal as $revenueb)
|
||||
|
||||
{
|
||||
|
||||
?>
|
||||
<div class="knob-label"><strong style="color:#dd4b39">REVENUE BUDGET</strong></div>
|
||||
<?php // if(!empty($totalrevenuepo))
|
||||
// {
|
||||
foreach($revenuebudgt as $revenue)
|
||||
if(!empty($revenuebal))
|
||||
{
|
||||
foreach($revenuebal as $revenueb)
|
||||
|
||||
{
|
||||
|
||||
?>
|
||||
<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 $revenueb->balrevenuebudget;?> " data-min="0" data-max=<?php echo $revenue->totalrevenuebudget;?> data-width="" data-height="" data-fgColor="#dd4b39 "> <br>
|
||||
<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 $revenueb->balrevenuebudget;?></strong> </div>
|
||||
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee " ></i> <?php echo $revenueb->balrevenuebudget;?></strong> </div>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ./col -->
|
||||
<div class="col-xs-6 col-md-3 text-center">
|
||||
<div class="description-block border-right">
|
||||
<?php foreach($importbudgt as $import)
|
||||
if(!empty($importbal)){
|
||||
foreach($importbal as $importb)
|
||||
{
|
||||
|
||||
?>
|
||||
<div class="knob-label"><strong style="color:#00a65a">IMPORT BUDGET</strong></div>
|
||||
<?php foreach($importbudgt as $import)
|
||||
if(!empty($importbal)){
|
||||
foreach($importbal as $importb)
|
||||
{
|
||||
|
||||
?>
|
||||
<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 $importb->balimportbudget;?> data-min="0" data-max=<?php echo $import->totalimportbudget;?> data-width="" data-height="" data-fgColor="#00a65a "> <br>
|
||||
<div class="knob-label"><strong>TOTAL : <i class="fa fa-rupee " ></i> <?php echo $import->totalimportbudget;?> </strong></div>
|
||||
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee " ></i> <?php echo $importb->balimportbudget;?> </strong></div>
|
||||
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee " ></i> <?php echo $importb->balimportbudget;?> </strong></div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
<?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($capitalbal)){
|
||||
foreach($capitalbal as $capitalb)
|
||||
|
||||
{
|
||||
|
||||
?>
|
||||
<div class="knob-label"><strong style="color:#f39c12">CAPITAL BUDGET</strong></div>
|
||||
<?php foreach($capitalbud as $capital)
|
||||
if(!empty($capitalbal)){
|
||||
foreach($capitalbal as $capitalb)
|
||||
|
||||
{
|
||||
|
||||
?>
|
||||
<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 $capitalb->balcapitalbudget;?> data-min="0" data-max=<?php echo $capital->totalcapitalbudget;?> data-fgColor="#f39c12 "><br>
|
||||
<div class="knob-label"><strong>TOTAL : <i class="fa fa-rupee " ></i> <?php echo $capital->totalcapitalbudget;?></strong></div>
|
||||
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee " ></i> <?php echo $capitalb->balcapitalbudget;?></strong> </div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
<div class="knob-label"><strong>BALANCE : <i class="fa fa-rupee " ></i> <?php echo $capitalb->balcapitalbudget;?></strong> </div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<!-- ./col -->
|
||||
@ -996,8 +989,8 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
<!-- /.box-footer -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="box box-success">
|
||||
</div>
|
||||
<!--<div class="box box-success">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">Bar Chart</h3>
|
||||
|
||||
@ -1005,7 +998,7 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
|
||||
</button>
|
||||
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-body chart-responsive">
|
||||
@ -1013,7 +1006,7 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
@ -1049,13 +1042,13 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
});
|
||||
</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 type="text/javascript">
|
||||
<script src="<?php echo base_url(); ?>assets/plugins/morris/morris.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
$(function () {
|
||||
|
||||
/* jQueryKnob */ $(".knob").knob({
|
||||
|
||||
|
||||
|
||||
/*change : function (value) {
|
||||
|
||||
@ -1138,10 +1131,10 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
</script>
|
||||
<!-- Main row -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- /.row -->
|
||||
</section>
|
||||
|
||||
@ -1174,34 +1167,34 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
var capital = <?php echo JSON_encode($getTotalcapitalPoCount)?>;
|
||||
var revenue = <?php echo JSON_encode($getTotalrevenuePoCount)?>;
|
||||
// alert(service.PONO);
|
||||
var serviceValues = [];
|
||||
// var arr = new Array();
|
||||
$.each (service,function(idx,obj){
|
||||
serviceValues.push(obj[0].totalService);
|
||||
});
|
||||
var ImportValues = [];
|
||||
// var arr = new Array();
|
||||
$.each (Import,function(idx,obj){
|
||||
ImportValues.push(obj[0].totalImport);
|
||||
});
|
||||
var capitalValues = [];
|
||||
// var arr = new Array();
|
||||
$.each (capital,function(idx,obj){
|
||||
capitalValues.push(obj[0].totalcapital);
|
||||
});
|
||||
var revenueValues = [];
|
||||
// var arr = new Array();
|
||||
$.each (revenue,function(idx,obj){
|
||||
revenueValues.push(obj[0].totalrevenue);
|
||||
});
|
||||
|
||||
//console.log(serviceValues);
|
||||
//alert(arr.total2);
|
||||
var serviceValues = [];
|
||||
// var arr = new Array();
|
||||
$.each (service,function(idx,obj){
|
||||
serviceValues.push(obj[0].totalService);
|
||||
});
|
||||
var ImportValues = [];
|
||||
// var arr = new Array();
|
||||
$.each (Import,function(idx,obj){
|
||||
ImportValues.push(obj[0].totalImport);
|
||||
});
|
||||
var capitalValues = [];
|
||||
// var arr = new Array();
|
||||
$.each (capital,function(idx,obj){
|
||||
capitalValues.push(obj[0].totalcapital);
|
||||
});
|
||||
var revenueValues = [];
|
||||
// var arr = new Array();
|
||||
$.each (revenue,function(idx,obj){
|
||||
revenueValues.push(obj[0].totalrevenue);
|
||||
});
|
||||
|
||||
//console.log(serviceValues);
|
||||
//alert(arr.total2);
|
||||
var salesChartData = {
|
||||
labels: [ "April", "May", "June", "July", "August", "September", "October", "November", "December","January", "February", "March"],
|
||||
|
||||
|
||||
datasets: [
|
||||
|
||||
|
||||
{
|
||||
label: "Electronics",
|
||||
fillColor: "rgba(0, 192, 239, 0.2)",
|
||||
@ -1210,10 +1203,10 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
pointStrokeColor: "rgba(60,141,188,1)",
|
||||
pointHighlightFill: "#fff",
|
||||
pointHighlightStroke: "rgba(60,141,188,1)",
|
||||
data:[serviceValues[3],serviceValues[4],serviceValues[5],serviceValues[6],serviceValues[7],serviceValues[8],serviceValues[9],serviceValues[10],serviceValues[11],serviceValues[0],serviceValues[1],serviceValues[2]]
|
||||
|
||||
data:[serviceValues[3],serviceValues[4],serviceValues[5],serviceValues[6],serviceValues[7],serviceValues[8],serviceValues[9],serviceValues[10],serviceValues[11],serviceValues[0],serviceValues[1],serviceValues[2]]
|
||||
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
label: "Digital Goods",
|
||||
fillColor: "rgba(221, 75, 57,0.2)",
|
||||
@ -1378,12 +1371,12 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</section>
|
||||
</div>
|
||||
@ -1235,7 +1235,9 @@
|
||||
<label>Date</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$date = date('d-m-Y');
|
||||
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||
$date = $dt->format('d-m-Y');
|
||||
|
||||
$data = array('name' => 'date','value' => set_value('date',$date),'id'=>'date', 'class' => 'form-control' ,'readonly' => 'true');
|
||||
echo form_input($data);
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user