issues fiexd

This commit is contained in:
sriramv 2018-12-05 16:42:22 +05:30
parent df1759dffb
commit ee5fd8cd8c
5 changed files with 227 additions and 46 deletions

View File

@ -52,6 +52,10 @@ $db['default']['hostname'] = 'resicoindustries.com';
$db['default']['username'] = 'resicoin_RIADev';
$db['default']['password'] = 'resico1234';
$db['default']['database'] = 'resicoin_RIADev';
//$db['default']['username'] = 'resicoin_PROD';
//$db['default']['password'] = 'ria!1234';
//$db['default']['database'] = 'resicoin_PROD';
$db['default']['dbdriver'] = 'mysqli';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
@ -64,6 +68,9 @@ $db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;
// DB_USERNAME=resicoin_invoice
// DB_PASSWORD=resicoin_invoice
// DB_DATABASE=resicoin_invoices

View File

@ -668,41 +668,45 @@ class report extends BaseController
public function ilink_purchasesummary()
{
if ($this->input->post('btn_submit')) {
if ($this->input->post('btn_submit')) {
$this->global['pageTitle'] = $this->CompanyName.' : Reports';
//$this->input->post('btn_submit');
$cname = $this->input->post('client_name');
//print_r($this->input->post('item_name[0]'));
$prod = $this->input->post('item_name');
//$prod_temp = implode(",",$prod);
//echo $prod_temp;d
//foreach
// print_r($this->input->post('item_name'));
// echo "skds";
// die();
$this->global['pageTitle'] = $this->CompanyName.' : Reports';
// //$this->input->post('btn_submit');
$cname = $this->input->post('client_name');
// //print_r($this->input->post('item_name[0]'));
$prod = $this->input->post('item_name');
// //$prod_temp = implode(",",$prod);
// //echo $prod_temp;d
// //foreach
// // print_r($this->input->post('item_name'));
// // echo "skds";
// // die();
$ab=$this->input->post('financialyear');
$fa=substr($ab,0,-5);
$aa=substr($ab,5,5);
$m=$this->input->post('month');
$frm = $this->input->post('from_date');
$t = $this->input->post('to_date');
$sid=$this->input->get('sid');
$mid = $this->input->get('mid');
$d = $this->input->get('d');
$sname =$this->input->post('sname');
// //echo $sname;
$ab=$this->input->post('financialyear');
$fa=substr($ab,0,-5);
$aa=substr($ab,5,5);
$m=$this->input->post('month');
$frm = $this->input->post('from_date');
$t = $this->input->post('to_date');
$sid=$this->input->get('sid');
$mid = $this->input->get('mid');
$d = $this->input->get('d');
$data['material']=$this->dahsboard_Model->material_name();
$data['material']=$this->dahsboard_Model->material_name();
$data['cust']=$this->dahsboard_Model->customer_name();
$data['finyear']=$this->dahsboard_Model->ireport_finyear();
$data['purchase']=$this->dahsboard_Model->ireport_purchasesupplierSummary($cname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d);
$data['cust']=$this->dahsboard_Model->customer_name();
$data['finyear']=$this->dahsboard_Model->ireport_finyear();
$data['purchase']=$this->dahsboard_Model->ireport_purchasesupplierSummary($cname,$sname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d);
} else{
} else{
$this->global['pageTitle'] = $this->CompanyName.' : Reports';
//$this->input->post('btn_submit');
$cat = $this->input->get('cat');
@ -719,11 +723,14 @@ class report extends BaseController
$d = $this->input->get('d');
$da = $this->input->get('da');
$po = $this->input->get('po');
$sname = $this->input->get('sname');
//echo $sname;
$data['material']=$this->dahsboard_Model->material_name();
// print_r($data['material']);
$data['cust']=$this->dahsboard_Model->customer_name();
$data['finyear']=$this->dahsboard_Model->ireport_finyear();
$data['purchase']=$this->dahsboard_Model->ireport_purchase_suppliersummarylink($cname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d,$cat,$da,$po);
$data['purchase']=$this->dahsboard_Model->ireport_purchase_suppliersummarylink($cname,$sname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d,$cat,$da,$po);
}
$this->loadviews("Report_supplierlink_summary",$this->global,$data, NULL);

View File

@ -0,0 +1,145 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
ERROR - 2018-12-05 06:57:28 --> Severity: Warning --> mysqli_connect(): (HY000/1044): Access denied for user 'resicoin_RIADev'@'%' to database 'resicoin_PROD' C:\xampp\htdocs\ria\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2018-12-05 06:57:28 --> Unable to connect to the database
ERROR - 2018-12-05 06:57:40 --> Severity: Warning --> mysqli_connect(): (HY000/1044): Access denied for user 'resicoin_RIADev'@'%' to database 'resicoin_PROD' C:\xampp\htdocs\ria\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2018-12-05 06:57:40 --> Unable to connect to the database
ERROR - 2018-12-05 06:57:51 --> Severity: Warning --> mysqli_connect(): (HY000/1044): Access denied for user 'resicoin_RIADev'@'%' to database 'resicoin_PROD' C:\xampp\htdocs\ria\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2018-12-05 06:57:51 --> Unable to connect to the database
ERROR - 2018-12-05 06:58:41 --> Severity: Warning --> mysqli_connect(): (HY000/1045): Access denied for user 'resicoin_PROD'@'103.16.202.153' (using password: YES) C:\xampp\htdocs\ria\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2018-12-05 06:58:41 --> Unable to connect to the database
ERROR - 2018-12-05 06:58:46 --> Severity: Warning --> mysqli_connect(): (HY000/1045): Access denied for user 'resicoin_PROD'@'103.16.202.153' (using password: YES) C:\xampp\htdocs\ria\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2018-12-05 06:58:46 --> Unable to connect to the database
ERROR - 2018-12-05 07:03:16 --> Severity: Warning --> mysqli_connect(): (HY000/1045): Access denied for user 'resicoin_PROD'@'103.16.202.153' (using password: YES) C:\xampp\htdocs\ria\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2018-12-05 07:03:16 --> Unable to connect to the database
ERROR - 2018-12-05 07:03:30 --> Severity: Warning --> mysqli_connect(): (HY000/1045): Access denied for user 'resicoin_PROD'@'103.16.202.153' (using password: YES) C:\xampp\htdocs\ria\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2018-12-05 07:03:30 --> Unable to connect to the database
ERROR - 2018-12-05 07:03:34 --> Severity: Warning --> mysqli_connect(): (HY000/1045): Access denied for user 'resicoin_PROD'@'103.16.202.153' (using password: YES) C:\xampp\htdocs\ria\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2018-12-05 07:03:34 --> Unable to connect to the database
ERROR - 2018-12-05 07:03:51 --> Severity: Warning --> mysqli_connect(): (HY000/1045): Access denied for user 'resicoin_PROD'@'103.16.202.153' (using password: YES) C:\xampp\htdocs\ria\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2018-12-05 07:03:51 --> Unable to connect to the database
ERROR - 2018-12-05 07:04:11 --> Severity: Warning --> mysqli_connect(): (HY000/1045): Access denied for user 'resicoin_PROD'@'103.16.202.153' (using password: YES) C:\xampp\htdocs\ria\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2018-12-05 07:04:11 --> Unable to connect to the database
ERROR - 2018-12-05 07:04:27 --> Severity: Warning --> mysqli_connect(): (HY000/1045): Access denied for user 'resicoin_PROD'@'103.16.202.153' (using password: YES) C:\xampp\htdocs\ria\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2018-12-05 07:04:27 --> Unable to connect to the database
ERROR - 2018-12-05 07:05:25 --> Severity: Warning --> mysqli_connect(): (HY000/1045): Access denied for user 'resicoin_PROD'@'103.16.202.153' (using password: YES) C:\xampp\htdocs\ria\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2018-12-05 07:05:25 --> Unable to connect to the database
ERROR - 2018-12-05 07:05:44 --> Severity: Warning --> mysqli_connect(): (HY000/1045): Access denied for user 'resicoin_PROD'@'103.16.202.153' (using password: YES) C:\xampp\htdocs\ria\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2018-12-05 07:05:44 --> Unable to connect to the database
ERROR - 2018-12-05 07:19:58 --> Severity: Notice --> Undefined variable: user C:\xampp\htdocs\ria\application\views\dashboard.php 627
ERROR - 2018-12-05 07:47:19 --> Severity: Notice --> Undefined variable: user C:\xampp\htdocs\ria\application\views\dashboard.php 627
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:06 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:07 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:07 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:07 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:07 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:07 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:07 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:07 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:07 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:07 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:07 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:07 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:07 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:07 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:07 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:29 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:00:30 --> Severity: Notice --> Undefined property: stdClass::$client_name C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 112
ERROR - 2018-12-05 08:13:34 --> Severity: Notice --> Undefined variable: UANumber C:\xampp\htdocs\ria\application\views\editSupplier.php 242
ERROR - 2018-12-05 08:13:35 --> Severity: Notice --> Undefined variable: Exiseregistration C:\xampp\htdocs\ria\application\views\editSupplier.php 248
ERROR - 2018-12-05 08:13:35 --> Severity: Notice --> Undefined variable: CSTNO C:\xampp\htdocs\ria\application\views\editSupplier.php 255
ERROR - 2018-12-05 08:13:35 --> Severity: Notice --> Undefined variable: CSTDate C:\xampp\htdocs\ria\application\views\editSupplier.php 258
ERROR - 2018-12-05 08:13:35 --> Severity: Notice --> Undefined variable: CollectrateAddress C:\xampp\htdocs\ria\application\views\editSupplier.php 273
ERROR - 2018-12-05 08:14:06 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given C:\xampp\htdocs\ria\system\database\drivers\mysqli\mysqli_result.php 38
ERROR - 2018-12-05 08:14:18 --> Severity: Notice --> Undefined property: stdClass::$FirstName C:\xampp\htdocs\ria\application\views\editRevenuepurchaseorder.php 122
ERROR - 2018-12-05 08:14:19 --> Severity: Notice --> Undefined variable: update C:\xampp\htdocs\ria\application\views\editRevenuepurchaseorder.php 238
ERROR - 2018-12-05 08:14:19 --> Severity: Notice --> Undefined property: stdClass::$BillNo C:\xampp\htdocs\ria\application\views\editRevenuepurchaseorder.php 4059
ERROR - 2018-12-05 08:14:19 --> Severity: Notice --> Undefined property: stdClass::$FilePath C:\xampp\htdocs\ria\application\views\editRevenuepurchaseorder.php 4060
ERROR - 2018-12-05 08:14:19 --> Severity: Notice --> Undefined property: stdClass::$BillNo C:\xampp\htdocs\ria\application\views\editRevenuepurchaseorder.php 4059
ERROR - 2018-12-05 08:14:19 --> Severity: Notice --> Undefined property: stdClass::$FilePath C:\xampp\htdocs\ria\application\views\editRevenuepurchaseorder.php 4060
ERROR - 2018-12-05 08:14:19 --> Severity: Notice --> Undefined property: stdClass::$BillNo C:\xampp\htdocs\ria\application\views\editRevenuepurchaseorder.php 4231
ERROR - 2018-12-05 08:49:29 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 106
ERROR - 2018-12-05 08:49:29 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 106
ERROR - 2018-12-05 10:05:45 --> Severity: Notice --> Undefined variable: sname C:\xampp\htdocs\ria\application\controllers\report.php 703
ERROR - 2018-12-05 10:33:51 --> Severity: Notice --> Undefined variable: user C:\xampp\htdocs\ria\application\views\dashboard.php 627
ERROR - 2018-12-05 10:46:36 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 61
ERROR - 2018-12-05 10:46:36 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 61
ERROR - 2018-12-05 10:46:36 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 100
ERROR - 2018-12-05 10:46:36 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 100
ERROR - 2018-12-05 10:49:09 --> Severity: Notice --> Undefined offset: 0 C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 61
ERROR - 2018-12-05 10:49:09 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 61
ERROR - 2018-12-05 11:19:19 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\ria\application\controllers\report.php 736
ERROR - 2018-12-05 11:19:19 --> Severity: Notice --> Undefined variable: pageTitle C:\xampp\htdocs\ria\application\views\includes\header.php 4
ERROR - 2018-12-05 11:19:19 --> Severity: Notice --> Undefined variable: cust C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 120
ERROR - 2018-12-05 11:19:19 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 120
ERROR - 2018-12-05 11:19:19 --> Severity: Notice --> Undefined variable: finyear C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 143
ERROR - 2018-12-05 11:19:19 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 143
ERROR - 2018-12-05 11:19:19 --> Severity: Notice --> Undefined variable: material C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 189
ERROR - 2018-12-05 11:19:19 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\ria\application\views\Report_supplierlink_summary.php 189

View File

@ -1717,11 +1717,11 @@ $sql.="group by pono,material_name,category,supplier_name,id.IGRItemNo";
}
function ireport_purchasesupplierSummary($cname,$prod,$fa,$aa,$m,$frm,$t,$cat){
function ireport_purchasesupplierSummary($cname,$sname,$prod,$fa,$aa,$m,$frm,$t,$cat){
// print_r($prod);
//echo "model";die();
$sql="select im.IGRNO as igrn,pm.POType as potype,im.PONO as pono,date_format(im.CreatedDate,'%d-%m-%Y') as created_date,TIME_FORMAT(im.CreatedDate,'%l:%i %p') as created_time,mm.MaterialName as material_name,mm.Category as category,sd.SupplierName as supplier_name,mm.UOM as UOM, id.QuantityAsPerInvoice as quantity,pl.Rate as rate,round(id.QuantityAsPerInvoice * pl.Rate,2) as value,if(POType = 'IMPORT' or POType = 'CAPITAL',pm.ExchangeRate,0) as exchange_rate,date_format(im.MaterialRcvdDate,'%d-%m-%Y') as materialrcvddate,
$sql="select im.IGRNO as igrn,pm.POType as potype,im.PONO as pono,date_format(im.CreatedDate,'%d-%m-%Y') as created_date,TIME_FORMAT(im.CreatedDate,'%l:%i %p') as created_time,mm.MaterialName as material_name,mm.Category as category,sd.SupplierName as supplier_name,sd.SupplierID as sid,mm.UOM as UOM, id.QuantityAsPerInvoice as quantity,pl.Rate as rate,round(id.QuantityAsPerInvoice * pl.Rate,2) as value,if(POType = 'IMPORT' or POType = 'CAPITAL',pm.ExchangeRate,0) as exchange_rate,date_format(im.MaterialRcvdDate,'%d-%m-%Y') as materialrcvddate,
round(ifnull(if(POType = 'REVENUE',
(id.QuantityAsPerInvoice * rt.AfterSGST / pl.Quantity),
(id.QuantityAsPerInvoice * st.After_SGST / pl.Quantity)),0),2) as sgst,
@ -1773,11 +1773,15 @@ left join T_Revenue_Tax rt on rt.LineItemNo = pl.LineItemNo
left join T_PurchaseOrder_BillUpload pb on pb.IGRNO=im.IGRNO
left join T_Inwardgateregister_fileupload infiles on infiles.IGRNO = im.IGRNO
where pm.Status != 'ST030' ";
//echo "sname".$sname ."----".$cname;die;
if ($cname!= ''){
$sql.="and sd.SupplierName = '".$cname."'";
}else{
$sql.="and sd.SupplierName = '".$sname."'";
}
@ -1825,10 +1829,10 @@ $sql.="group by pono,material_name,category,supplier_name,id.IGRItemNo";
return $query->result();
}
function ireport_purchase_suppliersummarylink($cname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d,$cat,$da,$po){
function ireport_purchase_suppliersummarylink($cname,$sname,$prod,$fa,$aa,$m,$frm,$t,$sid,$mid,$d,$cat,$da,$po){
$sql ="select im.IGRNO as igrn,pm.POType as potype,im.PONO as pono,date_format(im.CreatedDate,'%d-%m-%Y') as created_date,TIME_FORMAT(im.CreatedDate,'%l:%i %p') as created_time,mm.MaterialName as material_name,mm.Category as category,sd.SupplierName as supplier_name,mm.UOM as UOM, id.QuantityAsPerInvoice as quantity,pl.Rate as rate,round(id.QuantityAsPerInvoice * pl.Rate,2) as value,if(POType = 'IMPORT' or POType = 'CAPITAL',pm.ExchangeRate,0) as exchange_rate,date_format(im.MaterialRcvdDate,'%d-%m-%Y') as materialrcvddate,
$sql ="select im.IGRNO as igrn,pm.POType as potype,im.PONO as pono,date_format(im.CreatedDate,'%d-%m-%Y') as created_date,TIME_FORMAT(im.CreatedDate,'%l:%i %p') as created_time,mm.MaterialName as material_name,mm.Category as category,sd.SupplierName as supplier_name,sd.SupplierID as sid,mm.UOM as UOM, id.QuantityAsPerInvoice as quantity,pl.Rate as rate,round(id.QuantityAsPerInvoice * pl.Rate,2) as value,if(POType = 'IMPORT' or POType = 'CAPITAL',pm.ExchangeRate,0) as exchange_rate,date_format(im.MaterialRcvdDate,'%d-%m-%Y') as materialrcvddate,
round(ifnull(if(POType = 'REVENUE',
(id.QuantityAsPerInvoice * rt.AfterSGST / pl.Quantity),
(id.QuantityAsPerInvoice * st.After_SGST / pl.Quantity)),0),2) as sgst,
@ -1887,7 +1891,12 @@ if ($cname!= ''){
}
if ($sname!= ''){
$sql.="and sd.SupplierName = '".$sname."'";
}
if ($fa and $aa != ''){

View File

@ -58,18 +58,19 @@ table.dataTable thead > tr > td.sorting {
<!-- TABLE: LATEST ORDERS -->
<div class="box box-info">
<div class="box-header with-border">
<center><h3 class="box-title"><p style="color:#5d0411"><b>Supplier Details</b><br><br>
<center><h3 class="box-title"><p style="color:#5d0411"><b>Supplier Details</b></h3></center>
<?php if(!empty($purchase)){?>
<center> <h3 class="box-title"><p style="color:#5d0411"><b><?=$purchase[0]->supplier_name;?></b><br><br>
<?php
if($this->input->post('client_name')){
$cl=$this->input->post('client_name');
echo $cl;
echo ' '.' ';
}
}
if(!empty($purchase)){
if($this->input->post('item_name')){
$it=$this->input->post('item_name');
echo implode(" - ",$it);
}
}}
if($this->input->post('financialyear')){
$ab=$this->input->post('financialyear');
@ -93,17 +94,29 @@ table.dataTable thead > tr > td.sorting {
<!-- /.box-header -->
<div class="panel-body">
<form method="post" action="<?php echo base_url($this->uri->uri_string()); ?>">
<div class="form-group has-feedback">
<div class="col-md-4">
<label for="client_name">
<?php echo 'Supplier'; ?>
</label>
<label for="to_date">
<?php echo 'SupplierName'; ?>
</label>
<div class="input-group">
<select class="form-control" id="client_name" name="client_name">
<option value="">Select Supplier</option>
<?php if(!empty($purchase)){
//print_r($purchase);die;
?>
<input type="hidden" name="sname" value="<?=$purchase[0]->supplier_name;?>">
<input type="hidden" name="sid" value="<?=$this->input->get('sid');?>">
<?php }?>
<select class="form-control" id="client_name" name="client_name">
<option value="">Select Supplier</option>
<?php
foreach($cust as $item):
@ -114,7 +127,7 @@ table.dataTable thead > tr > td.sorting {
<?php } endforeach; ?>
</select>
</select>
</div>
</div>