|
Author: doogie
Date: Mon Dec 14 04:35:35 2009 New Revision: 890174 URL: http://svn.apache.org/viewvc?rev=890174&view=rev Log: Merged with trunk 890168. Added: ofbiz/branches/addbirt/applications/order/script/org/ofbiz/order/test/ - copied from r890173, ofbiz/trunk/applications/order/script/org/ofbiz/order/test/ ofbiz/branches/addbirt/applications/order/script/org/ofbiz/order/test/QuoteTests.xml - copied unchanged from r890173, ofbiz/trunk/applications/order/script/org/ofbiz/order/test/QuoteTests.xml ofbiz/branches/addbirt/applications/order/testdef/data/ - copied from r890173, ofbiz/trunk/applications/order/testdef/data/ ofbiz/branches/addbirt/applications/order/testdef/data/QuoteTestData.xml - copied unchanged from r890173, ofbiz/trunk/applications/order/testdef/data/QuoteTestData.xml ofbiz/branches/addbirt/applications/order/testdef/quotetests.xml - copied unchanged from r890173, ofbiz/trunk/applications/order/testdef/quotetests.xml Removed: ofbiz/branches/addbirt/framework/webslinger/lib/webslinger-base-invoker-20091211-3897-7ab22baea4b6.jar Modified: ofbiz/branches/addbirt/ (props changed) ofbiz/branches/addbirt/applications/order/config/OrderUiLabels.xml ofbiz/branches/addbirt/applications/order/ofbiz-component.xml ofbiz/branches/addbirt/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml ofbiz/branches/addbirt/applications/order/servicedef/secas.xml ofbiz/branches/addbirt/applications/order/servicedef/services_quote.xml ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportBody.fo.ftl ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportConditions.fo.ftl ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportContactMechs.fo.ftl ofbiz/branches/addbirt/applications/order/webapp/ordermgr/return/returnLinks.ftl ofbiz/branches/addbirt/applications/party/webapp/partymgr/WEB-INF/actions/party/PartyFinancialHistory.groovy (props changed) ofbiz/branches/addbirt/applications/product/config/ProductUiLabels.xml ofbiz/branches/addbirt/framework/service/src/org/ofbiz/service/eca/ServiceEcaUtil.java ofbiz/branches/addbirt/framework/widget/src/org/ofbiz/widget/tree/MacroTreeRenderer.java ofbiz/branches/addbirt/framework/widget/templates/htmlTreeMacroLibrary.ftl ofbiz/branches/addbirt/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/Facilities.groovy (props changed) ofbiz/branches/addbirt/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/ProductList.groovy (props changed) ofbiz/branches/addbirt/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/ProductStockTake.groovy (props changed) ofbiz/branches/addbirt/specialpurpose/pos/data/DemoRetail.xml ofbiz/branches/addbirt/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java ofbiz/branches/addbirt/specialpurpose/pos/src/org/ofbiz/pos/event/ManagerEvents.java Propchange: ofbiz/branches/addbirt/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Mon Dec 14 04:35:35 2009 @@ -1 +1 @@ -/ofbiz/trunk:831205-889845 +/ofbiz/trunk:831205-890173 Modified: ofbiz/branches/addbirt/applications/order/config/OrderUiLabels.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/applications/order/config/OrderUiLabels.xml?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/applications/order/config/OrderUiLabels.xml (original) +++ ofbiz/branches/addbirt/applications/order/config/OrderUiLabels.xml Mon Dec 14 04:35:35 2009 @@ -4913,7 +4913,7 @@ <value xml:lang="de">Rechnung von Akteur</value> <value xml:lang="en">Bill From Party</value> <value xml:lang="es">Participante que factura</value> - <value xml:lang="fr">Acteur débité</value> + <value xml:lang="fr">Acteur crédité</value> <value xml:lang="it">Fattura Dal Soggetto</value> <value xml:lang="nl">Facturerende relatie</value> <value xml:lang="ro">Factura de la Subiect</value> @@ -4926,7 +4926,7 @@ <value xml:lang="de">Rechnung an Akteur</value> <value xml:lang="en">Bill To Party</value> <value xml:lang="es">Participante a quien se factura</value> - <value xml:lang="fr">Acteur crédité</value> + <value xml:lang="fr">Acteur débité</value> <value xml:lang="it">Fattura Al Soggetto</value> <value xml:lang="nl">Factuur-relatie</value> <value xml:lang="ro">Factura la Subiect</value> Modified: ofbiz/branches/addbirt/applications/order/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/applications/order/ofbiz-component.xml?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/applications/order/ofbiz-component.xml (original) +++ ofbiz/branches/addbirt/applications/order/ofbiz-component.xml Mon Dec 14 04:35:35 2009 @@ -48,6 +48,7 @@ <service-resource type="eca" loader="main" location="servicedef/secas.xml"/> <test-suite loader="main" location="testdef/OrderTest.xml"/> + <test-suite loader="main" location="testdef/quotetests.xml"/> <webapp name="order" title="Order" Modified: ofbiz/branches/addbirt/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml (original) +++ ofbiz/branches/addbirt/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml Mon Dec 14 04:35:35 2009 @@ -872,12 +872,10 @@ <add-error><fail-message message="ERROR: QuoteWorkEffort [${parameters.quoteId}][${parameters.workEffortId}] already exists."/></add-error> <check-errors/> </if-not-empty> - <if-empty field="quoteWorkEffort.quoteId"> - <set-nonpk-fields map="parameters" value-field="lookupMap"/> - <create-value value-field="lookupMap"/> - <field-to-result field="lookupMap.quoteId"/> - <field-to-result field="lookupMap.workEffortId"/> - </if-empty> + <set-nonpk-fields map="parameters" value-field="lookupMap"/> + <create-value value-field="lookupMap"/> + <field-to-result field="lookupMap.quoteId" result-name="quoteId"/> + <field-to-result field="lookupMap.workEffortId" result-name="workEffortId"/> </simple-method> <simple-method method-name="deleteQuoteWorkEffort" short-description="Delete a QuoteWorkEffort"> <make-value entity-name="QuoteWorkEffort" value-field="lookupMap"/> Modified: ofbiz/branches/addbirt/applications/order/servicedef/secas.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/applications/order/servicedef/secas.xml?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/applications/order/servicedef/secas.xml (original) +++ ofbiz/branches/addbirt/applications/order/servicedef/secas.xml Mon Dec 14 04:35:35 2009 @@ -337,7 +337,7 @@ </eca> <!-- WorkEffort --> - <eca service="createQuoteWorkEffort" event="invoke"> + <eca service="createQuoteWorkEffort" event="in-validate"> <condition field-name="workEffortId" operator="is-empty"/> <action service="createWorkEffort" mode="sync"/> </eca> Modified: ofbiz/branches/addbirt/applications/order/servicedef/services_quote.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/applications/order/servicedef/services_quote.xml?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/applications/order/servicedef/services_quote.xml (original) +++ ofbiz/branches/addbirt/applications/order/servicedef/services_quote.xml Mon Dec 14 04:35:35 2009 @@ -187,6 +187,7 @@ <auto-attributes mode="IN" include="nonpk" optional="true" entity-name="WorkEffort"/> <auto-attributes mode="INOUT" include="pk" optional="true" entity-name="WorkEffort"/> <override name="quoteId" optional="false"/> + <override name="workEffortId" optional="false"/> </service> <service name="deleteQuoteWorkEffort" default-entity-name="QuoteWorkEffort" engine="simple" auth="true" location="component://order/script/org/ofbiz/order/quote/QuoteServices.xml" invoke="deleteQuoteWorkEffort"> Modified: ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportBody.fo.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportBody.fo.ftl?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportBody.fo.ftl (original) +++ ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportBody.fo.ftl Mon Dec 14 04:35:35 2009 @@ -20,7 +20,7 @@ <#if orderHeader?has_content> <fo:table border-spacing="3pt"> - <fo:table-column column-width="3.5in"/> + <fo:table-column column-width="4in"/> <fo:table-column column-width="1in"/> <fo:table-column column-width="1in"/> <fo:table-column column-width="1in"/> @@ -28,9 +28,9 @@ <fo:table-header> <fo:table-row> <fo:table-cell><fo:block font-weight="bold">${uiLabelMap.OrderProduct}</fo:block></fo:table-cell> - <fo:table-cell text-align="center"><fo:block font-weight="bold">${uiLabelMap.OrderQuantity}</fo:block></fo:table-cell> - <fo:table-cell text-align="center"><fo:block font-weight="bold">${uiLabelMap.OrderUnitList}</fo:block></fo:table-cell> - <fo:table-cell text-align="center"><fo:block font-weight="bold">${uiLabelMap.OrderSubTotal}</fo:block></fo:table-cell> + <fo:table-cell text-align="right"><fo:block font-weight="bold">${uiLabelMap.OrderQuantity}</fo:block></fo:table-cell> + <fo:table-cell text-align="right"><fo:block font-weight="bold">${uiLabelMap.OrderUnitList}</fo:block></fo:table-cell> + <fo:table-cell text-align="right"><fo:block font-weight="bold">${uiLabelMap.OrderSubTotal}</fo:block></fo:table-cell> </fo:table-row> </fo:table-header> @@ -63,7 +63,7 @@ </fo:table-row> <#if itemAdjustment != 0> <fo:table-row> - <fo:table-cell number-columns-spanned="2"><fo:block><fo:inline font-style="italic">${uiLabelMap.OrderAdjustments}</fo:inline>: <@ofbizCurrency amount=itemAdjustment isoCode=currencyUomId/></fo:block></fo:table-cell> + <fo:table-cell number-columns-spanned="2"><fo:block text-indent="0.2in"><fo:inline font-style="italic">${uiLabelMap.OrderAdjustments}</fo:inline>: <@ofbizCurrency amount=itemAdjustment isoCode=currencyUomId/></fo:block></fo:table-cell> </fo:table-row> </#if> </#list> Modified: ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportConditions.fo.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportConditions.fo.ftl?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportConditions.fo.ftl (original) +++ ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportConditions.fo.ftl Mon Dec 14 04:35:35 2009 @@ -17,6 +17,38 @@ under the License. --> <#escape x as x?xml> + +<#if shipGroups?exists && shipGroups.size() gt 1> + <fo:table border-spacing="3pt" space-before="0.3in" font-size="9pt"> + <fo:table-column column-width="1in"/> + <fo:table-column column-width="1in"/> + <fo:table-column column-width="0.5in"/> + <fo:table-header> + <fo:table-row font-weight="bold"> + <fo:table-cell><fo:block>${uiLabelMap.OrderShipGroup}</fo:block></fo:table-cell> + <fo:table-cell><fo:block>${uiLabelMap.OrderProduct}</fo:block></fo:table-cell> + <fo:table-cell text-align="right"><fo:block>${uiLabelMap.OrderQuantity}</fo:block></fo:table-cell> + </fo:table-row> + </fo:table-header> + <fo:table-body> + <#list shipGroups as shipGroup> + <#assign orderItemShipGroupAssocs = shipGroup.getRelated("OrderItemShipGroupAssoc")?if_exists> + <#if orderItemShipGroupAssocs?has_content> + <#list orderItemShipGroupAssocs as shipGroupAssoc> + <#assign orderItem = shipGroupAssoc.getRelatedOne("OrderItem")?if_exists> + <fo:table-row> + <fo:table-cell><fo:block>${shipGroup.shipGroupSeqId}</fo:block></fo:table-cell> + <fo:table-cell><fo:block>${orderItem.productId?if_exists}</fo:block></fo:table-cell> + <fo:table-cell text-align="right"><fo:block>${shipGroupAssoc.quantity?string.number}</fo:block></fo:table-cell> + </fo:table-row> + </#list> + </#if> + </#list> + </fo:table-body> + </fo:table> +</#if> + + <fo:block space-after="40pt"/> <#if orderHeader.getString("orderTypeId") == "SALES_ORDER"> <fo:block font-size="14pt" font-weight="bold" text-align="center">THANK YOU FOR YOUR PATRONAGE!</fo:block> Modified: ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportContactMechs.fo.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportContactMechs.fo.ftl?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportContactMechs.fo.ftl (original) +++ ofbiz/branches/addbirt/applications/order/webapp/ordermgr/order/orderReportContactMechs.fo.ftl Mon Dec 14 04:35:35 2009 @@ -17,137 +17,102 @@ under the License. --> <#escape x as x?xml> - <fo:table border-spacing="3pt"> - <fo:table-column column-width="3.75in"/> - <fo:table-column column-width="3.75in"/> - <fo:table-body> - <fo:table-row> <#-- this part could use some improvement --> - - <#assign createEmptyCell = true> - <#-- a special purchased from address for Purchase Orders --> - <#if orderHeader.getString("orderTypeId") == "PURCHASE_ORDER"> - <#if supplierGeneralContactMechValueMap?exists> - <#assign contactMech = supplierGeneralContactMechValueMap.contactMech> - <#assign createEmptyCell = false> - <fo:table-cell> - <fo:block> - ${uiLabelMap.OrderPurchasedFrom}: - </fo:block> - <#assign postalAddress = supplierGeneralContactMechValueMap.postalAddress> - <#if postalAddress?has_content> - <#if postalAddress.toName?has_content><fo:block>${postalAddress.toName}</fo:block></#if> - <#if postalAddress.attnName?has_content><fo:block>${postalAddress.attnName?if_exists}</fo:block></#if> - <fo:block>${postalAddress.address1?if_exists}</fo:block> - <#if postalAddress.address2?has_content><fo:block>${postalAddress.address2?if_exists}</fo:block></#if> - <fo:block> - <#assign stateGeo = (delegator.findOne("Geo", {"geoId", postalAddress.stateProvinceGeoId?if_exists}, false))?if_exists /> - ${postalAddress.city}<#if stateGeo?has_content>, ${stateGeo.geoName?if_exists}</#if> ${postalAddress.postalCode?if_exists} - </fo:block> - <fo:block> - <#assign countryGeo = (delegator.findOne("Geo", {"geoId", postalAddress.countryGeoId?if_exists}, false))?if_exists /> - <#if countryGeo?has_content>${countryGeo.geoName?if_exists}</#if> - </fo:block> - </#if> - </fo:table-cell> - <#else> - <#-- here we just display the name of the vendor, since there is no address --> - <#assign createEmptyCell = false> - <fo:table-cell> - <#assign vendorParty = orderReadHelper.getBillFromParty()> - <fo:block> - <fo:inline font-weight="bold">${uiLabelMap.OrderPurchasedFrom}:</fo:inline> ${Static['org.ofbiz.party.party.PartyHelper'].getPartyName(vendorParty)} - </fo:block> - </fo:table-cell> - </#if> - </#if> - - <#-- list all postal addresses of the order. there should be just a billing and a shipping here. --> - <#list orderContactMechValueMaps as orderContactMechValueMap> - <#assign contactMech = orderContactMechValueMap.contactMech> - <#assign contactMechPurpose = orderContactMechValueMap.contactMechPurposeType> - <#if contactMech.contactMechTypeId == "POSTAL_ADDRESS"> - <#assign postalAddress = orderContactMechValueMap.postalAddress> - <#assign createEmptyCell = false> - <fo:table-cell> - <fo:block font-weight="bold">${contactMechPurpose.get("description",locale)}:</fo:block> - <#if postalAddress?has_content> - <#if postalAddress.toName?has_content><fo:block>${postalAddress.toName?if_exists}</fo:block></#if> - <#if postalAddress.attnName?has_content><fo:block>${postalAddress.attnName?if_exists}</fo:block></#if> - <fo:block>${postalAddress.address1?if_exists}</fo:block> - <#if postalAddress.address2?has_content><fo:block>${postalAddress.address2?if_exists}</fo:block></#if> - <fo:block> - <#assign stateGeo = (delegator.findOne("Geo", {"geoId", postalAddress.stateProvinceGeoId?if_exists}, false))?if_exists /> - ${postalAddress.city}<#if stateGeo?has_content>, ${stateGeo.geoName?if_exists}</#if> ${postalAddress.postalCode?if_exists} - </fo:block> - <fo:block> - <#assign countryGeo = (delegator.findOne("Geo", {"geoId", postalAddress.countryGeoId?if_exists}, false))?if_exists /> - <#if countryGeo?has_content>${countryGeo.geoName?if_exists}</#if> - </fo:block> - </#if> - </fo:table-cell> - </#if> - </#list> - <#-- The empty cell is required in order to fill the table-row element and avoid a validation error --> - <#if createEmptyCell> - <fo:table-cell></fo:table-cell> - </#if> - </fo:table-row> - </fo:table-body> - </fo:table> - <fo:block white-space-collapse="false"> </fo:block> - - <fo:table border-spacing="3pt"> - <fo:table-column column-width="1.75in"/> - <fo:table-column column-width="4.25in"/> - - <#-- payment info --> - <fo:table-body> - <#if orderPaymentPreferences?has_content> - <fo:table-row> - <fo:table-cell><fo:block font-weight="bold">${uiLabelMap.AccountingPaymentInformation}:</fo:block></fo:table-cell> - <fo:table-cell><fo:block> - <#list orderPaymentPreferences as orderPaymentPreference> - <#assign paymentMethodType = orderPaymentPreference.getRelatedOne("PaymentMethodType")?if_exists> - <#if ((orderPaymentPreference != null) && (orderPaymentPreference.getString("paymentMethodTypeId") == "CREDIT_CARD") && (orderPaymentPreference.getString("paymentMethodId")?has_content))> - <#assign creditCard = orderPaymentPreference.getRelatedOne("PaymentMethod").getRelatedOne("CreditCard")> - ${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)} - <#else> - ${paymentMethodType.get("description",locale)?if_exists} - </#if> - </#list> - </fo:block> - </fo:table-cell> - </fo:table-row> - </#if> - - <#-- shipping method. currently not shown for PO's because we are not recording a shipping method for PO's in order entry --> - <#if orderHeader.getString("orderTypeId") == "SALES_ORDER"> - <fo:table-row> - <fo:table-cell><fo:block font-weight="bold">${uiLabelMap.OrderShipmentInformation}:</fo:block></fo:table-cell> - <fo:table-cell> - <#if shipGroups?has_content> - <#list shipGroups as shipGroup> - <#-- TODO: List all full details of each ship group here --> - <fo:block> - <#if (shipGroup.shipmentMethodTypeId)?exists> - ${(shipGroup.getRelatedOne("ShipmentMethodType").get("description", locale))?default(shipGroup.shipmentMethodTypeId)} - </#if> - </fo:block> - </#list> - </#if> - </fo:table-cell> - </fo:table-row> - </#if> - <#-- order terms information --> - <#if orderTerms?exists?has_content> - <fo:table-row> - <fo:table-cell><fo:block font-weight="bold">${uiLabelMap.OrderOrderTerms}: </fo:block></fo:table-cell> - <fo:table-cell white-space-collapse="false"><#list orderTerms as orderTerm><fo:block>${orderTerm.getRelatedOne("TermType").get("description",locale)} ${orderTerm.termValue?default("")} ${orderTerm.termDays?default("")} ${orderTerm.textValue?default("")} -</fo:block></#list></fo:table-cell> - </fo:table-row> - </#if> - </fo:table-body> - </fo:table> -<fo:block space-after="10pt"/> +<#if orderHeader.getString("orderTypeId") == "PURCHASE_ORDER"> + <#if supplierGeneralContactMechValueMap?exists> + <#assign contactMech = supplierGeneralContactMechValueMap.contactMech> + <fo:block font-weight="bold">${uiLabelMap.OrderPurchasedFrom}:</fo:block> + <#assign postalAddress = supplierGeneralContactMechValueMap.postalAddress> + <#if postalAddress?has_content> + <fo:block text-indent="0.2in"> + <#if postalAddress.toName?has_content><fo:block>${postalAddress.toName}</fo:block></#if> + <#if postalAddress.attnName?has_content><fo:block>${postalAddress.attnName?if_exists}</fo:block></#if> + <fo:block>${postalAddress.address1?if_exists}</fo:block> + <#if postalAddress.address2?has_content><fo:block>${postalAddress.address2?if_exists}</fo:block></#if> + <fo:block> + <#assign stateGeo = (delegator.findOne("Geo", {"geoId", postalAddress.stateProvinceGeoId?if_exists}, false))?if_exists /> + ${postalAddress.city}<#if stateGeo?has_content>, ${stateGeo.geoName?if_exists}</#if> ${postalAddress.postalCode?if_exists} + </fo:block> + <fo:block> + <#assign countryGeo = (delegator.findOne("Geo", {"geoId", postalAddress.countryGeoId?if_exists}, false))?if_exists /> + <#if countryGeo?has_content>${countryGeo.geoName?if_exists}</#if> + </fo:block> + </fo:block> + </#if> + <#else> + <#-- here we just display the name of the vendor, since there is no address --> + <#assign vendorParty = orderReadHelper.getBillFromParty()> + <fo:block> + <fo:inline font-weight="bold">${uiLabelMap.OrderPurchasedFrom}:</fo:inline> ${Static['org.ofbiz.party.party.PartyHelper'].getPartyName(vendorParty)} + </fo:block> + </#if> +</#if> + +<#-- list all postal addresses of the order. there should be just a billing and a shipping here. --> +<#list orderContactMechValueMaps as orderContactMechValueMap> + <#assign contactMech = orderContactMechValueMap.contactMech> + <#assign contactMechPurpose = orderContactMechValueMap.contactMechPurposeType> + <#if contactMech.contactMechTypeId == "POSTAL_ADDRESS"> + <#assign postalAddress = orderContactMechValueMap.postalAddress> + <fo:block font-weight="bold">${contactMechPurpose.get("description",locale)}:</fo:block> + <fo:block text-indent="0.2in"> + <#if postalAddress?has_content> + <#if postalAddress.toName?has_content><fo:block>${postalAddress.toName?if_exists}</fo:block></#if> + <#if postalAddress.attnName?has_content><fo:block>${postalAddress.attnName?if_exists}</fo:block></#if> + <fo:block>${postalAddress.address1?if_exists}</fo:block> + <#if postalAddress.address2?has_content><fo:block>${postalAddress.address2?if_exists}</fo:block></#if> + <fo:block> + <#assign stateGeo = (delegator.findOne("Geo", {"geoId", postalAddress.stateProvinceGeoId?if_exists}, false))?if_exists /> + ${postalAddress.city}<#if stateGeo?has_content>, ${stateGeo.geoName?if_exists}</#if> ${postalAddress.postalCode?if_exists} + </fo:block> + <fo:block> + <#assign countryGeo = (delegator.findOne("Geo", {"geoId", postalAddress.countryGeoId?if_exists}, false))?if_exists /> + <#if countryGeo?has_content>${countryGeo.geoName?if_exists}</#if> + </fo:block> + </#if> + </fo:block> + </#if> +</#list> + +<fo:block space-after="0.2in"/> + +<#if orderPaymentPreferences?has_content> + <fo:block font-weight="bold">${uiLabelMap.AccountingPaymentInformation}:</fo:block> + <#list orderPaymentPreferences as orderPaymentPreference> + <fo:block text-indent="0.2in"> + <#assign paymentMethodType = orderPaymentPreference.getRelatedOne("PaymentMethodType")?if_exists> + <#if ((orderPaymentPreference != null) && (orderPaymentPreference.getString("paymentMethodTypeId") == "CREDIT_CARD") && (orderPaymentPreference.getString("paymentMethodId")?has_content))> + <#assign creditCard = orderPaymentPreference.getRelatedOne("PaymentMethod").getRelatedOne("CreditCard")> + ${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)} + <#else> + ${paymentMethodType.get("description",locale)?if_exists} + </#if> + </fo:block> + </#list> +</#if> +<#if orderHeader.getString("orderTypeId") == "SALES_ORDER" && shipGroups?exists?has_content> + <fo:block font-weight="bold">${uiLabelMap.OrderShipmentInformation}:</fo:block> + <#list shipGroups as shipGroup> + <fo:block text-indent="0.2in"> + <#if shipGroups.size() gt 1>${shipGroup.shipGroupSeqId} - </#if> + <#if (shipGroup.shipmentMethodTypeId)?exists> + ${(shipGroup.getRelatedOne("ShipmentMethodType").get("description", locale))?default(shipGroup.shipmentMethodTypeId)} + </#if> + <#if (shipGroup.shipAfterDate)?exists || (shipGroup.shipByDate)?exists> + <#if (shipGroup.shipAfterDate)?exists> - ${uiLabelMap.OrderShipAfterDate}: ${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(shipGroup.shipAfterDate)}</#if><#if (shipGroup.shipByDate)?exists> - ${uiLabelMap.OrderShipBeforeDate}: ${Static["org.ofbiz.base.util.UtilDateTime"].toDateString(shipGroup.shipByDate)}</#if> + </#if> + </fo:block> + </#list> +</#if> + +<#if orderTerms?exists?has_content && orderTerms.size() gt 0> + <fo:block font-weight="bold">${uiLabelMap.OrderOrderTerms}:</fo:block> + <#list orderTerms as orderTerm> + <fo:block text-indent="0.2in"> + ${orderTerm.getRelatedOne("TermType").get("description",locale)} ${orderTerm.termValue?default("")} ${orderTerm.termDays?default("")} ${orderTerm.textValue?default("")} + </fo:block> + </#list> +</#if> + +<fo:block space-after="0.2in"/> </#escape> Modified: ofbiz/branches/addbirt/applications/order/webapp/ordermgr/return/returnLinks.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/applications/order/webapp/ordermgr/return/returnLinks.ftl?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/applications/order/webapp/ordermgr/return/returnLinks.ftl (original) +++ ofbiz/branches/addbirt/applications/order/webapp/ordermgr/return/returnLinks.ftl Mon Dec 14 04:35:35 2009 @@ -42,7 +42,7 @@ <#assign orderId = (Static["org.ofbiz.entity.util.EntityUtil"].getFirst(returnItems)).getString("orderId")/> <#assign shipGroupAssoc = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("OrderItemShipGroupAssoc", {"orderId" : orderId}))/> <#assign shipGroup = delegator.findOne("OrderItemShipGroup", {"orderId" : orderId, "shipGroupSeqId" : shipGroupAssoc.shipGroupSeqId}, false)> - <#if shipGroup?exists> + <#if shipGroup?exists && shipGroup.shipmentMethodTypeId != "NO_SHIPPING"> <#assign shipGroupShipment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("Shipment", {"primaryOrderId" : shipGroup.orderId, "primaryShipGroupSeqId" : shipGroup.shipGroupSeqId}))/> <#if shipGroupShipment?exists> <#assign shipmentRouteSegment = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("ShipmentRouteSegment", {"shipmentId" : shipGroupShipment.shipmentId}))> Propchange: ofbiz/branches/addbirt/applications/party/webapp/partymgr/WEB-INF/actions/party/PartyFinancialHistory.groovy ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Mon Dec 14 04:35:35 2009 @@ -1,2 +1,2 @@ /incubator/ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/PartyFinancialHistory.groovy:418499-490456 -/ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/PartyFinancialHistory.groovy:831205-889845 +/ofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/actions/party/PartyFinancialHistory.groovy:831205-890173 Modified: ofbiz/branches/addbirt/applications/product/config/ProductUiLabels.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/applications/product/config/ProductUiLabels.xml?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/applications/product/config/ProductUiLabels.xml (original) +++ ofbiz/branches/addbirt/applications/product/config/ProductUiLabels.xml Mon Dec 14 04:35:35 2009 @@ -42,7 +42,7 @@ <value xml:lang="es">OFBiz: Administrador de Almacén</value> <value xml:lang="fr">OFBiz: Gestion de stock</value> <value xml:lang="it">OFBiz: Gestione stabilimenti</value> - <value xml:lang="nl">OFBiz: Faciliteit Manager</value> + <value xml:lang="nl">OFBiz: Faciliteit Manager</value> <value xml:lang="ro">OFBiz: Gestiune Compartimente</value> <value xml:lang="ru">OFBiz: УпÑавление обÑекÑами</value> <value xml:lang="th">OFBiz: à¸à¸²à¸£à¸à¸±à¸à¸à¸²à¸£à¸à¸¥à¸±à¸à¸ªà¸´à¸à¸à¹à¸²</value> @@ -52,7 +52,7 @@ <value xml:lang="en">Part of the Open For Business Family of Open Source Software</value> <value xml:lang="fr">Un module de la famille Open For Business, logiciel libre de gestion d'entreprise.</value> <value xml:lang="it">Part of the Open For Business Family of Open Source Software</value> - <value xml:lang="nl">Deel van de 'Open For Business' familie van open source software</value> + <value xml:lang="nl">Deel van de 'Open For Business' familie van open source software</value> <value xml:lang="zh">弿ºè½¯ä»¶OFBizçç»æé¨å</value> </property> <property key="FacilityEstimatedShippingCharges"> @@ -4643,7 +4643,7 @@ <value xml:lang="es">Elegir CategorÃa Principal</value> <value xml:lang="fr">Choix de la catégorie principale</value> <value xml:lang="it">Scegli Categoria Principale</value> - <value xml:lang="nl">Lijst van hoofdcategoriën</value> + <value xml:lang="nl">Lijst van hoofdcategoriën</value> <value xml:lang="ro">Alege Categoria Principala</value> <value xml:lang="ru">ÐÑбÑ. коÑнев. каÑегоÑиÑ</value> <value xml:lang="th">à¹à¸¥à¸·à¸à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹à¸à¸µà¹à¹à¸à¹à¸£à¸±à¸à¸à¸§à¸²à¸¡à¸à¸´à¸¢à¸¡</value> @@ -4751,7 +4751,7 @@ <value xml:lang="es">Editar CategorÃa</value> <value xml:lang="fr">Modification de la catégorie</value> <value xml:lang="it">Mostra Categoria</value> - <value xml:lang="nl">Wijzig categorie</value> + <value xml:lang="nl">Wijzig categorie</value> <value xml:lang="ro">Afiseaza Categoria</value> <value xml:lang="ru">РедакÑиÑоваÑÑ ÐºÐ°ÑегоÑиÑ</value> <value xml:lang="th">à¹à¸à¹à¹à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹</value> @@ -4826,7 +4826,7 @@ <value xml:lang="es">Editar Productos de una CategorÃa</value> <value xml:lang="fr">Modification des catégories</value> <value xml:lang="it">Aggiorna Categoria Prodotti</value> - <value xml:lang="nl">Wijzig categorieproducten</value> + <value xml:lang="nl">Wijzig categorieproducten</value> <value xml:lang="ro">Actualizeaza Categoria Produs</value> <value xml:lang="ru">ÐзмениÑÑ ÐºÐ°ÑегоÑÐ¸Ñ Ð¿ÑодÑкÑов</value> <value xml:lang="th">à¹à¸à¹à¹à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹à¸ªà¸´à¸à¸à¹à¸²</value> @@ -4838,7 +4838,7 @@ <value xml:lang="es">Editar jerarquÃa de una CategorÃa</value> <value xml:lang="fr">Modification de la hiérarchie des catégorie</value> <value xml:lang="it">Aggiorna Categoria Arrivo</value> - <value xml:lang="nl">Wijzig categorie hiërarchie</value> + <value xml:lang="nl">Wijzig categorie hiërarchie</value> <value xml:lang="ro">Actualizeaza Categoria Sosire</value> <value xml:lang="ru">ÐзмениÑÑ Ð¿Ð¾Ð´ÑиненноÑÑÑ ÐºÐ°ÑегоÑии</value> <value xml:lang="th">Edit Category Rollup</value> @@ -5071,7 +5071,7 @@ <value xml:lang="es">Editar Producto</value> <value xml:lang="fr">Modification de l'article</value> <value xml:lang="it">Aggiorna Prodotto</value> - <value xml:lang="nl">Wijzig product</value> + <value xml:lang="nl">Wijzig product</value> <value xml:lang="ro">Actualizeaza Produs</value> <value xml:lang="ru">РедакÑиÑоваÑÑ Ð¿ÑодÑкÑ</value> <value xml:lang="th">à¹à¸à¹à¹à¸à¸ªà¸´à¸à¸à¹à¸²</value> @@ -5391,7 +5391,7 @@ <value xml:lang="es">Editar Reglas de Precio de un Producto</value> <value xml:lang="fr">Modification des règles de prix des articles</value> <value xml:lang="it">Aggiorna Regole Prezzo Prodotto</value> - <value xml:lang="nl">Wijzig productprijsregels</value> + <value xml:lang="nl">Wijzig productprijsregels</value> <value xml:lang="ro">Actualizeaza Reguli Pret Produs</value> <value xml:lang="ru">ÐзмениÑÑ Ð¿Ñавила назнаÑÐµÐ½Ð¸Ñ ÑÐµÐ½Ñ Ð¿ÑодÑкÑа</value> <value xml:lang="th">à¹à¸à¹à¹à¸à¸à¹à¸à¸à¸³à¸«à¸à¸à¸£à¸²à¸à¸²à¸ªà¸´à¸à¸à¹à¸²</value> @@ -5901,7 +5901,7 @@ <value xml:lang="es">Buscar Regla de Precios de Productos</value> <value xml:lang="fr">Recherche de règles de prix</value> <value xml:lang="it">Ricerca Regole Prezzo Prodotto</value> - <value xml:lang="nl">Zoek productprijsregels</value> + <value xml:lang="nl">Zoek productprijsregels</value> <value xml:lang="ro">Cauta Reguli Pret Produs</value> <value xml:lang="ru">ÐайÑи пÑавила назнаÑÐµÐ½Ð¸Ñ ÑÐµÐ½Ñ Ð¿ÑодÑкÑа</value> <value xml:lang="th">à¸à¹à¸à¸«à¸²à¸ªà¸à¸²à¸à¸°à¸£à¸²à¸à¸²à¸ªà¸´à¸à¸à¹à¸²</value> @@ -6153,7 +6153,7 @@ <value xml:lang="es">Buscar Producto y precio</value> <value xml:lang="fr">Consulter les prix d'un article</value> <value xml:lang="it">Ricerca Prodotti e Prezzi</value> - <value xml:lang="nl">Zoeken productprijs</value> + <value xml:lang="nl">Zoeken productprijs</value> <value xml:lang="ro">Cauta Produse si Preturi</value> <value xml:lang="ru">ÐÑкаÑÑ Ð¿ÑодÑÐºÑ Ð¸ ÑенÑ</value> <value xml:lang="th">à¸à¹à¸à¸«à¸²à¸ªà¸´à¸à¸à¹à¸²à¹à¸¥à¸°à¸£à¸²à¸à¸²</value> @@ -6165,7 +6165,7 @@ <value xml:lang="es">Buscar tienda de producto</value> <value xml:lang="fr">Consulter le centre de profit</value> <value xml:lang="it">Ricerca Negozi</value> - <value xml:lang="nl">Zoeken winkel</value> + <value xml:lang="nl">Zoeken winkel</value> <value xml:lang="ro">Cauta Magazine</value> <value xml:lang="ru">ÐÑкаÑÑ Ñклад пÑодÑкÑов</value> <value xml:lang="th">à¸à¹à¸à¸«à¸²à¸à¸¥à¸±à¸à¸ªà¸´à¸à¸à¹à¸²</value> @@ -6951,7 +6951,7 @@ <value xml:lang="es">Añadir Regla de Precios</value> <value xml:lang="fr">Ajouter des règles de prix</value> <value xml:lang="it">Aggiungi Regole Prezzo</value> - <value xml:lang="nl">Toevoegen prijsregel</value> + <value xml:lang="nl">Toevoegen prijsregel</value> <value xml:lang="ro">Adauga Reguli Pret</value> <value xml:lang="ru">ÐобавиÑÑ Ð¿Ñавило</value> <value xml:lang="th">à¹à¸à¸´à¹à¸¡à¸à¹à¸à¸à¸±à¸à¸à¸±à¸à¸£à¸²à¸à¸²</value> @@ -7121,7 +7121,7 @@ <value xml:lang="de">Resultate hinzufügen zu</value> <value xml:lang="en">Add Results To</value> <value xml:lang="es">Añadir resultados a</value> - <value xml:lang="fr">Ajout de résultats à </value> + <value xml:lang="fr">Ajout de résultats à la</value> <value xml:lang="it">Aggiungi Risultati A</value> <value xml:lang="ro">Adauga Rezultate La</value> <value xml:lang="ru">ÐобавиÑÑ ÑезÑлÑÑаÑÑ Ðº</value> @@ -7397,7 +7397,7 @@ <value xml:lang="es">Palabra clave alterna para la Enciclopedia</value> <value xml:lang="fr">Thésaurus de mots clés de remplacement</value> <value xml:lang="it">Alternare Chiave Dizionario</value> - <value xml:lang="nl">Alternieve trefwoordsynoniemen</value> + <value xml:lang="nl">Alternieve trefwoordsynoniemen</value> <value xml:lang="ro">Alternare Cheie Dictionar</value> <value xml:lang="ru">СловаÑÑ Ð°Ð»ÑÑеÑнаÑивнÑÑ ÐºÐ»ÑÑевÑÑ Ñлов</value> <value xml:lang="th">Alternate KeyWord Thesaurus</value> @@ -7812,7 +7812,7 @@ <value xml:lang="es">Creación Automática de Palabras Clave para todos los Productos</value> <value xml:lang="fr">Création automatique de mots-clés pour tout article</value> <value xml:lang="it">Creazione Automatica Chiavi per Tutti i Prodotti</value> - <value xml:lang="nl">Automatisch aanmaken trefwoorden voor alle producten</value> + <value xml:lang="nl">Automatisch aanmaken trefwoorden voor alle producten</value> <value xml:lang="ro">Creatie Automatica Chei pentru Toate Produsele </value> <value xml:lang="ru">ÐвÑомаÑиÑеÑки ÑоздаÑÑ ÐºÐ»ÑÑевÑе Ñлова Ð´Ð»Ñ Ð²ÑÐµÑ Ð¿ÑодÑкÑов</value> <value xml:lang="th">สรà¹à¸²à¸à¸à¸µà¸¢à¹à¹à¸§à¸´à¸£à¹à¸à¸à¸±à¸à¹à¸à¸¡à¸±à¸à¸´à¸ªà¸³à¸«à¸£à¸±à¸à¸ªà¸´à¸à¸à¹à¸²à¸à¸±à¹à¸à¸«à¸¡à¸</value> @@ -7893,7 +7893,7 @@ <value xml:lang="es">Regresar a Editar CategorÃa</value> <value xml:lang="fr">Revenir à l'édition des catégories</value> <value xml:lang="it">Torna all'Aggiornamento della Categoria</value> - <value xml:lang="nl">Terug naar wijzigen categorie</value> + <value xml:lang="nl">Terug naar wijzigen categorie</value> <value xml:lang="ro">Intoarcete la Actualizarea Categoriei</value> <value xml:lang="ru">ÐбÑаÑно к ÑедакÑиÑÐ¾Ð²Ð°Ð½Ð¸Ñ ÐºÐ°ÑегоÑии</value> <value xml:lang="th">à¸à¸¥à¸±à¸à¹à¸à¸¢à¸±à¸à¸à¸²à¸£à¹à¸à¹à¹à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹</value> @@ -8033,7 +8033,7 @@ <value xml:lang="es">Examinar Catálogos</value> <value xml:lang="fr">Consulter les catalogues</value> <value xml:lang="it">Mostra Cataloghi</value> - <value xml:lang="nl">Blader door catalogi</value> + <value xml:lang="nl">Blader door catalogi</value> <value xml:lang="ro">Afiseaza Catalog</value> <value xml:lang="ru">ÐаÑалоги</value> <value xml:lang="th">à¹à¸ªà¸à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹</value> @@ -8219,7 +8219,7 @@ <value xml:lang="es">Página Principal de Administración de Catálogos</value> <value xml:lang="fr">Gestion des articles - Page Principale -</value> <value xml:lang="it">Pagina Principale Amministrazione Cataloghi</value> - <value xml:lang="nl">Hoofdpagina catalogusbeheer</value> + <value xml:lang="nl">Hoofdpagina catalogusbeheer</value> <value xml:lang="ro">Pagina Principala Administratie Cataloage</value> <value xml:lang="ru">ÐÐ»Ð°Ð²Ð½Ð°Ñ ÑÑÑаниÑа админиÑÑÑиÑÐ¾Ð²Ð°Ð½Ð¸Ñ ÐºÐ°Ñалога</value> <value xml:lang="th">หà¸à¹à¸²à¸«à¸¥à¸±à¸à¸à¸²à¸£à¸à¸±à¸à¸à¸²à¸£à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹</value> @@ -8251,7 +8251,7 @@ <value xml:lang="es">Lista detallada de Catálogos</value> <value xml:lang="fr">Liste des catalogues</value> <value xml:lang="it">Lista Dettaglio Catalogo</value> - <value xml:lang="nl">Lijst van catalogi</value> + <value xml:lang="nl">Lijst van catalogi</value> <value xml:lang="ro">Lista Detaliu Catalog</value> <value xml:lang="ru">СпиÑок каÑалогов</value> <value xml:lang="th">รายà¸à¸²à¸£à¸£à¸²à¸¢à¸¥à¸°à¹à¸à¸µà¸¢à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹</value> @@ -8285,7 +8285,7 @@ <value xml:lang="es">Adplicación de Administración de Catálogos</value> <value xml:lang="fr">Application de gestion des articles</value> <value xml:lang="it">Applicazione Gestione Cataloghi</value> - <value xml:lang="nl">Catalogus Manager</value> + <value xml:lang="nl">Catalogus Manager</value> <value xml:lang="ro">Aplicatie Gestiune Catalog</value> <value xml:lang="ru">УпÑавление каÑалогом пÑодÑкÑов</value> <value xml:lang="th">à¹à¸à¸£à¹à¸à¸£à¸¡à¸à¸£à¸°à¸¢à¸¸à¸à¸à¹à¸à¸²à¸£à¸à¸±à¸à¸à¸²à¸£à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹</value> @@ -8308,7 +8308,7 @@ <value xml:lang="es">Nombre de Catálogo</value> <value xml:lang="fr">Nom du catalogue</value> <value xml:lang="it">Nome Catalogo</value> - <value xml:lang="nl">Catalogusnaam</value> + <value xml:lang="nl">Catalogusnaam</value> <value xml:lang="ro">Nume Catalog</value> <value xml:lang="ru">ÐÐ¼Ñ ÐºÐ°Ñалога</value> <value xml:lang="th">à¸à¸·à¹à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹</value> @@ -8320,7 +8320,7 @@ <value xml:lang="es">Nombre de Catálogo [Código]</value> <value xml:lang="fr">Catalogue ; Nom ; [Réf.]</value> <value xml:lang="it">Nome Catalogo [Codice]</value> - <value xml:lang="nl">Catalogusnaam [ID]</value> + <value xml:lang="nl">Catalogusnaam [ID]</value> <value xml:lang="ro">Nume Catalog [Cod]</value> <value xml:lang="ru">ÐÐ¼Ñ ÐºÐ°Ñалога [Ðод]</value> <value xml:lang="th">à¸à¸·à¹à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹ [รหัส]</value> @@ -8486,7 +8486,7 @@ <value xml:lang="es">Productos de esta CategorÃa</value> <value xml:lang="fr">Articles appartenant à cette catégorie</value> <value xml:lang="it">Prodotti per questa categoria</value> - <value xml:lang="nl">Producten in deze categorie</value> + <value xml:lang="nl">Producten in deze categorie</value> <value xml:lang="ro">Produse pentru aceasta categorie</value> <value xml:lang="ru">ÐÑодÑкÑÑ Ð¸Ð· каÑегоÑии</value> <value xml:lang="th">สิà¸à¸à¹à¸²à¸à¸²à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹à¸à¸µà¹ @@ -8738,7 +8738,7 @@ <value xml:lang="es">Elegir CategorÃa principal</value> <value xml:lang="fr">Choisir une catégorie supérieure</value> <value xml:lang="it">Scegli Categoria Principale</value> - <value xml:lang="nl">Lijst van hoofdcategoriën</value> + <value xml:lang="nl">Lijst van hoofdcategoriën</value> <value xml:lang="ro">Alege Categorii Principale</value> <value xml:lang="ru">ÐаÑегоÑÐ¸Ñ Ð²ÐµÑÑ . ÑÑовнÑ</value> <value xml:lang="th">à¹à¸¥à¸·à¸à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹</value> @@ -8920,7 +8920,7 @@ <value xml:lang="es">Configuraciones</value> <value xml:lang="fr">Configurations</value> <value xml:lang="it">Configurazioni</value> - <value xml:lang="nl">Configuraties</value> + <value xml:lang="nl">Configuraties</value> <value xml:lang="ro">Configuratii</value> <value xml:lang="ru">ÐонÑигÑÑаÑии</value> <value xml:lang="th">à¸à¸±à¸§à¹à¸¥à¸·à¸à¸</value> @@ -9255,7 +9255,7 @@ <value xml:lang="es">Crear nuevo Catálogo</value> <value xml:lang="fr">Création d'un nouveau catalogue</value> <value xml:lang="it">Creare Nuovo Catalogo</value> - <value xml:lang="nl">Aanmaken nieuwe catalogus</value> + <value xml:lang="nl">Aanmaken nieuwe catalogus</value> <value xml:lang="ro">Creare Nou Catalog</value> <value xml:lang="ru">ÐовÑй каÑалог</value> <value xml:lang="th">สรà¹à¸²à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹à¹à¸«à¸¡à¹</value> @@ -9267,7 +9267,7 @@ <value xml:lang="es">Crear nueva CategorÃa</value> <value xml:lang="fr">Création d'une nouvelle catégorie</value> <value xml:lang="it">Creare nuova categoria</value> - <value xml:lang="nl">Aanmaken nieuwe categorie</value> + <value xml:lang="nl">Aanmaken nieuwe categorie</value> <value xml:lang="ro">Creare Noua Categorie</value> <value xml:lang="ru">ÐÐ¾Ð²Ð°Ñ ÐºÐ°ÑегоÑиÑ</value> <value xml:lang="th">สรà¹à¸²à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹à¹à¸«à¸¡à¹</value> @@ -9341,7 +9341,7 @@ <value xml:lang="es">Crear nuevo Producto</value> <value xml:lang="fr">Création d'un nouvel article</value> <value xml:lang="it">Creare Nuovo Prodotto</value> - <value xml:lang="nl">Aanmaken nieuw product</value> + <value xml:lang="nl">Aanmaken nieuw product</value> <value xml:lang="ro">Creare Nou Produs</value> <value xml:lang="ru">ÐовÑй пÑодÑкÑ</value> <value xml:lang="th">สรà¹à¸²à¸à¸ªà¸´à¸à¸à¹à¸²à¹à¸«à¸¡à¹</value> @@ -9386,7 +9386,7 @@ <value xml:lang="es">Crear Nueva Tienda de Productos</value> <value xml:lang="fr">Création d'un nouveau centre de profit</value> <value xml:lang="it">Creare Nuovo Negozio</value> - <value xml:lang="nl">Aanmaken nieuwe winkel</value> + <value xml:lang="nl">Aanmaken nieuwe winkel</value> <value xml:lang="ro">Creare Nou Magazin</value> <value xml:lang="ru">СоздаÑÑ Ð½Ð¾Ð²Ñй Ñклад</value> <value xml:lang="th">สรà¹à¸²à¸à¸à¸¥à¸±à¸à¸ªà¸´à¸à¸à¹à¸²à¹à¸«à¸¡à¹</value> @@ -9990,7 +9990,7 @@ <value xml:lang="es">Editar Catálogo</value> <value xml:lang="fr">Modification du catalogue</value> <value xml:lang="it">Aggiorna Catalogo</value> - <value xml:lang="nl">Wijzig catalogus</value> + <value xml:lang="nl">Wijzig catalogus</value> <value xml:lang="ro">Actualizeaza Catalog</value> <value xml:lang="ru">РедакÑиÑоваÑÑ</value> <value xml:lang="th">à¹à¸à¹à¹à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹</value> @@ -10002,7 +10002,7 @@ <value xml:lang="es">Editar Catálogo con Código</value> <value xml:lang="fr">Modification de catalogue avec sa référence</value> <value xml:lang="it">Aggiorna Catalogo con Codice Catalogo</value> - <value xml:lang="nl">Wijzigen catalogus met [ID]</value> + <value xml:lang="nl">Wijzigen catalogus met [ID]</value> <value xml:lang="ro">Actualizeaza Catalog cu Cod Catalog</value> <value xml:lang="ru">РедакÑиÑоваÑÑ ÐºÐ°Ñалог Ñ ÐºÐ¾Ð´Ð¾Ð¼</value> <value xml:lang="th">à¹à¸à¹à¹à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹à¸à¹à¸§à¸¢à¸£à¸«à¸±à¸ªà¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹</value> @@ -10014,7 +10014,7 @@ <value xml:lang="es">Editar CategorÃa</value> <value xml:lang="fr">Modification de la catégorie</value> <value xml:lang="it">Aggiorna Categoria</value> - <value xml:lang="nl">Wijzig categorie</value> + <value xml:lang="nl">Wijzig categorie</value> <value xml:lang="ro">Actualizeaza Categoria</value> <value xml:lang="ru">РедакÑиÑоваÑÑ</value> <value xml:lang="th">à¹à¸à¹à¹à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹</value> @@ -10026,7 +10026,7 @@ <value xml:lang="es">Editar CategorÃa con Código</value> <value xml:lang="fr">Modification de la catégorie avec sa référence</value> <value xml:lang="it">Aggiorna Categoria con Codice Categoria</value> - <value xml:lang="nl">Wijzigen categorie met [ID]</value> + <value xml:lang="nl">Wijzigen categorie met [ID]</value> <value xml:lang="ro">Actualizeaza Categoria cu Cod Categorie</value> <value xml:lang="ru">РедакÑиÑоваÑÑ ÐºÐ°ÑегоÑÐ¸Ñ Ñ ÐºÐ¾Ð´Ð¾Ð¼</value> <value xml:lang="th">à¹à¸à¹à¹à¸à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹à¸à¹à¸§à¸¢à¸£à¸«à¸±à¸ªà¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹</value> @@ -10115,7 +10115,7 @@ <value xml:lang="es">Editar Producto</value> <value xml:lang="fr">Modification de l'article</value> <value xml:lang="it">Aggiorna Prodotto</value> - <value xml:lang="nl">Wijzig product</value> + <value xml:lang="nl">Wijzig product</value> <value xml:lang="ro">Actualizeaza Produs</value> <value xml:lang="ru">РедакÑиÑоваÑÑ</value> <value xml:lang="th">à¹à¸à¹à¹à¸à¸ªà¸´à¸à¸à¹à¸²</value> @@ -10145,7 +10145,7 @@ <value xml:lang="es">Editar Producto con Código</value> <value xml:lang="fr">Modification de l'article de référence</value> <value xml:lang="it">Aggiorna Prodotto con Codice Prodotto</value> - <value xml:lang="nl">Wijzigen product met [ID]</value> + <value xml:lang="nl">Wijzigen product met [ID]</value> <value xml:lang="ro">Actualizeaza Produs cu Cod Produs</value> <value xml:lang="ru">РедакÑиÑоваÑÑ Ð¿ÑодÑÐºÑ Ñ ÐºÐ¾Ð´Ð¾Ð¼</value> <value xml:lang="th">à¹à¸à¹à¹à¸à¸ªà¸´à¸à¸à¹à¸²à¸à¹à¸§à¸¢à¸£à¸«à¸±à¸ªà¸ªà¸´à¸à¸à¹à¸²</value> @@ -10576,7 +10576,7 @@ <value xml:lang="de">Resultate ablaufen lassen von</value> <value xml:lang="en">Expire Results From</value> <value xml:lang="es">Expirar resultados desde</value> - <value xml:lang="fr">Supprimer les résultats à partir de</value> + <value xml:lang="fr">Supprimer les résultats à partir de (dans la)</value> <value xml:lang="it">Risultati Scaduti Da</value> <value xml:lang="ro">Resultate Expirate De la ProductExplodeOrderItems=Exploadeaza Linie Comanda</value> <value xml:lang="ru">УÑÑаÑевание ÑезÑлÑÑаÑов из</value> @@ -10930,7 +10930,7 @@ <value xml:lang="es">Carga rápida del Catálogo en el caché</value> <value xml:lang="fr">Chargement rapide d'article dans le cache</value> <value xml:lang="it">Caricamento Veloce Catalogo nella Cache</value> - <value xml:lang="nl">Catalogus in cache laden</value> + <value xml:lang="nl">Catalogus in cache laden</value> <value xml:lang="ro">Incarcare Rapida Catalog in Cache</value> <value xml:lang="ru">ÐÑÑÑÑÐ°Ñ Ð·Ð°Ð³ÑÑзка каÑалога в кÑÑ</value> <value xml:lang="th">Fast Load Catalog into Cache</value> @@ -11020,7 +11020,7 @@ <value xml:lang="es">CaracterÃsticas</value> <value xml:lang="fr">Caractéristiques</value> <value xml:lang="it">Caratteristiche</value> - <value xml:lang="nl">Kenmerken</value> + <value xml:lang="nl">Kenmerken</value> <value xml:lang="ro">Caracteristici</value> <value xml:lang="ru">ÐÑобенноÑÑи</value> <value xml:lang="th">ลัà¸à¸©à¸à¸°</value> @@ -11144,7 +11144,7 @@ <value xml:lang="es">CaracterÃsticas</value> <value xml:lang="fr">Caractéristiques</value> <value xml:lang="it">Caratteristiche</value> - <value xml:lang="nl">Kenmerken</value> + <value xml:lang="nl">Kenmerken</value> <value xml:lang="ro">Caracteristica</value> <value xml:lang="ru">ÐÑобенноÑÑи</value> <value xml:lang="th">ลัà¸à¸©à¸à¸°</value> @@ -11221,7 +11221,7 @@ <value xml:lang="es">Buscar producto</value> <value xml:lang="fr">Recherche d'un article</value> <value xml:lang="it">Ricerca Prodotto</value> - <value xml:lang="nl">Zoek product</value> + <value xml:lang="nl">Zoek product</value> <value xml:lang="ro">Cauta Produs</value> <value xml:lang="ru">ÐÑкаÑÑ</value> <value xml:lang="th">à¸à¹à¸à¸«à¸²à¸ªà¸´à¸à¸à¹à¸²</value> @@ -11233,7 +11233,7 @@ <value xml:lang="es">Buscar producto con Código</value> <value xml:lang="fr">Recherche d'un article avec sa référence</value> <value xml:lang="it">Ricerca Prodotto con Valore Codice</value> - <value xml:lang="nl">Zoeken product met [ID]</value> + <value xml:lang="nl">Zoeken product met [ID]</value> <value xml:lang="ro">Cauta Produs cu Valoare Cod</value> <value xml:lang="ru">ÐÑкаÑÑ Ð¿ÑодÑÐºÑ Ñ ÐºÐ¾Ð´Ð¾Ð¼</value> <value xml:lang="th">à¸à¹à¸à¸«à¸²à¸ªà¸´à¸à¸à¹à¸²à¸à¹à¸§à¸¢à¸à¹à¸²à¸£à¸«à¸±à¸ª</value> @@ -11501,7 +11501,7 @@ <value xml:lang="es">Regla Global de precios</value> <value xml:lang="fr">Règle globale de prix</value> <value xml:lang="it">Regola Globale Prezzi</value> - <value xml:lang="nl">Algemene prijsregel</value> + <value xml:lang="nl">Algemene prijsregel</value> <value xml:lang="ro">Regula Globala Pret</value> <value xml:lang="ru">ÐлобалÑное пÑавило ÑенообÑазованиÑ</value> <value xml:lang="th">à¸à¹à¸à¸à¸±à¸à¸à¸±à¸à¸£à¸²à¸à¸²à¹à¸à¸¢à¸£à¸§à¸¡</value> @@ -11513,7 +11513,7 @@ <value xml:lang="es">Reglas Globales de precios</value> <value xml:lang="fr">Règles globales de prix</value> <value xml:lang="it">Regole Globali Prezzi</value> - <value xml:lang="nl">Algemene prijsregels</value> + <value xml:lang="nl">Algemene prijsregels</value> <value xml:lang="ro">Regula Globala Preturi</value> <value xml:lang="ru">ÐлобалÑнÑе пÑавила ÑенообÑазованиÑ</value> <value xml:lang="th">à¸à¹à¸à¸à¸±à¸à¸à¸±à¸à¸£à¸²à¸à¸²à¹à¸à¸¢à¸£à¸§à¸¡</value> @@ -13782,7 +13782,7 @@ <value xml:lang="es">Nuevo catálogo</value> <value xml:lang="fr">Nouveau catalogue</value> <value xml:lang="it">Nuovo Catalogo Prodotti</value> - <value xml:lang="nl">Nieuwe productcatalogus</value> + <value xml:lang="nl">Nieuwe productcatalogus</value> <value xml:lang="ro">Nou Catalog Produse</value> <value xml:lang="ru">ÐовÑй каÑалог</value> <value xml:lang="th">หมวà¸à¸«à¸¡à¸¹à¹à¸ªà¸´à¸à¸à¹à¸²à¹à¸«à¸¡à¹</value> @@ -14221,7 +14221,7 @@ <value xml:lang="es">No se encontraron reglas de precio</value> <value xml:lang="fr">Règles de prix non trouvées</value> <value xml:lang="it">Nessuna Regola Prezzo trovata</value> - <value xml:lang="nl">Geen prijsregels gevonden</value> + <value xml:lang="nl">Geen prijsregels gevonden</value> <value xml:lang="ro">Nici-o regula de Pret Gasita ProductNoProductsInCategory=Nici-un produs in categorie</value> <value xml:lang="ru">Ðе Ð½Ð°Ð¹Ð´ÐµÐ½Ñ Ð¿Ñавила ÑенообÑазованиÑ</value> <value xml:lang="th">à¹à¸¡à¹à¸à¸à¸à¹à¸à¸à¸±à¸à¸à¸±à¸à¸£à¸²à¸à¸²</value> @@ -15816,7 +15816,7 @@ <value xml:lang="es">Nombre de la regla de precio [CÃDIGO]</value> <value xml:lang="fr">Nom de la règle de prix [réf]</value> <value xml:lang="it">Nome Regola Prezzo [Codice]</value> - <value xml:lang="nl">Naam prijsregel [ID]</value> + <value xml:lang="nl">Naam prijsregel [ID]</value> <value xml:lang="ro">Nume Regula Pret [Cod]</value> <value xml:lang="ru">ÐÐ¼Ñ Ð¿Ñавила ÑенообÑÐ°Ð·Ð¾Ð²Ð°Ð½Ð¸Ñ [Ðод]</value> <value xml:lang="th">à¸à¸·à¹à¸à¸à¹à¸à¸à¸³à¸«à¸à¸à¸£à¸²à¸à¸² [รหัส]</value> @@ -15828,7 +15828,7 @@ <value xml:lang="es">Reglas de precio</value> <value xml:lang="fr">Règles de prix</value> <value xml:lang="it">Regole Prezzo</value> - <value xml:lang="nl">Prijsregels</value> + <value xml:lang="nl">Prijsregels</value> <value xml:lang="ro">Regula Pret</value> <value xml:lang="ru">ЦенообÑазование</value> <value xml:lang="th">à¸à¹à¸à¸à¸³à¸«à¸à¸à¸£à¸²à¸à¸²</value> @@ -15983,7 +15983,7 @@ <value xml:lang="es">Lista de catálogos de productos</value> <value xml:lang="fr">Liste des catalogues</value> <value xml:lang="it">Lista Cataloghi Prodotto</value> - <value xml:lang="nl">Lijst van catalogi</value> + <value xml:lang="nl">Lijst van catalogi</value> <value xml:lang="ro">Lista Cataloage Produs</value> <value xml:lang="ru">СпиÑок пÑодÑкÑовÑÑ ÐºÐ°Ñалогов</value> <value xml:lang="th">รายà¸à¸²à¸£à¸«à¸¡à¸§à¸à¸«à¸¡à¸¹à¹à¸ªà¸´à¸à¸à¹à¸²</value> @@ -16383,7 +16383,7 @@ <value xml:lang="es">Lista de tiendas de productos</value> <value xml:lang="fr">Liste des centres de profit</value> <value xml:lang="it">Lista Negozi</value> - <value xml:lang="nl">Lijst van winkels</value> + <value xml:lang="nl">Lijst van winkels</value> <value xml:lang="ro">Lista Magazin</value> <value xml:lang="ru">СпиÑок Ñкладов</value> <value xml:lang="th">รายà¸à¸²à¸£à¸à¸¥à¸±à¸à¸ªà¸´à¸à¸à¹à¸²</value> @@ -16605,7 +16605,7 @@ <value xml:lang="es">Promociones</value> <value xml:lang="fr">Promotions</value> <value xml:lang="it">Promozioni</value> - <value xml:lang="nl">Promoties</value> + <value xml:lang="nl">Promoties</value> <value xml:lang="ro">Promotii</value> <value xml:lang="ru">ÐкÑии</value> <value xml:lang="th">à¹à¸à¸£à¹à¸¡à¸à¸±à¸</value> @@ -17170,7 +17170,7 @@ <value xml:lang="es">Crear rápido Virtuales a partir de variantes</value> <value xml:lang="fr">Créer rapidement un article virtuel depuis des variantes</value> <value xml:lang="it">Creazione Veloce Virtuali da Varianti</value> - <value xml:lang="nl">Aanmaken virtuele producten van variantproducten</value> + <value xml:lang="nl">Aanmaken virtuele producten van variantproducten</value> <value xml:lang="ro">Creare Rapida Virtuala de Variante</value> <value xml:lang="ru">ÐÑÑÑÑо ÑоздаÑÑ Ð²Ð¸ÑÑÑалÑнÑй из ваÑианÑов</value> <value xml:lang="th">สรà¹à¸²à¸à¸à¸±à¹à¸à¸«à¸¡à¸à¸à¸²à¸à¸à¸²à¸£à¹à¸à¸¥à¸µà¹à¸¢à¸à¹à¸à¸¥à¸à¸à¸¢à¹à¸²à¸à¸£à¸§à¸à¹à¸£à¹à¸§</value> @@ -17591,7 +17591,7 @@ <value xml:lang="de">Resultate entfernen von</value> <value xml:lang="en">Remove Results From</value> <value xml:lang="es">Quitar resultados desde</value> - <value xml:lang="fr">Supprimer les résultats de</value> + <value xml:lang="fr">Supprimer les résultats de la</value> <value xml:lang="it">Rimuovi i Risultati da</value> <value xml:lang="ro">Sterge Rezultatele de la </value> <value xml:lang="ru">УдалиÑÑ ÑезÑлÑÑаÑÑ Ð¾Ñ</value> @@ -17954,7 +17954,7 @@ <value xml:lang="es">Revisiones</value> <value xml:lang="fr">Approbations</value> <value xml:lang="it">Recensioni</value> - <value xml:lang="nl">Klantbeoordelingen</value> + <value xml:lang="nl">Klantbeoordelingen</value> <value xml:lang="ro">Recenzii</value> <value xml:lang="ru">ÐÑзÑвÑ</value> <value xml:lang="th">à¸à¸£à¸§à¸à¸ªà¸à¸</value> @@ -17986,7 +17986,7 @@ <value xml:lang="es">JerarquÃa</value> <value xml:lang="fr">Hiérarchie</value> <value xml:lang="it">Gerarchia</value> - <value xml:lang="nl">Hiërarchie</value> + <value xml:lang="nl">Hiërarchie</value> <value xml:lang="ro">Sosire</value> <value xml:lang="ru">ÐеÑаÑÑ Ð¸Ñ</value> <value xml:lang="th">Rollup</value> @@ -18297,7 +18297,7 @@ <value xml:lang="es">Buscar Productos</value> <value xml:lang="fr">Rechercher l'article</value> <value xml:lang="it">Ricerca Prodotti</value> - <value xml:lang="nl">Zoeken producten</value> + <value xml:lang="nl">Zoeken producten</value> <value xml:lang="ro">Cauta Produse </value> <value xml:lang="ru">ÐоиÑк пÑодÑкÑов</value> <value xml:lang="th">à¸à¹à¸à¸«à¸²à¸ªà¸´à¸à¸à¹à¸²</value> @@ -19130,7 +19130,7 @@ <value xml:lang="es">EnvÃo</value> <value xml:lang="fr">Expédition</value> <value xml:lang="it">Metodi di Spedizione</value> - <value xml:lang="nl">Verzendmethoden</value> + <value xml:lang="nl">Verzendmethoden</value> <value xml:lang="ru">ÐоÑÑавки</value> <value xml:lang="th">à¸à¸²à¸£à¸à¸à¸ªà¹à¸</value> <value xml:lang="zh">éè´§</value> @@ -19575,7 +19575,7 @@ <value xml:lang="es">Nombre de tienda [código]</value> <value xml:lang="fr">Nom du centre de profit [réf]</value> <value xml:lang="it">Nome Negozio [Codice]</value> - <value xml:lang="nl">Naam winkel [ID]</value> + <value xml:lang="nl">Naam winkel [ID]</value> <value xml:lang="ro">Nume Magazin [Cod]</value> <value xml:lang="ru">ÐÐ¼Ñ Ñклада [Ðод]</value> <value xml:lang="th">à¸à¸·à¹à¸à¸à¸¥à¸±à¸à¸ªà¸´à¸à¸à¹à¸² [รหัส]</value> @@ -19649,7 +19649,7 @@ <value xml:lang="es">Tiendas</value> <value xml:lang="fr">Centres de profit</value> <value xml:lang="it">Negozi</value> - <value xml:lang="nl">Winkels</value> + <value xml:lang="nl">Winkels</value> <value xml:lang="ro">Magazine</value> <value xml:lang="ru">ТоÑговÑе ÑоÑки</value> <value xml:lang="th">à¸à¸¥à¸±à¸à¸ªà¸´à¸à¸à¹à¸²</value> @@ -19803,7 +19803,7 @@ <value xml:lang="es">Suscripciones</value> <value xml:lang="fr">Abonnements</value> <value xml:lang="it">Abbonamenti</value> - <value xml:lang="nl">Abonnementen</value> + <value xml:lang="nl">Abonnementen</value> <value xml:lang="ro">Abonamente</value> <value xml:lang="ru">ÐодпиÑки</value> <value xml:lang="th">à¸à¸²à¸£à¸ªà¸±à¹à¸à¸à¸·à¹à¸</value> @@ -20083,7 +20083,7 @@ <value xml:lang="es">Tesauro</value> <value xml:lang="fr">Thésaurus</value> <value xml:lang="it">Sinonimi</value> - <value xml:lang="nl">Trefwoord synoniemen</value> + <value xml:lang="nl">Trefwoord synoniemen</value> <value xml:lang="ro">Sinonime</value> <value xml:lang="ru">СловаÑи</value> <value xml:lang="th">สาราà¸à¸¸à¸à¸£à¸¡</value> Modified: ofbiz/branches/addbirt/framework/service/src/org/ofbiz/service/eca/ServiceEcaUtil.java URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/service/src/org/ofbiz/service/eca/ServiceEcaUtil.java?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/framework/service/src/org/ofbiz/service/eca/ServiceEcaUtil.java (original) +++ ofbiz/branches/addbirt/framework/service/src/org/ofbiz/service/eca/ServiceEcaUtil.java Mon Dec 14 04:35:35 2009 @@ -57,6 +57,10 @@ } public static void readConfig() { + // Only proceed if the cache hasn't already been populated, caller should be using reloadConfig() in that situation + if (UtilValidate.isNotEmpty(ecaCache)) { + return; + } Element rootElement = null; try { rootElement = ServiceConfigUtil.getXmlRootElement(); Modified: ofbiz/branches/addbirt/framework/widget/src/org/ofbiz/widget/tree/MacroTreeRenderer.java URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/widget/src/org/ofbiz/widget/tree/MacroTreeRenderer.java?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/framework/widget/src/org/ofbiz/widget/tree/MacroTreeRenderer.java (original) +++ ofbiz/branches/addbirt/framework/widget/src/org/ofbiz/widget/tree/MacroTreeRenderer.java Mon Dec 14 04:35:35 2009 @@ -176,7 +176,6 @@ //expandCollapseLink.setText(" + "); currentNodeTrailPiped = StringUtil.join(currentNodeTrail, "|"); expandCollapseLink.setStyle("collapsed"); - expandCollapseLink.setText(" "); StringBuilder target = new StringBuilder(node.getModelTree().getExpandCollapseRequest(context)); String trailName = node.getModelTree().getTrailName(context); if (target.indexOf("?") < 0) { @@ -196,7 +195,6 @@ currentNodeTrailPiped = ""; } expandCollapseLink.setStyle("expanded"); - expandCollapseLink.setText(" "); StringBuilder target = new StringBuilder(node.getModelTree().getExpandCollapseRequest(context)); String trailName = node.getModelTree().getTrailName(context); if (target.indexOf("?") < 0) { @@ -213,7 +211,6 @@ } else if (!hasChildren) { context.put("processChildren", Boolean.FALSE); expandCollapseLink.setStyle("leafnode"); - expandCollapseLink.setText(" "); renderLink(writer, context, expandCollapseLink); } } Modified: ofbiz/branches/addbirt/framework/widget/templates/htmlTreeMacroLibrary.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/widget/templates/htmlTreeMacroLibrary.ftl?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/framework/widget/templates/htmlTreeMacroLibrary.ftl (original) +++ ofbiz/branches/addbirt/framework/widget/templates/htmlTreeMacroLibrary.ftl Mon Dec 14 04:35:35 2009 @@ -53,7 +53,7 @@ <#if name?has_content> name="${name}"</#if><#rt/> <#if title?has_content> title="${title}"</#if><#rt/> <#if targetWindow?has_content> target="${targetWindow}</#if> href="${linkUrl}"><#rt/> -<#if imgStr?has_content>${imgStr}<#else><#if linkText?has_content>${linkText}</#if></#if></a><#rt/> +<#if imgStr?has_content>${imgStr}<#elseif linkText?has_content/>${linkText}<#else/> </#if></a><#rt/> </#macro> <#macro renderImage src id style wid hgt border alt urlString> Propchange: ofbiz/branches/addbirt/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/Facilities.groovy ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Mon Dec 14 04:35:35 2009 @@ -1,2 +1,2 @@ /incubator/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/Facilities.groovy:418499-490456 -/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/Facilities.groovy:831205-889845 +/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/Facilities.groovy:831205-890173 Propchange: ofbiz/branches/addbirt/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/ProductList.groovy ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Mon Dec 14 04:35:35 2009 @@ -1,2 +1,2 @@ /incubator/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/ProductList.groovy:418499-490456 -/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/ProductList.groovy:831205-889845 +/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/ProductList.groovy:831205-890173 Propchange: ofbiz/branches/addbirt/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/ProductStockTake.groovy ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Mon Dec 14 04:35:35 2009 @@ -1,2 +1,2 @@ /incubator/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/ProductStockTake.groovy:418499-490456 -/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/ProductStockTake.groovy:831205-889845 +/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/ProductStockTake.groovy:831205-890173 Modified: ofbiz/branches/addbirt/specialpurpose/pos/data/DemoRetail.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/specialpurpose/pos/data/DemoRetail.xml?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/specialpurpose/pos/data/DemoRetail.xml (original) +++ ofbiz/branches/addbirt/specialpurpose/pos/data/DemoRetail.xml Mon Dec 14 04:35:35 2009 @@ -77,7 +77,9 @@ <!-- use this one when the scheduled PUSH service is enabled - <PosTerminal posTerminalId="pos-1" facilityId="MyRetailStore" pushEntitySyncId="5505"/> + <PosTerminal posTerminalId="pos-1" terminalName="Pos Terminal 1" facilityId="MyRetailStore" pushEntitySyncId="5505"/> + <PosTerminal posTerminalId="pos-2" terminalName="Pos Terminal 2" facilityId="MyRetailStore" pushEntitySyncId="5505"/> + <PosTerminal posTerminalId="pos-3" terminalName="Pos Terminal 3" facilityId="MyRetailStore" pushEntitySyncId="5505"/> --> <!-- use this one when the scheduled PUSH service is not enabled --> Modified: ofbiz/branches/addbirt/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java (original) +++ ofbiz/branches/addbirt/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java Mon Dec 14 04:35:35 2009 @@ -433,7 +433,7 @@ Delegator delegator = cart.getDelegator(); GenericValue product = null; product = delegator.findByPrimaryKeyCache("Product", UtilMisc.toMap("productId", productId)); - if ("AGGREGATED".equals(product.getString("productTypeId"))) { + if (UtilValidate.isNotEmpty(product) && "AGGREGATED".equals(product.getString("productTypeId"))) { return true; } } catch (GenericEntityException e) { @@ -492,7 +492,7 @@ GenericValue product = null; ProductConfigWrapper pcw = null; product = delegator.findByPrimaryKeyCache("Product", UtilMisc.toMap("productId", productId)); - if ("AGGREGATED".equals(product.getString("productTypeId"))) { + if (UtilValidate.isNotEmpty(product) && "AGGREGATED".equals(product.getString("productTypeId"))) { // if it's an aggregated item, load the configwrapper and set to defaults pcw = new ProductConfigWrapper(delegator, session.getDispatcher(), productId, null, null, null, null, null, null); pcw.setDefaultConfig(); @@ -1715,7 +1715,7 @@ svcCtx.put("userLogin", userLogin); svcCtx.put("lastName", name); svcCtx.put("firstName", ""); // Needed by service createPersonAndUserLogin - if (UtilValidate.isNotEmpty(email) && UtilValidate.isNotEmpty(card)) { + if (UtilValidate.isNotEmpty(email) && UtilValidate.isNotEmpty(phone)) { svcCtx.put("userLoginId", email); svcCtx.put("currentPassword", phone); svcCtx.put("currentPasswordVerify", phone); Modified: ofbiz/branches/addbirt/specialpurpose/pos/src/org/ofbiz/pos/event/ManagerEvents.java URL: http://svn.apache.org/viewvc/ofbiz/branches/addbirt/specialpurpose/pos/src/org/ofbiz/pos/event/ManagerEvents.java?rev=890174&r1=890173&r2=890174&view=diff ============================================================================== --- ofbiz/branches/addbirt/specialpurpose/pos/src/org/ofbiz/pos/event/ManagerEvents.java (original) +++ ofbiz/branches/addbirt/specialpurpose/pos/src/org/ofbiz/pos/event/ManagerEvents.java Mon Dec 14 04:35:35 2009 @@ -42,6 +42,8 @@ import org.ofbiz.entity.condition.EntityCondition; import org.ofbiz.entity.condition.EntityExpr; import org.ofbiz.entity.condition.EntityOperator; +import org.ofbiz.entity.transaction.GenericTransactionException; +import org.ofbiz.entity.transaction.TransactionUtil; import org.ofbiz.entity.util.EntityListIterator; import org.ofbiz.guiapp.xui.XuiSession; import org.ofbiz.pos.PosTransaction; @@ -478,52 +480,75 @@ BigDecimal othTotal = ZERO; BigDecimal total = ZERO; - Delegator delegator = pos.getSession().getDelegator(); - List<EntityExpr> exprs = UtilMisc.toList(EntityCondition.makeCondition("originFacilityId", EntityOperator.EQUALS, trans.getFacilityId()), - EntityCondition.makeCondition("terminalId", EntityOperator.EQUALS, trans.getTerminalId())); - EntityListIterator eli = null; - + boolean beganTransaction = false; try { - eli = delegator.find("OrderHeaderAndPaymentPref", EntityCondition.makeCondition(exprs, EntityOperator.AND), null, null, null, null); - } catch (GenericEntityException e) { - Debug.logError(e, module); - } - - Timestamp dayStart = state.getTimestamp("openedDate"); - Timestamp dayEnd = state.getTimestamp("closedDate"); - if (dayEnd == null) { - dayEnd = UtilDateTime.nowTimestamp(); - } - - if (eli != null) { - GenericValue ohpp; - while (((ohpp = (GenericValue) eli.next()) != null)) { - Timestamp orderDate = ohpp.getTimestamp("orderDate"); - if (orderDate.after(dayStart) && orderDate.before(dayEnd)) { - String pmt = ohpp.getString("paymentMethodTypeId"); - BigDecimal amt = ohpp.getBigDecimal("maxAmount"); - - if ("CASH".equals(pmt)) { - cashTotal = cashTotal.add(amt); - } else if ("PERSONAL_CHECK".equals(pmt)) { - checkTotal = checkTotal.add(amt); - } else if ("GIFT_CARD".equals(pmt)) { - gcTotal = gcTotal.add(amt); - } else if ("CREDIT_CARD".equals(pmt)) { - ccTotal = ccTotal.add(amt); - } else { - othTotal = othTotal.add(amt); + beganTransaction = TransactionUtil.begin(); + + Delegator delegator = pos.getSession().getDelegator(); + List<EntityExpr> exprs = UtilMisc.toList(EntityCondition.makeCondition("originFacilityId", EntityOperator.EQUALS, trans.getFacilityId()), + EntityCondition.makeCondition("terminalId", EntityOperator.EQUALS, trans.getTerminalId())); + EntityListIterator eli = null; + + try { + eli = delegator.find("OrderHeaderAndPaymentPref", EntityCondition.makeCondition(exprs, EntityOperator.AND), null, null, null, null); + } catch (GenericEntityException e) { + Debug.logError(e, module); + } + + Timestamp dayStart = state.getTimestamp("openedDate"); + Timestamp dayEnd = state.getTimestamp("closedDate"); + if (dayEnd == null) { + dayEnd = UtilDateTime.nowTimestamp(); + } + + if (eli != null) { + GenericValue ohpp; + while (((ohpp = (GenericValue) eli.next()) != null)) { + Timestamp orderDate = ohpp.getTimestamp("orderDate"); + if (orderDate.after(dayStart) && orderDate.before(dayEnd)) { + String pmt = ohpp.getString("paymentMethodTypeId"); + BigDecimal amt = ohpp.getBigDecimal("maxAmount"); + + if ("CASH".equals(pmt)) { + cashTotal = cashTotal.add(amt); + } else if ("PERSONAL_CHECK".equals(pmt)) { + checkTotal = checkTotal.add(amt); + } else if ("GIFT_CARD".equals(pmt)) { + gcTotal = gcTotal.add(amt); + } else if ("CREDIT_CARD".equals(pmt)) { + ccTotal = ccTotal.add(amt); + } else { + othTotal = othTotal.add(amt); + } + total = total.add(amt); } - total = total.add(amt); + } + + try { + eli.close(); + } catch (GenericEntityException e) { + Debug.logWarning(e, "Trouble closing ELI", module); + pos.showDialog("dialog/error/exception", e.getMessage()); } } - + } catch (GenericTransactionException e) { + Debug.logError(e, module); try { - eli.close(); - } catch (GenericEntityException e) { - Debug.logWarning(e, "Trouble closing ELI", module); + TransactionUtil.rollback(beganTransaction, e.getMessage(), e); + } catch (GenericTransactionException e2) { + Debug.logError(e2, "Unable to rollback transaction", module); + pos.showDialog("dialog/error/exception", e2.getMessage()); + } + pos.showDialog("dialog/error/exception", e.getMessage()); + } finally { + try { + TransactionUtil.commit(beganTransaction); + } catch (GenericTransactionException e) { + Debug.logError(e, "Unable to commit transaction", module); + pos.showDialog("dialog/error/exception", e.getMessage()); } } + Map<String, String> reportMap = FastMap.newInstance(); String reportTemplate = "totals.txt"; |
| Free forum by Nabble | Edit this page |
