Commit Graph
628 Commits
Author SHA1 Message Date
Scott Gray 63e75ce253 Fixed wrong class name, reported by Blas Rodriguez Somoza in OBIZ-3715
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935434 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 01:32:56 +00:00
Scott Gray 11ab7cdeac Fix bad variable reference, reported by Blas Rodriguez Somoza in OFBIZ-3713
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935432 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 01:23:08 +00:00
Scott Gray 911a066540 Added missing import. Fixes bug report by Blas Rodriguez Somoza in OFBIZ-3712.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935403 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 20:20:54 +00:00
Scott Gray 1a0df2ec7c As it turns out, Groovy's List.first() method doesn't quite behave as I'd assumed. Fixes bug report by Blas Rodriguez Somoza in OFBIZ-3711.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935402 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 20:20:41 +00:00
Scott Gray fbd346436a Replaced some commas with colons, fixes bug reported by Blas Rodriguez Somoza in OFBIZ-3710
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935401 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 20:20:14 +00:00
Scott Gray b2f2a17e27 A few more EntityConditionBuilder examples
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935330 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 10:41:46 +00:00
Scott Gray b9c89499a5 A couple of examples of using EntityConditionBuilder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935329 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 10:41:32 +00:00
Scott Gray d1c385bbfe A few examples of using groovy's first() list method instead of EntityUtil.getFirst(List)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935278 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 00:16:52 +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
Vikas Mayur 81c73e21de Fixed a potential NPE since ProductStore.storeName is an optional field.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930507 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 11:54:40 +00:00
Bilgin Ismet Ibryam de0b52bfe6 Removed hardcoded width and height pixels from google map template, which now allows setting them also in percentages.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928733 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 11:51:49 +00:00
Jacques Le Roux dd4729072e Of course the safe navigation changes at r928171 were not enough. This completes them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928180 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 10:33:27 +00:00
Jacques Le Roux e99da6a254 Forgot the 3d case in r928166
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928171 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 08:18:43 +00:00
Jacques Le Roux 81de2641d0 Use safe navigation rather than if(value) to avoid confusion in case of value=0.
From Scott's advice on dev ML, after a 1st remark on style by Adam

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928166 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 08:11:35 +00:00
Jacques Le Roux ad2a20a520 Fix a NPE I got on actualCurrencyAmount while working with R9.04.
Since the files are identical I commit in trunk and will backport

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927870 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 14:34:02 +00:00
Jacopo Cappellato 407f17ad61 Reimplemented "inventory valuation" report (that was buggy) and its csv and pdf variants: the new version is now based on the new LIFO and FIFO costing methods and it is more efficient because it is based on a single view-entity (that I have extended in order to be used in the new report).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927014 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 11:28:17 +00:00
Scott Gray 6109808c8a Tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924378 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:28:01 +00:00
Adam Heath 2eb1768f1d Fix lots of bad xhtml tags, need to have a space before the ending /.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 01:56: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
Bilgin Ismet Ibryam c7c5d8831b Fixed NPE in Fixed asset geo location screen.
Commented out not used code and removed unnecessary isEmpty checks.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911328 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 11:08:35 +00:00
Jacopo Cappellato 75a3c9f270 Added a bunch of missing license headers; we'll have to pay more attention on this in the future.
Still some work needs to be done in order to have the codebase inline with the ASF policies as it used to be.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907413 13f79535-47bb-0310-9956-ffa450edef68
2010-02-07 11:24:45 +00:00
Jacopo Cappellato 9be7fcdc5f Added missing license header.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907003 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 17:04:07 +00:00
Jacopo Cappellato a2cb431e4b Added missing license header.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907000 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 16:54:44 +00:00
Jacopo Cappellato 81990aea5d Another step in the implementation of automatic transactions for fixed assets: implemented screen to setup global mappings for a specific asset
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900792 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 14:31:49 +00:00
Jacopo Cappellato 8c4dd5cb6e First step in the implementation of automatic transactions for fixed assets:
* new entity to setup account mappings for all assets, by asset type or for a specific asset
* screen to setup mappings for a specific asset



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900727 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 11:24:34 +00:00
Erwan de Ferrieres 595517b3bf JIRA-3381 : Update of the geolocation screen in party (https://issues.apache.org/jira/browse/OFBIZ-3381)
The geoChart screen is now used for all the geolocalization calls.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899560 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 08:28:51 +00:00
Jacopo Cappellato 04548bee96 Refactored fixed asset depreciation screen and improved data preparation service; replaced (poorly implemented) ftl template with a simple form definition.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@899142 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 10:14:46 +00:00
Jacopo Cappellato bb17b94670 First step in the implementation of the screens and services to setup depreciation formulae for fixed assets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898869 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 18:22:14 +00:00
Jacopo Cappellato cbe1eb6964 Removed old and unused services for data preparation of the balance sheet.
According to the discussion in the mailing list, moved the depreciation classes from Debit to Credit group; also modified data preparation script for balance sheet and financial time period closing.
Thanks to Adrian Crum and Mike Bates for the valuable information provided.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@898710 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 10:44:07 +00:00
Bruno Busco f25115a45a Changed some FTL screenlet-title-bar titles to match with what is rendered by the screenlet widget
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897650 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 16:08:05 +00:00
Erwan de Ferrieres 72cd6fc782 Adding missing request-map when updating a fixed asset calendar event
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896498 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 15:58:32 +00:00
Erwan de Ferrieres c0c2e29e8c Removing some trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896496 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 15:55:40 +00:00
Jacopo Cappellato c386b7f46d Fixed a series of bugs affecting payment applications; gl postings associated to payment application are now in a better shape (still need some enhancements).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892447 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 07:55:44 +00:00
Scott Gray 78b784e80e Convert all uses of json event types to chained requests with the common json event at the end.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892219 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 10:55:34 +00:00
Vikas Mayur 6a135c5dbf Added CRUD services for GeoPoint and FixedAssetGeoPoint entity. Additional changes are done to avoid possible NPE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891248 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 14:27:50 +00:00
Hans Bakker a2982cef6d Although we do not experience compile problems here, there were some problems as reported https://issues.apache.org/jira/browse/OFBIZ-3353. which should be fixed now, contribution by chattree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891180 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 10:44:27 +00:00
Jacopo Cappellato 09d4202ea7 Fix by Sumit Pandit for opening balances of cash flow statement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891135 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 07:13:34 +00:00
Hans Bakker 78fa025e71 extended the OLAP entities with the InventoryItemFact, added birt reports in the facility, Order, and accouning payment components. Please note that before these reports can be used the warehouse needs to be populated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890830 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 15:34:29 +00:00
Ashish Vijaywargiya 5d3d90343b Applied patch from jira issue OFBIZ-3344 - Adding Calendar event gives error in Accounting Manager.
Steps to produce the bug:

1) Go to https://demo.ofbiz.org/assetmaint/control/ListFixedAssets
2) Find fixed assets
3) Select DEMO_PROJECTOR
4) Now click on calendar menu
5) Click on "Add new" for adding new event in calendar.
6) Give the event name on Add/modify a calendar event and then click on "Add" button
7) Error page is displayed. 

