[
https://issues.apache.org/jira/browse/OFBIZ-7374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15337848#comment-15337848 ]
Ankush Upadhyay commented on OFBIZ-7374:
----------------------------------------
Thanks [~rishisolankii] for the suggestion. Yes, we have option to remove party content from Party Profile page. But we don't have option to choose content activation/expiration date.
IMO we can keep remove functionality same so that user can delete unused contents if the user wishes to clean-up content's which are no longer in use.
Following are the improvements done in provided patch:
1. Added support to remove content from Party Content tab.
2. Added fromDate, thruDate fields while creating content so now user can select content activation / expire date time.
3. In case of update make thruDate editable so that user can select expiration date time.
> Add capability to Expire or Remove the added content for a party
> ----------------------------------------------------------------
>
> Key: OFBIZ-7374
> URL:
https://issues.apache.org/jira/browse/OFBIZ-7374> Project: OFBiz
> Issue Type: New Feature
> Components: party
> Affects Versions: Release Branch 14.12, 14.12.01, Release Branch 15.12, 15.12.01
> Reporter: Swapnil Shah
> Assignee: Divesh Dutta
> Attachments: EditPartyContent.png, OFBIZ-7374.patch, Party_content_1.png
>
>
> Currently when any content is uploaded/added with respect to any party via Party Manager >> Parties >> Party Content tab, there is no option for user to Expire or remove such added content in any form
> We could try adding this feature that could allow user to
> # Expire any content by setting thru_date to now() on click of "Expire" button against each content row
> # Or option to update the From/Thru date by showing these dates as editable against each content row
> # Remove any added content on click of a "Delete" button
> (Please refer to attached screenshot for reference)
> We could also try to improvise code such that content associated with any party (PartyContent) are fetched and honored based on thru_date.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)