update PO and LI components to use AttrDefsService
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 17 Aug 2020 19:04:35 +0000 (15:04 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 17 Aug 2020 19:05:50 +0000 (15:05 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/acq/provider/provider-invoices.component.ts
Open-ILS/src/eg2/src/app/staff/acq/provider/provider-purchase-orders.component.ts

index ec39a54..e35319f 100644 (file)
@@ -12,12 +12,13 @@ import {AuthService} from '@eg/core/auth.service';
 import {GridComponent} from '@eg/share/grid/grid.component';
 import {GridDataSource, GridCellTextGenerator} from '@eg/share/grid/grid';
 import {AcqSearchService, AcqSearchTerm, AcqSearch} from '../search/acq-search.service';
+import {AttrDefsService} from '../search/attr-defs.service';
 import {ProviderRecord, ProviderRecordService} from './provider-record.service';
 
 @Component({
   selector: 'eg-provider-invoices',
   templateUrl: 'provider-invoices.component.html',
-  providers: [AcqSearchService]
+  providers: [AcqSearchService, AttrDefsService]
 })
 export class ProviderInvoicesComponent implements OnInit {
 
index e764a73..1234153 100644 (file)
@@ -12,12 +12,13 @@ import {AuthService} from '@eg/core/auth.service';
 import {GridComponent} from '@eg/share/grid/grid.component';
 import {GridDataSource, GridCellTextGenerator} from '@eg/share/grid/grid';
 import {AcqSearchService, AcqSearchTerm, AcqSearch} from '../search/acq-search.service';
+import {AttrDefsService} from '../search/attr-defs.service';
 import {ProviderRecord, ProviderRecordService} from './provider-record.service';
 
 @Component({
   selector: 'eg-provider-purchase-orders',
   templateUrl: 'provider-purchase-orders.component.html',
-  providers: [AcqSearchService]
+  providers: [AcqSearchService, AttrDefsService]
 })
 export class ProviderPurchaseOrdersComponent implements OnInit {