<commit_before><?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017 Stein & Gabelgaard ApS
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<openerp>
	<data>

		<report id="report_group_participants" string="Group Participant Report" model="event.registration"
			report_type="qweb-pdf" name="campos_fee.report_group_participants_template" />
			

		<template id="report_group_participants_template">
			<t t-call="report.html_container">
			 
				<t t-foreach="doc_ids" t-as="doc_id">
					<t
						t-raw="translate_doc(doc_id, doc_model,
							 				'partner_id.lang',
							 				'campos_fee.report_group_participants_detail_template')" />
				</t>
			</t>
		</template>
		
		
	
		<template id="campos_fee.report_group_participants_detail_template">
				<t t-call="report.external_layout">
					<div class="page">
						<div class="row">
							<div class="col-xs-5 col-xs-offset-7">
								<address t-field="o.partner_id"
									t-field-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}' />
								<p><strong>Printed at: </strong>
	                            <span t-esc="time.strftime('%Y-%m-%d')"/> 
	                            <span t-esc="time.strftime('%H:%M')"/></p>
							</div>
						</div>
						<div class="row">
							<div class="col-xs-12">
								<h2 class="text-center">Deltagerliste <span t-field="o.partner_id.name"/></h2>
							</div>
							<table class="table table-bordered">
								<thead>
									<tr>
										<th>Navn</th>
										<th>Lejrperiode</th>
										<th>Lejrdøgn</th>
										<th>Deltager betaling</th>
										<th>Lejrpladsleje</th>
									</tr>
								</thead>
								<tbody>
								
									<t t-foreach="o.participant_ids" t-as="par">
										<t t-if="par.rent_product_id">
											<tr>
												<td>
													<span t-field="par.name" />
												</td>
												
												<td>
													<span t-field="par.firstcampdate" /> - <span t-field="par.lastcampdate" /> 
												</td>
												<td class="text-right">
													<span t-field="par.nights" />
												</td>
												<td class="text-right">
													<span t-field="par.camp_price" />
												</td>
												<td class="text-right">
													<span t-field="par.rent_price" />
												</td>
												
											</tr>
										</t>
									</t>
									
											<tr>
												<td>
													
												</td>
												
												<td>
													 <commit_msg>Add age to Participant report<commit_after><?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017 Stein & Gabelgaard ApS
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<openerp>
	<data>

		<report id="report_group_participants" string="Group Participant Report" model="event.registration"
			report_type="qweb-pdf" name="campos_fee.report_group_participants_template" />
			

		<template id="report_group_participants_template">
			<t t-call="report.html_container">
			 
				<t t-foreach="doc_ids" t-as="doc_id">
					<t
						t-raw="translate_doc(doc_id, doc_model,
							 				'partner_id.lang',
							 				'campos_fee.report_group_participants_detail_template')" />
				</t>
			</t>
		</template>
		
		
	
		<template id="campos_fee.report_group_participants_detail_template">
				<t t-call="report.external_layout">
					<div class="page">
						<div class="row">
							<div class="col-xs-5 col-xs-offset-7">
								<address t-field="o.partner_id"
									t-field-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}' />
								<p><strong>Printed at: </strong>
	                            <span t-esc="time.strftime('%Y-%m-%d')"/> 
	                            <span t-esc="time.strftime('%H:%M')"/></p>
							</div>
						</div>
						<div class="row">
							<div class="col-xs-12">
								<h2 class="text-center">Deltagerliste <span t-field="o.partner_id.name"/></h2>
							</div>
							<table class="table table-bordered">
								<thead>
									<tr>
										<th>Navn</th>
										<th>Alder</th>
										<th>Lejrperiode</th>
										<th>Lejrdøgn</th>
										<th>Deltager betaling</th>
										<th>Lejrpladsleje</th>
									</tr>
								</thead>
								<tbody>
								
									<t t-foreach="o.participant_ids" t-as="par">
										<t t-if="par.rent_product_id">
											<tr>
												<td>
													<span t-field="par.name" />
												</td>
												<td class="text-right">
													<span t-field="par.camp_age" />
												</td>
												<td>
													<span t-field="par.firstcampdate" /> - <span t-field="par.lastcampdate" /> 
												</td>
												<td class="text-right">
													<span t-field="par.nights" />
												</td>
												<td class="text-right">
													<span t-field="par.camp_price" />
												</td>
												<td class="text-right">
													<span t-field="par.rent_price" />
												</td>
												
											</tr>
										</t>
									</t>
									
											<tr>
												<td>
													
												</td>
												
												<td>
													 
{'fraction_non_alphanumeric': 0.1690195320054148, 'fraction_numerical': 0.0058015857667762525, 'mean_word_length': 1.6253807106598985, 'pattern_counts': {'":': 6, '<': 156, '<?xml version=': 2, '>': 156, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '6430819', 'n_tokens_mistral': 2918, 'n_tokens_neox': 1767, 'n_words': 266}