service po requistion level new changes done

This commit is contained in:
gandhimathi 2017-09-28 20:56:35 +05:30
parent 6c01a48ad6
commit 5b201bdee3

View File

@ -752,7 +752,7 @@ function GetPOType($ReqNo)
function getRevenueTaxinforforpdf($PONO)
{
$subQuery ='SELECT group_concat(pl.MaterialCode ORDER BY pl.MaterialCode ASC) as Itemcode,rt.CGST,rt.SGST,rt.IGST,rt.FreightValue,rt.PackagingValue,rt.DiscountValue,rt.AfterDiscount FROM T_Revenue_Tax rt
$subQuery ='SELECT group_concat(pl.MaterialCode ORDER BY pl.MaterialCode ASC) as Itemcode,rt.CGST,rt.SGST,rt.IGST,rt.FreightValue,rt.AfterFreightValue,rt.PackagingValue,rt.AfterPackagingValue,rt.DiscountValue,rt.AfterDiscount FROM T_Revenue_Tax rt
join T_PurchaseOrder_LineItem pl on pl.LineItemNo=rt.LineItemNo
@ -760,7 +760,7 @@ function GetPOType($ReqNo)
where pm.POType=? and pm.PONO=?
group by rt.CGST,rt.SGST,rt.IGST,rt.FreightValue,rt.PackagingValue,rt.AfterDiscount ORDER BY rt.LineItemNo ASC';
group by rt.CGST,rt.SGST,rt.IGST,rt.FreightValue,rt.PackagingValue,rt.AfterDiscount,rt.AfterFreightValue,rt.AfterPackagingValue ORDER BY rt.LineItemNo ASC';
$query = $this->db->query($subQuery,array("REVENUE",$PONO));