</tr>
            <tr>
        <th>Total Need </th>
             <td> 
        <?php 
$total_need = $assistance_needed - $self_help;
echo "\$" . number_format($total_need, 2);
?>
            </td>
            </tr>
        <tr>
        <td rowspan="2">La Casa</td>
        <th>La Casa Scholarship</th>
            <td> <?php 
echo "\$" . number_format($participant->lc_scholarship, 2);
echo la_casa_edit_data_gen_input($participant->lc_scholarship, 'loans_lc_scholarship_edit', 'edit_term loans');
?>
</td>
            </tr>
            <tr>
            <th>La Casa rent</th>
            <td> 
        <?php 
$nonzero_rent = $lc_rent - $participant->lc_scholarship;
if ($nonzero_rent > 0) {
    $rent_charged = $nonzero_rent / 9;
} else {
    $rent_charged = 0;
}
echo "\$" . number_format($rent_charged, 2);
?>
echo la_casa_edit_data_gen_input($participant->move_in_note, 'move_in_note_edit', 'edit_term');
?>
</td>

    <td><strong>Orientation Date </strong></td>
<td> <?php 
echo display_date($participant->orientation_date);
echo la_casa_edit_data_gen_input($participant->orientation_date, 'orientation_date_edit', 'edit_term date_popout', '(mm/dd/yyyy)');
?>
</td>
    </tr>
    <tr>
    <td><strong>Orientation Time </strong></td>
    <td> <?php 
echo $participant->orientation_time;
echo la_casa_edit_data_gen_input($participant->orientation_time, 'orientation_time_edit', 'edit_term');
?>
</td>
    </tr>        
    <tr>
    <td>
    <input type="button" value="Edit" onclick="$('.edit_term').toggle()">
    <input type="button" value="Save" onclick="
if (document.getElementById('mid_twenties').checked == true){
    var mid_twenties = 1;
}
if (document.getElementById('masters_degree').checked == true){
    var masters_degree = 1;
}
if (document.getElementById('married').checked == true){
    var married = 1;