mkozhukharenko / ums-frontend

ums-frontend
MIT License
1 stars 1 forks source link

Specoffer list #28

Open mkozhukharenko opened 8 years ago

mkozhukharenko commented 8 years ago

Specoffer list

API api/specoffers?timePeriodId=8&limit=300 timePeriodId query parameter should be present all the time! Filtering must be present as well (client-side)! (there no filter on a screenshot)

No pagination! We need to grab all list in one request. No "new specoffer btn", no "item per page chooser".

Click on single specoffer (e.g. with id = 132) will lead to open a new route

   <Route path="specoffer/list" />
   <Route path="specoffer/:id">
      <Route path='info'/>
      <Route path='subjects' />
      <Route path='benefits' />
      <Route path='waves' />
    </Route>

ENROLMENT LIST

Second view its a ENROLMENT LIST with API /api/enrolments?specOfferId=132&orderBy=createDate

SUGGESTIONS:

use this library for table layout

wee need a filtering by specoffer name (first priority)