LP1902939 Student Card Integration - UI Field Order
authorTerran McCanna <tmccanna@georgialibraries.org>
Thu, 8 Jul 2021 16:46:53 +0000 (12:46 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2022 20:08:02 +0000 (15:08 -0500)
Add field order for school district & school admin grids
and modals.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/eg2/src/app/staff/admin/server/routing.module.ts

index caadbcb..99a0303 100644 (file)
@@ -70,6 +70,22 @@ const routes: Routes = [{
     data: [{schema: 'asset',
         table: 'call_number_suffix', readonlyFields: 'label_sortkey'}]
 }, {
+    path: 'student_card/district',
+    component: BasicAdminPageComponent,
+    data: [{
+        schema: 'student_card',
+        table: 'district',
+        fieldOrder: 'id,active,name,code,contact_name,contact_email,file_dir,exceptions_dir,state_id'
+    }]
+}, {
+    path: 'student_card/school',
+    component: BasicAdminPageComponent,
+    data: [{
+        schema: 'student_card',
+        table: 'school',
+        fieldOrder: 'id,district_id,name,addr_street_1,addr_street_2,addr_city,addr_county,addr_state,addr_post_code,grades,home_ou,eg_perm_group,state_id'
+    }]
+}, {
     path: ':schema/:table',
     component: BasicAdminPageComponent
 }];