cashbook report

This commit is contained in:
gayathri1990 2017-12-07 16:13:05 +05:30
parent 6983e90bea
commit 4852dde0e2
9 changed files with 133 additions and 12 deletions

View File

@ -339,3 +339,97 @@ ERROR - 2017-12-07 08:45:29 --> Severity: Notice --> Undefined property: stdCla
ERROR - 2017-12-07 08:46:39 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 08:47:54 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 09:02:00 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 09:20:44 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 09:21:13 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:17:09 --> Query error: Column 'type' in where clause is ambiguous
ERROR - 2017-12-07 10:17:28 --> Query error: Column 'type' in where clause is ambiguous
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:35 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:45 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:45 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:45 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:18:45 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:20:42 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:26:20 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:27:52 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 10:56:33 --> Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where tinc.type='EXPENSE' and monthname(date) = 'November' group by account_code' at line 3
ERROR - 2017-12-07 11:00:13 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:13 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:13 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:13 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:13 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77
ERROR - 2017-12-07 11:00:14 --> Severity: Notice --> Undefined property: stdClass::$account_code C:\xampp\htdocs\siddharth_application\application\views\cashbookmonthlydep.php 77

View File

@ -1382,7 +1382,7 @@ group by supplier_name,material_name";
}
function cashbook()
{
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,tinc.type,tinc.total,tinc.towhom,tinc.description,tinc.account_code,ac.name FROM t_income_expense tinc join t_accountcode ac on ac.code=tinc.account_code ";
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,tinc.type,tinc.total,tinc.towhom,tinc.description,tinc.account_code,ac.name FROM t_income_expense tinc join t_accountcode ac on ac.code=tinc.account_code where tinc.type='EXPENSE'";
$query = $this->db->query($sql);
return $query->result();
}
@ -1431,7 +1431,7 @@ group by supplier_name,material_name";
{
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,tinc.type,tinc.total,tinc.towhom,.tinc.description, ac.name FROM
t_income_expense tinc join t_accountcode ac on ac.code=tinc.account_code
WHERE account_code = '$sid' and monthname(date)='$d'";
WHERE tinc.type='EXPENSE' and account_code = '$sid' and monthname(date)='$d'";
$query = $this->db->query($sql);
//print_r($this->db->last_query());
//echo $sql;
@ -1442,7 +1442,7 @@ group by supplier_name,material_name";
{
$sql="SELECT date_format(tinc.date,'%d-%m-%Y')as date,tinc.type,sum(tinc.total)as total,monthname(tinc.date)as month,tinc.description,tinc.towhom,tinc.account_code,ac.name FROM t_income_expense tinc
join t_accountcode ac on ac.code=tinc.account_code
WHERE monthname(date) = ? group by account_code";
WHERE tinc.type='EXPENSE' and monthname(date) = ? group by account_code";
$query = $this->db->query($sql,array($sid));
//print_r($this->db->last_query());
return $query->result();

View File

@ -43,7 +43,7 @@ if(!empty($Indiancurrency))
<div class="content-wrapper">
<div class="col-md-8 col-md-offset-2">
<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><b> Monthly(Department Wise) Payments</b></center>

View File

@ -44,7 +44,7 @@ if(!empty($monthlyincreport))
<div class="content-wrapper">
<div class="col-md-8 col-md-offset-2">
<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><b>Monthly Payments </b></center>

View File

@ -17,7 +17,7 @@ if(!empty($Indiancurrency))
<div class="container-fluid">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="col-md-10 col-md-offset-1">
<table class="table table-bordered table-hover" id="datatable" style="background-color:#fff;font-size:11px;" >
<thead style="background-color:#ddf">

View File

@ -17,7 +17,7 @@ if(!empty($Indiancurrency))
<div class="container-fluid">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="col-md-10 col-md-offset-1">
<table class="table table-bordered table-hover" id="datatable" style="background-color:#fff;font-size:11px;" >
<thead style="background-color:#ddf">

View File

@ -32,7 +32,7 @@ if(!empty($Indiancurrency))
<div class="content-wrapper">
<div class="col-md-8 col-md-offset-2">
<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><b>Yearly Payments</b></center>

View File

@ -33,7 +33,7 @@ if(!empty($Indiancurrency))
<div class="content-wrapper">
<div class="col-md-8 col-md-offset-2">
<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><b>Monthly Payments</b></center>
@ -45,7 +45,7 @@ if(!empty($Indiancurrency))
<thead>
<tr>
<th>Date</th>
<!--<th>Date</th>-->
<th>Account Name</th>
<!--<th>month</th>-->
<!--<th>Paid To</th>-->
@ -64,7 +64,7 @@ if(!empty($Indiancurrency))
?>
<tr>
<td><span><?php echo $ym->date?></span></td>
<!--<td><span><?php echo $ym->date?></span></td>-->
<!--<td align="right"><span><a href="<?= base_url() ?>report/yearmonthwise"><?php echo $ym->month?></a></span></td>-->
<td align="left"><a href="<?php echo base_url(); ?>report/cashbookdepartment?sid=<?php echo $ym->account_code;?>&d=<?php echo $ym->month?>"><span><?php echo $ym->name?></span></a></td>
<!--<td align="right"><span><?php echo $ym->towhom?></span></td>-->

View File

@ -236,6 +236,7 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
</thead>
<tbody>
<?php if(!empty($cashbook)){
$tvt=0.00;
foreach($cashbook as $cash)
{
?>
@ -245,7 +246,9 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
<td align="left"><span><?php echo $cash->name?></span></td>
<td align="left"><span><?php echo $cash->towhom?></span></td>
<td align="left"><span><?php echo $cash->type?></span></td>
<td align="right"><span><?php echo number_format($cash->total,2,'.','');?></span></td>
<td align="right"><span><?php
$tvt= $tvt + number_format($cash->total,2,'.','');
echo number_format($cash->total,2,'.','');?></span></td>
<td align="left"><span><?php echo $cash->description?></span></td>
@ -258,6 +261,30 @@ collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:
}
?>
</tbody>
<tfoot width="100%">
<tr>
<td style="text-align:center;"><strong>Total</strong></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td style="text-align:right"><strong>
<?php
{
echo number_format($tvt,2,'.','');
}
?>
</strong>
</td>
<td>&nbsp;</td>
</tr>
</tfoot>
</table>
</div>