remove total column
This commit is contained in:
parent
1b5fe78f33
commit
d063577e13
22
application/logs/log-2017-12-22.php
Normal file
22
application/logs/log-2017-12-22.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
|
||||
|
||||
ERROR - 2017-12-22 07:48:19 --> Severity: Notice --> Undefined property: stdClass::$date C:\xampp\htdocs\siddharth_application\application\views\cashbookyearlyexpenses.php 108
|
||||
ERROR - 2017-12-22 07:48:19 --> Severity: Notice --> Undefined property: stdClass::$type C:\xampp\htdocs\siddharth_application\application\views\cashbookyearlyexpenses.php 110
|
||||
ERROR - 2017-12-22 07:48:27 --> Severity: Notice --> Undefined variable: cash C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:48:27 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:48:27 --> Severity: Notice --> Undefined variable: cash C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:48:27 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:48:27 --> Severity: Notice --> Undefined variable: cash C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:48:27 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:48:27 --> Severity: Notice --> Undefined variable: cash C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:48:27 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:49:29 --> Severity: Notice --> Undefined property: stdClass::$date C:\xampp\htdocs\siddharth_application\application\views\cashbookyearlyexpenses.php 108
|
||||
ERROR - 2017-12-22 07:49:29 --> Severity: Notice --> Undefined property: stdClass::$type C:\xampp\htdocs\siddharth_application\application\views\cashbookyearlyexpenses.php 110
|
||||
ERROR - 2017-12-22 07:49:33 --> Severity: Notice --> Undefined variable: cash C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:49:33 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:49:33 --> Severity: Notice --> Undefined variable: cash C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:49:33 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:49:33 --> Severity: Notice --> Undefined variable: cash C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:49:33 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:49:34 --> Severity: Notice --> Undefined variable: cash C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
ERROR - 2017-12-22 07:49:34 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\cashbookyearmonthwise.php 82
|
||||
@ -89,7 +89,7 @@ foreach($financialyear as $item)
|
||||
|
||||
<th style="text-align:right;"> Receipt <?php echo '('.$inrsymbol.')' ?></th>
|
||||
<th style="text-align:right;"> Payment <?php echo '('.$inrsymbol.')' ?></th>
|
||||
<th style="text-align:right;"> Total <?php echo '('.$inrsymbol.')' ?></th>
|
||||
|
||||
|
||||
|
||||
|
||||
@ -114,7 +114,7 @@ foreach($financialyear as $item)
|
||||
<td align="right"><span><?php
|
||||
$tvt= $tvt + number_format($yr->exp,2,'.','');
|
||||
echo number_format($yr->exp,2,'.','');?></span></td>
|
||||
<td align="right"><span><?php echo number_format($yr->total,2,'.','');?></span></td>
|
||||
|
||||
|
||||
|
||||
|
||||
@ -126,6 +126,37 @@ foreach($financialyear as $item)
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
<tfoot width="100%">
|
||||
<tr>
|
||||
<td style="text-align:left;"><strong>Total</strong></td>
|
||||
|
||||
<td style="text-align:right"><strong>
|
||||
<?php
|
||||
{
|
||||
echo number_format($ti,2,'.','');
|
||||
|
||||
}
|
||||
?>
|
||||
</strong>
|
||||
</td>
|
||||
<td style="text-align:right"><strong>
|
||||
<?php
|
||||
{
|
||||
echo number_format($tvt,2,'.','');
|
||||
|
||||
}
|
||||
?>
|
||||
</strong>
|
||||
</td>
|
||||
|
||||
<td> </td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
@ -34,111 +34,102 @@ if(!empty($Indiancurrency))
|
||||
</style>
|
||||
|
||||
|
||||
<div class="content-wrapper">
|
||||
<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>
|
||||
</div>
|
||||
<div class="btn-group btn-group-justified no-margin">
|
||||
|
||||
<div>
|
||||
<table class="table table-bordered table-hover" id="req" style="font-size:13px;">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<!--<th>Date</th>-->
|
||||
<th>Account Name</th>
|
||||
<!--<th>month</th>-->
|
||||
<!--<th>Paid To</th>-->
|
||||
<th>Paid Type</th>
|
||||
<!--<th>Received From</th>
|
||||
<th>Paid To</th>-->
|
||||
<th style="text-align:right;"> Receipt <?php echo '('.$inrsymbol.')' ?></th>
|
||||
<th style="text-align:right;"> Payment <?php echo '('.$inrsymbol.')' ?></th>
|
||||
|
||||
<!--<th>Description</th>-->
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$ti=0.00;
|
||||
$tvt=0.00;
|
||||
if(!empty($yearmonthwise)){
|
||||
foreach($yearmonthwise as $ym)
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
|
||||
|
||||
<!--<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?>&c=<?php echo $ym->type?>"><span><?php echo $ym->name?></span></a></td>
|
||||
<!--<td align="right"><span><?php echo $ym->towhom?></span></td>-->
|
||||
<td align="left"><span><?php echo $ym->type?></span></td>
|
||||
<!--<td align="left"><span><?php echo $ym->receiptname?></span></td>
|
||||
<td align="left"><span><?php echo $ym->paymentname?></span></td>-->
|
||||
|
||||
<!--<td align="left"><span><?php echo $cash->expense?></span></td>-->
|
||||
<td align="right"><span><?php
|
||||
$ti= $ti + number_format($ym->income,2,'.','');
|
||||
echo number_format($ym->income,2,'.','');?></span></td>
|
||||
<td align="right"><span><?php
|
||||
$tvt= $tvt + number_format($ym->expense,2,'.','');
|
||||
echo number_format($ym->expense,2,'.','');?></span></td>
|
||||
<div class="content-wrapper">
|
||||
<section class="content">
|
||||
<div class="container-fluid">
|
||||
<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>
|
||||
</div>
|
||||
<table class="table table-bordered table-hover" id="req">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<!--<th>Date</th>-->
|
||||
<th>Account Name</th>
|
||||
<!--<th>month</th>-->
|
||||
<!--<th>Paid To</th>-->
|
||||
<th>Paid Type</th>
|
||||
<!--<th>Received From</th>
|
||||
<th>Paid To</th>-->
|
||||
<th style="text-align:right;"> Receipt <?php echo '('.$inrsymbol.')' ?></th>
|
||||
<th style="text-align:right;"> Payment <?php echo '('.$inrsymbol.')' ?></th>
|
||||
|
||||
<!--<th>Description</th>-->
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$ti=0.00;
|
||||
$tvt=0.00;
|
||||
if(!empty($yearmonthwise)){
|
||||
foreach($yearmonthwise as $ym)
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
|
||||
|
||||
<!--<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?>&c=<?php echo $ym->type?>"><span><?php echo $ym->name?></span></a></td>
|
||||
<!--<td align="right"><span><?php echo $ym->towhom?></span></td>-->
|
||||
<td align="left"><span><?php echo $ym->type?></span></td>
|
||||
<!--<td align="left"><span><?php echo $ym->receiptname?></span></td>
|
||||
<td align="left"><span><?php echo $ym->paymentname?></span></td>-->
|
||||
|
||||
<!--<td align="left"><span><?php echo $cash->expense?></span></td>-->
|
||||
<td align="right"><span><?php
|
||||
$ti= $ti + number_format($ym->income,2,'.','');
|
||||
echo number_format($ym->income,2,'.','');?></span></td>
|
||||
<td align="right"><span><?php
|
||||
$tvt= $tvt + number_format($ym->expense,2,'.','');
|
||||
echo number_format($ym->expense,2,'.','');?></span></td>
|
||||
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
<tfoot width="100%">
|
||||
<tr>
|
||||
<td style="text-align:left;"><strong>Total</strong></td>
|
||||
<td> </td>
|
||||
|
||||
|
||||
<td style="text-align:right"><strong>
|
||||
<?php
|
||||
{
|
||||
echo number_format($ti,2,'.','');
|
||||
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</strong>
|
||||
</td>
|
||||
<td style="text-align:right"><strong>
|
||||
<?php
|
||||
{
|
||||
echo number_format($tvt,2,'.','');
|
||||
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
<tfoot width="100%">
|
||||
<tr>
|
||||
<td style="text-align:left;"><strong>Total</strong></td>
|
||||
<td> </td>
|
||||
|
||||
|
||||
<td style="text-align:right"><strong>
|
||||
<?php
|
||||
{
|
||||
echo number_format($ti,2,'.','');
|
||||
|
||||
}
|
||||
?>
|
||||
</strong>
|
||||
</td>
|
||||
<td style="text-align:right"><strong>
|
||||
<?php
|
||||
{
|
||||
echo number_format($tvt,2,'.','');
|
||||
|
||||
}
|
||||
?>
|
||||
</strong>
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
}
|
||||
?>
|
||||
</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>
|
||||
@ -156,7 +147,7 @@ if(!empty($Indiancurrency))
|
||||
// Set up your table
|
||||
$(document).ready(function() {
|
||||
table = $('#req').DataTable( {
|
||||
"dom": "<'row'<'col-md-3'l><'col-md-9'Bf>>" +
|
||||
"dom": "<'row'<'col-md-5'l><'col-md-7'Bf>>" +
|
||||
"<'row'<'col-md-6'><'col-md-6'>>" +
|
||||
"<'row'<'col-md-12't>><'row'<'col-md-4'i><'col-md-8'p>>",
|
||||
buttons: [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user