service po requistion level new changes done

This commit is contained in:
gandhimathi 2017-09-28 18:15:54 +05:30
parent e37b5cee19
commit 6c01a48ad6

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 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.PackagingValue,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 ORDER BY rt.LineItemNo ASC';
group by rt.CGST,rt.SGST,rt.IGST,rt.FreightValue,rt.PackagingValue,rt.AfterDiscount ORDER BY rt.LineItemNo ASC';
$query = $this->db->query($subQuery,array("REVENUE",$PONO));