- Put dob, not age on the form. SFIAB doesn't seem to use age.

This commit is contained in:
dave 2009-09-25 19:48:42 +00:00
parent 74629b8b5b
commit 3d157f5341

View File

@ -88,9 +88,11 @@ function fair_additional_materials($fair, $award, $year)
$rep->addTextX("Name of Student: ________________________________________________________", $x); $rep->addTextX("Name of Student: ________________________________________________________", $x);
$rep->addTextX("{$s['firstname']} {$s['lastname']}", $x+1.25); $rep->addTextX("{$s['firstname']} {$s['lastname']}", $x+1.25);
$rep->nextLine(); $rep->nextLine();
$rep->addTextX("Grade: _____________ Age: _____________", $x); $rep->addTextX("Grade: _____________ Date of birth: _____________", $x);
$rep->addTextX("{$s['grade']}", $x+0.75); $rep->addTextX("{$s['grade']}", $x+0.75);
$rep->addTextX("{$s['age']}", $x+2.75); list($y,$m,$d) = split('-',$s['dateofbirth']);
$dob = date('M j, Y', mktime(0,0,0,$m,$d,$y));
$rep->addTextX("$dob", $x+3);
$rep->nextLine(); $rep->nextLine();
$rep->addTextX("School: ________________________________________________________________", $x); $rep->addTextX("School: ________________________________________________________________", $x);
$rep->addTextX("{$s['school']}", $x + 0.75); $rep->addTextX("{$s['school']}", $x + 0.75);