Thanks Divesh for the contribution and I totally agree that it is better to add single controller entry from workeffort instead of adding the whole controller at the top of accounting's controller.xml file. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890793 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 13:32:38 +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 0511d328c3 Applied patch from jira issue - OFBIZ-3332 - Implement Comparative Cash Flow Statement.
-- Here is modified patch for issue, now total of Receipts and disbursement is showing for selected time periods. 

Thanks Sumit & Jacopo for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890784 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 13:11:45 +00:00
Ashish Vijaywargiya 6a31562782 Removed warning message coming on couple of PDF.
Patch from Surya Kusumakar.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890283 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 11:52:22 +00:00
Ashish Vijaywargiya c26fea3cb2 Removed warning message coming on couple of PDF.
Patch from Parimal Gain.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890282 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 11:51:36 +00:00
Ashish Vijaywargiya 12c66e4c2b Applied patch from jira issue OFBIZ-3332 - Implement Comparative Cash Flow Statement.
Thanks Sumit & Jacopo for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890272 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 11:02:40 +00:00
Ashish Vijaywargiya adad2d41a1 Applied patch from jira issue OFBIZ-3326 - Imporve Cash Flow Statement.
Currently Cash flow statement showing many sections like asset, liability ..... that are not required. Sections contains account payable, receivable and these should no part of cash flow.
So doing improvements in Cash Flow Statement by showing only Cash_Equivalent transactions.

New implementation contains three parts -

    * Opening Cash flow
          o It will contain sum of transactions form last closing period to current from date.
    * Period Cash Flow
          o It will contain sum of transaction during date range.
    * Closing Cash flow
          o It will contain sum of amounts of opening cash flows and closing cash flow.

There is a last section of totals, which will in same format of other reports. 

Also PDF and CSV feature added in this work.

Thanks Sumit & Jacopo for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889598 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 12:54:18 +00:00
Jacopo Cappellato 6e1ffe90ed Misc cleanups to the Gl Account Trial Balance; the html code was wrong and this was causing layout issues; now it is better but still needs more love.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888867 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 16:38:23 +00:00
Jacopo Cappellato fd4f4de5ae Fixed code that could cause infinite loops.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888825 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 15:06:42 +00:00
Anil Patel 513ac5bfb8 Check if there is any row with invalid data before enabling submit button.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@888727 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 08:15:12 +00:00