Commit Graph
168 Commits
Author SHA1 Message Date
Jacques Le Roux c72b29cb1f Use UtilValidate.isNotEmpty methods instead of (obj != null) || (obj.length > 0) and (obj != null) || (obj.size > 0)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883549 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 23:41:34 +00:00
Hans Bakker 398139f70d add a portal page as the first page in sfa containing calendar and email, but can be changed as required via preferences. add the first screens for events which will appear on the calendar. next step will be to be able to connect events/tasks to opportunities, show them in the party pprofile etc...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835270 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 07:04:41 +00:00
Hans Bakker 861eb020ab 1. combine opportunity's id and name to single field.
2. add 'headerItem' as communicationevent list item link's parameter for height light menu bar
3. fix 'assign to me' buttom shifts to the left.
4. add related company button and form for create new related company in lead and contact.
5. add email buttons in sfa's communication event
6. add lookup screen and form for account lead.
7. fix telecomNumber display format. look ListWorkEffortContactMechs as example
8. rename button 'assign existing account lead' in leads to 'add related company
9. remove assigning existing account in contact
10. on all screens add a 'find' button to go back to the find screen
11. When click on comvert lead, show the message: 'Please first add related company' when company is empty


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834010 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 10:37:52 +00:00
Hans Bakker 68e0b97b45 1. ignore parties which have the party's status = disabled, change FindServices.createCondition method
2. add 'email address', 'telephone number', 'city', 'country', 'company' field to list.
3. Accounts and Leads, the opportunity box have a link to the actual opportunity in sfa
4. viewing a communication event in SFA should have a reply/replyall/new email button which links to an new email request in 'mycommunciations' in party
5. remove party's status field from list (always active)
6. Account Lookup screen  replaced ftl by forms.
7. change name of party's statusId field in PartyRelationshipAndContactMechDetail view called 'partyStatusId' because It be orverrided by relationship's statusId.
8. delete unuse ftl file,screens, forms, request and view map.
9. combined partyname and id in one field
10. changed the performfind service with a notequal operation that a null value is also not selected.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832694 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 10:10:14 +00:00
Hans Bakker 7248f6db66 Jira issue: https://issues.apache.org/jira/browse/OFBIZ-3128
1. New SFA Account/contact/lead find/list screens replacing ftl/partysearch with form/performfind.
2. SFA now compatible with the party manager with the 'all' option still have the previous 'my' option
3. added new widget property: 'text find' to set the default here and not in the xsl
4. added 'container' as a field to the form in order to insert forms dynamically with an ajax request
5. fix bug for using radio field.
6. Implemented comments on this jira issue including using the find decorator 

Contribution by Chattree, an employee of Antwebsystems Co.Ltd.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832294 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 03:59:01 +00:00
Jacques Le Roux 4adf426ef5 Fix "Create a Vcard from a contact in SFA" (https://issues.apache.org/jira/browse/OFBIZ-3059) - OFBIZ-3059
2 issues : 
* URL was not secured in FTL
* StateProvinceGeo is not mandatory (maybe there are others, too late too check..)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829460 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 22:40:22 +00:00
Bruno Busco 044bd5a92c Part of OFBIZ-3067 - Menus and form widget files location
Marketing component
Moved forms and menus from webapp to widget folder
Removed empty folders



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829365 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 13:40:11 +00:00
Hans Bakker 85d74d8505 set the userlogin party as default for the contact list owner
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821267 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 08:28:07 +00:00
Hans Bakker bee6ed81cd if the contact mech is not provided when a party is added to a contact list, find it and use that, also set the default status to accepted if added in the backoffice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820913 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 07:16:05 +00:00
Hans Bakker dbd33955ed create a sales opportunity from a incoming email and be able to list related communication events on a sales opportunity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820578 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 09:00:19 +00:00
Jacques Le Roux b7a941d4f6 Revert r813307 on Adrian's request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813893 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 16:02:01 +00:00
Jacques Le Roux a7430a2fc2 A modified patch from Erwan de FERRIERES '"Automatic" sortable table headers" (https://issues.apache.org/jira/browse/OFBIZ-2921) - OFBIZ-2921
I was planning to wait longer, but I can't wait more. I have added a lot of small trivial changes in this patch and they are blocking me to go further on other issues...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 08:41:19 +00:00
Jacques Le Roux dac7fd2208 Add some missing ASL2 headers and remove empty files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812724 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 23:29:03 +00:00
Hans Bakker fa4e7367bb added the possibility of assigning an existing account or lead to the logged user so it will show up on the screen, reused the contact/account profile realtionship screens from party, added placeholders for help screens in the sfa application.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812383 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 08:28:24 +00:00
Scott Gray 12566c26b9 Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
and memory performance if a cursor isn't being used on large result sets quite a bit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +00:00
Vikas Mayur baa09b8a93 Adding missing license, reported by Jacques on dev mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807175 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 12:17:31 +00:00
Hans Bakker 966b32d5af The 'new' help system
A new help system is implemented which is compatible with the current system which uses the ofboz.docs.org site to store the data.

The new help system has a number of advantages over the old version:
1. complete multilanguage without config xml files, using the locale.
2. Having an automatic multilevel index of all help pages using the ContentAssoc entity
3. Using the content manager for retrieval.
4. Template driven, aware of the different visual themes.
5. A first step towards the storage of OFBiz documentation within the OFBiz system itself.
6. Easy update via normal svn in seed data.
7. Aware of portlets on (userdefined) Portal pages.
8. Create awareness of the capabilities of the content component

The reason of this development was the requirement to provide user documents to the customers of Antwebsystems Co.Ltd

Some of the possible extensions could be:
1. a search function
2. print all or specific help files in PDF format
3. make the help screens work better with the business theme
4. Explain how help can be extended
5. In the help screen be able to send a message to the local support team
6. But most of all, create more help content!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804546 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16 02:04:17 +00:00
Hans Bakker fe146772e2 take the default currency as set in the commonext component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795474 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 03:54:22 +00:00
Hans Bakker b9ae5dfc90 contactlist now also get sent to internal partyid's
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795020 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 09:02:35 +00:00
Hans Bakker 7e815c48c7 sort currency by country and not by abbreviation in form dropdowns
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@794619 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 10:40:07 +00:00
Vikas Mayur 8ab6291b14 Set up demo data for managing sales activities by lead managers of an organization. Now lead owners/managers can be grouped into a team and members of this team can work
on leads own by other members.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@789702 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 13:11:18 +00:00
Ashish Vijaywargiya fd047ba000 Applied fix from jira issue OFBIZ-2627 (Clicking on expire button shows only expired record in List Contact List Party form of marketing component, it should show active records only. )
In this patch the "Edit" & "Expire" button is not shown when thruDate < nowTimeStamp.

Thanks Divesh for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786373 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 05:11:31 +00:00
Ashish Vijaywargiya 0dadb1fee6 Applied fix from jira issue OFBIZ-2627 (Clicking on expire button shows only expired record in List Contact List Party form of marketing component, it should show active records only.)
Thanks Divesh, Ratnesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786021 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 11:34:02 +00:00
Ashish Vijaywargiya c255f04678 Applied patch from jira issue OFBIZ-2626 (Edit contact list party form should not have primary key fields in editable mode).
I have provided default value in fromDate field while creating new record. Because after saving it returns to the same screen and it shows empty value for fromDate field. User can change fromDate manually if he / she would prefer to do this.

Thanks Divesh, Ratnesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@786016 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 11:12:19 +00:00
Ashish Vijaywargiya 6dadcce9d6 Applied patch from jira issue OFBIZ-2622 (Paginations in SFA Screens(Account, Contacts and Leads))
Thanks Chirag for your contribution on this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@785703 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 16:21:29 +00:00
Ashish Vijaywargiya ded2aa0b8d Applied patch from jira issue OFBIZ-2581.
As per the discussion on the above jira issue following things were finalised:

-- Show both the status (roleStatusId & statusId) in report.
-- Also added the roleStatusId field for filtering.

Thanks Awdesh, Ratnesh, Mridul & Hans for sharing views on this issue.
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@784152 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 15:14:45 +00:00
Anil Patel 195e0a4efd Added lookups for Leads and accounts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783989 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 05:54:34 +00:00
Anil Patel 0ddc552442 Now lead and account search use partyRelationShipId with logged in user. Find Lead will show all leads that logged in user is OWNER.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@783975 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 04:03:02 +00:00
Anil Patel 2656823493 Now LeadSource is saved and shown on profile page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778965 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 02:21:26 +00:00
Anil Patel 8555fc06e3 moved Opportunity services to Order component where entity definitions are. Added eca to add Account Party when partyId is entered in create opportunity form.
Updated names of artifacts to match entity they deal with.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778515 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 21:34:04 +00:00
Vikas Mayur 081fd17543 Missed these files in last commit, 776643. Part of OFBIZ-2489 (https://issues.apache.org/jira/browse/OFBIZ-2489)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776646 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 10:14:22 +00:00
Vikas Mayur b1f88b6310 Added two new reports in Marketing component. These reports are related to emails sent, bounced and opened, subscriptions and canceled for given time period.
Patch from Shweta Singhai, part of OFBIZ-2489 (https://issues.apache.org/jira/browse/OFBIZ-2489)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776643 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 09:55:01 +00:00
Andrew Zeneski a47b952b6a implemented request URL and configurable view (per contact list) to handle "linked" opt-out requests from within a communication event mailing
inside the comm event message content, include a link like:
<a href="http://localhost:8080/marketing/control/contactListOptOut?communicationEventId=${communicationEventId}">Opt-Out</a>




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774654 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 06:32:21 +00:00
Andrew Zeneski fdf9cab16e added option to hide expired parties from the contact list view
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774453 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 18:01:15 +00:00
Andrew Zeneski 235aa9e7ad fixed cancel/done buttons so they no longer throw errors; fixed publish button (missing contactListId)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@774228 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 06:17:00 +00:00
Jacques Le Roux 058d6aed57 A patch from Ashish Vijaywargiya "Change Copyright Year" (https://issues.apache.org/jira/browse/OFBIZ-2346) - OFBIZ-2346
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Andrew Zeneski 27842f03c5 since NEWSLETTER type marketing emails do not create unique communication events, added fields to keep track of party/message ID for these messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772850 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 05:59:37 +00:00
Jacques Le Roux a92a860acd &nbsp; were showing here and there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768705 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 13:50:42 +00:00
Ashish Vijaywargiya 451fb1511b I have changed the request name.
As it is not good practice to keep two request same and change the case only (For ex: we have CreateLead & createLead).
I think it creates ambiguity.

The best practice(as far as I learned) is to use "New" prefix for all the request if you are using the form only to create a record.
Although if you are using the same form for create & update then you should add "Edit" prefix before each request.

SFA will be bit large very soon so its safe to remove such issues in early stage.
Here is the code snippet :

    <request-map uri="CreateLead">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="CreateLead"/>
    </request-map>
    <request-map uri="createLead">
        <security https="true" auth="true"/>
        <event type="service" invoke="createLead"/>
        <response name="success" type="request" value="viewprofile"/>
        <response name="error" type="view" value="CreateLead"/>
    </request-map>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767904 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 12:31:06 +00:00
Andrew Zeneski 346d4581fb implemented basic preview; opens a new window (not decorated by ofbiz) and displays the HTML output along with the subject and from address for verification
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765486 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 06:48:26 +00:00
Andrew Zeneski abe1040134 a few updates to improve managing communication events with contact lists; added new status for bounced messages, invalidate subscribers from the list(only works if the SMTP server does not accept the address); started working on communication preview (very early ALPHA)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765477 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 05:59:33 +00:00
Andrew Zeneski cb79007339 not sure how this worked in my tests, but fixed a little typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765447 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 01:36:03 +00:00
Andrew Zeneski a13cf52485 added marketing email purpose type; cleaned up the contact list send communication UI (added field-groups and made less used items hidden in a collapsed group) set a bunch of default values on the communication event.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765377 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 21:38:25 +00:00
Jacques Le Roux 999bd7c577 Fix following Chris Howe's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Hans Bakker f3c4d6532b return from contact gave error, fixed by using profile request from the party manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762251 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 08:32:13 +00:00
Jacques Le Roux 76f5ca6638 Secure URLs, we don't need to duplicate in from-field when param-name is the same
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762215 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 06:25:24 +00:00
Jacques Le Roux 634aaf75e0 Last tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762025 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 22:23:19 +00:00
Jacques Le Roux fafb422e12 Securing URLs, link element in screens and menus : 32th set + tabs to 4 spaces
Continue to end with non regular formattings

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762015 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 21:35:08 +00:00