<commit_before>﻿<h2>Transactions</h2>

<table id="transactionTable" class="table table-bordered table-hover">
  <thead>
  <tr>
    <th>Date</th>
    <th>Value</th>
    <th>Reference</th>
    <th>Debit</th>
    <th>Credit</th>
  </tr>
  </thead>
</table>

@section scripts
{
  <script>
    $(document).ready(function() {
      $('#transactionTable').DataTable({
        ajax:
        {
          url: '/api/Core/Transaction',
          dataSrc: ''
        },
        columns:
        [
          { data: 'Date' },
          { data: 'Value' },
          {
            data: 'Reference',
            render:
            function (data, type, transaction) {
              return "<a href='/Core/Transaction/Edit/" + transaction.Id + "'>" + data + "</a>";
            }
          },<commit_msg>Transaction id col added.<commit_after>﻿<h2>Transactions</h2>

<table id="transactionTable" class="table table-bordered table-hover">
  <thead>
  <tr>
    <th>Id</th>
    <th>Date</th>
    <th>Value</th>
    <th>Reference</th>
    <th>Debit</th>
    <th>Credit</th>
  </tr>
  </thead>
</table>

@section scripts
{
  <script>
    $(document).ready(function() {
      $('#transactionTable').DataTable({
        ajax:
        {
          url: '/api/Core/Transaction',
          dataSrc: ''
        },
        columns:
        [
          {
            data: 'Id',
            render:
              function(data, type, transaction) {
                return "<a href='/Core/Transaction/Edit/" + transaction.Id + "'>" + data + "</a>";
              }
          },
          { data: 'Date' },
          { data: 'Value' },
          { data: 'Reference' },
{'fraction_non_alphanumeric': 0.1832620647525962, 'fraction_numerical': 0.002443494196701283, 'mean_word_length': 1.7119205298013245, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '1689852', 'n_tokens_mistral': 533, 'n_tokens_neox': 525, 'n_words': 91}