Skip to main content Link Search Menu Expand Document (external link)

student.proforma.go

  • Contains student related functions for proforma.

#1

func getProformasForStudentHandler
  • Used to get proformas using recruitment cycle id.

Student RCID is fetched using the function:

func getStudentRCID(ctx)

Here SID refers to Student RCID.

A student recruitment cycle is fetched using the funciton:

func FetchStudent(ctx, sid, &student)
  • This takes SID and an empty array of type StudentRecruitmentCycle as parameters.

Here, SID refers to student RCID.

Finally, the proformas are fetched using the function:

func fetchProformaForEligibleStudent(ctx, rid, &student, &jps)
  • This takes RID , an empty array of type StudentRecruitmentCycle and an empty array of type Proforma as parameters.

Here, RID refers to recruitment cycle ID.

#2

func getProformaForStudentHandler
  • Used to get a proforma using proforma id.

Proforma is fetched using the function:

func fetchProformaForStudent(ctx, pid, &jp)
  • This takes PID and an empty array of type Proforma as parameters.

Here, PID refers to proforma ID.