Commit Graph
113 Commits
Author SHA1 Message Date
Pierre Smits a22aff5659 Improved: Invoice - CommonInvoiceDecorator (OFBIZ-12458) (#415)
Modified: InvoiceScreens.xml
- moved invoice menus to pre-body decorator section
- moved label to above menus for the invoice
- additional cleanup
2022-01-06 16:58:46 +01:00
Pierre Smits 0babdf468f Improved: List and Grid (OFBIZ-11345) (#397)
* Improved: List and Grid (OFBIZ-11345)

According to the definition in widget-form.xsd the use of a combination of a form with type="list" is deprecated in favour of a grid.
Refactor various list forms into grids.
Refactor various list form references in screens.

Modified:
InvoiceScreens.xml: from form ref to grid ref , additional cleanup
InvoiceForms.xml: from form definition with list ref to grid definition with list ref, additional clean-up

* Improved: List and Grid (OFBIZ-11345)

Modified:
InvoiceScreens.xml: missed ref to ListInvoicePaymentInfo in InvoiceScreens.xml
2021-12-10 11:04:37 +01:00
Pierre Smits e736a5fc70 Improved: Have a Menu in Accounting featuring actions to create the main objects (OFBIZ-11780) (#403)
Currently the create buttons for the main objects of the accounting application are located within find and profile widgets/templates of those objects.
In order to improve the usability of this application, OFBiz and thus the appeal of it for adopters and users, these create buttons/links/etc. should be in a main action menu visible at all times when a user (with the CREATE permission) is working within the application of the component.

Modified:
- AccountingMenus.xml: added MainActionMenu for users with CREATE permission
- AgreementScreens.xml: added ref to MainActionMenu in CommonAgreementDecorator
- BillingAccountScreens.xml: added ref to MainActionMenu in CommonBillingAccountDecorator
- BudgetScreens.xml: added ref to MainActionMenu in various appropriate screens
- CommonScreens.xml: added ref to MainActionMenu in various appropriate screens
- FinAccountScreens.xml: added ref to MainActionMenu in CommonFinAccountDecorator
- FixedAssetScreens.xml: added ref to MainActionMenu in various appropriate screens
- InvoiceScreens.xml: added ref to MainActionMenu in CommonInvoiceDecorator
- PaymentGatewayConfigScreens.xml: added ref to MainActionMenu in GenericPaymentGatewayConfigDecorator
- PaymentGroupScreens.xml: added ref to MainActionMenu in FindPaymentGroup
- PaymentScreens.xml: added ref to MainActionMenu in CommonPaymentDecorator
- TaxAuthorityScreens.xml: added ref to MainActionMenu in CommonTaxAuthorityDecorator
- TransactionScreens.xml: added ref to MainActionMenu in GenericTransactionDecorator
2021-12-10 09:49:36 +01:00
Pierre Smits 878495aa2f Improved: User with only 'VIEW' permissions and invoice payments (OFBIZ-12384) (#386)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the payments screen on an invoice sees fields editable and triggers to requests reserved for users with 'CREATE' or 'UPDATE' permissions.
To see (test): https://demo-trunk.ofbiz.apache.org/accounting/control/editInvoiceApplications?invoiceId=demo10001

Modifiied: InvoiceScreens.xml
restructured EditInvoiceApplications screen to work with user's permissions, additional clean-up
2021-12-06 16:34:34 +01:00
Pierre Smits 73cca10f39 Improved: VIEW permissions - invoice overview term triggers (OFBIZ-12429) (#382)
Currently, when using a userId with only VIEW permission, the section terms shows triggers to term line items in the invoice overview. This should not be, as those triggers on the line items are reserved for users with CREATE/UPDATE permissions.
See (test with): https://localhost:8443/accounting/control/invoiceOverview?invoiceId=demo10001

Modified:
invoiceScreens.xml.xml
- adjusted form ref to grid ref for invoice term records
2021-12-04 11:11:25 +01:00
Pierre Smits 32c4b6b883 Improved: VIEW permissions - invoice notes (OFBIZ-1243 1) (#383)
Though there is an entity InvoiceNote, this cannot be accessed by user with VIEW permissions when accessing an invoice.
See:
for entity data:https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/InvoiceNote
test invoice: https://demo-trunk.ofbiz.apache.org/accounting/control/invoiceOverview?invoiceId=demo11001

Modified:
AccountingMenus.xml
- added menu-item for invoice notes to InvoiceTabBar menu, reordered menu-items alphabetically
controller.xml
- added request-map and view-map for request invoiceNotes
InvoiceScreens.xml
- added screen for invoice notes
InvoiceForms.xml
- added grid to display InvoiceNote records
AccountingUiLabels.xml
- added label for page title invoice notes.
2021-12-04 09:07:33 +01:00
Pierre Smits 1f87fa9281 Improved: VIEW permissions - invoice contact mechs (OFBIZ-12428) (#378)
* Improved: VIEW permissions - invoice contact mechs (OFBIZ-12428)

Though there is an entity InvoiceContactMech, this cannot be accessed by user with VIEW permissions when accessing an invoice.
See:
for entity data: https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/InvoiceContactMech
test invoice: https://demo-trunk.ofbiz.apache.org/accounting/control/invoiceOverview?invoiceId=demo11001

Modified:
AccountingMenus.xml
- added menu-item for contact mechs to InvoiceTabBar menu
controller.xml
- added request-map and view-map for request invoiceContactMech
InvoiceScreens.xml
- added screen for invoice contact mech(s)
InvoiceForms.xml
- added grid to display contact mech details

* Improved: VIEW permissions - invoice contact mechs (OFBIZ-12428)

Though there is an entity InvoiceContactMech, this cannot be accessed by user with VIEW permissions when accessing an invoice.

modified:
AccountingUiLabels.xml - added label PageTitleInvoiceContactMech, used in screen InvoiceContactMech
2021-12-03 14:25:04 +01:00
Pierre Smits 10288beed3 Improved: VIEW permissions and invoice content (OFBIZ-12418) (#365)
Though there is an entity InvoiceContent, this cannot be accessed by user with VIEW permissions when accessing an invoice.

Modified:
- AccountingUiLabels.xml - added page title translation for

Modified:
InvoiceScreens.xml
- added screen InvoiceContent to be available for users with VIEW permissions
InvoiceForms.xml
- added grid InvoiceContent to be used by screen InvoiceContent
AccountingMenus.xml
- added menu-item invoiceContent to InvoiceTabBar
controller.xml
- added request-map and view-map to access screen InvoiceContent
AccountingUiLabels.xml
- added label definition for PageTitleInvoiceContent
2021-12-02 07:34:12 +01:00
Pierre Smits e529f2c328 Improved: VIEW permissions and invoice attributes (OFBIZ-12417) (#363)
* Improved: VIEW permissions and invoice attributes (OFBIZ-12417)

Though there is an entity InvoiceAttribute, this cannot be accessed by user with VIEW permissions when accessing an invoice.

Modified:
InvoiceScreens.xml
- added screen InvoiceAttributes to be available for users with VIEW permissions
InvoiceForms.xml
- added grid InvoiceAttributes to be used by screen InvoiceAttributes
AccountingMenus.xml
- added menu-item invoiceAttributes to InvoiceTabBar
controller.xml
- added request-map and view-map to access screen InvoiceAttributes

* Improved: VIEW permissions and invoice attributes (OFBIZ-12417)

Though there is an entity InvoiceAttribute, this cannot be accessed by user with VIEW permissions when accessing an invoice.

I forgot to add the translation for the page title

modified: AccountingUiLabels.xml
added label definition for PageTitleInvoiceAttributes
2021-11-28 17:57:09 +01:00
Pierre Smits 7b88918c3e Improved: 'VIEW' permissions and invoice time-entries (OFBIZ-12416) (#362)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the items screen on an invoice sees fields editable and triggers to requests reserved for users with 'CREATE' or 'UPDATE' permissions.

modified: InvoiceScreens.xml
restructured screen EditInvoiceTimeEntries, to show appropriate content based on the permissions of the user
2021-11-28 14:19:14 +01:00
Pierre Smits d3f659bf4c Improved: User with only 'VIEW' permissions and invoice items (OFBIZ-12415) (#361)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the items screen on an invoice sees fields editable and triggers to requests reserved for users with 'CREATE' or 'UPDATE' permissions.
See https://demo-trunk.ofbiz.apache.org/accounting/control/listInvoiceItems?invoiceId=demo10001

modified: InvoiceScreens.xml
restructured screen EditInvoiceItems, to show appropriate content based on the permissions of the user
2021-11-28 12:14:46 +01:00
Pierre Smits 0ed94eb7a8 Improved: User with only 'VIEW' permissions and invoice terms ( OFBIZ-12414) (#360)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the terms screen on an invoice sees fields editable and triggers to requests reserved for users with 'CREATE' or 'UPDATE' permissions.

Modified: InvoiceForms.xml
added grid 'InvoiceTerms' for displaying records of the list invoiceTerms for users with 'VIEW" missions

Modified: InvoiceScreens.xml
restructured screen InvoiceTerms, to show appropriate content based on the permissions of the user
2021-11-27 20:10:50 +01:00
Pierre Smits 2d49b0cf63 Improved: 'VIEW' permissions - Accounting InvoiceRoles (OFBIZ-12413) (#359)
Modified: InvoiceScreens.xml
Introduced
restructured screen InvoiceRoles, to show appropriate content based on the permissions of the user
2021-11-27 13:14:53 +01:00
Pierre Smits 252e2750eb Improved: removal triggers from screen present as menu-items (OFBIZ-12406) (#358)
Currently, a user with only 'VIEW' permissions, as demonstrated in trunk demo with userId = auditor, accessing the InvoiceOverviews screen sees triggers (intended for users with 'CREATE' or 'UPDATE' permissions).
Such triggers are already available via menu-items associated the screen.

modified: InvoiceOverview screen in InvoiceScreens.xml
2021-11-27 11:27:20 +01:00
Pierre Smits a58dd360a6 Improved: redundancy removal (OFBIZ-12404) (#356)
modified: InvoiceScreens.xml
removed redundant property-maps for Party and Product labels
2021-11-26 09:01:36 +01:00
Pierre Smits 8cdfc8e095 Improved: view permission vis a vis editinvoice (OFBIZ-12380) (#340)
added:
- AccountingMenus.xml: added permission conditions to 'editInvoice' menu-item
- InvoiceScreens.xml: added permission conditions to EditInvoice scrreen, reworked fail-widget
2021-11-14 17:19:13 +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 3f07bb8103 Improved: Improvements in Find Invoice screen (OFBIZ-9643)
Thanks, Renuka Srishti for reporting the issue.
2020-08-03 15:57:49 +05:30
holivier 211540a966 Documented: Help link using asciidoc files via generated html
(OFBIZ-11693)

Migrate AccountingHelData.xml to added some <set field="helpAnchor" to
the correct screens

Now in accounting component only asciidoc documents are used, help link
area now link to userDocUri
(ci.apache.org/projects/ofbiz/site/trunk/ofbizdoc as default value in
general.property)
2020-06-05 15:15:21 +02:00
Suraj Khurana 0b669e0ccb Fixed: Issue with Status of invoice.
(OFBIZ-10310)
Cause: Missing statusId in parameters.
Thanks Aayush Jain for reporting and Devanshu Vyas for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1861837 13f79535-47bb-0310-9956-ffa450edef68
2019-06-22 10:32:12 +00:00
Jacques Le Roux 148be77060 Improved: Have the ability to edit/remove terms of an invoice
(OFBIZ-9290)

Currently the user has the ability to add terms to an invoice, 
but doesn't have the functions to edit or remove existing terms.

jleroux: Based on Akshay Modak's patch, which was, mmm..., imperfect

Thanks: Pierre Smits for report, Akshay Modak for initial patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857076 13f79535-47bb-0310-9956-ffa450edef68
2019-04-07 10:29:10 +00:00
Divesh Dutta 738a12bec1 Improvement: Miniland code readability and consistency improvements
(OFBIZ-8744) (OFBIZ-8745) (OFBIZ-8746) (OFBIZ-8748) (OFBIZ-8829) (OFBIZ-8830) (OFBIZ-8907) (OFBIZ-8908) (OFBIZ-8924) (OFBIZ-8925) 

Thanks: Ankush Upadhyay , Sega patidar , Abhijeet Ashapure for your patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768219 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:14:04 +00:00
Divesh Dutta 85ce444748 Improvement: Minilang code readibility and conistency improvements
(OFBIZ-8445) (OFBIZ-8447) (OFBIZ-8448) (OFBIZ-8450) ( OFBIZ-8451) (OFBIZ-8653) (OFBIZ-8740) (OFBIZ-8741) (OFBIZ-8742) (OFBIZ-8743)

Thanks: Devanshu Vyas, Anuj Jain, Sega Patidar, Abhijeet Ashapure for your patches

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768209 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 12:41:35 +00:00
Michael Brohl 923b980f29 Improved: Accounting: Consistent form name.
(OFBIZ-8045)

Change all form names to upper camel case for consistency.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761077 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 20:27:26 +00:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +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 e929d179d8 (OFBIZ-7228) Relocate .groovy files in the party component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1747770 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:39:22 +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
Jacques Le Roux 780457fa86 A patch from Pierre Smits for "Add links to edit/delete a term, for instance from the list" https://issues.apache.org/jira/browse/OFBIZ-6866
This patch addresses the visibility of the 'add/edit' terms form. Additionally it reorders the sequence of the roles form and removes a wrong screenlet title.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742087 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 10:42:53 +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
Jacques Le Roux e012e37b59 A patch from Pierre Smits for "Have the ability to add terms to invoices" https://issues.apache.org/jira/browse/OFBIZ-6865
Currently in UI there is no way that terms can be added to an invoice.

jleroux: Works well, links to edit/delete a Term, for instance from the list at "createInvoiceTerm" request would be welcome...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1727894 13f79535-47bb-0310-9956-ffa450edef68
2016-02-01 07:18:35 +00:00
Anil Patel ea115c8f81 [OFBIZ-3879] Patch from the jira issue resolves the problem. Now start rendering invoice only if valid data if found in the database.
Code needs reformatting.
Thanks Deepak Dixit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626399 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 08:49:07 +00:00
Jacopo Cappellato ecfc14a6bc ${bsh: to ${groovy: scriptlet conversions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1613432 13f79535-47bb-0310-9956-ffa450edef68
2014-07-25 13:28:20 +00:00
Jacques Le Roux 777b0ec794 I made a mistake in r1527171. When I removed the call to GetInvoiceItemTypes.groovy in InvoiceScreens.xml I did not notice it was also generating the AccountOrganizationAndClass list.
This fixes it by renaming GetInvoiceItemTypes.groovy to GetAccountOrganizationAndClass.groovy and removing the now useless invoiceItemTypes list inside it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1547742 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 09:29:59 +00:00
Jacques Le Roux 83c6338646 Fixes an issue reported by Christian Carlow at "Invoice Item type drop down empty when creating new invoice item" https://issues.apache.org/jira/browse/OFBIZ-5415
jleroux: Rather than what proposed Christian I used the same best practice than in r1527171

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1547717 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 06:55:59 +00:00
Jacques Le Roux 26285fdb52 Fixes an issue with InvoiceItemTypes reported by Christian on dev ML following proposed Nicolas's solution.
I did not get further enough to add missing labels, like InvoiceItemType.description.SINVOICE_HEAD_ADJ, etc.
So when missing the default English description set in data seed is used

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1527171 13f79535-47bb-0310-9956-ffa450edef68
2013-09-28 09:24:33 +00:00
Hans Bakker ff9107cb25 replace groovy file with new view and add orderitemSeqId to invoiceitemlist
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512132 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 03:08:25 +00:00
Christian Geisert dcb74a8441 show localized description in invoice item type drop-down
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338699 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 13:30:52 +00:00
Marco Risaliti 5a2e780587 accounting has dependency on projectmgr (OFBIZ-3564)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1128623 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 12:24:25 +00:00
Erwan de Ferrieres 26d953fd00 Missing ProductUiLabels for the CommonInvoiceDecorator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1089342 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 07:51:53 +00:00
Erwan de Ferrieres af399d6ada Missing call to ProductUiLabels in invoiceOverview
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086913 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 11:58:43 +00:00
Jacopo Cappellato 47beefcd84 Added missing sorting directive for transaction id that was causing the invoice related transactions to appear messed un in the invoice detail screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058028 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 09:13:36 +00:00
Hans Bakker 14da0d5cce after action return back on the correct page, in invoice, also made the description field longer and move hidden fields to the top of the form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056211 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 07:05:59 +00:00
Bruno Busco 6aa252df3b Added UiLabels resources loading in Porlets.
This fixes the missing portlet UILabels rendering when accessing the Portal Page Admin in WebTools.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996090 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 07:10:50 +00:00
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Erwan de Ferrieres 87ec7593ff Adding tabButtonItem for FindInvoices screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932088 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:22:24 +00:00
Hans Bakker c86264ef45 combine 2 invoice menus together in one menu
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915647 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 03:06:47 +00:00
Hans Bakker 0b7e302d77 show commission run screen button from ap also in accounting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901966 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 03:17:28 +00:00