forked from science-ation/science-ation
- Put dob, not age on the form. SFIAB doesn't seem to use age.
This commit is contained in:
parent
74629b8b5b
commit
3d157f5341
@ -88,9 +88,11 @@ function fair_additional_materials($fair, $award, $year)
|
||||
$rep->addTextX("Name of Student: ________________________________________________________", $x);
|
||||
$rep->addTextX("{$s['firstname']} {$s['lastname']}", $x+1.25);
|
||||
$rep->nextLine();
|
||||
$rep->addTextX("Grade: _____________ Age: _____________", $x);
|
||||
$rep->addTextX("Grade: _____________ Date of birth: _____________", $x);
|
||||
$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->addTextX("School: ________________________________________________________________", $x);
|
||||
$rep->addTextX("{$s['school']}", $x + 0.75);
|
||||
|
Loading…
x
Reference in New Issue
Block a user