Details
- 
    Type:Sub-task 
- 
    Status: Done/Fixed
- 
    Priority:Major 
- 
    Resolution: Won't Do
- 
    Affects Version/s: HR-1.2
- 
    Fix Version/s: HR-1.3
- 
    Component/s: None
- 
    Labels:None
- 
        Sprint:Sprint 13c
Description
Please implement the following:
1) Add CRM_Core_Page class with the url 'civicrm/case/pipeline'
2) preProcess function should pull up a list of cases based on filters passed as url args. Ideally we should allow any case field to be a filter. api.case.getfields ought to return them all.
For example civicrm/case/pipeline?case_type_id=2 ought to pull up all cases of type 2
and civicrm/case/pipeline?vacancy_id=3 ought to pull up all cases with a certain vacancy (vacancy_id being the name of our custom field).
(note: custom field name changed in https://github.com/civicrm/civihr/pull/470)
3) Get count of cases by status. We'll also need the names of the associated contacts.
4) function run() should implement a standard tabHeader, with one tab for each case status. See templates/CRM/common/TabHeader.js and templates/CRM/common/TabHeader.tpl
That's it for now, you're basically just doing the very top (blue box) of http://wiki.civicrm.org/confluence/display/HR/Recruitment+-+Mockup+-+Pipeline as jQuery tabs.