We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749634 13f79535-47bb-0310-9956-ffa450edef68
75 lines
4.2 KiB
XML
75 lines
4.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd">
|
|
|
|
<form name="LookupInvoice" target="LookupInvoice" title="" type="single"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<actions>
|
|
<entity-condition entity-name="InvoiceType" list="invoiceTypeList">
|
|
<condition-list combine="or">
|
|
<condition-expr field-name="parentTypeId" value="PURCHASE_INVOICE"/>
|
|
<condition-expr field-name="invoiceTypeId" value="PURCHASE_INVOICE"/>
|
|
</condition-list>
|
|
</entity-condition>
|
|
</actions>
|
|
<field position="1" name="invoiceId"><text-find/></field>
|
|
<field position="1" name="invoiceTypeId">
|
|
<drop-down no-current-selected-key="PURCHASE_INVOICE">
|
|
<list-options key-name="invoiceTypeId" list-name="invoiceTypeList"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="statusId" title="${uiLabelMap.CommonStatus}" position="2">
|
|
<drop-down allow-empty="true">
|
|
<entity-options entity-name="StatusItem">
|
|
<entity-constraint name="statusTypeId" operator="equals" value="INVOICE_STATUS"/>
|
|
<entity-constraint name="statusId" operator="not-equals" value="INVOICE_SENT"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field position="1" name="partyIdFrom"><lookup target-form-name="LookupPartyName"/></field>
|
|
<field position="2" name="partyId" title="${uiLabelMap.AccountingPartyIdTo}"><lookup target-form-name="LookupPartyName"/></field>
|
|
<field position="1" name="Datefrom" title="${uiLabelMap.CommonFromDate}"><date-time/></field>
|
|
<field position="2" name="DateThru" title="${uiLabelMap.CommonThruDate}"><date-time/></field>
|
|
|
|
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<form name="LookupPayment" target="LookupPayment" title="" type="single"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<auto-fields-entity entity-name="Payment" default-field-type="hidden"/>
|
|
<field name="paymentId" title="${uiLabelMap.AccountingPaymentID}"><text-find/></field>
|
|
<field name="paymentTypeId">
|
|
<drop-down allow-empty="true" no-current-selected-key="VENDOR_PAYMENT">
|
|
<entity-options entity-name="PaymentType" key-field-name="paymentTypeId">
|
|
<entity-constraint name="parentTypeId" operator="equals" value="DISBURSEMENT"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="partyIdFrom"><lookup target-form-name="LookupPartyName"/></field>
|
|
<field name="partyIdTo"><lookup target-form-name="LookupPartyName"/></field>
|
|
<field name="amountApplied"><text-find default-value=""></text-find> </field>
|
|
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
</forms>
|