<commit_before><?php
/**
 * payments_report index view
 * @author <NAME> <<EMAIL>>
 * @package jazzee
 * @subpackage payment
 */
$this->renderElement('form', array('form' => $form));
if ($payments) {?>
  <table id ='payments'>
    <caption><?php print $searchResultsDescription; ?>  </caption>
    <thead><tr><th>Payment Type</th><th>Last Update</th><th>ID</th><th>Last Name</th><th>First Name</th><th>Program</th><th>Cycle</th><th>Notes</th><th>Amount</th></tr></thead>
    <tbody><?php
      foreach ($payments as $payment) { ?>
        <tr>
          <td><?php print $payment['type']['name']; ?></td>
          <td><?php print $payment['updatedAt']->format('c'); ?></td>
          <td applicantId='<?php print $payment['applicantId']; ?>' 
              programId='<?php print $payment['programId']; ?>'>
              <?php print $payment['applicantId'] ?>
          </td>
          <td><?php print $payment['applicantLastName']; ?></td>
          <td><?php print $payment['applicantFirstName']; ?></td>
          <td><?php print $payment['programName']; ?></td>
          <td><?php print $payment['cycleName']; ?></td>
          <td><?php foreach($payment['notes'] as $title => $value){?>
              <strong><?php print $title;?>:</strong>&nbsp;<?php print $value;?><br />
          <?php }?></td>
          <td><?php print $payment['amount']; ?></td>
          
        </tr><?php
      }?>
    </tbody>
      <tfoot>
        <tr>
          <th style="text-align:right" colspan="6">Total:</th>
          <th></th>
        </tr>
      </tfoot>
  </table><?php
} else if($searchResultsDescription){?>
  <p><?php print $searchResultsDescription; ?></p><?php 
}<commit_msg>Fix total column location in payment report<commit_after><?php
/**
 * payments_report index view
 * @author <NAME> <<EMAIL>>
 * @package jazzee
 * @subpackage payment
 */
$this->renderElement('form', array('form' => $form));
if ($payments) {?>
  <table id ='payments'>
    <caption><?php print $searchResultsDescription; ?>  </caption>
    <thead><tr><th>Payment Type</th><th>Last Update</th><th>ID</th><th>Last Name</th><th>First Name</th><th>Program</th><th>Cycle</th><th>Notes</th><th>Amount</th></tr></thead>
    <tbody><?php
      foreach ($payments as $payment) { ?>
        <tr>
          <td><?php print $payment['type']['name']; ?></td>
          <td><?php print $payment['updatedAt']->format('c'); ?></td>
          <td applicantId='<?php print $payment['applicantId']; ?>' 
              programId='<?php print $payment['programId']; ?>'>
              <?php print $payment['applicantId'] ?>
          </td>
          <td><?php print $payment['applicantLastName']; ?></td>
          <td><?php print $payment['applicantFirstName']; ?></td>
          <td><?php print $payment['programName']; ?></td>
          <td><?php print $payment['cycleName']; ?></td>
          <td><?php foreach($payment['notes'] as $title => $value){?>
              <strong><?php print $title;?>:</strong>&nbsp;<?php print $value;?><br />
          <?php }?></td>
          <td><?php print $payment['amount']; ?></td>
          
        </tr><?php
      }?>
    </tbody>
      <tfoot>
        <tr>
          <th style="text-align:right" colspan="8">Total:</th>
          <th></th>
        </tr>
      </tfoot>
  </table><?php
} else if($searchResultsDescription){?>
  <p><?php print $searchResultsDescription; ?></p><?php 
}
{'fraction_non_alphanumeric': 0.23567631423508564, 'fraction_numerical': 0.0005906674542232723, 'mean_word_length': 2.952158693115519, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 0, '>': 179, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5386187', 'n_tokens_mistral': 1069, 'n_tokens_neox': 1089, 'n_words': 210}