ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swapnil Shah (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-8447) OFBIZ-7520: Consistency and Readability improvements for if-compare-field tag
Date Sat, 15 Oct 2016 12:21:20 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-8447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Swapnil Shah updated OFBIZ-8447:
--------------------------------
    Summary: OFBIZ-7520: Consistency and Readability improvements for if-compare-field tag
 (was: Consistency and Readability improvements for if-compare-field tag)

> OFBIZ-7520: Consistency and Readability improvements for if-compare-field tag
> -----------------------------------------------------------------------------
>
>                 Key: OFBIZ-8447
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8447
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL COMPONENTS
>    Affects Versions: Upcoming Branch
>            Reporter: Devanshu Vyas
>            Priority: Minor
>
> Code written in Minilang for the if-compare tag is not consistent throughout the application.
The correct pattern to write is
> <if-compare-field field="finAccountTrans.statusId" operator="not-equals" to-field="parameters.statusId">
> I found various other ways in which this tag is written, like
> <if-compare-field to-field="partyAcctgPreference.baseCurrencyUomId" operator="equals"
field="orderHeader.currencyUom" />
> <if-compare-field operator="equals" field="invoiceTotal" to-field="payment.actualCurrencyAmount">



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message