Commit Graph
77 Commits
Author SHA1 Message Date
Jacques Le Roux bd6543ddad A patch from Pierre Smits for "Some groovy files using Timestamp.valueOf are missing essential jar." https://issues.apache.org/jira/browse/OFBIZ-6606
"import java.sql.Timestamp;" was missing in CommissionReport.groovy, CommissionRun.groovy change is non functional (import ordering)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701825 13f79535-47bb-0310-9956-ffa450edef68
2015-09-08 15:50:10 +00:00
Ashish Vijaywargiya 1abcc52b48 Applied patch from jira issue - OFBIZ-6199 - Find Commission Run screen is broken.
Thanks Amardeep for reporting the issue and thanks for providing the patch for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668201 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 07:39:55 +00:00
Ashish Vijaywargiya 682d5e14c8 Applied all the patch files from jira issue - OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods.
Thanks so much Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646916 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 04:31:20 +00:00
Ashish Vijaywargiya d3e50d1e18 Applied patch from jira issue - OFBIZ-5892 - Replace all occurences of dispatcher.runSync in groovy files with runService() of DSL.
Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646167 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 08:10:12 +00:00
Ashish Vijaywargiya d0566c2968 Applied the patch OFBIZ-4902_application.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618336 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 11:34:57 +00:00
Jacopo Cappellato c7b517df80 Fixed bug reported in OFBIZ-5595 by nguyenthang: invoices status change was not working after the refactoring of the screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609087 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 10:42:02 +00:00
Jacopo Cappellato 92fafc6905 Fixed broken and unnecessary column.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609076 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 10:22:52 +00:00
Jacques Le Roux 9fd4ddb462 Closes "correct "javascript:void();" to "javascript:void(0);" to make it syntax valid" reported by Leon https://issues.apache.org/jira/browse/OFBIZ-4970
Firefox will throw syntax error if you call javascript void function without parameter.

jleroux: I did not reproduce with FF14 on XP (modern browsers correct by themselves) but I agree it's a better syntax. So I changed all where it was needed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369555 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 11:27:20 +00:00
Jacopo Cappellato c6ef77ac59 Removed the old and unused "serviceReaderUrls" context-param from all the web applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364217 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 06:33:26 +00:00
Adam Heath 7d2b0d9865 DEPRECATION: applications/accounting: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343479 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:11:43 +00:00
Jacques Le Roux 2199261403 A patch from Martin Kreidenweis "typo in javascript prevents live update of content" https://issues.apache.org/jira/browse/OFBIZ-4515
"success" is mistyped as "succes" in PurchaseInvoices.ftl and order.js

jleroux: I wonder why we, committers, are so long to commit such patches... :/



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222478 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 21:59:47 +00:00
Jacques Le Roux 3a2f098fce A modified patch from Leon "Help screen/navigation do not take into account content expiration" https://issues.apache.org/jira/browse/OFBIZ-4626
To enable a disabled html element, there're only two ways, remove "disabled" attribute or use javascript to set disable property to false. The patch updates trivial to enable submit button in ListInvoices.ftl and batchPayments.ftl. btw, it's not w2c compliance to set disabled attribute to other value than 'disabled'.

jleroux: Actually W3C does not define any value for disabled http://www.w3.org/TR/html4/interact/forms.html#adef-disabled and its value in javascript is a boolean so we should rather use true instead of 'disabled' (we could also use false instead of remove it seems, but anyway...)

