Skip to content

Commit b70aed1

Browse files
committed
Use some of the new form-list features on various screens
1 parent 53765b7 commit b70aed1

File tree

9 files changed

+31
-37
lines changed

9 files changed

+31
-37
lines changed

screen/SimpleScreens/Accounting/FinancialAccount/FindFinancialAccount.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ along with this software (see the LICENSE.md file). If not, see
5959
</form-single>
6060
</container-dialog>
6161

62-
<form-list name="FinancialAccountList" list="financialAccountList" skip-form="true">
63-
62+
<form-list name="FinancialAccountList" list="financialAccountList" skip-form="true" header-dialog="true"
63+
select-columns="true" saved-finds="true" show-csv-button="true">
6464
<field name="finAccountTypeId">
6565
<header-field title="Type" show-order-by="true">
6666
<drop-down allow-empty="true">

screen/SimpleScreens/Accounting/FindJournal.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ along with this software (see the LICENSE.md file). If not, see
5151
</form-single>
5252
</container-dialog>
5353

54-
<form-list name="TransactionList" list="glJournalList" transition="updateGlJournal">
54+
<form-list name="TransactionList" list="glJournalList" transition="updateGlJournal" header-dialog="true"
55+
select-columns="true" saved-finds="true" show-csv-button="true">
5556
<field name="glJournalId">
5657
<header-field title="ID" show-order-by="true"><text-find size="10" hide-options="true"/></header-field>
5758
<default-field><display/></default-field>

screen/SimpleScreens/Accounting/Invoice/FindInvoice.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ along with this software (see the LICENSE.md file). If not, see
213213
</container-dialog>
214214
</container>
215215

216-
<form-list name="InvoiceList" list="invoiceList" skip-form="true">
216+
<form-list name="InvoiceList" list="invoiceList" skip-form="true" header-dialog="true" select-columns="true"
217+
saved-finds="true" show-csv-button="true">
217218
<row-actions>
218219
<service-call name="mantle.account.InvoiceServices.get#InvoiceTotal" in-map="[invoiceId:invoiceId]" out-map="context"/>
219220
</row-actions>

screen/SimpleScreens/Accounting/Payment/FindPayment.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ along with this software (see the LICENSE.md file). If not, see
5959
</form-single>
6060
</container-dialog>
6161

62-
<form-list name="PaymentList" list="paymentList" skip-form="true">
62+
<form-list name="PaymentList" list="paymentList" skip-form="true" header-dialog="true" select-columns="true"
63+
saved-finds="true" show-csv-button="true">
6364
<field name="editPaymentLink"><header-field show-order-by="case-insensitive" title="Edit"/><default-field>
6465
<link url="editPayment" text="Edit ${paymentId}" link-type="anchor"/>
6566
</default-field></field>

screen/SimpleScreens/Accounting/TimePeriod/FindTimePeriod.xml

Lines changed: 15 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ along with this software (see the LICENSE.md file). If not, see
2727
</entity-find>
2828
</actions>
2929
<widgets>
30-
<form-list name="TimePeriodList" list="timePeriodList" skip-form="true">
30+
<form-list name="TimePeriodList" list="timePeriodList" skip-form="true" header-dialog="true" select-columns="true"
31+
saved-finds="true" show-csv-button="true">
3132
<field name="partyId">
3233
<header-field title="Organization">
3334
<drop-down allow-empty="true">
@@ -39,34 +40,24 @@ along with this software (see the LICENSE.md file). If not, see
3940
</entity-find></entity-options>
4041
</drop-down>
4142
</header-field>
42-
<default-field>
43-
<display-entity entity-name="mantle.party.PartyDetail" also-hidden="false" key-field-name="partyId"
44-
text="${organizationName?:''} ${firstName?:''} ${lastName?:''} [${pseudoId}]"/>
45-
</default-field>
46-
</field>
47-
<field name="periodName">
48-
<header-field show-order-by="true"/>
49-
<default-field><display/></default-field>
43+
<default-field><display-entity entity-name="mantle.party.PartyDetail" also-hidden="false" key-field-name="partyId"
44+
text="${organizationName?:''} ${firstName?:''} ${lastName?:''} [${pseudoId}]"/></default-field>
5045
</field>
46+
<field name="periodName"><header-field show-order-by="true"/>
47+
<default-field><display/></default-field></field>
5148
<field name="timePeriodTypeId">
5249
<header-field title="Type" show-order-by="true">
5350
<drop-down allow-empty="true"><option key="FiscalYear" text="Year"/>
5451
<option key="FiscalQuarter" text="Quarter"/><option key="FiscalMonth" text="Month"/></drop-down>
5552
</header-field>
5653
<default-field><display-entity entity-name="mantle.party.time.TimePeriodType"/></default-field>
5754
</field>
58-
<field name="periodNum">
59-
<header-field show-order-by="true"/>
60-
<default-field><display format="####"/></default-field>
61-
</field>
62-
<field name="fromDate">
63-
<header-field show-order-by="true"/>
64-
<default-field><display/></default-field>
65-
</field>
66-
<field name="thruDate">
67-
<header-field show-order-by="true"><date-find type="date"/></header-field>
68-
<default-field><display/></default-field>
69-
</field>
55+
<field name="periodNum"><header-field show-order-by="true"/>
56+
<default-field><display format="####"/></default-field></field>
57+
<field name="fromDate"><header-field show-order-by="true"/>
58+
<default-field><display/></default-field></field>
59+
<field name="thruDate"><header-field show-order-by="true"><date-find type="date"/></header-field>
60+
<default-field><display/></default-field></field>
7061
<field name="isClosed">
7162
<header-field title="Closed"><drop-down allow-empty="true"><option key="Y"/><option key="N"/></drop-down></header-field>
7263
<default-field><display/></default-field>
@@ -81,13 +72,9 @@ along with this software (see the LICENSE.md file). If not, see
8172
<link url="editTimePeriod" text="Previous" parameter-map="[timePeriodId:previousPeriodId]"/></conditional-field>
8273
<default-field><display text=" "/></default-field>
8374
</field>
84-
<field name="accounts">
85-
<default-field><link url="viewPeriodGlAccounts" text="Accounts"/></default-field>
86-
</field>
87-
<field name="searchButton">
88-
<header-field title="Find"><submit/></header-field>
89-
<default-field><link url="editTimePeriod" text="View ${timePeriodId}"/></default-field>
90-
</field>
75+
<field name="accounts"><default-field><link url="viewPeriodGlAccounts" text="Accounts"/></default-field></field>
76+
<field name="searchButton"><header-field title="Find"><submit/></header-field>
77+
<default-field><link url="editTimePeriod" text="View ${timePeriodId}"/></default-field></field>
9178

