| <?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" |
| xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> |
| |
| <form name="FindPayments" type="single" target="findPayments" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> |
| <field name="paymentId"><text-find ignore-case="true"/></field> |
| <field name="comments"><text-find ignore-case="true"/></field> |
| <field name="paymentTypeId" title="${uiLabelMap.AccountingPaymentType}" position="1"> |
| <drop-down allow-empty="true"> |
| <entity-options description="${description}" entity-name="PaymentType"> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="statusId" title="${uiLabelMap.CommonStatus}" position="2"> |
| <drop-down allow-empty="true"> |
| <entity-options description="${description}" entity-name="StatusItem"> |
| <entity-constraint name="statusTypeId" operator="equals" value="PMNT_STATUS"/> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field position="1" name="partyIdFrom"><lookup target-form-name="LookupPartyName"/></field> |
| <field position="2" name="partyIdTo"><lookup target-form-name="LookupPartyName"/></field> |
| <field position="1" name="amount"><text/></field> |
| <field name="paymentRefNum"><text-find ignore-case="true"/></field> |
| <field name="paymentGatewayResponseId"><text/></field> |
| <field name="searchButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field> |
| </form> |
| <form name="ListPayments" type="list" separate-columns="true" default-entity-name="Payment" list-name="listIt" paginate-target="findPayments" paginate="true" |
| 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="PaymentAndTypeAndCreditCard"/> |
| <field-map field-name="orderBy" value="effectiveDate DESC"/> |
| <field-map field-name="viewIndex" from-field="viewIndex"/> |
| <field-map field-name="viewSize" from-field="viewSize"/> |
| </service> |
| </actions> |
| <row-actions> |
| <set field="amountToApply" value="${bsh:org.ofbiz.accounting.payment.PaymentWorker.getPaymentNotApplied(delegator,paymentId);}"/> |
| </row-actions> |
| <field name="paymentId" widget-style="buttontext"> |
| <hyperlink description="${paymentId}" target="paymentOverview"> |
| <parameter param-name="paymentId"/> |
| </hyperlink> |
| </field> |
| <field name="paymentTypeId" title="${uiLabelMap.AccountingPaymentType}"><display-entity entity-name="PaymentType"/></field> |
| <field name="statusId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem"/></field> |
| <field name="comments"><display/></field> |
| <field name="partyIdFrom" title="${uiLabelMap.AccountingFromParty}"> |
| <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName}${lastName},${firstName}"> |
| <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="[${partyIdFrom}]" > |
| <parameter param-name="partyId" from-field="partyIdFrom"/> |
| </sub-hyperlink> |
| </display-entity> |
| </field> |
| <field name="partyIdTo" title="${uiLabelMap.AccountingToParty}"> |
| <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName}${lastName},${firstName}"> |
| <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="[${partyIdTo}]" > |
| <parameter param-name="partyId" from-field="partyIdTo"/> |
| </sub-hyperlink> |
| </display-entity> |
| </field> |
| <field name="effectiveDate"><display/></field> |
| <field name="currencyUomId"><hidden/></field> |
| <field name="amount"><display also-hidden="false" type="currency" currency="${currencyUomId}"/></field> |
| <field name="amountToApply"><display also-hidden="false" type="currency" currency="${currencyUomId}"/></field> |
| </form> |
| |
| <form name="NewPaymentOut" type="single" target="createPayment" default-map-name="payment" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <actions> |
| <entity-condition entity-name="PaymentType" list="paymentTypes"> |
| <condition-list combine="or"> |
| <condition-expr field-name="parentTypeId" operator="equals" value="DISBURSEMENT"/> |
| <condition-expr field-name="parentTypeId" operator="equals" value="TAX_PAYMENT"/> |
| </condition-list> |
| <order-by field-name="description"/> |
| </entity-condition> |
| <entity-one entity-name="PartyGroup" use-cache="true" value-field="partyGroup"> |
| <field-map field-name="partyId" from-field="parameters.partyIdFrom"/> |
| </entity-one> |
| <set field="partyGroupName" from-field="partyGroup.groupName"/> |
| <set field="paymentPartyId" from-field="parameters.partyIdFrom" default-value="${defaultOrganizationPartyId}"/> |
| <entity-condition entity-name="PaymentMethodAndFinAccount" list="paymentMethodAndFinAccounts"> |
| <condition-list> |
| <condition-expr field-name="partyId" from-field="paymentPartyId"/> |
| <condition-expr field-name="statusId" operator="not-equals" value="FNACT_MANFROZEN"/> |
| <condition-expr field-name="statusId" operator="not-equals" value="FNACT_CANCELLED"/> |
| </condition-list> |
| </entity-condition> |
| </actions> |
| <field name="statusId"><hidden value="PMNT_NOT_PAID"/></field> |
| <field name="currencyUomId"><hidden value="${defaultOrganizationPartyCurrencyUomId}"/></field> |
| <field position="1" name="organizationPartyId" parameter-name="partyIdFrom" event="onchange" action="javascript:(document.NewPaymentOut.action = 'newPayment'),(document.NewPaymentOut.submit())"> |
| <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyId}"> |
| <option key="${parameters.partyIdFrom}" description="${partyGroupName}"/> |
| <entity-options description="${groupName}" entity-name="PartyAcctgPrefAndGroup" key-field-name="partyId"> |
| <entity-order-by field-name="groupName"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="paymentMethodId" id-name="paymentMethodId" position="2"> |
| <drop-down allow-empty="false"> |
| <entity-options entity-name="PaymentMethod" description="${description}"> |
| <entity-constraint name="partyId" operator="equals" env-name="paymentPartyId"/> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="partyIdTo" position="1"><lookup target-form-name="LookupPartyName"/></field> |
| <field name="paymentTypeId" title="${uiLabelMap.AccountingPaymentType}" position="2"> |
| <drop-down allow-empty="false"> |
| <list-options list-name="paymentTypes" key-name="paymentTypeId" description="${description}"/> |
| </drop-down> |
| </field> |
| <field name="paymentRefNum" position="1"><text/></field> |
| <field name="overrideGlAccountId" position="2"><lookup target-form-name="LookupGlAccount"/></field> |
| <field name="amount" position="1"><text/></field> |
| <field name="comments" position="2"><text size="70"/></field> |
| <field name="isDepositWithDrawPayment"><hidden value="Y"/></field> |
| <field name="finAccountTransTypeId"><hidden value="WITHDRAWAL"/></field> |
| <field position="1" name="createButton" widget-style="smallSubmit"> |
| <submit button-type="button"/> |
| </field> |
| </form> |
| <form name="NewPaymentIn" type="single" target="createPayment" default-map-name="payment" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <field name="statusId"><hidden value="PMNT_NOT_PAID"/></field> |
| <field name="currencyUomId"><hidden value="${defaultOrganizationPartyCurrencyUomId}"/></field> |
| <field position="1" name="organizationPartyId" parameter-name="partyIdTo"> |
| <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyId}"> |
| <entity-options description="${groupName}" entity-name="PartyAcctgPrefAndGroup" key-field-name="partyId"> |
| <entity-order-by field-name="groupName"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="partyIdFrom" position="2"><lookup target-form-name="LookupPartyName"/></field> |
| <field name="paymentTypeId" title="${uiLabelMap.AccountingPaymentType}" position="1"> |
| <drop-down allow-empty="false"> |
| <entity-options description="${description}" entity-name="PaymentType"> |
| <entity-constraint name="parentTypeId" value="RECEIPT"/> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field position="2" name="paymentMethodTypeId"> |
| <drop-down allow-empty="true"> |
| <entity-options entity-name="PaymentMethodType" description="${description}"> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="paymentRefNum" position="1"><text/></field> |
| <field name="overrideGlAccountId" position="2"><lookup target-form-name="LookupGlAccount"/></field> |
| <field name="amount" position="1"><text/></field> |
| <field name="comments" position="2"><text size="70"/></field> |
| <field name="finAccountId"> |
| <drop-down allow-empty="true"> |
| <entity-options entity-name="FinAccount" description="${finAccountName} [${finAccountId}]" filter-by-date="true"> |
| <entity-constraint name="finAccountTypeId" value="BANK_ACCOUNT"/> |
| <entity-constraint name="statusId" operator="not-equals" value="FNACT_MANFROZEN"/> |
| <entity-constraint name="statusId" operator="not-equals" value="FNACT_CANCELLED"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="isDepositWithDrawPayment"><hidden value="Y"/></field> |
| <field name="finAccountTransTypeId"><hidden value="DEPOSIT"/></field> |
| <field position="1" name="createButton" widget-style="smallSubmit"> |
| <submit button-type="button"/> |
| </field> |
| </form> |
| |
| <form name="EditPayment" type="single" target="updatePayment" default-map-name="payment"> |
| <actions> |
| <entity-one entity-name="Party" value-field="partyFrom"> |
| <field-map field-name="partyId" from-field="payment.partyIdFrom"/> |
| </entity-one> |
| <set field="payment.actualCurrencyUomId" from-field="partyFrom.preferredCurrencyUomId" default-value="${defaultOrganizationPartyCurrencyUomId}"/> |
| <entity-one entity-name="StatusItem" value-field="currentStatus"> |
| <field-map field-name="statusId" from-field="payment.statusId"/> |
| </entity-one> |
| </actions> |
| <auto-fields-entity entity-name="Payment"/> |
| <field name="paymentId"><hidden/></field> |
| <field name="paymentTypeId" title="${uiLabelMap.AccountingPaymentType}" position="1"> |
| <drop-down allow-empty="false"> |
| <entity-options description="${description}" entity-name="PaymentType"> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field position="2" name="paymentMethodTypeId"> |
| <drop-down allow-empty="false"> |
| <entity-options entity-name="PaymentMethodType" description="${description}"> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="statusId" title="${uiLabelMap.CommonStatus}" position="1"> |
| <drop-down allow-empty="false" current-description="${currentStatus.description}"> |
| <entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})"> |
| <entity-constraint name="statusId" value="${payment.statusId}"/> |
| <entity-order-by field-name="sequenceId"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field position="1" name="paymentMethodId"> |
| <drop-down allow-empty="false"> |
| <entity-options key-field-name="paymentMethodId" entity-name="PaymentMethod" description="${paymentMethodTypeId} (${paymentMethodId})"> |
| <entity-constraint name="partyId" operator="equals" value="${payment.partyIdFrom}"/> |
| <entity-order-by field-name="paymentMethodTypeId"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="partyIdFrom" position="1"><lookup target-form-name="LookupPartyName"/></field> |
| <field name="partyIdTo" position="1"><lookup target-form-name="LookupPartyName"/></field> |
| <field name="roleTypeIdTo" position="2"> |
| <drop-down allow-empty="true"> |
| <entity-options key-field-name="roleTypeId" description="${description}" entity-name="RoleType"> |
| <entity-order-by field-name="roleTypeId"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="amount" position="1"><text/></field> |
| <field position="2" name="currencyUomId"> |
| <drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}"> |
| <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> |
| <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="actualAmount" position="1" title="${uiLabelMap.AccountingActualCurrencyAmount}"><text/></field> |
| <field name="actualCurrencyUomId" position="2" title="${uiLabelMap.AccountingActualCurrencyUomId}"> |
| <drop-down allow-empty="true"> |
| <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> |
| <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="effectiveDate" position="2"><date-time/></field> |
| <field name="comments" position="2"><text/></field> |
| <field name="paymentRefNum" position="1"><text/></field> |
| <field name="paymentPreferenceId"><ignored/></field> |
| <field name="paymentGatewayResponseId"><ignored/></field> |
| <field name="finAccountTransId" position="1"><text/></field> |
| <field name="overrideGlAccountId" position="2"><lookup target-form-name="LookupGlAccount"/></field> |
| <field name="finAccountTransId"><ignored/></field> |
| <field name="actualAmount"><ignored/></field> |
| <field position="1" name="updateButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> |
| </form> |
| |
| <form name="editPaymentApplicationsInv" default-entity-name="PaymentApplication" list-name="paymentApplicationsInv" target="updatePaymentApplication" type="list" separate-columns="false" |
| odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> |
| <field name="paymentApplicationId"><hidden/></field> |
| <field name="paymentId"><hidden/></field> |
| <field name="invoiceId"> |
| <display-entity entity-name="Invoice" description="${description}"> |
| <sub-hyperlink target="invoiceOverview" description="[${invoiceId}]"> |
| <parameter param-name="invoiceId"/> |
| </sub-hyperlink> |
| </display-entity> |
| </field> |
| <field name="invoiceItemSeqId"><display/></field> |
| <field name="amountApplied"><display/></field> |
| <!-- TODO: this is commented out because updating (instead of removing and recreating) payment application can cause wrong gl postings. |
| <field name="updateButton" widget-style="buttontext"><submit button-type="text-link"/></field> |
| --> |
| <field name="removeButton" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> |
| <hyperlink description="${uiLabelMap.CommonRemove}" target="removePaymentApplication"> |
| <parameter param-name="paymentApplicationId"/> |
| <parameter param-name="paymentId"/> |
| </hyperlink> |
| </field> |
| </form> |
| <form name="editPaymentApplicationsPay" default-entity-name="PaymentApplication" list-name="paymentApplicationsPay" target="updatePaymentApplication" type="list" separate-columns="false" |
| odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> |
| <field name="paymentApplicationId"><hidden/></field> |
| <field name="paymentId"><hidden/></field> |
| <field name="toPaymentId"><lookup target-form-name="LookupPayment"></lookup></field> |
| <field name="amountApplied"><text size="15"/></field> |
| <field name="updateButton" title="${uiLabelMap.CommonUpdate}" widget-style="buttontext"><submit button-type="text-link"/></field> |
| <field name="removeButton" title="${uiLabelMap.CommonRemove}" widget-style="buttontext"> |
| <hyperlink description="${uiLabelMap.CommonRemove}" target="removePaymentApplication"> |
| <parameter param-name="paymentApplicationId"/> |
| <parameter param-name="paymentId"/> |
| </hyperlink> |
| </field> |
| </form> |
| <form name="editPaymentApplicationsBil" default-entity-name="PaymentApplication" list-name="paymentApplicationsBil" target="updatePaymentApplication" type="list" separate-columns="false" |
| odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> |
| <field name="paymentApplicationId"><hidden/></field> |
| <field name="paymentId"><hidden/></field> |
| <field name="billingAccountId"><lookup target-form-name="LookupBillingAccount"/></field> |
| <field name="invoiceId"><hidden/></field> |
| <field name="amountApplied"><text size="15"/></field> |
| <field name="updateButton" title="${uiLabelMap.CommonUpdate}" widget-style="buttontext"><submit button-type="text-link"/></field> |
| <field name="removeButton" title="${uiLabelMap.CommonRemove}" widget-style="buttontext"> |
| <hyperlink description="${uiLabelMap.CommonRemove}" target="removePaymentApplication"> |
| <parameter param-name="paymentApplicationId"/> |
| <parameter param-name="paymentId"/> |
| </hyperlink> |
| </field> |
| </form> |
| <form name="editPaymentApplicationsTax" default-entity-name="PaymentApplication" list-name="paymentApplicationsTax" target="updatePaymentApplication" type="list" separate-columns="false" |
| odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> |
| <field name="paymentApplicationId"><hidden/></field> |
| <field name="paymentId"><hidden/></field> |
| <field name="taxAuthGeoId"><lookup target-form-name="LookupGeo"/></field> |
| <field name="amountApplied"><text size="15"/></field> |
| <field name="updateButton" title="${uiLabelMap.CommonUpdate}" widget-style="buttontext"><submit button-type="text-link"/></field> |
| <field name="removeButton" title="${uiLabelMap.CommonRemove}" widget-style="buttontext"> |
| <hyperlink description="${uiLabelMap.CommonRemove}" target="removePaymentApplication"> |
| <parameter param-name="paymentApplicationId"/> |
| <parameter param-name="paymentId"/> |
| </hyperlink> |
| </field> |
| </form> |
| |
| <form name="listInvoicesNotApplied" type="list" list-name="invoices" target="createPaymentApplication" title="" |
| odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> |
| <field name="paymentId"><hidden/></field> |
| <field name="invoiceId" widget-style="buttontext"> |
| <hyperlink target="invoiceOverview" description="${invoiceId}"> |
| <parameter param-name="invoiceId"/> |
| </hyperlink> |
| </field> |
| <field name="description"><display/></field> |
| <field name="invoiceDate"><display type="date"/></field> |
| <field name="amount"><display type="currency" currency="${currencyUomId}"/></field> |
| <field name="amountApplied" parameter-name="dummy"><display type="currency" currency="${currencyUomId}"/></field> |
| <field name="amountToApply" parameter-name="amountApplied"><text size="10"/></field> |
| <field name="invoiceProcessing" use-when=""${uiConfigMap.invoiceProcessing}".equals("Y")"><check/></field> |
| <field name="invoiceProcessing" use-when=""${uiConfigMap.invoiceProcessing}".equals("N")"><check/></field> |
| <field name="applyButton" widget-style="smallSubmit"> |
| <submit button-type="button"/> |
| </field> |
| </form> |
| |
| <form name="listInvoicesNotAppliedOtherCurrency" extends="listInvoicesNotApplied" list-name="invoicesOtherCurrency"/> |
| |
| <form name="listPaymentsNotApplied" type="list" list-name="payments" target="updatePaymentApplication" title="" |
| odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> |
| <field name="paymentId"><hidden/></field> |
| <field name="toPaymentId" widget-style="buttontext"> |
| <hyperlink target="paymentOverview" description="[${toPaymentId}]"> |
| <parameter param-name="paymentId" from-field="toPaymentId"/> |
| </hyperlink> |
| </field> |
| <field name="effectiveDate"><display/></field> |
| <field name="amount"><display type="currency" currency="${currencyUomId}"/></field> |
| <field name="amountApplied" parameter-name="dummy"><display type="currency" currency="${currencyUomId}"/></field> |
| <field name="amountToApply" parameter-name="amountApplied"><text size="10"/></field> |
| <field name="applyButton" widget-style="smallSubmit"> |
| <submit button-type="button"/> |
| </field> |
| </form> |
| |
| <form name="addPaymentApplication" type="single" target="updatePaymentApplication" title="" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <field name="paymentId"><hidden/></field> |
| <field name="invoiceId"><lookup target-form-name="LookupInvoice"/></field> |
| <field name="invoiceItemSeqId" use-when=""${uiConfigMap.invoiceProcessing}".equals("YY")"><text size="10"/></field> |
| <field name="toPaymentId"><lookup target-form-name="LookupPayment"/></field> |
| <field name="billingAccountId"><lookup target-form-name="LookupBillingAccount"/></field> |
| <field name="taxAuthGeoId"><lookup target-form-name="LookupGeo"/></field> |
| <field name="amountToApply" parameter-name="amountApplied" tooltip="${uiLabelMap.AccountingLeaveEmptyForMaximumAmount}"><text/></field> |
| <field name="invoiceProcessing" use-when=""${uiConfigMap.invoiceProcessing}".equals("Y")"><check/></field> |
| <field name="invoiceProcessing" use-when=""${uiConfigMap.invoiceProcessing}".equals("N")"><check/></field> |
| <field name="applyButton" widget-style="smallSubmit"> |
| <submit button-type="button"/> |
| </field> |
| </form> |
| |
| <form name="paymentHeader" type="single" default-map-name="payment" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <actions> |
| <service service-name="getPartyNameForDate" result-map="partyNameResultFrom"> |
| <field-map field-name="partyId" from-field="payment.partyIdFrom"/> |
| <field-map field-name="compareDate" from-field="payment.effectiveDate"/> |
| <field-map field-name="lastNameFirst" value="Y"/> |
| </service> |
| <service service-name="getPartyNameForDate" result-map="partyNameResultTo"> |
| <field-map field-name="partyId" from-field="payment.partyIdTo"/> |
| <field-map field-name="compareDate" from-field="payment.effectiveDate"/> |
| <field-map field-name="lastNameFirst" value="Y"/> |
| </service> |
| </actions> |
| <field name="paymentId"><hidden/></field> |
| <field name="paymentTypeId" position="1"><display-entity entity-name="PaymentType"/></field> |
| <field name="paymentMethodTypeId" position="2"><display-entity entity-name="PaymentMethodType"/></field> |
| <field name="statusId" title="${uiLabelMap.CommonStatus}" position="1"><display-entity entity-name="StatusItem"/></field> |
| <field name="paymentMethodId" position="2"><display-entity entity-name="PaymentMethod" description="${description} [${paymentMethodId}]"/></field> |
| <field name="partyIdFrom" title="${uiLabelMap.AccountingFromParty}" position="1"> |
| <hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${partyNameResultFrom.fullName} [${payment.partyIdFrom}]"> |
| <parameter param-name="partyId" from-field="payment.partyIdFrom"/> |
| </hyperlink> |
| </field> |
| <field name="partyIdTo" title="${uiLabelMap.AccountingToParty}" position="2"> |
| <hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${partyNameResultTo.fullName} [${payment.partyIdTo}]"> |
| <parameter param-name="partyId" from-field="payment.partyIdTo"/> |
| </hyperlink> |
| </field> |
| <field name="paymentRefNum" position="1"><display/></field> |
| <field name="paymentPreferenceId" position="2"><display/></field> |
| <field name="amount" position="1"><display type="currency" currency="${payment.currencyUomId}"/></field> |
| <field name="actualCurrencyAmount" title="${uiLabelMap.AccountingActualCurrencyAmount}" position="2"><display type="currency" currency="${payment.actualCurrencyUomId}"/></field> |
| <field name="effectiveDate" position="1"><display type="date"/></field> |
| <field name="comments" position="2"><display/></field> |
| <field name="overrideGlAccountId" position="1"><display/></field> |
| <field name="paymentGatewayResponseId" position="2"> |
| <hyperlink description="${payment.paymentGatewayResponseId}" target="ViewGatewayResponse"> |
| <parameter param-name="paymentGatewayResponseId" from-field="payment.paymentGatewayResponseId"/> |
| </hyperlink> |
| </field> |
| </form> |
| |
| <form name="paymentApplications" type="list" list-name="paymentApplications" |
| odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> |
| <actions> |
| <entity-condition entity-name="PaymentApplication"> |
| <condition-list combine="or"> |
| <condition-expr field-name="paymentId" from-field="paymentId"/> |
| <condition-expr field-name="toPaymentId" from-field="paymentId"/> |
| </condition-list> |
| <order-by field-name="invoiceId"/> |
| <order-by field-name="invoiceItemSeqId"/> |
| </entity-condition> |
| </actions> |
| <row-actions> |
| <set field="amountApplied" value="${bsh:org.ofbiz.accounting.payment.PaymentWorker.getPaymentAppliedAmount(delegator, paymentApplicationId);}"/> |
| </row-actions> |
| <auto-fields-entity entity-name="PaymentApplication" default-field-type="display"/> |
| <field name="paymentApplicationId"><hidden/></field> |
| <field name="paymentId"><hidden/></field> |
| <field name="invoiceId" widget-style="buttontext"> |
| <hyperlink target="invoiceOverview" description="${invoiceId}"> |
| <parameter param-name="invoiceId"/> |
| </hyperlink> |
| </field> |
| <field name="invoiceItemSeqId" widget-style="buttontext"> |
| <hyperlink target="listInvoiceItems" description="${invoiceItemSeqId}"> |
| <parameter param-name="invoiceId"/> |
| <parameter param-name="invoiceItemSeqId"/> |
| </hyperlink> |
| </field> |
| <field name="toPaymentId" widget-style="buttontext"> |
| <hyperlink target="paymentOverview" description="${toPaymentId}"> |
| <parameter param-name="paymentId" from-field="toPaymentId"/> |
| </hyperlink> |
| </field> |
| <field name="billingAccountId" widget-style="buttontext"> |
| <hyperlink target="EditBillingAccount" description="${billingAccountId}"> |
| <parameter param-name="billingAccountId"/> |
| </hyperlink> |
| </field> |
| <field name="taxAuthGeoId"><display-entity entity-name="Geo" key-field-name="geoId" description="${geoName}"></display-entity></field> |
| <field name="amountApplied"><display type="currency" currency="${payment.currencyUomId}"/></field> |
| </form> |
| |
| <form name="AcctgTransAndEntries" type="list" list-name="AcctgTransAndEntries" extends="AcctgTransAndEntries" extends-resource="component://accounting/widget/InvoiceForms.xml"> |
| <field name="paymentId"><hidden/></field> |
| <field name="invoiceId"><hyperlink target="invoiceOverview?invoiceId=${invoiceId}" description="${invoiceId}"/></field> |
| </form> |
| |
| <form name="ListChecksToPrint" type="multi" list-name="payments" target="printChecks" separate-columns="true" |
| odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> |
| <field name="paymentId"> |
| <hyperlink target="paymentOverview" description="${paymentId}"> |
| <parameter param-name="paymentId"/> |
| </hyperlink> |
| </field> |
| <field name="partyIdTo" title="${uiLabelMap.PartyPartyTo}"> |
| <display-entity description="${firstName} ${middleName} ${lastName} ${groupName}" entity-name="PartyNameView" key-field-name="partyId"/> |
| </field> |
| <field name="amount" widget-area-style="align-text"><display type="currency" currency="${currencyUomId}"/></field> |
| <field name="effectiveDate"><display/></field> |
| <field name="_rowSubmit" title="${uiLabelMap.CommonSelect}"><check/></field> |
| <field name="submitButton" title="${uiLabelMap.CommonPrint}" widget-style="smallSubmit"> |
| <submit/> |
| </field> |
| </form> |
| <form name="ListChecksToSend" type="multi" use-row-submit="true" list-name="payments" target="quickSendPayment?organizationPartyId=${organizationPartyId}" separate-columns="true" |
| odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> |
| <field name="paymentId"><hidden/></field> |
| <field name="paymentId"> |
| <hyperlink target="paymentOverview" description="${paymentId}"> |
| <parameter param-name="paymentId"/> |
| </hyperlink> |
| </field> |
| <field name="partyIdTo" title="${uiLabelMap.PartyPartyTo}"> |
| <display-entity description="${firstName} ${middleName} ${lastName} ${groupName}" entity-name="PartyNameView" key-field-name="partyId"/> |
| </field> |
| <field name="amount" widget-area-style="align-text"><display type="currency" currency="${currencyUomId}"/></field> |
| <field name="effectiveDate"><display/></field> |
| <field name="paymentRefNum"><text/></field> |
| <field name="_rowSubmit" title="${uiLabelMap.CommonSelect}"><check/></field> |
| <field name="submitButton" title="${uiLabelMap.CommonSend}" widget-style="smallSubmit"><submit/></field> |
| </form> |
| |
| <form name="FindSalesInvoicesByDueDate" type="single" target="findSalesInvoicesByDueDate" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <field name="invoiceTypeId"><hidden value="SALES_INVOICE"/></field> |
| <field name="organizationPartyId" parameter-name="partyIdFrom"> |
| <drop-down allow-empty="false"> |
| <entity-options description="${partyId}" entity-name="PartyRole" key-field-name="partyId"> |
| <entity-constraint name="roleTypeId" value="INTERNAL_ORGANIZATIO"/> |
| <entity-order-by field-name="partyId"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="partyId"><lookup target-form-name="LookupPartyName"/></field> |
| <field name="daysOffset"><text default-value="0"/></field> |
| <field name="searchButton" title="${uiLabelMap.CommonSelect}"> |
| <submit button-type="button"/> |
| </field> |
| </form> |
| <form name="FindPurchaseInvoicesByDueDate" type="single" target="findPurchaseInvoicesByDueDate" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <field name="invoiceTypeId"><hidden value="PURCHASE_INVOICE"/></field> |
| <field name="organizationPartyId" parameter-name="partyId"> |
| <drop-down allow-empty="false"> |
| <entity-options description="${partyId}" entity-name="PartyRole" key-field-name="partyId"> |
| <entity-constraint name="roleTypeId" value="INTERNAL_ORGANIZATIO"/> |
| <entity-order-by field-name="partyId"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="partyIdFrom"><lookup target-form-name="LookupPartyName"/></field> |
| <field name="daysOffset"><text default-value="0"/></field> |
| <field name="searchButton" title="${uiLabelMap.CommonSelect}"> |
| <submit button-type="button"/> |
| </field> |
| </form> |
| <form name="ListInvoicesByDueDate" type="list" list-name="invoicePaymentInfoList" |
| odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> |
| <field name="invoiceId" widget-style="buttontext"> |
| <hyperlink target="invoiceOverview" description="${invoiceId}"> |
| <parameter param-name="invoiceId"/> |
| </hyperlink> |
| </field> |
| <field name="termTypeId"> |
| <display-entity entity-name="TermType" description="${description}"/> |
| </field> |
| <field name="dueDate"><display/></field> |
| <field name="amount"><display/></field> |
| <field name="paidAmount"><display/></field> |
| <field name="outstandingAmount"><display/></field> |
| </form> |
| <form name="FinAccountTransAssociatedWithPayment" type="single" default-map-name="finAccountTrans" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> |
| <field name="finAccountTransId" position="1"><display/></field> |
| <field name="finAccountTransTypeId" title="${uiLabelMap.FormFieldTitle_finAccountTransType}" position="2"><display-entity entity-name="FinAccountTransType" description="${description}"/></field> |
| <field name="amount" position="1"><display type="currency" currency="${payment.currencyUomId}"/></field> |
| <field name="glReconciliationId" position="2"> |
| <hyperlink target="ViewGlReconciliationWithTransaction" description="${finAccountTrans.glReconciliationId}"> |
| <parameter param-name="glReconciliationId" from-field="finAccountTrans.glReconciliationId"/> |
| <parameter param-name="finAccountId" from-field="finAccountTrans.finAccountId"/> |
| </hyperlink> |
| </field> |
| <field name="transactionDate" position="1"><display/></field> |
| <field name="statusId" position="2" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem" description="${description}" key-field-name="statusId"/></field> |
| </form> |
| <form name="PaymentReport" type="single" target="paymentReportHtml" extends="FindPayments" extends-resource="component://accounting/widget/PaymentForms.xml" target-window="_BLANK"> |
| <field name="contentType" action="document.PaymentReport.action=this.value" event="onchange"> |
| <drop-down> |
| <option key="paymentReportHtml" description="text/html"></option> |
| <option key="paymentReportPdf" description="application/pdf"></option> |
| <!--option key="application/vnd.ms-excel">application/vnd.ms-excel</option> |
| <option key="application/vnd.ms-word">application/vnd.ms-word</option> |
| <option key="application/vnd.ms-powerpoint">application/vnd.ms-powerpoint</option--> |
| </drop-down> |
| </field> |
| <field name="searchButton"><hidden/></field> |
| <field name="report" title="Report" widget-style="smallSubmit"><submit button-type="button"/></field> |
| </form> |
| </forms> |