[jira] [Commented] (OFBIZ-5583) Amount in cash is greater than total due in webpos

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5583) Amount in cash is greater than total due in webpos

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13938999#comment-13938999 ]

Đặng Văn Hoàn commented on OFBIZ-5583:
--------------------------------------

I commented
<!-- <if-compare-field field="totalDue" operator="less" to-field="context.amountCash" type="BigDecimal">
            <add-error><fail-property resource="WebPosUiLabels" property="WebPosPayCashGreaterThanTotalDue"/></add-error>
            <check-errors/>
      </if-compare-field> -->
and it worked as what i want.
But I don't understand why OFBiz have those line. What dose it's mean?



> Amount in cash is greater than total due in webpos
> --------------------------------------------------
>
>                 Key: OFBIZ-5583
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5583
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/webpos
>    Affects Versions: SVN trunk
>            Reporter: Đặng Văn Hoàn
>
> When i buy a product have price is 40$ and i pay cash 50$, webpos throw exception Amount in cash is greater than total due



--
This message was sent by Atlassian JIRA
(v6.2#6252)