9279
<form-list-column><field-ref name="partyId"/><field-ref name="periodName"/></form-list-column>
9380
<form-list-column><field-ref name="timePeriodTypeId"/><field-ref name="periodNum"/></form-list-column>

screen/SimpleScreens/Accounting/Transaction/FindTransaction.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ along with this software (see the LICENSE.md file). If not, see
7777
</container-dialog>
7878

7979

80-
<form-list name="TransactionList" list="acctgTransList" skip-form="true">
80+
<form-list name="TransactionList" list="acctgTransList" skip-form="true" header-dialog="true" select-columns="true"
81+
saved-finds="true" show-csv-button="true">
8182
<row-actions>
8283
<service-call name="mantle.ledger.LedgerServices.calculate#AcctgTransTrialBalance"
8384
in-map="[acctgTransId:acctgTransId]" out-map="context"/>

screen/SimpleScreens/Accounting/Transaction/FindTransactionEntry.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ along with this software (see the LICENSE.md file). If not, see
3737
</entity-find>
3838
</actions>
3939
<widgets>
40-
<form-list name="TransactionEntryList" list="acctgTransEntryList" skip-form="true">
40+
<form-list name="TransactionEntryList" list="acctgTransEntryList" skip-form="true" header-dialog="true"
41+
select-columns="true" saved-finds="true" show-csv-button="true">
4142
<field name="editTransactionLink"><header-field show-order-by="case-insensitive" title="TX ID"/><default-field>
4243
<link url="editTransaction" text="${acctgTransId}" link-type="anchor"/>
4344
</default-field></field>

screen/SimpleScreens/Catalog/Product/FindProduct.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ along with this software (see the LICENSE.md file). If not, see
3535
</form-single>
3636
</container-dialog>
3737

38-
<form-list name="ProductsForm" list="productList" skip-form="true">
38+
<form-list name="ProductsForm" list="productList" skip-form="true" header-dialog="true" select-columns="true"
39+
saved-finds="true" show-csv-button="true">
3940
<field name="pseudoId">
4041
<header-field title="ID" show-order-by="case-insensitive"><text-find size="10" hide-options="true"/></header-field>
4142
<default-field><link url="editProduct" text="${pseudoId}" link-type="anchor"/></default-field>

screen/SimpleScreens/Facility/FindFacility.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ along with this software (see the LICENSE.md file). If not, see
4747
</form-single>
4848
</container-dialog>
4949

50-
<form-list name="FacilityListForm" list="facilityList" skip-form="true">
50+
<form-list name="FacilityListForm" list="facilityList" skip-form="true" header-dialog="true" select-columns="true"
51+
saved-finds="true" show-csv-button="true">
5152
<field name="pseudoId">
5253
<header-field title="Facility ID" show-order-by="case-insensitive"><text-find size="15" hide-options="true"/></header-field>
5354
<default-field><link url="editFacility" text="${pseudoId}"/></default-field>

0 commit comments

Comments
 (0)