<commit_before><div class="section section-invoice-head">
	<table class="table-header">
		<tbody>
			<tr>
				<td>
					<h1>INVOICE</h1>
				</td>

				<td>
					<table class="table-inline">
						<tbody><tr>
								<td>Period</td>

								<td><strong><?php echo Billrun_Util::billrunKeyToPeriodSpan($data->get('billrun_key'),$span_date_format); ?></strong></td>
							</tr>

							<tr>
								<td>Invoice#</td>

								<td><?php echo $data->get('invoice_id'); ?></td>
							</tr>

							<tr>
								<td>Print Date</td>

								<td><?php echo date($date_format); ?></td>
							</tr>
							<?php if (!empty($invoice_display_options['due_date']) && $data->get('due_date') ) { ?>
								<tr>
									<td>Due Date</td>
									<td><?php echo date($date_format, $data->get('due_date')->sec); ?></td>
								</tr>
							<?php } ?>
						</tbody></table>
				</td>
			</tr>
		</tbody><commit_msg>Display due date on the invoice by default<commit_after><div class="section section-invoice-head">
	<table class="table-header">
		<tbody>
			<tr>
				<td>
					<h1>INVOICE</h1>
				</td>

				<td>
					<table class="table-inline">
						<tbody><tr>
								<td>Period</td>

								<td><strong><?php echo Billrun_Util::billrunKeyToPeriodSpan($data->get('billrun_key'),$span_date_format); ?></strong></td>
							</tr>

							<tr>
								<td>Invoice#</td>

								<td><?php echo $data->get('invoice_id'); ?></td>
							</tr>

							<tr>
								<td>Print Date</td>

								<td><?php echo date($date_format); ?></td>
							</tr>
							<?php if ((!array_key_exists('due_date', $invoice_display_options) || !empty($invoice_display_options['due_date'])) && $data->get('due_date') ) { ?>
								<tr>
									<td>Due Date</td>
									<td><?php echo date($date_format, $data->get('due_date')->sec); ?></td>
								</tr>
							<?php } ?>
						</tbody></table>
				</td>
			</tr>
		</tbody>
{'fraction_non_alphanumeric': 0.222397476340694, 'fraction_numerical': 0.002103049421661409, 'mean_word_length': 2.416517055655296, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 109, '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': '7548853', 'n_tokens_mistral': 995, 'n_tokens_neox': 701, 'n_words': 114}