advance payment and receipt
This commit is contained in:
parent
e11ac51e19
commit
752f43a3cd
@ -338,5 +338,11 @@ define('RawMaterial', 'Raw Material');
|
||||
define('Packingmaterial', 'Packing material');
|
||||
define('FinalProduct', 'Final Product');
|
||||
|
||||
|
||||
|
||||
//Adavnce Payments and Receipts
|
||||
define('Apayment', '0009');
|
||||
define('AReceipt', '0013');
|
||||
|
||||
/* End of file constants.php */
|
||||
/* Location: ./application/config/constants.php */
|
||||
|
||||
@ -133,7 +133,7 @@ function finyear(){
|
||||
$this->db->join('T_Employee_Details','tbl_users.EmpID=T_Employee_Details.EmpID','left');
|
||||
$this->db->join('T_SupplierDetailsN','T_SupplierDetailsN.SupplierID=t_income_expense.Supplier_id' );
|
||||
$this->db->order_by("date","desc");
|
||||
$this->db->where('t_accountcode.code','ADV003');
|
||||
$this->db->where_in('t_accountcode.code',[AReceipt,Apayment]);
|
||||
if(!empty($i))
|
||||
{
|
||||
$this->db->where('t_income_expense.id',$i);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user