cashbook report

This commit is contained in:
gayathri1990 2018-01-10 11:08:50 +05:30
parent 7bd9b639ad
commit 153a11b4ce
9 changed files with 180 additions and 50 deletions

View File

@ -1211,8 +1211,9 @@ class report extends BaseController
}
public function cashbookdepartment()
{
$this->global['pageTitle'] = 'Cashbook - department - ';
$this->global['pageTitle'] = 'Cashbook - department - ';
$sid=$_GET['sid'];
//echo $sid;
$d=$_GET['d'];
$c=$_GET['c'];
if ($c=='PAYMENT')
@ -1241,15 +1242,15 @@ class report extends BaseController
$this->loadviews("cashbookmonthlyexp",$this->global,$data, NULL);
}
//for cashbook menu link//
public function cashbookmonthmenu()
{
// public function cashbookmonthmenu()
// {
$this->global['pageTitle'] = 'Cashbook monthly ';
$data['yearmonthwise']=$this->dahsboard_Model->yearmonthwise();
$data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
//print_r($data['departmentwise']);
$this->loadviews("cashbookyearmonthwise",$this->global,$data, NULL);
}
// $this->global['pageTitle'] = 'Cashbook monthly ';
// $data['yearmonthwise']=$this->dahsboard_Model->yearmonthwise();
// $data['Indiancurrency']=$this->dahsboard_Model->INRSymbol();
// //print_r($data['departmentwise']);
// $this->loadviews("cashbookyearmonthwise",$this->global,$data, NULL);
// }
public function yearmonthwise()
{
$sid=$_GET['sid'];
@ -1296,5 +1297,3 @@ class report extends BaseController
?>

View File

@ -0,0 +1,126 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:30 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:31 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 141
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 142
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 143
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:35:32 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\controllers\user.php 144
ERROR - 2018-01-10 06:36:10 --> Severity: Notice --> Undefined variable: cash C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlyexpenses.php 97
ERROR - 2018-01-10 06:36:10 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlyexpenses.php 97
ERROR - 2018-01-10 06:36:10 --> Severity: Notice --> Undefined variable: cash C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlyexpenses.php 97
ERROR - 2018-01-10 06:36:10 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlyexpenses.php 97

View File

@ -2226,10 +2226,18 @@ if ($cname!= ''){
}
function yearwise_data($value='')
{
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);
$sql="SELECT type,sum(total) as yearlydata from t_income_expense
where
type = ? and ((YEAR(date) = YEAR(CURRENT_DATE) and MONTH(date) >= 4) or (YEAR(date) = YEAR(CURRENT_DATE)+1 and MONTH(date) <= 3))";
type = ? and (date >= '".$fa."-04-01' and date <= '".$aa."-03-31')";
$query = $this->db->query($sql,array($value));
return $query->result();
@ -2426,3 +2434,4 @@ function INRSymbol()
}
}
?>

View File

@ -101,14 +101,20 @@ $(document).ready(function() {
"dom": "<'row'<'col-md-3'l><'col-md-9'Bf>>" +
"<'row'<'col-md-6'><'col-md-6'>>" +
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
buttons: [
{
extend: 'collection',
text: 'Export Cashbook Reports',
buttons: [
'excel'
]
}
buttons: [
{
extend: 'excelHtml5',
footer: 'true',
//messageTop: $('h3').text(),
title: $('h3').text(),
exportOptions: {
columns: ':visible'
}
},
'colvis'
]
} );
} );

View File

@ -54,9 +54,9 @@ if(!empty($Indiancurrency))
<div class="col-md-10 col-md-offset-1">
<div id="panel-quick-actions" class="panel panel-default quick-actions">
<div class="panel-heading">
<center><h3 class="box-title"><p style="color:#3c8dbc"><b><?php $month=date('F');echo $month;?> Report (DEP:<?php echo $department; ?>)</b></p></h3></center>
<center><h3 class="box-title"><p style="color:#3c8dbc"><b><?php $d=$_GET['d'] ;echo $d;?> Report(DEP:<?php echo $department; ?>)</b></p></h3></center>
</div>
<div class="btn-group btn-group-justified no-margin">
<div class="btn-group btn-group-justified no-margin">
<div>
<table class="table table-bordered table-hover" id="req" style="font-size:13px;">

