Commit Graph
255 Commits
Author SHA1 Message Date
Andrew Zeneski ef2dc869d7 UI to display financial accounts in checkout (for use as payment)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522737 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 04:13:30 +00:00
Ray Alan Barlow 4e5455b820 Shows "discontinued" against any product that has been in the orderview/edit screen. It's useful for testing but also helpful for the average user to see items that might be a problem. Final part of OFBIZ-501.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522466 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 09:40:07 +00:00
Scott Gray ad622b67ca Applied patch from Rashko Rejmer, Wrong path to the calendar image when ordering FIXED_ASSET_USAGE products
OFBIZ-840

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522115 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 22:07:53 +00:00
Jacopo Cappellato c814ec8713 Misc improvements to the service to send print streams to printers from screen definitions.
Added new service to generate file version of the screens; the files are created in the applications/content/output folder but this is configurable thru the config file in the content component.
An example of its usage is in the 'find orders' screen.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@522021 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 13:17:36 +00:00
Ray Alan Barlow b0cfeb160a Fixed the 'filter' section of the orderlist and findOrders screen. Both had output formating issues, but orderlist was also checking for wrong field name in bsh file so it would never show any results. NB These two screens could be improved to re-use more of the logic related to populating the filter lists, but this is just a bug fix for now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521827 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 17:52:41 +00:00
Jacques Le Roux 89f4bfba07 A patch from Ashish Vijaywargiya "Typo Mistake in stateProvinceAbbr" (https://issues.apache.org/jira/browse/OFBIZ-838)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521700 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 12:27:00 +00:00
Jacopo Cappellato 0c31e1a432 Now the 'approve requirement' screen shows both created and proposed requirements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521688 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 12:05:24 +00:00
Jacopo Cappellato fd48f013f1 Added script to select all the printers available in the server.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521619 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 08:25:39 +00:00
Jacopo Cappellato fda2cdde19 There is now a 'print' option in the select box in the header of the find order list.
By selecting it and submitting the form all the orders with the checkbox set will be submitted as async jobs: the user can monitor the status of the print jobs (one per order) in the WorkEffort->Submitted Jobs screen (the status will move from Pending to Running to Finished).
The system will render one postscript stream for each order (out of the screen definition) and send it to the first printer (that can handle postscript streams) that the server's JVM can locate.
OFBIZ-824

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521616 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 07:53:39 +00:00
Andrew Zeneski b0dd52c59f few minor adjustments; to not fail and added ability to refresh order page (clickable orderId)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521360 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 17:25:20 +00:00
Jacopo Cappellato c703d2efa1 Fixed call to UtilMisc.toList method (too many parameters were passed).
Thanks to Jacques LeRoux for the bug report.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@521232 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 12:05:32 +00:00
Si Chen f5cb9cf8c0 Fix bug where in some cases the payment methods for the order party was missing, preventing new payment methods from being added to order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520980 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 19:31:47 +00:00
Jacopo Cappellato f2b09af6b6 Improved business rules to automatically assign a (product) requirement to a supplier: now validity dates are considered against the requirement date, and also minimum order quantity, and the supplier with the minimum last price and higher preference is selected.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520857 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 12:29:59 +00:00
Jacopo Cappellato 7f19c0901d Added from/thru dates to the list of fields returned by the query on SupplierProduct.
They are needed to filter discontinued items (see the call to EntityUtil.filterByDate(...)).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520784 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 07:41:12 +00:00
Jacopo Cappellato 0b7918811a Based on bug report by Si Chen, the view definition for fop screens now explicitly set the content-type to 'application/pdf'.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520526 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 19:14:38 +00:00
Si Chen a298a2bb2d Completing purchase orders:
- Link from ReceiveInventoryAgainstPurchaseOrder and orderview (for approved purchase orders) screens calls completePurchaseOrder service group
- Unreceived order item quantities are cancelled and product requirements generated for those quantities
- Order item status set to completed (or cancelled, if total quantity was cancelled)
- checkOrderItemStatus service is called to make sure that the order status correctly reflects the item statuses

Small fixes to ReceiveInventoryAgainstPurchaseOrder screen:
- Adding a UPCA column
- Cancelled quantity in a separate column
- Using orderItem to calculate quantities instead of orderItemAndShipGroupAssoc, since the latter can have its quantity figure manipulated in some cases
- Formatting fixes and fix to possible NPE when an orderId is not passed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@520120 13f79535-47bb-0310-9956-ffa450edef68
2007-03-19 22:18:20 +00:00
Ray Alan Barlow 82c5f7bf85 Fix to add missing </fo:block> closure for attnName on purchase order PDFs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519572 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 08:31:39 +00:00
Scott Gray 6e8036e82b correspondingPoId should be hidden for purchase orders
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519571 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 08:16:23 +00:00
Scott Gray 9c6ba05be3 A few improvements to the use of OrderItem's correspondingPoId field during order entry.
Includes a bug fix reported by Philip W. Dalrymple III

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519570 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 07:33:30 +00:00
Scott Gray 045155ee1d Formatting clean up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519566 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 06:43:06 +00:00
Jacopo Cappellato 6504803a20 'Created' status is the default one for newly created requirements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519271 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 09:29:25 +00:00
Jacopo Cappellato afd04bd768 Enabled support to 'screenfop' view definitions for several output types supported by FOP; they are defined using the content-type attribute in the controller's view definition (application/pdf is the default)); try for example:
application/postscript
application/x-pcl
...
This is the first step toward providing print support for laser/barcode printers.
The change is backward compatible with all the existing view definitions, however I had to update all the controller xml files because I've renamed the view handler class name from ScreenFopPdfViewHandler to ScreenFopViewHandler, to better describe its role in the framework.
OFBIZ-823


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519268 13f79535-47bb-0310-9956-ffa450edef68
2007-03-17 09:17:54 +00:00
Si Chen 7cb12065a6 Improve ship groups PDF to include shipped and open quantities, allow PDF to be generated for specified ship group.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519155 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 22:03:01 +00:00
Si Chen b939a784fd Update ship group PDF to handle cancelled ship group associations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519145 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 21:04:09 +00:00
Si Chen 3a0e3ae597 Fix typo bug in ship groups pdf which was causing group total to be off.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519118 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 20:02:10 +00:00
Si Chen f9d4271100 Added PDF for ship groups. It displays the contents of each ship group on a page by page basis.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@519117 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 19:58:24 +00:00
Si Chen f49c210049 fix bad renderProductContentWrapper.getProductContentAsText in ordermgr show cart items. Thanks to Rashko Rejmer. OFBIZ-820
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@518800 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 22:52:17 +00:00
Si Chen 307dc796aa Improvements to add/remove payment methods in order view. The payment amount field defaults to the open order amount, which is a new method in Order Read Helper. Replaced minilang service updateOrderPaymentPreference with an improved java version. Changed the requests to request-redirect to avoid adding the payment method again if user hits refresh.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@518702 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 17:36:49 +00:00
Jacopo Cappellato e57ff38045 Applied patch from Adrian Crum to fix a layout issue in the order entry page.
Issue OFBIZ-807


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@518696 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 17:14:54 +00:00
Si Chen 2ef9b62d4d Changed facilityId to a required field in ApprovedProductRequirements. Although this disables the ability to find them across facility, it improves the UI in that the user knows it must be set for purchase order creaton.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@518695 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 17:13:52 +00:00
Hans Bakker e65ddd9f64 show picked quantities only fro sales orders
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@518496 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 06:26:38 +00:00
Si Chen f4b7a01228 Add an amount total to the list of approved product requirements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@518369 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 22:56:51 +00:00
Hans Bakker 3f4a6150be show quantity picked on orderView screen to indicate quantity modifications to the order could cause problems.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@517520 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 04:18:14 +00:00
Jacopo Cappellato 9e1cdadbb6 Small layout fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@517135 13f79535-47bb-0310-9956-ffa450edef68
2007-03-12 08:54:15 +00:00
David E. Jones 4344e8e947 Applied patch from Anil Patel in OFBIZ-693; small improvement in lead time display when not in stock changed to use availableToPromiseTotal; added caching support for productsummary call to make it perform reasonably
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515648 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 17:01:23 +00:00
Si Chen f11909a191 Disable updating of shipping method for purchase orders. OFBIZ-365
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512870 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 17:48:49 +00:00
David E. Jones c34a870036 Changed a getRelatedOne for basically seed data to be cached
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512505 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 00:02:10 +00:00
Si Chen 17b727c327 made the create return button same as the others on the screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512503 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 23:58:06 +00:00
Jacques Le Roux cd5733729b A patch from Bilgin Ibryam "Wrong fieldlookup image url" (https://issues.apache.org/jira/browse/OFBIZ-764).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512472 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 22:56:45 +00:00
Si Chen 3f80b5e6b3 Small UI improvements for SetItemShipGroups checkout screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512376 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 20:01:38 +00:00
Si Chen ab274da7ed Implementing logic to handle automatic creation of drop ship groups during checkout
- If a product is set to always drop ship (Product.requirementMethodEnumId == 'PRODRQM_DS').
    - If a product is set to drop ship when inventory is low (Product.requirementMethodEnumId == 'PRODRQM_DSATP'). In this case, item quantities > ATP will be drop shipped.
    - Items are reassigned to ship groups based on supplier.
    - Ship groups are created if necessary.
    - Suppliers are determined using by ProductSupplier.canDropShip == Y, and ProductSupplier.supplierPrefOrderId - main suppliers are used in preference to alternate suppliers.
    - Changing Enumeration.enumId PRODRQM_DSQOH to PRODRQM_DSATP in ProductTypeData.xml.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512373 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 19:51:52 +00:00
Jacopo Cappellato 37ec41dee7 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511769 13f79535-47bb-0310-9956-ffa450edef68 2007-02-26 10:11:32 +00:00
David E. Jones 77a4fe0f9e Small cleanup to use already declared variable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510965 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 14:49:31 +00:00
Hans Bakker 30b4aaea34 show a list of requirements when no find parameters are entered
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510841 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 06:03:42 +00:00
Hans Bakker bcb1d6efe7 fix NPE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510827 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 05:00:14 +00:00
Hans Bakker 11cf00dafa invalid field on <submit> tag: corrected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510764 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 02:18:10 +00:00
Si Chen e7670d5bd5 OFBIZ-733: Create invoices for drop ship orders
- Adding logic to createInvoicesFromShipments service to deal with creating both purchase invoices for drop shipment orders and sales invoices for the sales order linked to drop shipment orders - a sales invoice is created if the createSalesInvoicesForDropShipments parameter is true.
- Adding createSalesInvoiceFromDropShipment service to wrap call to createInvoicesFromShipments, passing the createSalesInvoicesForDropShipments parameter.
- Adding SECAs on updateShipment to generate a purchase invoice when a drop shipment is shipped and a sales invoice when a drop shipment is received
- Adding quickDropShipOrder service, linked from orderview page, to create a drop shipment and set the shipment status to shipped and then received, in order to trigger the SECAs for drop shipment invoice generation.
- Fixed flaw in createInvoiceForOrder service - now pro-rating OrderAdjustments based on OrderItem quantity from the database instead of the passed-in OrderItem, in case the OrderItem quantity has been replaced upstream.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510664 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 21:49:10 +00:00
Jacques Le Roux d896af12af Commented out product.bsh part wich had the same erroneous snippet trying to come back to the same page when login or changing language.
Added a comment from David's advice to use the same metho than add to cart in all concerned files (category.bsh prodcut.bsh and main.bsh)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509990 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 12:56:41 +00:00
David E. Jones 2d6086b7b7 Commented out code that attempts to go back to the same category on language change, but really doesn't go back to the same page AND it messes of the main page which IMO is not acceptable; if this is important it should be done that SAME way we go back to the same page on an add-to-cart
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509955 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 10:00:24 +00:00
David E. Jones 397cb385be Last commit for fixing the prod cat link category ID thingy wasn't adequate, cleaned up the categorydetail.bsh script and simplified what is done in the field mapping in the query in the screen def
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509953 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 09:44:22 +00:00