$protege_status = 'Full Paid'; if (count($order_items) == 1 && $item['product_id'] == 542) { $protege_status = 'Deposit Paid'; $protege_course_start = '-'; } } } ?> <tr id="" class="iedit bsalted-proposal-row"> <th scope="row" class="check-column"> </th> <td> <?php echo User::getFullName($protege_id); ?> </td> <td class="post-title page-title column-title"> <?php echo $protege_form[5]; ?> </td> <td class="author column-author"> <?php echo $protege_form[22]; ?> </td> <td class="post-title bsaled-proposal-prefered-dates "> <?php echo $protege_form[26];
public static function generate_assessment_entry($name, $user_id, $stage_id, $type) { $assessment_protege_fields = $type === 'savant' ? self::savant_assessment_relation() : self::protege_assessment_relation(); return self::create_assessment_entry(array('form_id' => $assessment_protege_fields[$name]['form-id'], $assessment_protege_fields[$name]['user-id'] => $user_id, $assessment_protege_fields[$name]['stage-id'] => $stage_id, $assessment_protege_fields[$name]['name'] => User::getFullName($user_id))); }