You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Carlos Guzman (JIRA)" <ji...@apache.org> on 2012/08/23 07:47:42 UTC

[jira] [Updated] (OFBIZ-5017) Quick Refund Entire Order create a Payment without the Adjustment Item amount

     [ https://issues.apache.org/jira/browse/OFBIZ-5017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Guzman updated OFBIZ-5017:
---------------------------------

    Description: 
When an order with Adjustments like shipping is refunded with the button "Quick Refund Entire Order" the return Payment amount is not correct, because the adjustment amount is not included.
For example this order:
1 product $700
S/H Adjustment: $20 
Order total: $720

when refund is requested with quick refund button, the reeturn invoice total is ok ($720), but the payment is only $700. So, the invoice only have applied $700 and $20 unapplied because of payment amount.



  was:
When an order with Adjustments like shipping is refunded with the button "Quick Refund Entire Order" the return Payment amount is not the completed, because the adjustment amount is not included.
For example this order:
1 product $700
S/H Adjustment: $20 
Order total: $720

when refund is requested with quick refund button, the reeturn invoice total is ok ($720), but the payment is only $700. So, the invoice only have applied $700 and $20 unapplied because of payment amount.



    
> Quick Refund Entire Order create a Payment without the Adjustment Item amount 
> ------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5017
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5017
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Carlos Guzman
>
> When an order with Adjustments like shipping is refunded with the button "Quick Refund Entire Order" the return Payment amount is not correct, because the adjustment amount is not included.
> For example this order:
> 1 product $700
> S/H Adjustment: $20 
> Order total: $720
> when refund is requested with quick refund button, the reeturn invoice total is ok ($720), but the payment is only $700. So, the invoice only have applied $700 and $20 unapplied because of payment amount.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] [Updated] (OFBIZ-5017) Quick Refund Entire Order create a Payment without the Adjustment Item amount

Posted by cguZZman <ca...@gmail.com>.
hello paramjit.saini,
I try what you suggested, but it did not work.




--
View this message in context: http://ofbiz.135035.n4.nabble.com/jira-Created-OFBIZ-5017-Quick-Refund-Entire-Order-create-a-Payment-without-the-Adjustment-Item-amount-tp4635910p4635956.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Re: [jira] [Updated] (OFBIZ-5017) Quick Refund Entire Order create a Payment without the Adjustment Item amount

Posted by "paramjit.saini" <pa...@viithiisys.com>.
Hi,

Need to add given below code under line no. 295 in returnItems.ftl

<#assign returnAdjustmentTotal = returnAdjustment.amount?if_exists />
<#assign returnTotal = returnTotal + returnAdjustmentTotal />



--
View this message in context: http://ofbiz.135035.n4.nabble.com/jira-Created-OFBIZ-5017-Quick-Refund-Entire-Order-create-a-Payment-without-the-Adjustment-Item-amount-tp4635910p4635914.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.