cashbook reports in paid reports
This commit is contained in:
parent
d826db19ef
commit
7f89ba407d
@ -12,7 +12,7 @@ require APPPATH . '/third_party/mpdf/mpdf.php';
|
|||||||
class cashbook extends BaseController
|
class cashbook extends BaseController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* This is default constructor of the class
|
* This is default constructor of the class new
|
||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -3778,3 +3778,99 @@ ERROR - 2018-10-30 12:46:46 --> Severity: Notice --> Undefined property: stdCla
|
|||||||
ERROR - 2018-10-30 12:46:46 --> Severity: Notice --> Undefined property: stdClass::$Balancetopay C:\xampp\htdocs\siddharth_application\application\views\bankamountunreceived.php 195
|
ERROR - 2018-10-30 12:46:46 --> Severity: Notice --> Undefined property: stdClass::$Balancetopay C:\xampp\htdocs\siddharth_application\application\views\bankamountunreceived.php 195
|
||||||
ERROR - 2018-10-30 12:46:46 --> Severity: Notice --> Undefined property: stdClass::$Paymentstatus C:\xampp\htdocs\siddharth_application\application\views\bankamountunreceived.php 194
|
ERROR - 2018-10-30 12:46:46 --> Severity: Notice --> Undefined property: stdClass::$Paymentstatus C:\xampp\htdocs\siddharth_application\application\views\bankamountunreceived.php 194
|
||||||
ERROR - 2018-10-30 12:46:46 --> Severity: Notice --> Undefined property: stdClass::$Balancetopay C:\xampp\htdocs\siddharth_application\application\views\bankamountunreceived.php 195
|
ERROR - 2018-10-30 12:46:46 --> Severity: Notice --> Undefined property: stdClass::$Balancetopay C:\xampp\htdocs\siddharth_application\application\views\bankamountunreceived.php 195
|
||||||
|
ERROR - 2018-10-30 15:00:27 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:00:27 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:00:27 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 210
|
||||||
|
ERROR - 2018-10-30 15:00:27 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 211
|
||||||
|
ERROR - 2018-10-30 15:00:27 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 217
|
||||||
|
ERROR - 2018-10-30 15:04:28 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:04:28 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:04:28 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 210
|
||||||
|
ERROR - 2018-10-30 15:04:28 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 211
|
||||||
|
ERROR - 2018-10-30 15:04:28 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 217
|
||||||
|
ERROR - 2018-10-30 15:05:04 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:05:04 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:05:04 --> Severity: Notice --> Undefined variable: balancetoclear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:05:04 --> Severity: Notice --> Undefined variable: bankamount C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:05:04 --> Severity: Notice --> Undefined variable: record C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:05:04 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:05:19 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:05:19 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:05:19 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 210
|
||||||
|
ERROR - 2018-10-30 15:05:19 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 211
|
||||||
|
ERROR - 2018-10-30 15:05:19 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 217
|
||||||
|
ERROR - 2018-10-30 15:05:29 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:05:29 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:05:29 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 210
|
||||||
|
ERROR - 2018-10-30 15:05:30 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 211
|
||||||
|
ERROR - 2018-10-30 15:05:30 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 217
|
||||||
|
ERROR - 2018-10-30 15:05:46 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:05:46 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:05:46 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 210
|
||||||
|
ERROR - 2018-10-30 15:05:46 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 211
|
||||||
|
ERROR - 2018-10-30 15:05:47 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 217
|
||||||
|
ERROR - 2018-10-30 15:05:58 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:05:58 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:05:58 --> Severity: Notice --> Undefined variable: balancetoclear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:05:58 --> Severity: Notice --> Undefined variable: bankamount C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:05:58 --> Severity: Notice --> Undefined variable: record C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:05:58 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:06:06 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:06:06 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:06:06 --> Severity: Notice --> Undefined variable: balancetoclear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:06:06 --> Severity: Notice --> Undefined variable: bankamount C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:06:06 --> Severity: Notice --> Undefined variable: record C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:06:06 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:06:06 --> Severity: Notice --> Undefined variable: balancetoclear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:06:06 --> Severity: Notice --> Undefined variable: bankamount C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:06:06 --> Severity: Notice --> Undefined variable: record C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:06:06 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:06:42 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:06:42 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:06:42 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 210
|
||||||
|
ERROR - 2018-10-30 15:06:42 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 211
|
||||||
|
ERROR - 2018-10-30 15:06:42 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 217
|
||||||
|
ERROR - 2018-10-30 15:09:18 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:09:18 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:09:18 --> Severity: Notice --> Undefined variable: balancetoclear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:19 --> Severity: Notice --> Undefined variable: bankamount C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:19 --> Severity: Notice --> Undefined variable: record C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:19 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:19 --> Severity: Notice --> Undefined variable: balancetoclear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:19 --> Severity: Notice --> Undefined variable: bankamount C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:19 --> Severity: Notice --> Undefined variable: record C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:19 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:43 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:09:43 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:09:43 --> Severity: Notice --> Undefined variable: balancetoclear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:43 --> Severity: Notice --> Undefined variable: bankamount C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:43 --> Severity: Notice --> Undefined variable: record C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:43 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:43 --> Severity: Notice --> Undefined variable: balancetoclear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:43 --> Severity: Notice --> Undefined variable: bankamount C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:44 --> Severity: Notice --> Undefined variable: record C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:44 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:09:52 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:09:52 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:10:00 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:10:00 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:10:00 --> Severity: Notice --> Undefined variable: balancetoclear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:10:00 --> Severity: Notice --> Undefined variable: bankamount C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:10:00 --> Severity: Notice --> Undefined variable: record C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:10:00 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:10:00 --> Severity: Notice --> Undefined variable: balancetoclear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:10:00 --> Severity: Notice --> Undefined variable: bankamount C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:10:00 --> Severity: Notice --> Undefined variable: record C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:10:00 --> Severity: Notice --> Trying to get property of non-object C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 242
|
||||||
|
ERROR - 2018-10-30 15:15:51 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:15:51 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:15:51 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 210
|
||||||
|
ERROR - 2018-10-30 15:15:51 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 211
|
||||||
|
ERROR - 2018-10-30 15:15:51 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 217
|
||||||
|
ERROR - 2018-10-30 15:16:53 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:16:53 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\banksettlementcash.php 11
|
||||||
|
ERROR - 2018-10-30 15:17:42 --> Severity: Notice --> Undefined variable: financialyear C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:17:42 --> Severity: Warning --> Invalid argument supplied for foreach() C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 2
|
||||||
|
ERROR - 2018-10-30 15:17:42 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 210
|
||||||
|
ERROR - 2018-10-30 15:17:43 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 211
|
||||||
|
ERROR - 2018-10-30 15:17:43 --> Severity: Notice --> Undefined variable: i C:\xampp\htdocs\siddharth_application\application\views\bankpaidsupp.php 217
|
||||||
|
|||||||
1193
application/logs/log-2018-10-31.php
Normal file
1193
application/logs/log-2018-10-31.php
Normal file
File diff suppressed because it is too large
Load Diff
@ -39,7 +39,7 @@ class cashbook_model extends CI_Model
|
|||||||
// }
|
// }
|
||||||
// function amountpaidcashbook()
|
// function amountpaidcashbook()
|
||||||
// {
|
// {
|
||||||
// $this->db->select('t_accountcode.name,total,cashtype,T_Employee_Details.FirstName,T_Employee_Details.LastName,t_income_expense.*');
|
// $this->db->select('t_accountcode.namea,total,cashtype,T_Employee_Details.FirstName,T_Employee_Details.LastName,t_income_expense.*');
|
||||||
// $this->db->from('t_income_expense');
|
// $this->db->from('t_income_expense');
|
||||||
// $this->db->join('t_accountcode','t_income_expense.account_code=t_accountcode.code','left');
|
// $this->db->join('t_accountcode','t_income_expense.account_code=t_accountcode.code','left');
|
||||||
// $this->db->join('tbl_users','t_income_expense.Created_By=tbl_users.userId','left');
|
// $this->db->join('tbl_users','t_income_expense.Created_By=tbl_users.userId','left');
|
||||||
@ -1596,10 +1596,11 @@ function receiptdata()
|
|||||||
}
|
}
|
||||||
function amountpaidcashbook()
|
function amountpaidcashbook()
|
||||||
{
|
{
|
||||||
$this->db->select('tac.name,tie.total,tie.account_code');
|
$this->db->select('tac.name,sum(tie.total) as total,tie.account_code');
|
||||||
$this->db->from ('t_income_expense tie');
|
$this->db->from ('t_income_expense tie');
|
||||||
$this->db->join('t_accountcode tac','tac.code=tie.account_code');
|
$this->db->join('t_accountcode tac','tac.code=tie.account_code');
|
||||||
$this->db->where('tie.amounttype','DEBIT');
|
$this->db->where('tie.amounttype','DEBIT');
|
||||||
|
$this->db->where('tie.cashtype','Bank');
|
||||||
$this->db->where('tie.IsActive',1);
|
$this->db->where('tie.IsActive',1);
|
||||||
//$this->db->where('t_income_expense.account_code !=','ADV001');
|
//$this->db->where('t_income_expense.account_code !=','ADV001');
|
||||||
$this->db->group_by('tie.account_code');
|
$this->db->group_by('tie.account_code');
|
||||||
@ -1609,11 +1610,11 @@ function receiptdata()
|
|||||||
}
|
}
|
||||||
function amountreceivedcashbook()
|
function amountreceivedcashbook()
|
||||||
{
|
{
|
||||||
$this->db->select('tac.name,tie.total,tie.account_code');
|
$this->db->select('tac.name,sum(tie.total)as total,tie.account_code');
|
||||||
$this->db->from ('t_income_expense tie');
|
$this->db->from ('t_income_expense tie');
|
||||||
$this->db->join('t_accountcode tac','tac.code=tie.account_code');
|
$this->db->join('t_accountcode tac','tac.code=tie.account_code');
|
||||||
$this->db->where('tie.amounttype','CREDIT');
|
$this->db->where('tie.amounttype','CREDIT');
|
||||||
$this->db->where('tie.IsActive',1);
|
$this->db->where('tie.IsActive',1);
|
||||||
//$this->db->where('t_income_expense.account_code !=','ADV001');
|
//$this->db->where('t_income_expense.account_code !=','ADV001');
|
||||||
$this->db->group_by('tie.account_code');
|
$this->db->group_by('tie.account_code');
|
||||||
$query = $this->db->get();
|
$query = $this->db->get();
|
||||||
@ -1622,7 +1623,41 @@ function receiptdata()
|
|||||||
}
|
}
|
||||||
function amountpaidcashbookfilter($fa,$aa,$m,$fdate,$tdate)
|
function amountpaidcashbookfilter($fa,$aa,$m,$fdate,$tdate)
|
||||||
{
|
{
|
||||||
$this->db->select('tac.name,tie.total,tie.account_code');
|
$this->db->select('tac.name,sum(tie.total)as total,tie.account_code');
|
||||||
|
$this->db->from ('t_income_expense tie');
|
||||||
|
$this->db->join('t_accountcode tac','tac.code=tie.account_code');
|
||||||
|
$this->db->where('tie.amounttype','DEBIT');
|
||||||
|
$this->db->where('tie.IsActive',1);
|
||||||
|
//$this->db->where('t_income_expense.account_code !=','ADV001');
|
||||||
|
if ($fa and $aa != ''){
|
||||||
|
|
||||||
|
//$sql.=" and (im.CreatedDate >= '".$fa."-04-01' and im.CreatedDate <= '".$aa."-03-31')";
|
||||||
|
$year="(tie.date >= '".$fa."-04-01' and tie.date <= '".$aa."-03-31')";
|
||||||
|
$this->db->where($year);
|
||||||
|
}
|
||||||
|
if ($m!= ''){
|
||||||
|
//$this->db->where('MONTH(pel.tgl_pembelian)',$bulan);
|
||||||
|
$month="monthname(tie.date) = '".$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(tie.date) >= '".$fromdate."'
|
||||||
|
and date(tie.date) <= '".$todate."'";
|
||||||
|
$this->db->where($date);
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->db->group_by('tie.account_code');
|
||||||
|
$query = $this->db->get();
|
||||||
|
return $query->result();
|
||||||
|
|
||||||
|
}
|
||||||
|
function amountreceivedcashbookfilter($fa,$aa,$m,$fdate,$tdate)
|
||||||
|
{
|
||||||
|
$this->db->select('tac.name,sum(tie.total)as total,tie.account_code');
|
||||||
$this->db->from ('t_income_expense tie');
|
$this->db->from ('t_income_expense tie');
|
||||||
$this->db->join('t_accountcode tac','tac.code=tie.account_code');
|
$this->db->join('t_accountcode tac','tac.code=tie.account_code');
|
||||||
$this->db->where('tie.amounttype','CREDIT');
|
$this->db->where('tie.amounttype','CREDIT');
|
||||||
|
|||||||
@ -60,7 +60,7 @@ if(!empty($amountpaid))
|
|||||||
<div class="box box-info">
|
<div class="box box-info">
|
||||||
<div class="modal fade" id="Fileshow" role="dialog">
|
<div class="modal fade" id="Fileshow" role="dialog">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<!-- Modal content-->
|
<!-- Modal. content-->
|
||||||
<form>
|
<form>
|
||||||
<div class="modal-content" style="width:800px;">
|
<div class="modal-content" style="width:800px;">
|
||||||
|
|
||||||
|
|||||||
@ -14,7 +14,7 @@ foreach($financialyear as $item)
|
|||||||
} ?>
|
} ?>
|
||||||
|
|
||||||
|
|
||||||
<!-- <link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
<!-- <link rel="stylesheet" .href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
||||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||||
<style>
|
<style>
|
||||||
.dataTables_filter input {padding: 4px;}
|
.dataTables_filter input {padding: 4px;}
|
||||||
|
|||||||
@ -35,7 +35,7 @@ foreach($financialyear as $item)
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="modal fade" id="Fileshow" role="dialog">
|
<div class="modal fade" id="Fileshow" role="dialog">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<!-- Modal content-->
|
<!-- Modal. content-->
|
||||||
<form>
|
<form>
|
||||||
<div class="modal-content" style="width:800px;">
|
<div class="modal-content" style="width:800px;">
|
||||||
|
|
||||||
|
|||||||
@ -35,7 +35,7 @@ foreach($financialyear as $item)
|
|||||||
|
|
||||||
<!-- Left col -->
|
<!-- Left col -->
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<!-- TABLE: LATEST ORDERS -->
|
<!-- TABLE:. LATEST ORDERS -->
|
||||||
<div class="box box-info" id="content">
|
<div class="box box-info" id="content">
|
||||||
|
|
||||||
<div class="col-md-1 col-md-offset-11">
|
<div class="col-md-1 col-md-offset-11">
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
} ?>
|
} ?>
|
||||||
|
|
||||||
|
|
||||||
<!-- <link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
<!-- <link rel="stylesheet". href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
||||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||||
<style>
|
<style>
|
||||||
.dataTables_filter input {padding: 4px;}
|
.dataTables_filter input {padding: 4px;}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
<!-- <?php
|
<!-- <?php
|
||||||
// foreach($dropdownvalues as $type)
|
// foreach($dropdownvalues as $type)
|
||||||
// {
|
// {
|
||||||
// $atype =$type->type;
|
// $atype. =$type->type;
|
||||||
// //print_r($atype);
|
// //print_r($atype);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
} ?>
|
} ?>
|
||||||
|
|
||||||
|
|
||||||
<!-- <link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
<!-- <link rel="stylesheet". href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
||||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||||
<style>
|
<style>
|
||||||
.dataTables_filter input {padding: 4px;}
|
.dataTables_filter input {padding: 4px;}
|
||||||
|
|||||||
@ -33,7 +33,7 @@ foreach($financialyear as $item)
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- Left col -->
|
<!-- Left col -->
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<!-- TABLE: LATEST ORDERS -->
|
<!-- TABLE:. LATEST ORDERS -->
|
||||||
<div class="box box-info" id="content">
|
<div class="box box-info" id="content">
|
||||||
<br>
|
<br>
|
||||||
<div class="col-md-1 col-md-offset-11">
|
<div class="col-md-1 col-md-offset-11">
|
||||||
|
|||||||
@ -35,7 +35,7 @@ foreach($financialyear as $item)
|
|||||||
|
|
||||||
<!-- Left col -->
|
<!-- Left col -->
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<!-- TABLE: LATEST ORDERS -->
|
<!-- TABLE: LATEST. ORDERS -->
|
||||||
<div class="box box-info" id="content">
|
<div class="box box-info" id="content">
|
||||||
<br>
|
<br>
|
||||||
<div class="col-md-1 col-md-offset-11">
|
<div class="col-md-1 col-md-offset-11">
|
||||||
|
|||||||
@ -17,7 +17,7 @@ foreach($financialyear as $item)
|
|||||||
} ?>
|
} ?>
|
||||||
|
|
||||||
|
|
||||||
<!-- <link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
<!-- <link rel="stylesheet." href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
||||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||||
<style>
|
<style>
|
||||||
.dataTables_filter input {padding: 4px;}
|
.dataTables_filter input {padding: 4px;}
|
||||||
|
|||||||
@ -13,7 +13,7 @@ foreach($financialyear as $item)
|
|||||||
} ?>
|
} ?>
|
||||||
|
|
||||||
|
|
||||||
<!-- <link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
<!-- <link rel="stylesheet." href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
||||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||||
<style>
|
<style>
|
||||||
.dataTables_filter input {padding: 4px;}
|
.dataTables_filter input {padding: 4px;}
|
||||||
|
|||||||
@ -34,7 +34,7 @@ foreach($financialyear as $item)
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- Left col -->
|
<!-- Left col -->
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<!-- TABLE: LATEST ORDERS -->
|
<!-- TABLE: LATEST. ORDERS -->
|
||||||
<div class="box box-info" id="content">
|
<div class="box box-info" id="content">
|
||||||
<br>
|
<br>
|
||||||
<div class="col-md-1 col-md-offset-11">
|
<div class="col-md-1 col-md-offset-11">
|
||||||
|
|||||||
@ -18,7 +18,7 @@ if(!empty($debitmapping))
|
|||||||
} ?>
|
} ?>
|
||||||
|
|
||||||
|
|
||||||
<!-- <link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
<!-- <link rel="stylesheet". href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
||||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||||
<style>
|
<style>
|
||||||
.dataTables_filter input {padding: 4px;}
|
.dataTables_filter input {padding: 4px;}
|
||||||
|
|||||||
@ -84,7 +84,7 @@ foreach($financialyear as $item)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- <div style=" ;margin-left:0%;margin-top: -55px;"> -->
|
<!-- .<div style=" ;margin-left:0%;margin-top: -55px;"> -->
|
||||||
<!-- <p style="margin-left:25px;" id="bid" value="">Payment ID: </p> -->
|
<!-- <p style="margin-left:25px;" id="bid" value="">Payment ID: </p> -->
|
||||||
<!--<p style="margin-left:25px;" id="debit1amount" value="">Total Amount: </p>-->
|
<!--<p style="margin-left:25px;" id="debit1amount" value="">Total Amount: </p>-->
|
||||||
<!-- <p style="margin-left:25px;">Payment Mode: Bank</p>
|
<!-- <p style="margin-left:25px;">Payment Mode: Bank</p>
|
||||||
|
|||||||
@ -16,7 +16,7 @@ if(!empty($mapping))
|
|||||||
} ?>
|
} ?>
|
||||||
|
|
||||||
|
|
||||||
<!-- <link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
<!-- <link rel="sty.lesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
||||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||||
<style>
|
<style>
|
||||||
.dataTables_filter input {padding: 4px;}
|
.dataTables_filter input {padding: 4px;}
|
||||||
|
|||||||
@ -16,7 +16,7 @@ if(!empty($mapping))
|
|||||||
} ?>
|
} ?>
|
||||||
|
|
||||||
|
|
||||||
<!-- <link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
<!-- <link rel="stylesheet." href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
||||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||||
<style>
|
<style>
|
||||||
.dataTables_filter input {padding: 4px;}
|
.dataTables_filter input {padding: 4px;}
|
||||||
@ -182,7 +182,7 @@ if(!empty($mapping))
|
|||||||
|
|
||||||
<div class="col-md-3" style="margin-top:20px;">
|
<div class="col-md-3" style="margin-top:20px;">
|
||||||
<!-- <div class="col-md-1 col-md-offset-10" style="margin-top:20px;"> -->
|
<!-- <div class="col-md-1 col-md-offset-10" style="margin-top:20px;"> -->
|
||||||
<input type="submit" class="btn btn-success" name="btn_submit" value="View Payments">
|
<input type="submit" class="btn btn-success" name="btn_submit" value="View cashbook">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@ if(!empty($mapping))
|
|||||||
} ?>
|
} ?>
|
||||||
|
|
||||||
|
|
||||||
<!-- <link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
<!-- <link rel.="stylesheet" href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> -->
|
||||||
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.4.2/css/buttons.dataTables.min.css">
|
||||||
<style>
|
<style>
|
||||||
.dataTables_filter input {padding: 4px;}
|
.dataTables_filter input {padding: 4px;}
|
||||||
@ -183,7 +183,7 @@ if(!empty($mapping))
|
|||||||
|
|
||||||
<div class="col-md-3" style="margin-top:20px;">
|
<div class="col-md-3" style="margin-top:20px;">
|
||||||
<!-- <div class="col-md-1 col-md-offset-10" style="margin-top:20px;"> -->
|
<!-- <div class="col-md-1 col-md-offset-10" style="margin-top:20px;"> -->
|
||||||
<input type="submit" class="btn btn-success" name="btn_submit" value="View Payments">
|
<input type="submit" class="btn btn-success" name="btn_submit" value="View Cashbook">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -191,7 +191,7 @@ if(!empty($mapping))
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -47,7 +47,7 @@ $Bankname = $t->Bankname;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- TABLE: LATEST ORDERS -->
|
<!-- TABLE: LATEST ORDERS. -->
|
||||||
<div class="box box-info">
|
<div class="box box-info">
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -59,7 +59,7 @@ foreach($financialyear as $item)
|
|||||||
<p style="margin-left:25px;" id="bdate" value="">Payment Amount Date: </p> -->
|
<p style="margin-left:25px;" id="bdate" value="">Payment Amount Date: </p> -->
|
||||||
|
|
||||||
|
|
||||||
<!-- </div> -->
|
<!-- </div.> -->
|
||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
<label for="to_date">
|
<label for="to_date">
|
||||||
|
|||||||
@ -184,7 +184,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /.box -->
|
</div><!-- /..box -->
|
||||||
</div><!-- /.col -->
|
</div><!-- /.col -->
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user