<commit_before><style>
html {
  font-size: 62.5%;
  width:{{paperSize.width}};
  zoom: .75;
}

body {
  width:{{paperSize.width}};
  padding: 0;
  margin: 0;
  font-family: Lato,Helvetica,sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 1.5;
}

.page {
  width: {{paperSize.width}};
  height: {{paperSize.height}};
  overflow: hidden;
  box-sizing: border-box;
  padding: {{paperSize.margin.top}} {{paperSize.margin.left}};
  overflow: hidden;
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
}

h1 {
  font-size: 22px;
  margin-bottom: 6px;
}

h2 {
  font-size: 16px;
  margin-top: 0px;
  margin-bottom: 24px;
}

.footer {
  text-align: center;
  font-size: 9pt;
}

table {
  margin: 10px;
}

.preview {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.category th, .expenseTitleDescription th {
  width: 60px;
}

th, td {
  text-align: left;
  font-size: 9pt;
}

td.tdpadding {
  width: 10px;
}

.amountDetails {
  float: left;
}

.category {
  float: left;
  margin-right: 20px;
}

.expenseTitleDescription {
  clear: both;
}

.notes { 
  font-size: 8pt;
}

.muted {
  color: #333;
  font-size: 9pt;
}

.no-attachmentsblack {
  color: #4e4e4e;
  font-style: italic;
}
</style>

<div id="document">

 {{#each expensesPerPage}}

  <div class="page">
    <h1>{{@root.host.name}} expense receipts</h1>
    <h2>{{@root.month}} {{@root.year}} - page {{{increment @index}}}/{{../expensesPerPage.length}}</h2>

    <table width="100%" border=0 class="small-table">
      <tr>
        <th>date</th>
        <th>collective</th>
        <th>amount</th>
        <th nowrap>net amount*</th>
        <th>description</th>
        <th align="center">page</th>
      </tr>
    {{#each this}}
      <tr>
        <td valign="top">{{{moment createdAt format="MM/DD"}}}</td>
        <td valign="top"><a href="{{@root.config.host.website}}/{{collective.slug}}">{{collective.shortSlug}}</a></td>
        <td valign="top" align="right" valign="top" nowrap class="{{type}}">{{{currency amount currency=collective.currency precision=2}}}</td>
        <td valign="top" align="right" valign="top" nowrap class="{{type}}">{{{currency netAmountInHostCurrency currency=../host.currency precision=2}}}{{#if notes}}**{{/if}}</td>    
        <td valign="top" width="100%">{{description}}</td>
        <td valign="top" align="center">{{page}}</td>
      </tr>
    {{else}}
      No expense submitted. 
    {{/each}}
    </table>

    <p class="muted">
      * Net amount in {{host.currency}} after payment processor fees, host fees, and platform fees.
      {{#if @root.notes}}<br />** {{@root.notes}}{{/if}}
    </p>

  </div>
  {{/each}}

{{#each expensesPerPage}}
  {{#each this}}
    <div class="page">

      <div class="header" style="overflow: hidden;z-index:10; min-height: 150px;">
        <table class="category">
          <tr>
            <th>Date</th>
            <td class="tdpadding" width=30>&nbsp;&nbsp;</td>
            <td nowrap>{{{moment createdAt format="YYYY-MM-DD"}}}</td>
          </tr>
          <tr><th>Collective</th><td></td><td><a href="https://opencollective.com/{{collective.slug}}">{{collective.slug}}</a></td></tr>
          <tr><th>Category</th><td></td><td nowrap>{{Expense.category}}</td></tr>
        </table>
        <table class="amountDetails">
          <tr>
            <th>Amount</th>
            <td class="tdpadding" width=30>&nbsp;&nbsp;</td>
            <td>{{{currency amount currency=currency precision=2}}}</td>
          </tr>
          <tr>
            <th>Fees</th>
            <td class="tdpadding" width=30>&nbsp;&nbsp;</td>
            <td>-{{{currency paymentProcessorFeeInHostCurrency <EMAIL> precision=2}}}</td>
          </tr>
          <tr><th nowrap>Net amount in {{@root.host.currency}}</th><td></td><td>{{{currency netAmountInHostCurrency <EMAIL> precision=2}}}{{#if note}}*{{/if}}</td></tr>
          <tr><th nowrap>Payout method</th><td></td><td nowrap>{{Expense.payoutMethod}}</td></tr>
          <tr><th>Recipient</th><td></td><td nowrap><a href="https://opencollective.com/{{Expense.fromCollective.slug}}">{{Expense.fromCollective.name}}</a></td></tr>
        </table>
        <table class="expenseTitleDescription">
          <tr>
            <th valign="top">Description</th>
            <td class="tdpadding" width=30>&nbsp;&nbsp;</td>
            <td>{{Expense.description}}</td>
          </tr>
          {{#if notes}}
          <tr>
            <th valign="top">Notes</th>
            <td class="tdpadding" width=30>&nbsp;&nbsp;</td>
            <td class="notes">{{notes}})</td>
          </tr>
          {{/if}}
        </table>
      </div><commit_msg>fix(host-report): display expense's payout method<commit_after><style>
html {
  font-size: 62.5%;
  width:{{paperSize.width}};
  zoom: .75;
}

body {
  width:{{paperSize.width}};
  padding: 0;
  margin: 0;
  font-family: Lato,Helvetica,sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 1.5;
}

.page {
  width: {{paperSize.width}};
  height: {{paperSize.height}};
  overflow: hidden;
  box-sizing: border-box;
  padding: {{paperSize.margin.top}} {{paperSize.margin.left}};
  overflow: hidden;
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
}

h1 {
  font-size: 22px;
  margin-bottom: 6px;
}

h2 {
  font-size: 16px;
  margin-top: 0px;
  margin-bottom: 24px;
}

.footer {
  text-align: center;
  font-size: 9pt;
}

table {
  margin: 10px;
}

.preview {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.category th, .expenseTitleDescription th {
  width: 60px;
}

th, td {
  text-align: left;
  font-size: 9pt;
}

td.tdpadding {
  width: 10px;
}

.amountDetails {
  float: left;
}

.category {
  float: left;
  margin-right: 20px;
}

.expenseTitleDescription {
  clear: both;
}

.notes { 
  font-size: 8pt;
}

.muted {
  color: #333;
  font-size: 9pt;
}

.no-attachmentsblack {
  color: #4e4e4e;
  font-style: italic;
}
</style>

<div id="document">

 {{#each expensesPerPage}}

  <div class="page">
    <h1>{{@root.host.name}} expense receipts</h1>
    <h2>{{@root.month}} {{@root.year}} - page {{{increment @index}}}/{{../expensesPerPage.length}}</h2>

    <table width="100%" border=0 class="small-table">
      <tr>
        <th>date</th>
        <th>collective</th>
        <th>amount</th>
        <th nowrap>net amount*</th>
        <th>description</th>
        <th align="center">page</th>
      </tr>
    {{#each this}}
      <tr>
        <td valign="top">{{{moment createdAt format="MM/DD"}}}</td>
        <td valign="top"><a href="{{@root.config.host.website}}/{{collective.slug}}">{{collective.shortSlug}}</a></td>
        <td valign="top" align="right" valign="top" nowrap class="{{type}}">{{{currency amount currency=collective.currency precision=2}}}</td>
        <td valign="top" align="right" valign="top" nowrap class="{{type}}">{{{currency netAmountInHostCurrency currency=../host.currency precision=2}}}{{#if notes}}**{{/if}}</td>    
        <td valign="top" width="100%">{{description}}</td>
        <td valign="top" align="center">{{page}}</td>
      </tr>
    {{else}}
      No expense submitted. 
    {{/each}}
    </table>

    <p class="muted">
      * Net amount in {{host.currency}} after payment processor fees, host fees, and platform fees.
      {{#if @root.notes}}<br />** {{@root.notes}}{{/if}}
    </p>

  </div>
  {{/each}}

{{#each expensesPerPage}}
  {{#each this}}
    <div class="page">

      <div class="header" style="overflow: hidden;z-index:10; min-height: 150px;">
        <table class="category">
          <tr>
            <th>Date</th>
            <td class="tdpadding" width=30>&nbsp;&nbsp;</td>
            <td nowrap>{{{moment createdAt format="YYYY-MM-DD"}}}</td>
          </tr>
          <tr><th>Collective</th><td></td><td><a href="https://opencollective.com/{{collective.slug}}">{{collective.slug}}</a></td></tr>
          <tr><th>Category</th><td></td><td nowrap>{{Expense.category}}</td></tr>
        </table>
        <table class="amountDetails">
          <tr>
            <th>Amount</th>
            <td class="tdpadding" width=30>&nbsp;&nbsp;</td>
            <td>{{{currency amount currency=currency precision=2}}}</td>
          </tr>
          <tr>
            <th>Fees</th>
            <td class="tdpadding" width=30>&nbsp;&nbsp;</td>
            <td>-{{{currency paymentProcessorFeeInHostCurrency <EMAIL> precision=2}}}</td>
          </tr>
          <tr><th nowrap>Net amount in {{@root.host.currency}}</th><td></td><td>{{{currency netAmountInHostCurrency currency=@<EMAIL> precision=2}}}{{#if note}}*{{/if}}</td></tr>
          <tr><th nowrap>Payout method</th><td></td><td nowrap>{{Expense.legacyPayoutMethod}}</td></tr>
          <tr><th>Recipient</th><td></td><td nowrap><a href="https://opencollective.com/{{Expense.fromCollective.slug}}">{{Expense.fromCollective.name}}</a></td></tr>
        </table>
        <table class="expenseTitleDescription">
          <tr>
            <th valign="top">Description</th>
            <td class="tdpadding" width=30>&nbsp;&nbsp;</td>
            <td>{{Expense.description}}</td>
          </tr>
          {{#if notes}}
          <tr>
            <th valign="top">Notes</th>
            <td class="tdpadding" width=30>&nbsp;&nbsp;</td>
            <td class="notes">{{notes}})</td>
          </tr>
          {{/if}}
        </table>
      </div>
{'fraction_non_alphanumeric': 0.21115996649916247, 'fraction_numerical': 0.01654103852596315, 'mean_word_length': 2.858239095315024, 'pattern_counts': {'":': 0, '<': 281, '<?xml version=': 0, '>': 281, 'https://': 4, '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': '4091458', 'n_tokens_mistral': 3549, 'n_tokens_neox': 3347, 'n_words': 599}