So more files need to be changed, though they all use ".removeAttr('disabled')"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221889 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 21:14:26 +00:00
Anil Patel b2b1ce7f61 [OFBIZ-4520] Changed method used for enabling submit button. Issue reported by Martin Kreidenweis. Thanks for reporting and giving a fix patch. The code changes are not same as the patch on jira issue. Now the bulk printing for invoices is working. Will be better if we were will push invoices to the printer directly like in order manager. May be some other day :)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1189592 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 03:08:58 +00:00
Hans Bakker 8bdf6bade1 Because these back-end applications do not have a website and probably never will remove the website records and definitions in web.xml as an experiment for the accounting, order, product and party component. if there are no problems others will follow....
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153352 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 05:51:54 +00:00
Hans Bakker 08f8c91e8f move the commission run rquest to the accounting controller (AP still works) and fix submit button which did not work with jquery
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1129029 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 07:35:56 +00:00
Jacques Le Roux 2858c8e36f A patch from Pierre Smits "Accounting: PDF rendering in same browser window as of OFBiz in stead of new windows" (https://issues.apache.org/jira/browse/OFBIZ-4138) - OFBIZ-4138
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1063686 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 11:56:46 +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
Jacques Le Roux 9ef845d0ad A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Vikas Mayur 25c3810fd8 Added payment lookup specific to Account Receivable and Account Payable application. This fix a bug with the payment types that was showing up wrong values in the lookup screen used before.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950986 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 13:23:47 +00:00
Vikas Mayur 9740afd145 Added invoice lookup specific to Account Receivable and Account Payable application. This fix a bug with the status and invoice type
that was showing up wrong values in the lookup screen used before.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950936 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 10:24:02 +00:00
Jacques Le Roux 2a1a5aee14 We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Bruno Busco e96545ffc2 A patch from Blas Rodriguez Somoza
OFBIZ-3690 - XHTML validation errors round 2 (accounting)
https://issues.apache.org/jira/browse/OFBIZ-3690
XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

CostCenters.ftl
Lines 37,51: input must be inside td.
Lines 45,47: duplicated id, and invalid character "|"

EditCustomTimePeriods.ftl
Form must be outside table

CommisionReport.ftl
Line 77: invalid td outside tr and there is no open table at this point

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935260 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 21:52:20 +00:00
Erwan de Ferrieres e0033c6c5c Applying OFBIZ-3694 "Pass Accounting label to Common Label". The AccountingNoRecordFound is now CommonNoRecordFound
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@933890 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 09:19:52 +00:00
Bruno Busco f97b63ac6e A patch from Blas Rodriguez Somoza
OFBIZ-3584 - XHTML validation errors (accounting)
XHTML validation errors

    * Unclosed INPUT
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

CommisionRun.ftl
Wrong markup at line 638. (td outside row and table.)
<td colspan='4'><h3>${uiLabelMap.AccountingNoInvoicesFound}</h3></td>

BatchPayments.ftp
Wrong markup at line 675 (opened h2 and closed h3)
<h2>${uiLabelMap.AccountingNoRecordFound}</h3>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931670 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 20:27:41 +00:00
Adam Heath 2abc4d4812 These were missing, needed to display errors properly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@921084 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 19:51:42 +00:00
Ashish Vijaywargiya 3e6770d2df Applied patch from jira issue OFBIZ-3334 - Deactivated Financial Account should not get displayed in list for Issue Check Run process.
Thanks Surya & Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890787 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 13:14:38 +00:00
Ashish Vijaywargiya ae9d9ff482 Applied patch from jira issue OFBIZ-3310 - Cancel Pyament Group issue - Can't cancel reconciled payment batch and issued payment check.
Steps to reproduce -
Issue : -1
1.Create few payments in AR .
2.Create a batch payment for newly created payments from screen https://localhost:28443/ar/control/batchPayments (where finAccountId=SC_CHECKING).
3.Go to Financial Account screen and click on transaction tab https://localhost:28443/accounting/control/FindFinAccountTrans?finAccountId=SC_CHECKING.
4.Select GlReconciliationId as "Not Assigned" and click on serach button.
5.Select newly created FinAccountTrans from checkbox.Then select GlReconciliationName from selectbox and click on button "Assign TO reconciliation".
6.This process will associate fin account transaction with reconciliation.
7.Now click on Reconciliation tab and select the FinAccountTransaction.
8.Reconcile the transaction by clicking on Reconcile button.
9.Now the status of reconciliation will be "Reconciled".
10.Status of transaction will be "Approved".
11.Now go to Payment Group or Deposit slip tab, the created payment group will appear with Cancel button in list form.

    * This is not correct.
    * User can not cancel reconciled deposit slip.
      Similiar changes will reflect on following screens : -
      1) https://localhost:8443/ar/control/FindArPaymentGroups
      2) https://localhost:8443/accounting/control/FindPaymentGroup
      3) https://localhost:28443/accounting/control/FindDepositSlips?finAccountId=SC_CHECKING&organizationPartyId=Company

