<commit_before><%--
 Copyright 2006-2007 The Kuali Foundation.
 
 Licensed under the Educational Community License, Version 1.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://www.opensource.org/licenses/ecl1.php
 
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
--%>

<%@ include file="/jsp/kfs/kfsTldHeader.jsp"%>

<kul:documentPage showDocumentInfo="true"
    documentTypeName="KualiSalaryExpenseTransferDocument"
    htmlFormAction="laborSalaryExpenseTransfer" renderMultipart="true"
    showTabButtons="true">

    <html:hidden property="financialBalanceTypeCode" />
    <kul:hiddenDocumentFields />
    <kul:documentOverview editingMode="${KualiForm.editingMode}" />
    <kul:tab tabTitle="Employee Lookup" defaultOpen="true"
        tabErrorKey="${Constants.EMPLOYEE_LOOKUP_ERRORS}">
        <div class="tab-container" align=center>
            <div class="h2-container"><b>Employee Lookup</b></div>
            <table cellpadding="0" cellspacing="0" class="datatable"
                summary="employee lookup">
    
              <tr>
                <kul:htmlAttributeHeaderCell
                    attributeEntry="${DataDictionary.UniversalUser.attributes.personPayrollIdentifier}"
                    horizontal="true"
                    forceRequired="true"
                    />
                <td>
                        <ld:employee userIdFieldName="emplid" 
                                  userNameFieldName="user.personName" 
                                  fieldConversions="personPayrollIdentifier:emplid"
                                  lookupParameters="emplid:personPayrollIdentifier,universityFiscalYear:universityFiscalYear"
                                  hasErrors="${hasErrors}"
                                  onblur="${onblur}"
                                  highlight="${addHighlighting}">
                            <jsp:attribute name="helpLink" trim="true">
                                <kul:help
                                    businessObjectClassName="${field.businessObjectClassName}"
                                    attributeName="${field.fieldHelpName}"
                                    altText="${field.fieldHelpSummary}" />      
                            </jsp:attribute>
                        </ld:employee>
 
                </td>
              </tr>
              <tr>
                <kul:htmlAttributeHeaderCell
                    horizontal="true"
                    forceRequired="false"
                    literalLabel="Last Queried Fiscal Year"
                    />
                <td>${KualiForm.universityFiscalYear}&nbsp;</td>
              </tr>
            </table>
                <p>
        </div>
    </kul:tab>

      <c:set var="copyMethod" value="" scope="request"/>
      <c:set var="actionInfixVar" value="" scope="request"/>
      <c:set var="accountingLineIndexVar" value="" scope="request"/>
	<fin:accountingLines editingMode="${KualiForm.editingMode}"
		editableAccounts="${KualiForm.editableAccounts}" inherit="false"
		optionalFields="positionNumber,payrollEndDateFiscalYear,payrollEndDateFiscalPeriodCode,payrollTotalHours:'S':fiscalObjectFringeOrSalaryCode">

      <jsp:attribute name="groupsOverride">
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="datatable">
        <fin:subheadingWithDetailToggleRow
            columnCount="${columnCount}"
             subheading="Accounting Lines"/>
        <ld:importedAccountingLineGroup
            isSource="true"
            columnCountUntilAmount="${columnCountUntilAmount}"
            columnCount="${columnCount}"
            optionalFields="${optionalFieldsMap}"
            extraRowFields="${extraSourceRowFieldsMap}"
            editingMode="${KualiForm.editingMode}"
            editableAccounts="${editableAccountsMap}"
            editableFields="${KualiForm.accountingLineEditableFields}"
            debitCreditAmount="${debitCreditAmountString}"
            currentBaseAmount="${currentBaseAmountString}"
            extraHiddenFields="${extraHiddenFieldsMap}"
            useCurrencyFormattedTotal="${useCurrencyFormattedTotalBoolean}"
            includeObjectTypeCode="${includeObjectTypeCodeBoolean}"
            displayMonthlyAmounts="${displayMonthlyAmountsBoolean}"
            forcedReadOnlyFields="${KualiForm.forcedReadOnlyFields}"
            accountingLineAttributes="${accountingLineAttributesMap}">
            <jsp:attribute name="importRowOverride">
                <html:image property="methodToCall.copyAllAccountingLines" src="${ConfigProperties.externalizable.images.url}tinybutton-copyall.gif" title="Copy all Source Accounting Lines" alt="Copy all Source Lines" styleClass="tinybutton"/>
                Import from Labor Ledger
                <gl:balanceInquiryLookup
                    boClassName="org.kuali.module.labor.bo.LedgerBalance"
                    actionPath="glBalanceInquiryLookup.do"
                    lookupParameters="emplid:emplid,financialBalanceTypeCode:financialBalanceTypeCode"
                    hideReturnLink="false" />
            </jsp:attribute>
            <jsp:attribute name="customActions">
                <c:set var="copyMethod" value="copyAccountingLine.line${accountingLineIndexVar}" scope="request" />
                <html:image property="methodToCall.${copyMethod}.anchoraccounting${actionInfixVar}Anchor" src="${ConfigProperties.kr.externalizable.images.url}tinybutton-copy2.gif" title="Copy an Accounting Line" alt="Copy an Accounting Line" styleClass="tinybutton"/>
            </jsp:attribute>
        </ld:importedAccountingLineGroup>

        <ld:importedAccountingLineGroup
            isSource="false"
            columnCountUntilAmount="${columnCountUntilAmount}"
            columnCount="${columnCount}"
            optionalFields="${optionalFieldsMap}"
            extraRowFields="${extraTargetRowFieldsMap}"
            editingMode="${KualiForm.editingMode}"
            editableAccounts="${editableAccountsMap}"
            editableFields="${editableFieldsMap}"
            debitCreditAmount="${debitCreditAmountString}"
            currentBaseAmount="${currentBaseAmountString}"
            extraHiddenFields="${extraHiddenFieldsMap}"
            useCurrencyFormattedTotal="${useCurrencyFormattedTotalBoolean}"
            includeObjectTypeCode="${includeObjectTypeCodeBoolean}"
            displayMonthlyAmounts="${displayMonthlyAmountsBoolean}"
            accountingLineAttributes="${accountingLineAttributesMap}">
            <jsp:attribute name="importRowOverride">
            </jsp:attribute>
         </ld:importedAccountingLineGroup>
      </table>
      </jsp:attribute>
    </fin:accountingLines>
    <ld:laborLedgerPendingEntries />
    <kul:notes />
    <kul:adHocRecipients />
    <kul:routeLog />
    <kul:panelFooter />
    <kul:documentControls transactionalDocument="true" />
