bankchanges

This commit is contained in:
gayathri1990 2018-10-17 15:51:57 +05:30
parent 8afe99da53
commit 3ebd8ecbf4
13 changed files with 8677 additions and 106 deletions

View File

@ -142,7 +142,7 @@ define('NO_RECEIVED', 'ST066');
define('PARTIALLY_RECEIVED', 'ST067');
define('AMOUNT_PAIDIGR', 'ST070');
define('PARTIALLY_PAIDIGR', 'ST071');
define('NO_PAIDIGR', '+ST072');
define('NO_PAIDIGR', 'ST072');
/* Work status code */
define('SERVICE_COMPLETED', 'ST046');

View File

@ -1373,22 +1373,30 @@ class cashbook extends BaseController
}
public function amountpaid()
{
//$this->global['pageTitle'] = 'Siddharth : amountpaid';
$suppliername= $_GET['sid'];
$this->global['pageTitle'] = 'Siddharth : Bank Report - Amount Payment Details';
if ($this->input->post('btn_submit'))
{
$SupplierName = $this->input->post('SupplierName');
$ab=$this->input->post('financialyear');
$fa=substr($ab,0,-5);
$aa=substr($ab,5,5);
$m=$this->input->post('month');
$fdate = $this->input->post('from_date');
$tdate = $this->input->post('to_date');
$data['bankdebit'] = $this->cashbook_model->debitpolistfilter($SupplierName,$fdate,$tdate);
$tdate = $this->input->post('to_date');
$suppliername= $this->input->post('supplier');
$data['bankdebit'] = $this->cashbook_model->debitpolistfilter($suppliername,$fa,$aa,$m,$fdate,$tdate);
}
else
{
$suppliername= $_GET['sid'];
$data['bankdebit'] = $this->cashbook_model->paided($suppliername);
$suppliername= $_GET['sid'];
$data['bankdebit'] = $this->cashbook_model->paided($suppliername);
}
$data['supplier'] = $this->cashbook_model->getsupplier();
$data['finyear']=$this->cashbook_model->report_finyear();
//$data['supplier'] = $this->cashbook_model->getsupplier();
// $this->loadViews("bankpaidsupp", $this->global,$data, NULL);
$this->loadViews("bankamountpaid", $this->global,$data, NULL);
@ -1410,6 +1418,7 @@ class cashbook extends BaseController
$suppliername= $_GET['sid'];
$data['bankreceivable'] = $this->cashbook_model->creditinvoicesupplierwise($suppliername);
}
$data['supplier'] = $this->cashbook_model->getsupplier();
// $this->loadViews("bankpaidsupp", $this->global,$data, NULL);
$this->loadViews("bankamountreceived", $this->global,$data, NULL);
@ -1470,7 +1479,7 @@ class cashbook extends BaseController
{
$this->global['pageTitle'] = 'Siddharth : Bank Debit Report';
$sd=$this->input->post('supplierid');
//$sd=$this->input->post('supplierid');
if ($this->input->post('btn_submit'))
{
@ -1480,6 +1489,7 @@ class cashbook extends BaseController
$m=$this->input->post('month');
$fdate = $this->input->post('from_date');
$tdate = $this->input->post('to_date');
$sd= $this->input->post('supplier');
$data['bankunpaid'] = $this->cashbook_model->amountunpaidfilter($sd,$fa,$aa,$m,$fdate,$tdate);
}
else
@ -1510,7 +1520,8 @@ class cashbook extends BaseController
$m=$this->input->post('month');
$fdate = $this->input->post('from_date');
$tdate = $this->input->post('to_date');
$data['amountreceived'] = $this->cashbook_model->creditinvoicelistfilter($fdate,$tdate,$fa,$aa,$m);
$clientname = $this->input->post('customer');
$data['amountreceived'] = $this->cashbook_model->creditinvoicelistfilter($clientname,$fdate,$tdate,$fa,$aa,$m);
}
else
{
@ -1568,7 +1579,8 @@ class cashbook extends BaseController
$data['amountunreceivedsupplier'] = $this->cashbook_model->unreceivedsupplier();
}
$data['finyear']=$this->cashbook_model->report_finyearamountreceived();
$data['finyear']=$this->cashbook_model->report_finyearamountreceived();
print_r($data['finyear']);
$data['getcustomer'] = $this->cashbook_model->getcustomer();
$this->loadViews("bankunreceivedsupp", $this->global,$data, NULL);
@ -1588,10 +1600,9 @@ class cashbook extends BaseController
$m=$this->input->post('month');
$fdate = $this->input->post('from_date');
$tdate = $this->input->post('to_date');
echo $fa;
echo $aa;
$data['clientname']=$_GET['sid'];
$data['amountunreceived'] = $this->cashbook_model->uncreditinvoicelistfilter($fdate,$tdate,$fa,$aa,$m);
$client =$this->input->post('client');
echo $client;
$data['amountunreceived'] = $this->cashbook_model->uncreditinvoicelistfilter($client,$fdate,$tdate,$fa,$aa,$m);
}
else
{
@ -1698,7 +1709,7 @@ class cashbook extends BaseController
$updatebankpoamount=$totalamount-$totalbalancetopay;
$result2= $this->cashbook_model->deleteBankmappingpo($id,$IsActive);
//for update mapping amount inT_Bankporeport table//
$result3= $this->cashbook_model->updateBankporeportpo($igrno,$totalbalancetopay,$updatebankpoamount,$Bankid,$active);
$result3= $this->cashbook_model->updateBankporeportpo($igrno,$totalbalancetopay,$updatebankpoamount,$Bankid,$IsActive);
if(count($result2)>0)
{

View File

@ -0,0 +1,10 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
ERROR - 2018-10-11 11:46:11 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
ERROR - 2018-10-11 11:46:11 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
ERROR - 2018-10-11 11:46:11 --> Severity: Notice --> Undefined property: stdClass::$SupplierID C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 174
ERROR - 2018-10-11 11:46:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 182
ERROR - 2018-10-11 11:46:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 183
ERROR - 2018-10-11 11:46:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 189
ERROR - 2018-10-11 11:46:11 --> Severity: Notice --> Undefined property: stdClass::$SupplierID C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 174
ERROR - 2018-10-11 11:46:11 --> Severity: Notice --> Undefined property: stdClass::$SupplierID C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 174

View File

@ -0,0 +1,132 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
ERROR - 2018-10-13 12:03:52 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
ERROR - 2018-10-13 12:03:52 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
ERROR - 2018-10-13 12:03:52 --> Severity: Notice --> Undefined property: stdClass::$SupplierID C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 174
ERROR - 2018-10-13 12:03:52 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 182
ERROR - 2018-10-13 12:03:52 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 183
ERROR - 2018-10-13 12:03:52 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 189
ERROR - 2018-10-13 12:03:52 --> Severity: Notice --> Undefined property: stdClass::$SupplierID C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 174
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 10
ERROR - 2018-10-13 12:03:59 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 10
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined variable: bankdepit C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 102
ERROR - 2018-10-13 12:03:59 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 102
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined variable: ap C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 106
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 106
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined variable: ap C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 166
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 166
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined property: stdClass::$MaterialRcvdDate C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 211
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined variable: t C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined variable: t C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined property: stdClass::$file C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 221
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined property: stdClass::$Fpath C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 230
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined property: stdClass::$FilePath C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 248
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined variable: record C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 264
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 264
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined property: stdClass::$MaterialRcvdDate C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 211
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined variable: t C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined variable: t C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined property: stdClass::$file C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 221
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined property: stdClass::$Fpath C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 230
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined property: stdClass::$FilePath C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 248
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Undefined variable: record C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 264
ERROR - 2018-10-13 12:03:59 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 264
ERROR - 2018-10-13 12:04:11 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankposettlement.php 13
ERROR - 2018-10-13 12:04:11 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankposettlement.php 13
ERROR - 2018-10-13 12:24:23 --> Severity: Notice --> Undefined variable: pageTitle C:\xampp\htdocs\siddharth_application\application\views\includes\header.php 7
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 2
ERROR - 2018-10-13 12:24:24 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 2
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: bankreport C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 8
ERROR - 2018-10-13 12:24:24 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 8
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 85
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 85
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 86
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 86
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 87
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 87
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 137
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 137
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 138
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 138
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 139
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 139
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: finyear C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 197
ERROR - 2018-10-13 12:24:24 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 197
ERROR - 2018-10-13 12:24:24 --> Severity: Notice --> Undefined variable: Bankname C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 235
ERROR - 2018-10-13 12:24:25 --> Severity: Notice --> Undefined index: sid C:\xampp\htdocs\siddharth_application\application\controllers\cashbook.php 1388
ERROR - 2018-10-13 12:24:26 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 10
ERROR - 2018-10-13 12:24:26 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 10
ERROR - 2018-10-13 12:24:26 --> Severity: Notice --> Undefined variable: ap C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 166
ERROR - 2018-10-13 12:24:26 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 166
ERROR - 2018-10-13 12:24:42 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
ERROR - 2018-10-13 12:24:42 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
ERROR - 2018-10-13 12:24:42 --> Severity: Notice --> Undefined property: stdClass::$SupplierID C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 174
ERROR - 2018-10-13 12:24:42 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 182
ERROR - 2018-10-13 12:24:42 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 183
ERROR - 2018-10-13 12:24:42 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 189
ERROR - 2018-10-13 12:24:42 --> Severity: Notice --> Undefined property: stdClass::$SupplierID C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 174
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 10
ERROR - 2018-10-13 12:27:36 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 10
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Undefined variable: bankdepit C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 102
ERROR - 2018-10-13 12:27:36 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 102
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Undefined variable: ap C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 106
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 106
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Undefined variable: ap C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 166
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 166
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Undefined property: stdClass::$MaterialRcvdDate C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 211
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Undefined variable: t C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Undefined variable: t C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Undefined property: stdClass::$file C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 221
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Undefined property: stdClass::$Fpath C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 230
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Undefined property: stdClass::$FilePath C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 248
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Undefined variable: record C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 264
ERROR - 2018-10-13 12:27:36 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 264
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 10
ERROR - 2018-10-13 12:41:56 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 10
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Undefined variable: bankdepit C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 102
ERROR - 2018-10-13 12:41:56 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 102
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Undefined variable: ap C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 106
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 106
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Undefined variable: ap C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 166
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 166
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Undefined property: stdClass::$MaterialRcvdDate C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 211
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Undefined variable: t C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Undefined variable: t C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 213
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Undefined property: stdClass::$file C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 221
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Undefined property: stdClass::$Fpath C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 230
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Undefined property: stdClass::$FilePath C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 248
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Undefined variable: record C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 264
ERROR - 2018-10-13 12:41:56 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 264
ERROR - 2018-10-13 12:42:10 --> Severity: Notice --> Undefined variable: pageTitle C:\xampp\htdocs\siddharth_application\application\views\includes\header.php 7
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 2
ERROR - 2018-10-13 12:42:11 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 2
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: bankreport C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 8
ERROR - 2018-10-13 12:42:11 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 8
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 85
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 85
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 86
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 86
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 87
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 87
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 137
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 137
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 138
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 138
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 139
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 139
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: finyear C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 197
ERROR - 2018-10-13 12:42:11 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 197
ERROR - 2018-10-13 12:42:11 --> Severity: Notice --> Undefined variable: Bankname C:\xampp\htdocs\siddharth_application\application\views\bankstatement.php 235
ERROR - 2018-10-13 12:42:12 --> Severity: Notice --> Undefined index: sid C:\xampp\htdocs\siddharth_application\application\controllers\cashbook.php 1388
ERROR - 2018-10-13 12:42:13 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 10
ERROR - 2018-10-13 12:42:13 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 10
ERROR - 2018-10-13 12:42:13 --> Severity: Notice --> Undefined variable: ap C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 166
ERROR - 2018-10-13 12:42:13 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\bankamountpaid.php 166

File diff suppressed because it is too large Load Diff

View File

@ -939,26 +939,40 @@ function receiptdata()
function debitpolistfilter($SupplierName,$fdate,$tdate)
function debitpolistfilter($suppliername,$fa,$aa,$m,$fdate,$tdate)
{
// echo $suppliername+'sn';
$this->db->select('bm.id,bm.mid,igrm.MaterialRcvdDate,bm.PONO,bm.Suppliername,bm.Totalpoamount,
bm.Balancetopay,bm.Amountpaid,bm.IGRNO,igrm.file,bm.IGRLineItemNo,br.Clearbalance,br.Balancetocleared,bu.FilePath,bu.BillNo,inward.FilePath as Fpath');
$this->db->from ('T_Bankporeport bm');
$this->db->join ('T_IGR_Master igrm','igrm.PONO = bm.PONO or igrm.IGRNO = bm.IGRNO ','left');
$this->db->join ('T_IGR_Master igrm','igrm.PONO = bm.PONO or igrm.IGRNO = bm.IGRNO ','left');
//$this->db->join ('T_IGR_Details igrde','igrde.IGRNO=igrm.IGRNO');
$this->db->join ('T_SupplierDetailsN sd','sd.SupplierName = bm.Suppliername');
$this->db->join ('T_bankreport br','br.ID=bm.mid');
$this->db->join('T_Inwardgateregister_fileupload inward','inward.IGRNO =igrm.IGRNO','left');
$this->db->join('T_Inwardgateregister_fileupload inward','inward.IGRNO =igrm.IGRNO','left');
$this->db->join ('T_PurchaseOrder_BillUpload bu','bm.PONO=bu.PONO','left');
$this->db->where('bm.IsActive',1);
if($fdate!='' && $tdate!='')
{
$this->db->where('igrm.MaterialRcvdDate BETWEEN "'. date('Y-m-d', strtotime($fdate)). '" and "'. date('Y-m-d', strtotime($tdate)).'"');
}
if($SupplierName!='')
{
$this->db->where('sd.SupplierID',$SupplierName);
}
$this->db->where('bm.IsActive',1);
$this->db->where('bm.Suppliername',$suppliername);
if ($fa and $aa != ''){
//$sql.=" and (im.CreatedDate >= '".$fa."-04-01' and im.CreatedDate <= '".$aa."-03-31')";
$year="(bm.Podate >= '".$fa."-04-01' and bm.Podate <= '".$aa."-03-31')";
$this->db->where($year);
}
if ($m!= ''){
//$this->db->where('MONTH(pel.tgl_pembelian)',$bulan);
$month="monthname(bm.Podate) = '".$m."'";
$this->db->where($month);
// $sql.="and monthname(bm.Podate) = '".$m."'";
}
if ($fdate and $tdate != ''){
$fromdate= date("Y-m-d",strtotime($fdate));
$todate=date("Y-m-d",strtotime($tdate));
$date = "date(bm.Podate) >= '".$fromdate."'
and date(bm.Podate) <= '".$todate."'";
$this->db->where($date);
}
$this->db->group_by('bm.IGRLineItemNo');
$query = $this->db->get();
@ -1034,7 +1048,7 @@ function receiptdata()
return $query->result();
}
function creditinvoicelistfilter($fdate,$tdate,$fa,$aa,$m)
function creditinvoicelistfilter($clientname,$fdate,$tdate,$fa,$aa,$m)
{
@ -1045,6 +1059,7 @@ function receiptdata()
$this->db->join ('ip_clients ic','ic.client_name = bm.customername','left');
$this->db->join('T_bankreport br','br.ID = bm.bankid');
$this->db->where('bm.IsActive',1);
$this->db->where('bm.customername',$clientname);
if ($fa and $aa != ''){
//$sql.=" and (im.CreatedDate >= '".$fa."-04-01' and im.CreatedDate <= '".$aa."-03-31')";
@ -1069,19 +1084,19 @@ function receiptdata()
return $query->result();
}
function uncreditinvoicelistfilter($fdate,$tdate,$fa,$aa,$m)
function uncreditinvoicelistfilter($client,$fdate,$tdate,$fa,$aa,$m)
{
echo $client;
$this->db->select('iva.invoice_id,iva.invoice_total,iv.invoice_date_created,iv.invoice_number,iva.invoice_paid,ic.client_name,BI.balancetoreceived,BI.amountreceived');
$this->db->select('iva.invoice_id,iva.invoice_total,iv.invoice_date_created,iv.invoice_number,iva.invoice_paid,ic.client_id,ic.client_name,BI.balancetoreceived,BI.amountreceived');
$this->db->from ('ip_invoice_amounts iva');
$this->db->join ('ip_invoices iv','iva.invoice_id = iv.invoice_id');
$this->db->join ('ip_clients ic','iv.client_id = ic.client_id','left');
$this->db->join ('T_Bankinvoicereport BI',' iv.invoice_number =BI.invoiceno','left');
$this->db->where('iv.invoice_status_id','2');
$this->db->where('iv.receivedstatus','ST066');
$this->db->where('ic.client_id',$client);
if ($fa and $aa != ''){
//$sql.=" and (im.CreatedDate >= '".$fa."-04-01' and im.CreatedDate <= '".$aa."-03-31')";
@ -1533,7 +1548,7 @@ function receiptdata()
function unreceived($clientname)
{
$this->db->distinct();
$this->db->select('iva.invoice_id,iva.invoice_total,iv.invoice_date_created,iv.invoice_number,iva.invoice_paid,ic.client_name,BI.balancetoreceived,BI.amountreceived');
$this->db->select('iva.invoice_id,iva.invoice_total,iv.invoice_date_created,iv.invoice_number,iva.invoice_paid,ic.client_name,BI.balancetoreceived,BI.amountreceived,ic.client_id');
$this->db->from ('ip_invoice_amounts iva');
$this->db->join ('ip_invoices iv','iva.invoice_id = iv.invoice_id','left');
$this->db->join ('ip_clients ic','iv.client_id = ic.client_id','left');

View File

@ -98,19 +98,73 @@ if(!empty($amountpaid))
<form method="post" action="<?php echo base_url($this->uri->uri_string()); ?>">
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Bank Debit Amount Paid Reports</b></p></h3></center>
<?php
if(!empty($bankdebit)){
foreach($bankdepit as $ap)
{
}
?>
<center><h4 style="color:#3c8dbc"><?php echo $ap->Suppliername?></h4></center>
<?php
}
?>
if(!empty($bankdebit)){
foreach($bankdebit as $ap)
{
}
?>
<center><h4 style="color:#3c8dbc"><span><?php echo $ap->Suppliername?></span></h4></center>
<div class="row">
<div class="col-md-6 col-xs-6">
<input type="hidden" class="form-control required" id="supplier" name="supplier" value="<?php echo $ap->Suppliername;?>"maxlength="250"></textarea>
</div>
</div>
<?php
}
?>
<div class="box-body">
<div class="row">
<div class="col-md-2">
<label for="to_date">
<?php echo 'Year'; ?>
</label>
<div class="input-group">
<select class="form-control" id="financialyear" name="financialyear">
<option value="">Select Year</option>
<?php
foreach($finyear as $item):
{?>
<option value="<?php echo $item->financial_year;?>"><?php echo $item->financial_year ; ?></option>
<?php } endforeach; ?>
</select>
</div>
</div>
<div class="col-md-2">
<label for="to_date">
<?php echo 'Month'; ?>
</label>
<div class="input-group">
<select class="form-control" id="month" name="month">
<option value="">Select Month</option>
<option value="January">January</option>
<option value="February">February</option>
<option value="March">March</option>
<option value="April">April</option>
<option value="May">May</option>
<option value="June">June</option>
<option value="July">July</option>
<option value="August">August</option>
<option value="September">September</option>
<option value="October">October</option>
<option value="November">November</option>
<option value="December">December</option>
</select>
</div>
</div>
<div class="col-md-2">
<label for="from_date">
<?php echo 'From Date'; ?>
@ -135,26 +189,7 @@ if(!empty($amountpaid))
</span>
</div>
</div>
<div class="col-md-3" >
<label for="from_date">
<?php echo 'Customer'; ?>
</label>
<select class="form-control" id="SupplierName" name="SupplierName">
<option value="">Select Supplier</option>
<?php
foreach($supplier as $gs):
{
print_r($gs->SupplierID);
?>
<option value="<?php echo $gs->SupplierID;?>"><?php echo $gs->SupplierName ; ?></option>
<?php } endforeach; ?>
</select>
</div>
<div class="col-md-2" style="margin-top:24px;">
<input type="submit" class="btn btn-success" name="btn_submit"
value="View Report">
@ -163,7 +198,7 @@ if(!empty($amountpaid))
</div>
</form>
<center><h4 style="color:#3c8dbc"><?php echo $ap->Suppliername?></h4></center>
<br>
<br>
<table class="table table-bordered table-hover" id="req" style="table-layout:auto;">

View File

@ -73,6 +73,14 @@ foreach($financialyear as $item)
}
?>
<center><h4 style="color:#3c8dbc"><?php echo $ap->customername?></h4></center>
<div class="row">
<div class="col-md-6 col-xs-6">
<input type="hidden" class="form-control required" id="customer" name="customer" value="<?php echo $ap->customername;?>"maxlength="250"></textarea>
</div>
</div>
<?php
}
?>
@ -212,7 +220,7 @@ foreach($financialyear as $item)
<th>Date</th>
<th>INVOICENO</th>
<th>Supplier Name</th>
<!--<th>Supplier Name</th>-->
<th>Total Invoice Amount (&#8377;)</th>
<!--<th>Advance PO Amount (&#8377;)</th>-->
<th>Balance To Received (&#8377;)</th>
@ -249,7 +257,7 @@ foreach($financialyear as $item)
<td align="left" id="invno<?php echo $i ?>"><a href="<?= base_url() ?>cashbook/mappingcredit?sid=<?php echo $ap->invoiceno;?>"><span><?php echo $ap->invoiceno?></span></a></td>
<!--<td align="left"><a href="<?= base_url() ?>cashbook/bankreceipt?sid=<?php echo $t->PONO;?>"><span><?php echo $t->PONO?></span></a></td>-->
<td align="left" id="sn<?php echo $i ?>"><span><?php echo $ap->customername?></span></td>
<!--<td align="left" id="sn<?php echo $i ?>"><span><?php echo $ap->customername?></span></td>-->
<td align="left" id="totinvoiceamount<?php echo $i ?>"><span><?php echo $ap->totinvoiceamount?></span></td>
<td align="left" id="balancetoreceived<?php echo $i ?>"><span><?php echo $ap->totinvoiceamount- $ap->amountreceived?></span></td>
<td align="left" id="amountreceived<?php echo $i ?>"><span><?php $tot_amount=$tot_amount+round( $ap->amountreceived)?><?php echo $ap->amountreceived?></span></td>
@ -278,7 +286,7 @@ foreach($financialyear as $item)
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td class="amount"><strong>
<?php echo $tot_amount; ?>

View File

@ -72,18 +72,25 @@ foreach($financialyear as $item)
</div>
<form method="post" action="<?php echo base_url($this->uri->uri_string()); ?>">
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Un Paid Reports</b></p></h3></center>
<?php
if(!empty($bankdepit)){
foreach($bankdepit as $t)
{
}
?>
<center><h4 style="color:#3c8dbc"><?php echo $t->SupplierName?></h4></center>
<?php
}
?>
<?php
if(!empty($bankunpaid)){
foreach($bankunpaid as $t)
{
}
?>
<center><h4 style="color:#3c8dbc"><span><?php echo $t->SupplierName?></span></h4></center>
<div class="row">
<div class="col-md-6 col-xs-6">
<input type="hidden" class="form-control required" id="supplier" name="supplier" value="<?php echo $t->SupplierID;?>"maxlength="250"></textarea>
</div>
</div>
<?php
}
?>
<div class="box-body">
<br>

View File

@ -42,6 +42,7 @@ foreach($financialyear as $item)
<a href="<?php base_url() ?>Bankingstatement" class="btn btn-primary" value="Back"/>Back</a>
</div>
<br>
<form method="post" action="<?php echo base_url($this->uri->uri_string()); ?>">
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Un Receivable Invoice Report</b></p></h3></center>
<?php
if(!empty($amountunreceived)){
@ -51,11 +52,19 @@ foreach($financialyear as $item)
}
?>
<center><h4 style="color:#3c8dbc"><?php echo $t->client_name?></h4></center>
<div class="row">
<div class="col-md-6 col-xs-6">
<input type="hidden" class="form-control required" id="client" name="client" value="<?php echo $t->client_id;?>"maxlength="250"></textarea>
</div>
</div>
<?php
}
?>
<form method="post" action="<?php echo base_url($this->uri->uri_string()); ?>">
<div class="box-body">
@ -166,7 +175,7 @@ foreach($financialyear as $item)
<th>Date</th>
<th>Invoice Number</th>
<th>Customer Name</th>
<!--<th>Customer Name</th>-->
<th>Invoice Amount (&#8377;)</th>
</tr>
@ -192,7 +201,7 @@ foreach($financialyear as $item)
<td align="left" id="invoicedate<?php echo $i ?>"><span><?php echo date_format(date_create($t->invoice_date_created),'d-m-Y');?></span></td>
<td align="left" id="invoice_id<?php echo $i ?>"><span><?php echo $t->invoice_number?></span></td>
<td align="left" id="client_name<?php echo $i ?>"><span><?php echo $t->client_name?></span></td>
<!--<td align="left" id="client_name<?php echo $i ?>"><span><?php echo $t->client_name?></span></td>-->
<td align="left" id="invoice_paid<?php echo $i ?>"><span><?php $tot_amount=$tot_amount+$t->invoice_total?><?php echo $t->invoice_total?></span></td>
@ -207,7 +216,7 @@ foreach($financialyear as $item)
<tr>
<td style="text-align:left;"><strong>Total</strong></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td class="amount"><strong>
<?php echo $tot_amount; ?>

View File

@ -83,9 +83,7 @@ foreach($financialyear as $item)
</select>
</div>
</div>
<div>
</div>
<div class="col-md-2">
<label for="to_date">
<?php echo 'Month'; ?>

View File

@ -43,24 +43,7 @@ foreach($financialyear as $item)
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Sundry Creditors</b></p></h3></center>
<div class="box-body">
<div class="row">
<!-- <div class="col-md-3" style=" border: 2px solid black;font-size:14px;background-color:#ccc;">-->
<!-- <div style=" ;margin-left:0%;margin-top: -55px;"> -->
<!-- <p style="margin-left:25px;" id="bid" value="">Payment ID:&nbsp;&nbsp;</p> -->
<!--<p style="margin-left:25px;" id="debit1amount" value="">Total Amount:&nbsp;&nbsp; </p>-->
<!-- <p style="margin-left:25px;">Payment Mode:&nbsp;&nbsp;Bank</p>
<p style="margin-left:25px;" id="bamount" </p>
<p style="margin-left:25px;" id="bdate" value="">Payment Amount Date:&nbsp;&nbsp;</p> -->
<!-- </div> -->
<!-- </div> -->
<div class="col-md-2">
<label for="to_date">
<?php echo 'Year'; ?>
@ -75,7 +58,7 @@ foreach($financialyear as $item)
{?>
<option value="<?php echo $item->financial_year;?>"><?php echo $item->financial_year ; ?></option>
<option value="<?php $item->financial_year;?>"><?php echo $item->financial_year ; ?></option>
<?php } endforeach; ?>

View File

@ -1523,6 +1523,13 @@ else{
<span>Amount Recived Reports(Inv)</span>
</a>
</li>
<li>
<a href="<?php echo base_url(); ?>Bankamountunreceived">
<i class="fa fa-credit-card"></i>
<span>Amount Un Reciveble Reports(Inv)</span>
</a>
</li>
</ul>
@ -1633,6 +1640,12 @@ else{
<span>Amount Recived Reports(Inv)</span>
</a>
</li>
<li>
<a href="<?php echo base_url(); ?>Bankamountunreceived">
<i class="fa fa-credit-card"></i>
<span>Amount Un Reciveble Reports(Inv)</span>
</a>
</li>
</ul>