Issue : -2
1) Now go to PurchaseInvoices screen https://localhost:28443/ap/control/FindPurchaseInvoices.
2) Click on search button and select Invoices using checkbox.
3) Select "Issue Check" from select box.
4)Click on Run button.
5)Performing this action fin account transaction will be created in Apporved status .
5) Now go to to https://localhost:28443/ap/control/FindApPaymentGroups screen the created payment group will appear with Cancel button in list form.

    * This is not correct.
    * User can not cancel issued check .

Similiar changes will reflect on following screens : -
1) https://localhost:28443/ap/control/FindApPaymentGroups
2) https://localhost:8443/accounting/control/FindPaymentGroup

Thanks Awdesh & Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@887520 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 09:04:53 +00:00
Ashish Vijaywargiya 30f2038726 Applied patch from jira issue OFBIZ-3263 - Add bulk status change action on AR find invoice screen, also add ability to print bulk invoices.
Provide following features on screen : https://demo.ofbiz.org/ar/control/FindArInvoices (AR > Find Invoice)
1). Ability to change bulk invoice status.
2). Display invoice running total same as purchase invoice list form of AP.
3). Ability to print sales invoices in bulk.

This patch covers following thing : -
1) Implementation of mentioned functionality.
2) Data for entity UomConversionDated.
3) Improvement in service createAcctgTransForSalesInvoice . 

Thanks Awdesh, Sumit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884572 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 14:58:17 +00:00
Anil Patel 2d9f0497bf Bulk print Invoices.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835709 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 02:16:54 +00:00
Ashish Vijaywargiya 965f37cbc3 Added new uiLabel for outstanding running total - patch from Awdesh.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835362 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 12:18:25 +00:00
Anil Patel fb3242a2c5 Extend InvoiceAndType view, added StatusItem relation and InvoiceType desc alias.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833995 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 08:42:46 +00:00
Anil Patel 9b82b0d624 Show more information like, parties, dates, description on all listed invoices.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833226 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 22:55:12 +00:00
Anil Patel c667cd47bb Use Run UiLabel from CommonUiLabels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832295 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 04:03:57 +00:00
Anil Patel e69b9bc5a2 Removed duplicate definition of CommonPartyDecorator. Added partyDecoratorLocation parameter to ar/ap web.xml file so they can find CommonPartyDecorator.
This issues was discussed on list after r829392 commit in response to patch on OFBIZ-3080.
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831920 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 15:32:39 +00:00
Anil Patel ebb7309ba1 Added bulk action for updating invoice status. Also cleaned up javascript code to take advantage of prototype library. Still remains to move javascript in separate file and also css trick to show button disabled when it is.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831648 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 07:22:50 +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
Anil Patel 0610d70c82 Removed condition to show only invoices that have outstanding amount.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826169 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 03:00:19 +00:00
Ashish Vijaywargiya f5e6ae7b8d Applied patch from jira issue OFBIZ-2994 - Consistency in location of select checkbox.
Thanks Chirag for your contribution on this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821284 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 09:51:52 +00:00
Anil Patel 7dd00f3fb9 Added a screen in AP to find and view Payment Group of type Check Run and Batch Payment Deposits in.
Patch from OFBIZ-2896.
Thanks Ratnesh for implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812743 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 01:25:48 +00:00
Anil Patel f6d97cf9af Now user can select financial account to making payment (or receiving payment into) while creating payment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@805743 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 10:50:25 +00:00
Anil Patel e9f0dfb694 No functional changes, only code formating.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803920 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 15:07:29 +00:00
Anil Patel dd9f48cd44 Enhancements to commission report enhancements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803886 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 13:56:42 +00:00
Anil Patel 943798a9b9 Add Missing Links for Id in accounting component. Patch from OFBIZ-2826. Thanks Arpit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803543 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 14:49:29 +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 d2bc900cae Streamline behavior of screens in AP. Thanks Surya and Sumit for working on it. Patch from OFBIZ-2803.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802012 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 14:00:00 +00:00
Anil Patel 8bc1a6ed0e Simple UI enhancements to commissionrun process screens. Thanks Rishi, Arpit for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801893 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 06:39:35 +00:00
Anil Patel 9a8012a69d Add "Select Action" message as first option in list of actions to be perfored on selected entities.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801566 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 09:34:01 +00:00