</kul:documentPage>
<commit_msg>Checking in lookup parameter fix for SET. Lookup parameters were specified in the accountinglines optional fields! How did this happen<commit_after><%--
 Copyright 2006-2007 The Kuali Foundation.
 
 Licensed under the Educational Community License, Version 1.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://www.opensource.org/licenses/ecl1.php
 
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
--%>

<%@ include file="/jsp/kfs/kfsTldHeader.jsp"%>

<kul:documentPage showDocumentInfo="true"
    documentTypeName="KualiSalaryExpenseTransferDocument"
    htmlFormAction="laborSalaryExpenseTransfer" renderMultipart="true"
    showTabButtons="true">

    <html:hidden property="financialBalanceTypeCode" />
    <kul:hiddenDocumentFields />
    <kul:documentOverview editingMode="${KualiForm.editingMode}" />
    <kul:tab tabTitle="Employee Lookup" defaultOpen="true"
        tabErrorKey="${Constants.EMPLOYEE_LOOKUP_ERRORS}">
        <div class="tab-container" align=center>
            <div class="h2-container"><b>Employee Lookup</b></div>
            <table cellpadding="0" cellspacing="0" class="datatable"
                summary="employee lookup">
    
              <tr>
                <kul:htmlAttributeHeaderCell
                    attributeEntry="${DataDictionary.UniversalUser.attributes.personPayrollIdentifier}"
                    horizontal="true"
                    forceRequired="true"
                    />
                <td>
                        <ld:employee userIdFieldName="emplid" 
                                  userNameFieldName="user.personName" 
                                  fieldConversions="personPayrollIdentifier:emplid"
                                  lookupParameters="emplid:personPayrollIdentifier,universityFiscalYear:universityFiscalYear"
                                  hasErrors="${hasErrors}"
                                  onblur="${onblur}"
                                  highlight="${addHighlighting}">
                            <jsp:attribute name="helpLink" trim="true">
                                <kul:help
                                    businessObjectClassName="${field.businessObjectClassName}"
                                    attributeName="${field.fieldHelpName}"
                                    altText="${field.fieldHelpSummary}" />      
                            </jsp:attribute>
                        </ld:employee>
 
                </td>
              </tr>
              <tr>
                <kul:htmlAttributeHeaderCell
                    horizontal="true"
                    forceRequired="false"
                    literalLabel="Last Queried Fiscal Year"
                    />
                <td>${KualiForm.universityFiscalYear}&nbsp;</td>
              </tr>
            </table>
                <p>
        </div>
    </kul:tab>

      <c:set var="copyMethod" value="" scope="request"/>
      <c:set var="actionInfixVar" value="" scope="request"/>
      <c:set var="accountingLineIndexVar" value="" scope="request"/>
	<fin:accountingLines editingMode="${KualiForm.editingMode}"
		editableAccounts="${KualiForm.editableAccounts}" inherit="false"
		optionalFields="positionNumber,payrollEndDateFiscalYear,payrollEndDateFiscalPeriodCode,payrollTotalHours">

      <jsp:attribute name="groupsOverride">
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="datatable">
        <fin:subheadingWithDetailToggleRow
            columnCount="${columnCount}"
             subheading="Accounting Lines"/>
        <ld:importedAccountingLineGroup
            isSource="true"
            columnCountUntilAmount="${columnCountUntilAmount}"
            columnCount="${columnCount}"
            optionalFields="${optionalFieldsMap}"
            extraRowFields="${extraSourceRowFieldsMap}"
            editingMode="${KualiForm.editingMode}"
            editableAccounts="${editableAccountsMap}"
            editableFields="${KualiForm.accountingLineEditableFields}"
            debitCreditAmount="${debitCreditAmountString}"
            currentBaseAmount="${currentBaseAmountString}"
            extraHiddenFields="${extraHiddenFieldsMap}"
            useCurrencyFormattedTotal="${useCurrencyFormattedTotalBoolean}"
            includeObjectTypeCode="${includeObjectTypeCodeBoolean}"
            displayMonthlyAmounts="${displayMonthlyAmountsBoolean}"
            forcedReadOnlyFields="${KualiForm.forcedReadOnlyFields}"
            accountingLineAttributes="${accountingLineAttributesMap}">
            <jsp:attribute name="importRowOverride">
                <html:image property="methodToCall.copyAllAccountingLines" src="${ConfigProperties.externalizable.images.url}tinybutton-copyall.gif" title="Copy all Source Accounting Lines" alt="Copy all Source Lines" styleClass="tinybutton"/>
                Import from Labor Ledger
                <gl:balanceInquiryLookup
                    boClassName="org.kuali.module.labor.bo.LedgerBalance"
                    actionPath="glBalanceInquiryLookup.do"
                    lookupParameters="emplid:emplid,financialBalanceTypeCode:financialBalanceTypeCode,'S':fiscalObjectFringeOrSalaryCode"
                    hideReturnLink="false" />
            </jsp:attribute>
            <jsp:attribute name="customActions">
                <c:set var="copyMethod" value="copyAccountingLine.line${accountingLineIndexVar}" scope="request" />
                <html:image property="methodToCall.${copyMethod}.anchoraccounting${actionInfixVar}Anchor" src="${ConfigProperties.kr.externalizable.images.url}tinybutton-copy2.gif" title="Copy an Accounting Line" alt="Copy an Accounting Line" styleClass="tinybutton"/>
            </jsp:attribute>
        </ld:importedAccountingLineGroup>

        <ld:importedAccountingLineGroup
            isSource="false"
            columnCountUntilAmount="${columnCountUntilAmount}"
            columnCount="${columnCount}"
            optionalFields="${optionalFieldsMap}"
            extraRowFields="${extraTargetRowFieldsMap}"
            editingMode="${KualiForm.editingMode}"
            editableAccounts="${editableAccountsMap}"
            editableFields="${editableFieldsMap}"
            debitCreditAmount="${debitCreditAmountString}"
            currentBaseAmount="${currentBaseAmountString}"
            extraHiddenFields="${extraHiddenFieldsMap}"
            useCurrencyFormattedTotal="${useCurrencyFormattedTotalBoolean}"
            includeObjectTypeCode="${includeObjectTypeCodeBoolean}"
            displayMonthlyAmounts="${displayMonthlyAmountsBoolean}"
            accountingLineAttributes="${accountingLineAttributesMap}">
            <jsp:attribute name="importRowOverride">
            </jsp:attribute>
         </ld:importedAccountingLineGroup>
      </table>
      </jsp:attribute>
    </fin:accountingLines>
    <ld:laborLedgerPendingEntries />
    <kul:notes />
    <kul:adHocRecipients />
    <kul:routeLog />
    <kul:panelFooter />
    <kul:documentControls transactionalDocument="true" />
</kul:documentPage>

{'fraction_non_alphanumeric': 0.10547168522440058, 'fraction_numerical': 0.0028690484322699637, 'mean_word_length': 2.566382460414129, 'pattern_counts': {'":': 0, '<': 129, '<?xml version=': 0, '>': 129, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2649908', 'n_tokens_mistral': 3663, 'n_tokens_neox': 3522, 'n_words': 571}