<commit_before><%@ page import="org.openmrs.module.openhmis.cashier.web.CashierWebConstants" %>
<%@ page import="org.openmrs.module.openhmis.cashier.web.PrivilegeWebConstants" %>
<%@ include file="/WEB-INF/template/include.jsp" %>
<%--
  ~ The contents of this file are subject to the OpenMRS Public License
  ~ Version 2.0 (the "License"); you may not use this file except in
  ~ compliance with the License. You may obtain a copy of the License at
  ~ http://license.openmrs.org
  ~
  ~ Software distributed under the License is distributed on an "AS IS"
  ~ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
  ~ the License for the specific language governing rights and
  ~ limitations under the License.
  ~
  ~ Copyright (C) OpenHMIS.  All Rights Reserved.
  --%>
<openmrs:require allPrivileges="<%=PrivilegeWebConstants.SETTING_PAGE_PRIVILEGE%>" otherwise="/login.htm"
                 redirect="<%= CashierWebConstants.CASHIER_SETTINGS_PAGE %>"/>
<%@ include file="/WEB-INF/template/header.jsp" %>
<%@ include file="template/localHeader.jsp" %>
<%@ include file="template/linksHeader.jsp" %>
<h2>
	<spring:message code="openhmis.cashier.admin.cashierSettings"/>
</h2>

<form:form method="POST" modelAttribute="cashierSettings">
	<b class="boxHeader"><spring:message code="openhmis.cashier.setting.header" /></b>

	<div class="box">
		<table>
			<tr>
				<td style="width: 70%;">
					<spring:message code="openhmis.cashier.setting.adjustmentReason.field.header"/>
					<br/>
					<span class="description"><spring:message code="openhmis.cashier.setting.adjustmentReason.field.description"/></span>
				</td>
				<td>
					<spring:bind path="adjustmentReasonField">
					<input id="adjustmentReasonField" name="adjustmentReasonField" type="checkbox"
					       <c:if test="${cashierSettings.adjustmentReasonField}">checked</c:if> />
						<label for="adjustmentReasonField"><spring:message code="openhmis.cashier.setting.adjustmentReason.field.header"/></label>
					</spring:bind>
				</td>
			</tr>
			<tr>
				<td style="width: 70%;">
					<spring:message code="openhmis.cashier.setting.billAdjustment.field.header"/>
					<br/>
					<span class="description"><spring:message code="openhmis.cashier.setting.billAdjustment.field.description"/></span>
				</td>
				<td>
					<spring:bind path="allowBillAdjustment">
						<input id="allowBillAdjustment" name="allowBillAdjustment" type="checkbox" <c:if
								       test="${cashierSettings.allowBillAdjustment}">checked</c:if> />
						<label for="allowBillAdjustment"><spring:message code="openhmis.cashier.setting.billAdjustment.field.header"/></label>
					</spring:bind>
				</td>
			</tr>
			<tr>
				<td style="width: 70%;">
					<spring:message code="openhmis.cashier.setting.autofillPaymentAmount.field.header"/>
					<br/>
					<span class="description"><spring:message code="openhmis.cashier.setting.autofillPaymentAmount.field.description"/> </span>
				</td>
				<td>
					<spring:bind path="autoFillPaymentAmount">
						<input id="autoFillPaymentAmount" name="autoFillPaymentAmount" type="checkbox" <c:if
								       test="${cashierSettings.autoFillPaymentAmount}">checked</c:if> />
						<label for="autoFillPaymentAmount"><spring:message code="openhmis.cashier.setting.autofillPaymentAmount.field.header"/></label>
					</spring:bind>
				</td>
			</tr>
			<tr>
				<td style="width: 70%;">
					<spring:message code="openhmis.cashier.setting.timesheet.field.header"/>
					<br/>
					<span class="description"><spring:message code="openhmis.cashier.setting.timesheet.field.description"/></span>
				</td>
				<td>
					<spring:bind path="cashierTimesheetRequired">
						<input id="cashierTimesheetRequired" name="cashierTimesheetRequired" type="checkbox" <c:if
								       test="${cashierSettings.cashierTimesheetRequired}">checked</c:if> />
						<label for="cashierTimesheetRequired"><spring:message code="openhmis.cashier.setting.timesheet.field.header"/></label>
					</spring:bind>
				</td>
			</tr>
			<tr>
				<td style="width: 70%;">
					<spring:message code="openhmis.cashier.setting.receiptReportId.field.header"/>
					<br/><commit_msg>fixing the reformating in some <c:if> tags<commit_after><%@ page import="org.openmrs.module.openhmis.cashier.web.CashierWebConstants" %>
<%@ page import="org.openmrs.module.openhmis.cashier.web.PrivilegeWebConstants" %>
<%@ include file="/WEB-INF/template/include.jsp" %>
<%--
  ~ The contents of this file are subject to the OpenMRS Public License
  ~ Version 2.0 (the "License"); you may not use this file except in
  ~ compliance with the License. You may obtain a copy of the License at
  ~ http://license.openmrs.org
  ~
  ~ Software distributed under the License is distributed on an "AS IS"
  ~ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
  ~ the License for the specific language governing rights and
  ~ limitations under the License.
  ~
  ~ Copyright (C) OpenHMIS.  All Rights Reserved.
  --%>
<openmrs:require allPrivileges="<%=PrivilegeWebConstants.SETTING_PAGE_PRIVILEGE%>" otherwise="/login.htm"
                 redirect="<%= CashierWebConstants.CASHIER_SETTINGS_PAGE %>"/>
<%@ include file="/WEB-INF/template/header.jsp" %>
<%@ include file="template/localHeader.jsp" %>
<%@ include file="template/linksHeader.jsp" %>
<h2>
	<spring:message code="openhmis.cashier.admin.cashierSettings"/>
</h2>

<form:form method="POST" modelAttribute="cashierSettings">
	<b class="boxHeader"><spring:message code="openhmis.cashier.setting.header" /></b>

	<div class="box">
		<table>
			<tr>
				<td style="width: 70%;">
					<spring:message code="openhmis.cashier.setting.adjustmentReason.field.header"/>
					<br/>
					<span class="description"><spring:message code="openhmis.cashier.setting.adjustmentReason.field.description"/></span>
				</td>
				<td>
					<spring:bind path="adjustmentReasonField">
					<input id="adjustmentReasonField" name="adjustmentReasonField" type="checkbox"
					       <c:if test="${cashierSettings.adjustmentReasonField}">checked</c:if> />
						<label for="adjustmentReasonField"><spring:message code="openhmis.cashier.setting.adjustmentReason.field.header"/></label>
					</spring:bind>
				</td>
			</tr>
			<tr>
				<td style="width: 70%;">
					<spring:message code="openhmis.cashier.setting.billAdjustment.field.header"/>
					<br/>
					<span class="description"><spring:message code="openhmis.cashier.setting.billAdjustment.field.description"/></span>
				</td>
				<td>
					<spring:bind path="allowBillAdjustment">
						<input id="allowBillAdjustment" name="allowBillAdjustment" type="checkbox"
						       <c:if test="${cashierSettings.allowBillAdjustment}">checked</c:if> />
						<label for="allowBillAdjustment"><spring:message code="openhmis.cashier.setting.billAdjustment.field.header"/></label>
					</spring:bind>
				</td>
			</tr>
			<tr>
				<td style="width: 70%;">
					<spring:message code="openhmis.cashier.setting.autofillPaymentAmount.field.header"/>
					<br/>
					<span class="description"><spring:message code="openhmis.cashier.setting.autofillPaymentAmount.field.description"/> </span>
				</td>
				<td>
					<spring:bind path="autoFillPaymentAmount">
						<input id="autoFillPaymentAmount" name="autoFillPaymentAmount" type="checkbox"
						       <c:if test="${cashierSettings.autoFillPaymentAmount}">checked</c:if> />
						<label for="autoFillPaymentAmount"><spring:message code="openhmis.cashier.setting.autofillPaymentAmount.field.header"/></label>
					</spring:bind>
				</td>
			</tr>
			<tr>
				<td style="width: 70%;">
					<spring:message code="openhmis.cashier.setting.timesheet.field.header"/>
					<br/>
					<span class="description"><spring:message code="openhmis.cashier.setting.timesheet.field.description"/></span>
				</td>
				<td>
					<spring:bind path="cashierTimesheetRequired">
						<input id="cashierTimesheetRequired" name="cashierTimesheetRequired" type="checkbox"
						       <c:if test="${cashierSettings.cashierTimesheetRequired}">checked</c:if> />
						<label for="cashierTimesheetRequired"><spring:message code="openhmis.cashier.setting.timesheet.field.header"/></label>
					</spring:bind>
				</td>
			</tr>
			<tr>
				<td style="width: 70%;">
					<spring:message code="openhmis.cashier.setting.receiptReportId.field.header"/>
					<br/>
{'fraction_non_alphanumeric': 0.16052347220554689, 'fraction_numerical': 0.003361748109016689, 'mean_word_length': 4.315890236119975, 'pattern_counts': {'":': 0, '<': 202, '<?xml version=': 0, '>': 202, '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': '5991336', 'n_tokens_mistral': 3165, 'n_tokens_neox': 2594, 'n_words': 451}