ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ofbiz-framework] verma-pawan commented on a change in pull request #14: Implemented: Added new inventory cycle count feature for warehouse.
Date Fri, 01 May 2020 13:03:16 GMT

verma-pawan commented on a change in pull request #14:
URL: https://github.com/apache/ofbiz-framework/pull/14#discussion_r418531700



##########
File path: applications/product/template/cyclecount/PendingLocations.ftl
##########
@@ -0,0 +1,115 @@
+<#--
+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.
+-->
+<div class="screenlet">
+  <div class="screenlet-title-bar">
+    <ul>
+      <li class="h3">${uiLabelMap.PendingLocations}</li>
+      <li style="margin-top: 3px;"><input type="submit" form="selectAllForm" class="link"
name="Create Session" value="Create Session"/></li>
+    </ul>
+  </div>
+  <div class="screenlet-body">
+    <#if pendingLocations?has_content>
+      <#assign commonUrl>
+        <@ofbizUrl>RecordCount?</@ofbizUrl>
+      </#assign>
+      <#if parameters.facilityId?has_content>
+        <#assign commonUrl=commonUrl?trim+'facilityId='+parameters.facilityId?default("")+'&amp;'/>
+      </#if>
+      <#if parameters.locationSeqId?has_content>
+        <#assign commonUrl=commonUrl?trim+'locationSeqId='+parameters.locationSeqId?default("")+'&amp;'/>
+      </#if>
+      <#if parameters.areaId?has_content>
+        <#assign commonUrl=commonUrl?trim+'areaId='+parameters.areaId?default("")+'&amp;'/>
+      </#if>
+      <#if parameters.aisleId?has_content>
+        <#assign commonUrl=commonUrl?trim+'aisleId='+parameters.aisleId?default("")+'&amp;'/>
+      </#if>
+      <#if parameters.sectionId?has_content>
+        <#assign commonUrl=commonUrl?trim+'sectionId='+parameters.sectionId?default("")+'&amp;'/>
+      </#if>
+      <#if parameters.levelId?has_content>
+        <#assign commonUrl=commonUrl?trim+'levelId='+parameters.levelId?default("")+'&amp;'/>
+      </#if>
+      <#if parameters.positionId?has_content>
+        <#assign commonUrl=commonUrl?trim+'positionId='+parameters.positionId?default("")+'&amp;'/>
+      </#if>
+      <#if parameters.countDays?has_content>
+        <#assign commonUrl=commonUrl?trim+'countDays='+parameters.countDays?default("")+'&amp;'/>
+      </#if>
+      <#if parameters.nextCountDays?has_content>
+        <#assign commonUrl=commonUrl?trim+'nextCountDays='+parameters.nextCountDays?default("")+'&amp;'/>
+      </#if>
+      <@htmlTemplate.nextPrev commonUrl=commonUrl ajaxEnabled=false javaScriptEnabled=false
paginateStyle="nav-pager" paginateFirstStyle="nav-first" viewIndex=viewIndex highIndex=highIndex
listSize=listSize viewSize=viewSize ajaxFirstUrl="" firstUrl="" paginateFirstLabel="" paginatePreviousStyle="nav-previous"
ajaxPreviousUrl="" previousUrl="" paginatePreviousLabel="" pageLabel="" ajaxSelectUrl="" selectUrl=""
ajaxSelectSizeUrl="" selectSizeUrl="" commonDisplaying=commonDisplaying paginateNextStyle="nav-next"
ajaxNextUrl="" nextUrl="" paginateNextLabel="" paginateLastStyle="nav-last" ajaxLastUrl=""
lastUrl="" paginateLastLabel="" paginateViewSizeLabel="" />
+      <#assign rowCount = 0/>
+      <form method="post" id="selectAllForm" action="<@ofbizUrl>createInventoryCountAndAddBulkLocations</@ofbizUrl>"
name="selectAllForm">
+        <input type="hidden" name="facilityId" value="${facilityId!}"/>
+        <table class="basic-table hover-bar" cellspacing="1">
+          <thead>
+            <tr class="header-row">
+              <th>${uiLabelMap.Facility}</th>
+              <th>${uiLabelMap.ProductLocation}</th>
+              <th>${uiLabelMap.ProductArea}</th>
+              <th>${uiLabelMap.ProductAisle}</th>
+              <th>${uiLabelMap.ProductSection}</th>
+              <th>${uiLabelMap.ProductLevel}</th>
+              <th>${uiLabelMap.ProductPosition}</th>
+              <th>Last counted on</th>

Review comment:
       Need to convert it with uiLabel.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message