first pass at AcqSearchService
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 1 Nov 2019 15:16:26 +0000 (11:16 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 16 Jan 2020 21:38:28 +0000 (16:38 -0500)
commitdd1c4bf09dd24f2bbb199885f0fb42126fb2c0a2
tree949571c0c2890b6ed62862d7fe0a0f87d7bac4b1
parentc6cfc9ba4dcc3965c1704f0978253ad1f8a82114
first pass at AcqSearchService

This adds AcqSearchService, which knows how to produce
a GridDataSource of the appropriate type and default
search parameters and options. This also adds results
components for purchase orders, invoices, and selection lists.
Note that the new results components don't customize
the columns that are displayed.

AcqSearchService is intentionally _not_ set up as a singleton,
and instead is used as a provider by the four results components.
This can be changed if a reason turns up later to have the service
retain some state for the duration of the application session
(as opposed to the duration of the results component; note that this
may mean that the results component will need to embed the search
form component so that it can readily share the grid data source
with it).

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.component.html
Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.component.ts
Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.module.ts
Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.service.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/acq/search/invoice-results.component.html [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/acq/search/invoice-results.component.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/acq/search/lineitem-results.component.ts
Open-ILS/src/eg2/src/app/staff/acq/search/picklist-results.component.html [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/acq/search/picklist-results.component.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.html [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.ts [new file with mode: 0644]