You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Leon Torres (JIRA)" <ji...@apache.org> on 2006/07/12 20:54:31 UTC

[jira] Commented: (OFBIZ-86) Support for Store Credit Valid Days

    [ http://issues.apache.org/jira/browse/OFBIZ-86?page=comments#action_12420708 ] 

Leon Torres commented on OFBIZ-86:
----------------------------------

Wouldn't (nowTimestamp + this many days + (time to end of day)) work better for expiration date?  That way users and customer's won't be surprised if credit expires in the middle of a business day.  Time to end of day is simply the nowTimestamp day + " 23:59:59.999"



> Support for Store Credit Valid Days
> -----------------------------------
>
>          Key: OFBIZ-86
>          URL: http://issues.apache.org/jira/browse/OFBIZ-86
>      Project: The Open For Business Project
>         Type: New Feature

>     Reporter: Si Chen

>
> New field in ProductStore for "storeCreditValidDays" which if set to a value will cause the store credits issued against the returns of orders from this store to be valid for this many days.
> Change processCreditReturn to support this new field.  Right now it is issuing only one store credit BillingAccount per return, so it should loop through all the orders, find the minimum number of storeCreditValidDays, and set the thruDate of the BillingAccount to nowTimestamp + this many days.
> Change the checkout process to filter out expired billing accounts from the payment selection list.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira