Commit Graph
41 Commits
Author SHA1 Message Date
Pierre Smits 033ab16de7 Improved: VIEW permissions Commission Run (OFBIZ-12433) (#384)
* Improved: VIEW permissions Commission Run (OFBIZ-12433)

Currently, when using a userId with only VIEW permission, the Commission Run trigger (menuItem) presents a screen to search and find invoices applicable for the underlying service of creating commission invoices.
On the result shown, the user has access to triggers (functionalities) reserved for users with CREATE/UPDATE permissions.
See (test with): https://demo-trunk.ofbiz.apache.org/accounting/control/CommissionRun and from date= 12/1/1999 12:00:00 AM

Modified:
InvoiceScreens.xml (in AP) - screen CommissionRun
- restructured the screen to show result based on permissions
- added reference to template for users with VIEW permissions

Added:
CommissionRunSearchResult.ftl template for users with VIEW permissions

* Improved: VIEW permissions Commission Run (OFBIZ-12433)

Currently, when using a userId with only VIEW permission, the Commission Run trigger (menuItem) presents a screen to search and find invoices applicable for the underlying service of creating commission invoices.
On the result shown, the user has access to triggers (functionalities) reserved for users with CREATE/UPDATE permissions.
See (test with): https://demo-trunk.ofbiz.apache.org/accounting/control/CommissionRun and from date= 12/1/1999 12:00:00 AM

Modified:
InvoiceScreens.xml (in AP) - screen CommissionRun
- restructured the screen to show result based on permissions
- added reference to template for users with VIEW permissions

Added:
CommissionRunSearchResult.ftl template for users with VIEW permissions
2021-12-06 12:35:17 +01:00
Aditya Sharma e97f45c381 Fixed: removed unused asmselect files and unused variable asm_asmListItemPercentOfForm (OFBIZ-10113)
asm select library is already replaced with select2 library, but the library files still exist in code base unused.
asm_asmListItemPercentOfForm varaible was used to set the width of the selected items which were displaced distictly from select fields. With select2, the selected items display inside the input field so it is no more needed

Thanks Jacques Le Roux for reporting it
2021-05-12 11:57:54 +05:30
Akash Jain 2a9c4ce3f4 Improved: Status ID checkbox for FindPayments and FindPurchaseInvoices forms (OFBIZ-11938) 2020-08-03 16:19:06 +05:30
James Yong 2c62637752 Improved: Apply multi-block attr to each application (OFBIZ-11706)
For Accounting, Content, HR, Manufacturing.
2020-05-15 17:43:38 +08:00
Jacques Le Roux 4d646ce052 Improved: Use "Create" instead of "Create New" on the various screens of all
components
(OFBIZ-9905)

As the title says + removes now useless labels

Thanks: Aayush Jain for report, Sourabh Jain for the fix, Pierre Smits and 
Rishi Solanki for comments

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858291 13f79535-47bb-0310-9956-ffa450edef68
2019-04-27 17:56:44 +00:00
Deepak Dixit 1a7aee6685 Improved:Use from-field pattern instead of value=dollor pattern in 'set' element
Apply slightly modified patch from jira issue, fixed some typo (OFBIZ-9607)
Thanks Suraj Khurana and Rohit Rai for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806326 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 20:23:40 +00:00
Nicolas Malin aec57b51c5 Implemented: Continue the common-theme upload (OFBIZ-9138 Create a common theme)
Third step, move macro ftl libraries and ftl template present on framework common to common theme
At this step, the common-theme is forced like the common component previously.

Main common screens present on CommonScreens.xml, LookupScreens.xml and HelpScreens.xml are moved to common screen with a forced rewrite to common-theme 
Warning this commit is going to follow with a other commit for CommonScreens.xml because LookupScreens.xml and HelpScreens.xml are recreated on common-theme, but to keep the history of CommonScreens.xml it was moved entirely, the second commit restore it with redirect call.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806091 13f79535-47bb-0310-9956-ffa450edef68
2017-08-24 21:55:06 +00:00
Divesh Dutta 38c5ba5993 Improved: Convert search criteria on status into multi select pattern for Accounting Component
(OFBIZ-7546)

Added Check box for status fields on Find Invoice, Find Payments and Find Purchase Invoices forms.

Thanks: Mohammad Kathawala for the patch and Swapnil Shah for reporting the issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761134 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:58:41 +00:00
Jacques Le Roux 640ec64bb7 No functional changes, removes superfluous blanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752150 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 12:42:20 +00:00
Jacques Le Roux 3e9bb67454 No functional change, fixes a typo (as ever was open in Eclipse where I fixed by hand and did not save before committing previous fix)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751699 13f79535-47bb-0310-9956-ffa450edef68
2016-07-06 15:02:19 +00:00
Jacques Le Roux c8ba932772 Fixes a "typo" in last commit for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux 89212904bd Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749489 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:37:47 +00:00
Jacques Le Roux 4931db1ed9 Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061 by replacing xsd files references in xml files by -ns.xsd files and removing the concerned xsd files
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749488 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:14:16 +00:00
Deepak Dixit 633d933e91 (OFBIZ-7219) Relocate .groovy files in the accounting ap and ar webapp.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747849 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 05:54:25 +00:00
Deepak Dixit 87601f6aca (OFBIZ-7219) Relocate .groovy files in the accounting component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747746 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 16:54:38 +00:00
Deepak Dixit 83696e3203 (OFBIZ-7021) Renamed framework common component ftl file name from lower camel case to upper camel case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744783 13f79535-47bb-0310-9956-ffa450edef68
2016-05-20 18:52:54 +00:00
Deepak Dixit 209b95cbbf (OFBIZ-6823) relocate .ftl files in the framework/common component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740497 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 12:28:46 +00:00
Deepak Dixit 8ace9fbcb6 (OFBIZ-6813) Apply patch from jira issue.
============================================================
relocate .ftl files in the accounting component
============================================================

Thanks Pierre Smits for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738754 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 10:17:36 +00:00
Deepak Dixit cf28e7359c (OFBIZ-6937) Applied patch from jira issue.
============================================================
Company Check payment method should be shown when issuing chek
============================================================
Thanks Akash Jain for reporting the issue and Mohammad Rehan Khan for patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735731 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 06:23:40 +00:00
Jacques Le Roux 24fe5ff37e Merges the jQuery branch back to the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Ashish Vijaywargiya 27e6d4fbc3 Applied patch from jira issue - OFBIZ-3872.
Error in Screen Ap -> Invoices -> Commission Run.

The following error screen appears when we click on find button with

partyId - Demo Agent (DemoCustAgent)
fromDate - (set current date)

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://accounting/widget/ap/InvoiceScreens.xml#CommissionRun: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection (java.lang.String cannot be cast to java.util.Collection)

Thanks Amit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@978806 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 06:13:06 +00:00
Erwan de Ferrieres e9ef17a182 Correcting decorators' names, as some screens were used in AR and AP components. This is closing OFBIZ-3641
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931956 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 14:29:28 +00:00
Erwan de Ferrieres 256028190e Error screen in ap -> reports - OFBIZ-3640 (https://issues.apache.org/jira/browse/OFBIZ-3640)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931045 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 08:08:22 +00:00
Anil Patel 7af265dd3a Screenlets for Quick view into invoices past due and invoices coming due soon.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835622 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 22:55:35 +00:00
Anil Patel 6589d8a4e2 Updated Check Run process to use PaymentMethod of paying organizationParty instead of FinAccount. finAccountId is now fetched from PaymentMethod and finAccount Transaction is created.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831637 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 04:08:22 +00:00
Bruno Busco 4740d3a616 Part of OFBIZ-3067 - Menus and form widget files location
Accounting component
Moved forms from webapp to widget folder


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828868 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 21:57:30 +00:00
Ashish Vijaywargiya 50bf262a36 Applied patch from jira issue OFBIZ-2979 - there were a typo - instead of parameter. it would be parameters.
For now jira issue is very slow so I am not able to assign this issue to myself since last 2 hours.
I will close issue by tomorrow.

Thanks Brajesh for your contribution on this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820259 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 13:09:13 +00:00
Anil Patel e3218de18f Improvements in the Invoice Generation for commission run functionality. Patch from OFBIZ-2806. Thanks Rishi and Amit for help.
Thanks Eva and Vince for requirements definition.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803508 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 13:48:26 +00:00
Anil Patel 24a0ba1761 Removing redundant entries for location of main decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803134 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 14:11:53 +00:00
Anil Patel 79a0acba3e Reorganized AR screens. Thanks Surya, Sumit for working on it. Patch from OFBIZ-2803.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802334 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 10:21:28 +00:00
Anil Patel 0a2d41a6bc Fix multi select option in form widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801518 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 06:50:27 +00:00
Anil Patel dac348b258 Adding ability to create Commission invoice from sales invoices. Patch from OFBIZ-2713. Thanks Rishi, Sumit, Awdesh, Amit for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798854 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 10:54:02 +00:00
Anil Patel cd79e41818 Cleaned up create commission invoice process. Added new search parameters to search process.
Thanks Sumit, Rishi, Amit and Awdesh.
Patch from OFBIZ-2713


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796289 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 13:22:26 +00:00
Ashish Vijaywargiya a2287e8f6c Applied patch from jira issue OFBIZ-2713 - Invoice generation from Commission Run
Implemented:
– Initial screen for sales invoice search and list form. 

Thanks Amit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792939 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 13:23:23 +00:00
Ashish Vijaywargiya fe11f5b187 Now performFind service is used in the form action instead of preparing invoice list in groovy file.
Thanks Awdesh.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792900 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 11:59:26 +00:00
Ashish Vijaywargiya 9582e2d709 Applied patch from jira issue OFBIZ-2706 - Create a screen under AP -> Invoice, which will search for a PURCHASE_INVOICE between dates.
Following thing is covered in this patch:
--Added Functionality to show form based on Action. 

Thanks Arpit, Rishi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792482 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 10:26:11 +00:00
Ashish Vijaywargiya d286285bdd Applied patch from jira issue OFBIZ-2706 - Create a screen under AP -> Invoice, which will search for a PURCHASE_INVOICE between dates.
Thanks Chirag, Rishi & Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791531 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 16:11:52 +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
Bruno Busco bc9d99b364 - Fixed headerItem and tabButtonItem settings in Accounting, AP and AR (menu items did not highlight correctly)
- Extended ApAppBar and ArAppBar menus from CommonAppBarMenu

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735366 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 01:09:40 +00:00
Vikas Mayur e45be17d5e Misc improvements in AR/AP webapp, part of Jira issue OFBIZ-1668. Thanks Sumit Pandit for this patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655033 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 09:07:28 +00:00
Vikas Mayur e7cb264e67 Patch from Sumit Pandit for Add Application level menu/tools for AP, Jira issue OFBIZ-1668 (https://issues.apache.org/jira/browse/OFBIZ-1668)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@654824 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 14:29:53 +00:00