View File

@ -57,7 +57,7 @@ if(!empty($Indiancurrency))
<div id="panel-quick-actions" class="panel panel-default quick-actions">
<div class="panel-heading">
<center><h3 class="box-title"><p style="color:#3c8dbc"><b><?php $month=date('F');echo $month;?> Report (DEP:<?php echo $department; ?>)</b></p></h3></center>
<center><h3 class="box-title"><p style="color:#3c8dbc"><b><?php $d=$_GET['d'] ;echo $d;?> Report (DEP:<?php echo $department;?>)</b></p></h3></center>
</div>
<div class="btn-group btn-group-justified no-margin">

View File

@ -40,7 +40,7 @@ if(!empty($Indiancurrency))
<div class="col-md-10 col-md-offset-1">
<div id="panel-quick-actions" class="panel panel-default quick-actions">
<div class="panel-heading">
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Month Report(<?php $month=date('F');echo $month;?>)</b></p></h3></center>
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Month Report(<?php $month=$_GET['sid'];echo $month;?>)</b></p></h3></center>
</div>
<table class="table table-bordered table-hover" id="req">
<thead>

View File

@ -111,7 +111,7 @@ if(!empty($todayincome))
<!-- fix for small devices only -->
<div class="clearfix visible-sm-block"></div>
<div class="col-md-3">
<div class="col-md-4">
<div class="info-box">
<span class="info-box-icon bg-red" style="height: 90px;padding:25px;"><i class="fa fa-hourglass-end"></i></span>
<div class="info-box-content">
@ -126,7 +126,7 @@ if(!empty($todayincome))
<!-- fix for small devices only -->
<div class="clearfix visible-sm-block"></div>
<div class="col-md-3">
<div class="col-md-4">
<div class="info-box">
<span class="info-box-icon bg-aqua" style="height: 90px;padding:25px;"><i<i class="fa fa-spinner"></span>
<div class="info-box-content">
@ -139,7 +139,7 @@ if(!empty($todayincome))
<!-- fix for small devices only -->
<div class="clearfix visible-sm-block"></div>
<div class="col-md-3">
<div class="col-md-4">
<div class="info-box">
<span class="info-box-icon bg-green" style="height: 90px;padding:25;"><i class="fa fa-industry" style="padding: 5px;"></i></span>
<div class="info-box-content">
@ -149,17 +149,7 @@ if(!empty($todayincome))
</div>
</div>
</div>
<div class="clearfix visible-sm-block"></div>
<div class="col-md-3">
<div class="info-box">
<span class="info-box-icon bg-green" style="height: 90px;padding:25;"><i class="fa fa-hourglass-1 " style="padding: 5px; background-color:orange;"></i></span>
<div class="info-box-content">
<span class="info-box-number"><a href="<?php echo base_url().'report/depmenu' ?>" data-toggle="tooltip" title="Click here to View Department payments"><?php echo "Reports" ?></a></span>
<span class="info-box-text text-center"><strong>Receipt :</strong><?php echo $inrsymbol. number_format($year_in,2,'.',''); ?></span>
<span class="info-box-text text-center"><strong>Payment :</strong><?php echo $inrsymbol.number_format($year_ex,2,'.',''); ?></span>
</div>
</div>
</div>
</div>
</center>

View File

