============================================================ relocate .ftl files in the accounting component ============================================================ Thanks Pierre Smits for your contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738754 13f79535-47bb-0310-9956-ffa450edef68
59 lines
3.1 KiB
Plaintext
59 lines
3.1 KiB
Plaintext
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache 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://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
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.
|
|
-->
|
|
<#if glAcctgAndAmountPercentageList?has_content && glAccountCategories?has_content>
|
|
<form id="costCenters" method="post" action="<@ofbizUrl>createUpdateCostCenter</@ofbizUrl>">
|
|
<table class="basic-table hover-bar" cellspacing="0">
|
|
<tr class="header-row">
|
|
<th>${uiLabelMap.FormFieldTitle_organizationPartyId}</th>
|
|
<th>${uiLabelMap.FormFieldTitle_glAccountId}</th>
|
|
<th>${uiLabelMap.FormFieldTitle_accountCode}</th>
|
|
<th>${uiLabelMap.FormFieldTitle_accountName}</th>
|
|
<#list glAccountCategories as glAccountCategory>
|
|
<th>${glAccountCategory.description!}</th>
|
|
</#list>
|
|
</tr>
|
|
|
|
<#assign alt_row = false>
|
|
<#list glAcctgAndAmountPercentageList as glAcctgAndAmountPercentage>
|
|
<tr id="row_${glAcctgAndAmountPercentage.glAccountId}" class="alternate-row">
|
|
<td>${glAcctgAndAmountPercentage.organizationPartyId}</td>
|
|
<td><input type="hidden" id="glAccountId_${glAcctgAndAmountPercentage.glAccountId}" name="glAccountId_o_${glAcctgAndAmountPercentage_index}" value="${glAcctgAndAmountPercentage.glAccountId!}"/>
|
|
<input name="_rowSubmit_o_${glAcctgAndAmountPercentage_index}" type="hidden" value="Y"/>
|
|
${glAcctgAndAmountPercentage.glAccountId}</td>
|
|
<td>${glAcctgAndAmountPercentage.accountCode!}</td>
|
|
<td>${glAcctgAndAmountPercentage.accountName!}</td>
|
|
<#list glAccountCategories as glAccountCategory>
|
|
<td>
|
|
<#if (glAcctgAndAmountPercentage[glAccountCategory.glAccountCategoryId!])??>
|
|
<input type="text" id="cc_${glAcctgAndAmountPercentage.glAccountId}_${glAccountCategory.glAccountCategoryId}" size="5" name="amp_${glAccountCategory.glAccountCategoryId!}_o_${glAcctgAndAmountPercentage_index}" value="${(glAcctgAndAmountPercentage[glAccountCategory.glAccountCategoryId!])!}"/>%
|
|
<#else>
|
|
<input type="text" id="cc_${glAcctgAndAmountPercentage.glAccountId}_${glAccountCategory.glAccountCategoryId}" size="5" name="amp_${glAccountCategory.glAccountCategoryId!}_o_${glAcctgAndAmountPercentage_index}" value=""/>%
|
|
</#if>
|
|
</td>
|
|
</#list>
|
|
</tr>
|
|
<#assign alt_row = !alt_row>
|
|
</#list>
|
|
</table>
|
|
<div align="right"><input type="submit" value='${uiLabelMap.CommonSubmit}' /></div>
|
|
</form>
|
|
<#else>
|
|
<label>${uiLabelMap.CommonNoRecordFound}</label>
|
|
</#if>
|