bankstatement

This commit is contained in:
gayathri1990 2018-03-21 11:12:26 +05:30
parent 95cdb6d0d0
commit ef8a44a519
6 changed files with 50 additions and 38 deletions

View File

@ -959,7 +959,7 @@ class cashbook extends BaseController
echo "<script>alert('Saved Successfully!');window.location.href='Bankingstatement';</script>";
//echo "<script>alert('Saved Successfully!');window.location.href='Bankingstatement';</script>";

View File

@ -0,0 +1,17 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
ERROR - 2018-03-21 06:32:33 --> Severity: Notice --> Undefined variable: filename C:\xampp\htdocs\siddharth_application\application\controllers\cashbook.php 157
ERROR - 2018-03-21 06:32:33 --> The upload path does not appear to be valid.
ERROR - 2018-03-21 06:32:41 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 15
ERROR - 2018-03-21 06:32:41 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 15
ERROR - 2018-03-21 06:32:41 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 109
ERROR - 2018-03-21 06:32:41 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 109
ERROR - 2018-03-21 06:32:41 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 149
ERROR - 2018-03-21 06:32:41 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 149
ERROR - 2018-03-21 06:33:11 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 15
ERROR - 2018-03-21 06:33:11 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 15
ERROR - 2018-03-21 06:33:11 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 109
ERROR - 2018-03-21 06:33:11 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 109
ERROR - 2018-03-21 06:33:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 149
ERROR - 2018-03-21 06:33:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 149
ERROR - 2018-03-21 06:33:18 --> Severity: Notice --> Undefined variable: cashbook C:\xampp\htdocs\siddharth_application\application\views\cashbooklisting.php 243

View File

@ -219,8 +219,8 @@ function receiptdata()
function debitpolist($bankid)
{
$this->db->select('mid,Podate,PONO,Suppliername,Totalpoamount,
Balancetopay,Amountpaid');
$this->db->from ('T_Bankporeport');
Balancetopay,Amountpaid');
$this->db->from ('T_Bankmappingpo');
$this->db->where('mid',$bankid);
//$this->db->group_by('PONO');

View File

@ -135,26 +135,32 @@
</div>
</div>
<div>
<div class="col-md-3">
<br>
<div class="row">
<div class="col-md-2">
<label for="from_date">
<?php echo 'Bank Debit Amount'; ?>
</label>
<div class="input-group">
<div class="input-group">
<input type="text" id="debitamount" readonly>
</div>
</div>
</div>
<div class="col-md-2">
<label for="from_date">
<?php echo 'Bank Id'; ?>
</label>
<div class="input-group">
<input type="text" id="bankid" value="" readonly>
</div>
</div>
</div>
</div>
</form>
<br>
<br>
<input type="text" name="Rowid" id="Rowid">
<input type="hidden" name="Rowid" id="Rowid">
<table class="table table-bordered table-hover" id="req" style="table-layout:auto;">
<thead>
<tr>
@ -374,8 +380,8 @@ if(x==true)
// }
if(bankdebitamount==totalvalue)
{
alert('you have remaining'+balanceamount);
alert('your amount is equal to debit amount');
//alert('you have remaining'+balanceamount);
//alert('your amount is equal to debit amount');
$(".checkboxcheckbox").prop("disabled", true);
}

View File

@ -205,7 +205,7 @@
if(!empty($bankreport)){
foreach($bankreport as $t)
{
$debit=$t->Debit;
$status=$t->Status;
$type=0;
if(!empty($t->Debit))
@ -247,22 +247,15 @@
<?php
if($t->Clearbalance==null)
{
$clearbalance=0;
}
else
{
$cashbook=$t->total;
$clearbalance=$t->Clearbalance;
//$totalclearbalance=$cashbook+$clearbalance;
}
?>
<td align="left" id="totalpaid<?php echo $i?>"><a href="<?php echo base_url() ?>cashbook/mappingpo?d=<?php echo $t->ID?>"><span><?php echo $clearbalance?></a></span></td>
<?php
if($status=='CLOSE')
{
?>
<td align="left" id="btc<?php echo $i ?>"><span><?php echo ($t->Debit) - ($t->Clearbalance);?></span></td>
<?php
@ -285,15 +278,11 @@
<td align="left" id="credit1<?php echo $i ?>"><span><?php echo $t->Credit;?></span></td>
<?php
if($t->cclearbalance==null)
{
$clearbalance=0;
}
else
{
$clearbalance=$t->cclearbalance;
}
$clearbalance=$t->cclearbalance;
?>
<td align="left" id="credit2<?php echo $i ?>"><a href="<?php echo base_url() ?>cashbook/mappinginvoice?d=<?php echo $t->ID?>"><span><?php echo $clearbalance;?></span></td>
<td align="left" id="credit<?php echo $i ?>"><span><?php echo ($t->Credit)-($t->cclearbalance);?></span></td>
@ -519,7 +508,7 @@ if (x==true)
localStorage.setItem('test2',tempcredit);
localStorage.setItem('tes', avalue);
window.location.href="Invoice";
window.location.href="cashbook/bankinvoice";
}
else
{

View File

@ -1051,7 +1051,7 @@ $(function() {
<li class="treeview">
<a href="<?php echo base_url(); ?>Bankingview">
<i class="fa fa-credit-card"></i>
<span>Banking</span>
<span>Bank Statement Upload</span>
</a>
</li>
<li class="treeview">
@ -1060,7 +1060,7 @@ $(function() {
<span>Bank Statements</span>
</a>
</li>
<li class="treeview">
<!--<li class="treeview">
<a href="<?php echo base_url(); ?>Debitstatement">
<i class="fa fa-credit-card"></i>
<span>Amount Paid</span>
@ -1101,7 +1101,7 @@ $(function() {
<i class="fa fa-credit-card"></i>
<span>addincexp</span>
</a>
</li>
</li>-->
</ul>
@ -1151,7 +1151,7 @@ $(function() {
<li class="treeview">
<a href="<?php echo base_url(); ?>Bankingview">
<i class="fa fa-credit-card"></i>
<span>Banking</span>
<span>Bank Statement Upload</span>
</a>
</li>
<li class="treeview">
@ -1160,7 +1160,7 @@ $(function() {
<span>Bank Statements</span>
</a>
</li>
<li class="treeview">
<!--<li class="treeview">
<a href="<?php echo base_url(); ?>Debitstatement">
<i class="fa fa-credit-card"></i>
<span>Amount Paid</span>
@ -1201,7 +1201,7 @@ $(function() {
<i class="fa fa-credit-card"></i>
<span>addincexp</span>
</a>
</li>
</li>-->
</ul>