@ -60,20 +60,20 @@ if(!empty($data))
<table id="viewIS">
<thead></thead>
<tbody>
<tr> <td style="text-align:right;"><h4>Date :</h4></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td style="text-align:right;"><?php if(!empty($data[0]->date)){echo date_format(date_create($data[0]->date),'d-m-Y');}?></td></tr>
<tr> <td style="text-align:right;"><h4><?php echo $label;?></h4></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td style="text-align:right;"><?php if(!empty($data[0]->towhom)){echo $data[0]->towhom;}?></td></tr>
<tr> <td style="text-align:right;"><h4>Date :</h4></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td><?php if(!empty($data[0]->date)){echo date_format(date_create($data[0]->date),'d-m-Y');}?></td></tr>
<tr> <td style="text-align:right;"><h4><?php echo $label;?></h4></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td><?php if(!empty($data[0]->towhom)){echo $data[0]->towhom;}?></td></tr>
<?php if($flag == 1){?>
<tr> <td style="text-align:right;"><h4>Invoice No :</h4></td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td style="text-align:right;"><?php if(!empty($data[0]->invoice_no)){echo $data[0]->invoice_no;}?></td></tr>
<tr> <td style="text-align:right;"><h4>Merchant Name :</h4></td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td style="text-align:right;"><?php if(!empty($data[0]->merchant)){echo $data[0]->merchant;}?></td></tr>
<tr> <td style="text-align:right;"><h4>Merchant GST No :</h4></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td style="text-align:right;"><?php if(!empty($data[0]->merchant_gst)){echo $data[0]->merchant_gst;}?></td></tr>
<tr> <td style="text-align:right;"><h4>HSN/SAC No :</h4></td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td style="text-align:right;"><?php if(!empty($data[0]->HSN)){echo $data[0]->HSN;}?></td></tr>
<tr> <td style="text-align:right;"><h4>Value Before GST :</h4></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td style="text-align:right;"><?php if(!empty($data[0]->value_before_gst)){echo $data[0]->value_before_gst;}?></td></tr>
<tr> <td style="text-align:right;"><h4>SGST :</h4></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td style="text-align:right;"><?php if(!empty($data[0]->sgst)){echo $data[0]->sgst;}?></td></tr>
<tr> <td style="text-align:right;"><h4>CGST :</h4></td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td style="text-align:right;"><?php if(!empty($data[0]->cgst)){echo $data[0]->cgst;}?></td></tr>
<tr> <td style="text-align:right;"><h4>IGST :</h4></td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td style="text-align:right;"><?php if(!empty($data[0]->igst)){echo $data[0]->igst;}?></td></tr>
<tr> <td style="text-align:right;"><h4>Invoice No :</h4></td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td><?php if(!empty($data[0]->invoice_no)){echo $data[0]->invoice_no;}?></td></tr>
<tr> <td style="text-align:right;"><h4>Merchant Name :</h4></td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td><?php if(!empty($data[0]->merchant)){echo $data[0]->merchant;}?></td></tr>
<tr> <td style="text-align:right;"><h4>Merchant GST No :</h4></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td><?php if(!empty($data[0]->merchant_gst)){echo $data[0]->merchant_gst;}?></td></tr>
<tr> <td style="text-align:right;"><h4>HSN/SAC No :</h4></td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td><?php if(!empty($data[0]->HSN)){echo $data[0]->HSN;}?></td></tr>
<tr> <td style="text-align:right;"><h4>Value Before GST :</h4></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td><?php if(!empty($data[0]->value_before_gst)){echo $data[0]->value_before_gst;}?></td></tr>
<tr> <td style="text-align:right;"><h4>SGST :</h4></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td><?php if(!empty($data[0]->sgst)){echo $data[0]->sgst;}?></td></tr>
<tr> <td style="text-align:right;"><h4>CGST :</h4></td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td><?php if(!empty($data[0]->cgst)){echo $data[0]->cgst;}?></td></tr>
<tr> <td style="text-align:right;"><h4>IGST :</h4></td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td><?php if(!empty($data[0]->igst)){echo $data[0]->igst;}?></td></tr>
<?php }?>
<tr> <td style="text-align:right;"><h4>Total Amount :</h4></td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td style="text-align:right;"><?php if(!empty($data[0]->total)){echo $data[0]->total;}?></td></tr>
<tr> <td style="text-align:right;"><h4>Description :</h4></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td style="text-align:right;"><?php if(!empty($data[0]->description)){echo $data[0]->description;}?></td></tr>
<tr> <td style="text-align:right;"><h4>Total Amount :</h4></td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td> <td><?php if(!empty($data[0]->total)){echo $data[0]->total;}?></td></tr>
<tr> <td style="text-align:right;"><h4>Description :</h4></td> <td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td><?php if(!empty($data[0]->description)){echo $data[0]->description;}?></td></tr>
</tbody>
</table>
</div>