| <?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="ListVendors" type="list" list-name="listIt" paginate-target="findVendors" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> |
| <actions> |
| <service service-name="performFind" result-map="result" result-map-list="listIt"> |
| <field-map field-name="inputFields" from-field="parameters"/> |
| <field-map field-name="entityName" value="Vendor"/> |
| <field-map field-name="orderBy" value="partyId"/> |
| <field-map field-name="viewIndex" from-field="viewIndex"/> |
| <field-map field-name="viewSize" from-field="viewSize"/> |
| </service> |
| </actions> |
| <field name="partyId" title="${uiLabelMap.PartyPartyId}" widget-style="buttontext"> |
| <hyperlink description="${partyId}" target="editVendor" also-hidden="false"> |
| <parameter param-name="partyId"/> |
| </hyperlink> |
| </field> |
| <field name="manifestCompanyName" title="${uiLabelMap.PartyManifestCompanyName}"><display/></field> |
| <field name="manifestCompanyTitle" title="${uiLabelMap.PartyManifestCompanyTitle}"><display/></field> |
| <field name="manifestLogoUrl" title="${uiLabelMap.PartyManifestLogoUrl}"><display/></field> |
| <field name="manifestPolicies" title="${uiLabelMap.PartyManifestPolicies}"><display/></field> |
| </form> |
| <form name="EditVendor" type="single" target="updateVendor" title="" default-map-name="vendor"> |
| <actions> |
| <entity-one entity-name="Vendor" value-field="vendor"/> |
| </actions> |
| <alt-target use-when="partyId==null" target="createVendor"/> |
| <alt-target use-when="partyId!=null&&vendor!=null" target="updateVendor"/> |
| <field use-when="partyId==null" name="partyId" title="${uiLabelMap.PartyPartyId}" required-field="true"><lookup target-form-name="LookupPerson"/></field> |
| <field use-when="partyId!=null&&vendor!=null" name="partyId" title="${uiLabelMap.PartyPartyId}"><display/></field> |
| <field use-when="partyId==null" name="manifestCompanyName" title="${uiLabelMap.PartyManifestCompanyName}"><text/></field> |
| <field use-when="partyId!=null&&vendor!=null" name="manifestCompanyName" title="${uiLabelMap.PartyManifestCompanyName}"><text default-value="${parameters.manifestCompanyName}"/></field> |
| <field use-when="partyId==null" name="manifestCompanyTitle" title="${uiLabelMap.PartyManifestCompanyTitle}"><text/></field> |
| <field use-when="partyId!=null&&vendor!=null" name="manifestCompanyTitle" title="${uiLabelMap.PartyManifestCompanyTitle}"><text default-value="${parameters.manifestCompanyTitle}"/></field> |
| <field use-when="partyId==null" name="manifestLogoUrl" title="${uiLabelMap.PartyManifestLogoUrl}"><text/></field> |
| <field use-when="partyId!=null&&vendor!=null" name="manifestLogoUrl" title="${uiLabelMap.PartyManifestLogoUrl}"><text default-value="${parameters.manifestLogoUrl}"/></field> |
| <field use-when="partyId==null" name="manifestPolicies" title="${uiLabelMap.PartyManifestPolicies}"><text/></field> |
| <field use-when="partyId!=null&&vendor!=null" name="manifestPolicies" title="${uiLabelMap.PartyManifestPolicies}"><text default-value="${parameters.manifestPolicies}"/></field> |
| <field name="submitButton" use-when="partyId==null" title="${uiLabelMap.CommonCreate}"><submit button-type="button"/></field> |
| <field name="submitButton" use-when="partyId!=null&&vendor!=null" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> |
| </form> |
| <form name="FindVendors" type="single" target="findVendors" title="Find and List Vendors" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <field name="partyId" title="${uiLabelMap.PartyVendor} ${uiLabelMap.CommonId}" parameter-name="partyId"><text-find size="25"></text-find></field> |
| <field name="manifestCompanyName" title="${uiLabelMap.PartyManifestCompanyName}" parameter-name="manifestCompanyName"><text-find size="25"></text-find></field> |
| <field name="manifestCompanyTitle" title="${uiLabelMap.PartyManifestCompanyTitle}" parameter-name="manifestCompanyTitle"><text-find size="25"></text-find></field> |
| <field name="manifestLogoUrl" title="${uiLabelMap.PartyManifestLogoUrl}" parameter-name="manifestLogoUrl"><text-find size="25"></text-find></field> |
| <field name="manifestPolicies" title="${uiLabelMap.PartyManifestPolicies}" parameter-name="manifestPolicies"><text-find size="25"></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="find" title="${uiLabelMap.CommonFind}"><submit/></field> |
| </form> |
| <form name="FindApPayments" type="single" target="FindApPayments" extends="FindPayments" extends-resource="component://accounting/widget/PaymentForms.xml"> |
| <field name="parentTypeId"><hidden value="DISBURSEMENT"/></field> |
| <field name="paymentTypeId" position="1"> |
| <drop-down allow-empty="true"> |
| <entity-options entity-name="PaymentType"> |
| <entity-constraint name="parentTypeId" value="DISBURSEMENT"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| </form> |
| <form name="FindApPaymentGroups" target="FindApPaymentGroups" extends="FindPaymentGroup" extends-resource="component://accounting/widget/PaymentGroupForms.xml"> |
| <field name="paymentGroupTypeId"><hidden value="CHECK_RUN"/></field> |
| </form> |
| </forms> |