<commit_before><html lang="en" xmlns="http://www.w3.org/1999/xhtml"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:sec="http://www.springframework.org/security/tags"
	xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="/layouts/standard.xhtml">
	<ui:define name="title">Expenses</ui:define>
	<ui:define name="body">
		<div class="col-sm-2">
			<h2>Expenses</h2>
			<h:outputText value="Click on an expense to see details." />
		</div>
		<div class="col-sm-8">
			<h:form id="expenses">
				<h:outputText id="noExpensesText" value="No Expenses Found"
					rendered="#{expenses.rowCount == 0}" />
				<div class="panel panel-default">
					<div class="panel-body">
				<h:dataTable id="expenses" value="#{expenses}" var="e"
					rendered="#{expenses.rowCount > 0}"
					styleClass="table table-striped  table-condensed">
					<h:column>
						<f:facet name="header">
							<h:outputText value="Description" />
						</f:facet>
						<h:commandLink id="viewExpenseDetail" action="viewdetail"
							value="#{e.description}" processIds="*">
							<f:param name="expenseId" value="#{e.id}" />
						</h:commandLink>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="Paid By" />
						</f:facet>
						<h:outputText value="#{e.paidBy}" />
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="Amount" />
						</f:facet>
						<div style="text-align: right">
							<h:outputText value="#{e.amount}">
								<f:convertNumber minIntegerDigits="1" maxFractionDigits="2"
									minFractionDigits="2" />
							</h:outputText>
						</div>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="Date" />
						</f:facet>
						<h:outputText value="#{e.date}">
							<f:convertDateTime pattern="MM/dd/yyyy" timeZone="EST" />
						</h:outputText>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="Settl. Id" />
						</f:facet>
						<a
							href="${request.contextPath}/et/reports/settlementSubReport.pdf?sid=#{e.settlementId}"
							target="blank">#{e.settlementId}</a>
					</h:column>
					<h:column>
						<f:facet name="header">
							<h:outputText value="Actions" />
						</f:facet>
						<div class="form-group form-actions">
							<h:commandButton id="editExpense" value="Edit"
								action="editExpense" styleClass="btn btn-primary btn-xs"
								processIds="*"
								rendered="#{(empty e.settlementId) and ((e.createdBy == currentUser.name) or (e.paidBy == currentUser.name))}">
								<f:param name="toBeEditedExpenseId" value="#{e.id}" />
							</h:commandButton>

							<h:commandButton id="deleteExpense" value="Delete" processIds="*"
								action="deleteExpense" styleClass="btn btn-danger btn-xs"
								rendered="#{(empty e.settlementId) and ((e.createdBy == currentUser.name) or (e.paidBy == currentUser.name))}">
								<f:param name="expenseId" value="#{e.id}" />
							</h:commandButton>

						</div>
					</h:column>
				</h:dataTable>
				</div>
				</div>
			</h:form>
		</div>
	</ui:define>
</ui:composition>
</html><commit_msg>minor fix<commit_after><html lang="en" xmlns="http://www.w3.org/1999/xhtml"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:sec="http://www.springframework.org/security/tags"
	xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="/layouts/standard.xhtml">
	<ui:define name="title">Expenses</ui:define>
	<ui:define name="body">
		<div class="col-sm-2">
			<h2>Expenses</h2>
			<h:outputText value="Click on an expense to see details." />
		</div>
		<div class="col-sm-8">
			<h:form id="expenses">
				<h:outputText id="noExpensesText" value="No Expenses Found"
					rendered="#{expenses.rowCount == 0}" />
				<div class="panel panel-default">
					<div class="panel-body">
						<h:dataTable id="expenses" value="#{expenses}" var="e"
							rendered="#{expenses.rowCount > 0}"
							styleClass="table table-striped  table-condensed">
							<h:column>
								<f:facet name="header">
									<h:outputText value="Description" />
								</f:facet>
								<h:commandLink id="viewExpenseDetail" action="viewdetail"
									value="#{e.description}" processIds="*">
									<f:param name="expenseId" value="#{e.id}" />
								</h:commandLink>
							</h:column>
							<h:column>
								<f:facet name="header">
									<h:outputText value="Paid By" />
								</f:facet>
								<h:outputText value="#{e.paidBy}" />
							</h:column>
							<h:column>
								<f:facet name="header">
									<h:outputText value="Amount" />
								</f:facet>
								<div style="text-align: right">
									<h:outputText value="#{e.amount}">
										<f:convertNumber minIntegerDigits="1" maxFractionDigits="2"
											minFractionDigits="2" />
									</h:outputText>
								</div>
							</h:column>
							<h:column>
								<f:facet name="header">
									<h:outputText value="Date" />
								</f:facet>
								<h:outputText value="#{e.date}">
									<f:convertDateTime pattern="MM/dd/yyyy" timeZone="EST" />
								</h:outputText>
							</h:column>
							<h:column>
								<f:facet name="header">
									<h:outputText value="Settl. Id" />
								</f:facet>
								<a
									href="${request.contextPath}/et/reports/settlementSubReport.pdf?sid=#{e.settlementId}"
									target="blank">#{e.settlementId}</a>
							</h:column>
							<h:column>
								<f:facet name="header">
									<h:outputText value="Actions" />
								</f:facet>
								<div class="form-group form-actions">
									<h:commandButton id="editExpense" value="Edit"
										action="editExpense" styleClass="btn btn-primary btn-xs"
										processIds="*"
										rendered="#{(empty e.settlementId) and ((e.createdBy == currentUser.name) or (e.paidBy == currentUser.name))}">
										<f:param name="toBeEditedExpenseId" value="#{e.id}" />
									</h:commandButton>

									<h:commandButton id="deleteExpense" value="Delete"
										processIds="*" action="deleteExpense"
										styleClass="btn btn-danger btn-xs"
										rendered="#{(empty e.settlementId) and ((e.createdBy == currentUser.name) or (e.paidBy == currentUser.name))}">
										<f:param name="expenseId" value="#{e.id}" />
									</h:commandButton>

								</div>
							</h:column>
						</h:dataTable>
					</div>
				</div>
			</h:form>
		</div>
	</ui:define>
</ui:composition>
</html>
{'fraction_non_alphanumeric': 0.19540747411076093, 'fraction_numerical': 0.00420231127119916, 'mean_word_length': 2.8631884057971013, 'pattern_counts': {'":': 0, '<': 155, '<?xml version=': 0, '>': 157, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 14}, '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': '7250573', 'n_tokens_mistral': 3258, 'n_tokens_neox': 2339, 'n_words': 358}