亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? editcustomtimeperiod.jsp

?? 國外的一套開源CRM
?? JSP
?? 第 1 頁 / 共 2 頁
字號:
<%--
 *  Copyright (c) 2002 The Open For Business Project - www.ofbiz.org
 *
 *  Permission is hereby granted, free of charge, to any person obtaining a 
 *  copy of this software and associated documentation files (the "Software"), 
 *  to deal in the Software without restriction, including without limitation 
 *  the rights to use, copy, modify, merge, publish, distribute, sublicense, 
 *  and/or sell copies of the Software, and to permit persons to whom the 
 *  Software is furnished to do so, subject to the following conditions:
 *
 *  The above copyright notice and this permission notice shall be included 
 *  in all copies or substantial portions of the Software.
 *
 *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 
 *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
 *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
 *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 
 *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT 
 *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR 
 *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 *@author     David E. Jones
 *@created    December 12 2002
 *@version    1.0
--%> 

<%@ page import="java.util.*, java.net.*" %>
<%@ page import="org.ofbiz.security.*, org.ofbiz.entity.*, org.ofbiz.base.util.*, org.ofbiz.content.webapp.pseudotag.*" %>

<%@ taglib uri="ofbizTags" prefix="ofbiz" %>

<jsp:useBean id="security" type="org.ofbiz.security.Security" scope="request" />
<jsp:useBean id="delegator" type="org.ofbiz.entity.GenericDelegator" scope="request" />

<%
	String findOrganizationPartyId = request.getParameter("findOrganizationPartyId");
	if ("".equals(findOrganizationPartyId)) findOrganizationPartyId = null;
	String currentCustomTimePeriodId = request.getParameter("currentCustomTimePeriodId");
	if ("".equals(currentCustomTimePeriodId)) currentCustomTimePeriodId = null;

	GenericValue currentCustomTimePeriod = currentCustomTimePeriodId == null ? null : delegator.findByPrimaryKey("CustomTimePeriod", UtilMisc.toMap("customTimePeriodId", currentCustomTimePeriodId));
	if (currentCustomTimePeriod != null) pageContext.setAttribute("currentCustomTimePeriod", currentCustomTimePeriod);
    GenericValue currentPeriodType = currentCustomTimePeriod == null ? null : currentCustomTimePeriod.getRelatedOneCache("PeriodType");
	if (currentPeriodType != null) pageContext.setAttribute("currentPeriodType", currentPeriodType);

	List customTimePeriods = delegator.findByAnd("CustomTimePeriod", 
			UtilMisc.toMap("organizationPartyId", findOrganizationPartyId, "parentPeriodId", currentCustomTimePeriodId), 
			UtilMisc.toList("periodTypeId", "periodNum", "fromDate"));
	if (customTimePeriods != null) pageContext.setAttribute("customTimePeriods", customTimePeriods);

	List allCustomTimePeriods = delegator.findAll("CustomTimePeriod", UtilMisc.toList("organizationPartyId", "parentPeriodId", "periodTypeId", "periodNum", "fromDate"));
	if (allCustomTimePeriods != null) pageContext.setAttribute("allCustomTimePeriods", allCustomTimePeriods);
	
	List periodTypes = delegator.findAllCache("PeriodType", UtilMisc.toList("description"));
	if (periodTypes != null) pageContext.setAttribute("periodTypes", periodTypes);
	
	String newPeriodTypeId = "FISCAL_YEAR";
	if (currentCustomTimePeriod != null && "FISCAL_YEAR".equals(currentCustomTimePeriod.getString("periodTypeId"))) newPeriodTypeId = "FISCAL_QUARTER";
	if (currentCustomTimePeriod != null && "FISCAL_QUARTER".equals(currentCustomTimePeriod.getString("periodTypeId"))) newPeriodTypeId = "FISCAL_MONTH";
	if (currentCustomTimePeriod != null && "FISCAL_MONTH".equals(currentCustomTimePeriod.getString("periodTypeId"))) newPeriodTypeId = "FISCAL_WEEK";
	if (currentCustomTimePeriod != null && "FISCAL_BIWEEK".equals(currentCustomTimePeriod.getString("periodTypeId"))) newPeriodTypeId = "FISCAL_WEEK";
	if (currentCustomTimePeriod != null && "FISCAL_WEEK".equals(currentCustomTimePeriod.getString("periodTypeId"))) newPeriodTypeId = "";
%>

<h3 style='margin:0;'>Custom Time Period Maintenance Page</h3>

<%if(security.hasPermission("PERIOD_MAINT", session)){%>

<!--
        <attribute name="customTimePeriodId" type="String" mode="IN" optional="false"/>
        <attribute name="parentPeriodId" type="String" mode="IN" optional="true"/>
        <attribute name="organizationPartyId" type="String" mode="IN" optional="true"/>
        <attribute name="periodTypeId" type="String" mode="IN" optional="false"/>
        <attribute name="periodNum" type="Long" mode="IN" optional="true"/>
        <attribute name="fromDate" type="Date" mode="IN" optional="true"/>
        <attribute name="thruDate" type="Date" mode="IN" optional="true"/>
-->
<br>
<FORM method=POST action='<ofbiz:url>/EditCustomTimePeriod</ofbiz:url>' name='setOrganizationPartyIdForm'>
    <input type="hidden" name="currentCustomTimePeriodId" value="<%=UtilFormatOut.checkNull(currentCustomTimePeriodId)%>">
	<div class='tabletext'>
		Show Only Periods with Organization Party ID:
		<input type="text" class='inputBox' size="20" name="findOrganizationPartyId" value="<%=UtilFormatOut.checkNull(findOrganizationPartyId)%>">
		<INPUT type=submit value='Update' style='font-size: x-small;'>
	</div>
</FORM>
<br>
<div class='tabletext'>Current Custom Time Period <ofbiz:if name="currentCustomTimePeriod"><a href='<ofbiz:url>/EditCustomTimePeriod<%=findOrganizationPartyId == null ? "" : "?findOrganizationPartyId=" + findOrganizationPartyId%></ofbiz:url>' class="buttontext">[Clear Current]</a></ofbiz:if></div>
<TABLE border='1' cellpadding='2' cellspacing='0'>
  <TR>
    <TD><div class='tabletext'>ID</div></TD>
    <TD><div class='tabletext'>Parent&nbsp;ID</div></TD>
    <TD><div class='tabletext'>Org&nbsp;Party&nbsp;ID</div></TD>
    <TD><div class='tabletext'>Period&nbsp;Type</div></TD>
    <TD><div class='tabletext'>#</div></TD>
    <TD><div class='tabletext'>Name</div></TD>
    <TD><div class='tabletext'>From&nbsp;Date</div></TD>
    <TD><div class='tabletext'>Thru&nbsp;Date</div></TD>
    <TD><div class='tabletext'>&nbsp;</div></TD>
    <TD><div class='tabletext'>&nbsp;</div></TD>
  </TR>
  <ofbiz:if name="currentCustomTimePeriod">
    <FORM method=POST action='<ofbiz:url>/updateCustomTimePeriod</ofbiz:url>' name='updateCustomTimePeriodForm'>
      <input type="hidden" name="findOrganizationPartyId" value="<%=UtilFormatOut.checkNull(findOrganizationPartyId)%>">
      <input type="hidden" name="currentCustomTimePeriodId" value="<%=UtilFormatOut.checkNull(currentCustomTimePeriodId)%>">
    <td><div class='tabletext'><ofbiz:inputvalue entityAttr="currentCustomTimePeriod" field="customTimePeriodId"/></div></td>
    <td>
        <select name="parentPeriodId" class='selectBox'>
            <option value=''>&nbsp;</option>
            <ofbiz:iterator name="allCustomTimePeriod" property="allCustomTimePeriods">
			    <%GenericValue allPeriodType = allCustomTimePeriod.getRelatedOneCache("PeriodType");%>
                <%boolean isDefault = currentCustomTimePeriod.getString("parentPeriodId") == null ? false : currentCustomTimePeriod.getString("parentPeriodId").equals(allCustomTimePeriod.getString("customTimePeriodId"));%>
                <option value='<ofbiz:entityfield attribute="allCustomTimePeriod" field="customTimePeriodId"/>' <%if (isDefault) {%>selected<%}%>>Pty:<ofbiz:entityfield attribute="allCustomTimePeriod" field="organizationPartyId"/> <%=allPeriodType == null ? "" : allPeriodType.getString("description") + ":"%> <ofbiz:inputvalue entityAttr="allCustomTimePeriod" field="periodNum"/> [<ofbiz:entityfield attribute="allCustomTimePeriod" field="customTimePeriodId"/>]</option>
            </ofbiz:iterator>
        </select>
        <%if (currentCustomTimePeriod.getString("parentPeriodId") != null) {%>
            <a href='<ofbiz:url>/EditCustomTimePeriod?currentCustomTimePeriodId=<ofbiz:inputvalue entityAttr="currentCustomTimePeriod" field="parentPeriodId"/><%=findOrganizationPartyId == null ? "" : "&findOrganizationPartyId=" + findOrganizationPartyId%></ofbiz:url>' class="buttontext">
	        [Set As Current]</a>
	    <%}%>
    </td>
    <td><input type=text size='12' <ofbiz:inputvalue entityAttr="currentCustomTimePeriod" field="organizationPartyId" fullattrs="true"/> class='inputBox'></td>
    <td>
        <select name="periodTypeId" class='selectBox'>
            <ofbiz:iterator name="periodType" property="periodTypes">
                <%boolean isDefault = currentCustomTimePeriod.getString("periodTypeId") == null ? false : currentCustomTimePeriod.getString("periodTypeId").equals(periodType.getString("periodTypeId"));%>
                <option value='<ofbiz:entityfield attribute="periodType" field="periodTypeId"/>' <%if (isDefault) {%>selected<%}%>><ofbiz:entityfield attribute="periodType" field="description"/><%-- [<ofbiz:entityfield attribute="periodType" field="periodTypeId"/>]--%></option>
            </ofbiz:iterator>
        </select>
    </td>
    <td><input type=text size='4' <ofbiz:inputvalue entityAttr="currentCustomTimePeriod" field="periodNum" fullattrs="true"/> class='inputBox' ></td>
    <td><input type=text size='10' <ofbiz:inputvalue entityAttr="currentCustomTimePeriod" field="periodName" fullattrs="true"/> class='inputBox' ></td>
    <td>
        <%boolean hasntStarted = false;%>
        <%if (currentCustomTimePeriod.getDate("fromDate") != null && UtilDateTime.nowDate().before(currentCustomTimePeriod.getDate("fromDate"))) { hasntStarted = true; }%>
        <input type=text size='13' <ofbiz:inputvalue entityAttr="currentCustomTimePeriod" field="fromDate" fullattrs="true"/> class='inputBox' style='<%if (hasntStarted) {%> color: red;<%}%>'>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产亚洲福利社区一区| 日韩久久精品一区| 成人动漫在线一区| 国产成人在线电影| 岛国精品一区二区| 波多野结衣在线aⅴ中文字幕不卡| 精品一区二区三区免费视频| 老司机精品视频导航| 久久99精品久久久久久动态图| 黄色日韩三级电影| 国产成人aaa| 91视频www| 欧美在线高清视频| 337p亚洲精品色噜噜噜| 日韩一本二本av| 久久欧美中文字幕| 亚洲天堂中文字幕| 午夜欧美大尺度福利影院在线看 | 久久国产剧场电影| 久久av中文字幕片| 国产v日产∨综合v精品视频| 91亚洲国产成人精品一区二三| 91福利精品视频| 欧美一级xxx| 欧美国产亚洲另类动漫| 亚洲自拍偷拍综合| 蜜桃久久精品一区二区| www.一区二区| 欧美一级在线视频| 国产精品福利av| 日韩1区2区3区| 99久久国产综合精品女不卡| 欧美一区二区三区不卡| 中文av一区二区| 日韩精品午夜视频| 成人ar影院免费观看视频| 欧美日韩一区精品| 国产精品久久久久久久久动漫 | 99久久久免费精品国产一区二区| 色嗨嗨av一区二区三区| 欧美mv日韩mv| 亚洲一区在线观看免费观看电影高清| 另类综合日韩欧美亚洲| 一本色道久久加勒比精品| 久久久久97国产精华液好用吗| 亚洲女同女同女同女同女同69| 国产真实精品久久二三区| 在线免费观看一区| 欧美国产一区二区| 国内精品写真在线观看| 欧美日韩国产bt| 亚洲精品视频观看| 国产sm精品调教视频网站| 91精品国产综合久久精品图片| 亚洲色图欧洲色图婷婷| 国产一区二区三区国产| 日韩三级视频在线看| 午夜视黄欧洲亚洲| 欧洲另类一二三四区| 综合久久国产九一剧情麻豆| 国产成人免费网站| 国产清纯在线一区二区www| 美国三级日本三级久久99| 欧美肥妇free| 亚洲成人精品影院| 欧美日韩国产bt| 日韩精品电影一区亚洲| 欧美日韩国产另类不卡| 亚洲va国产va欧美va观看| 欧美日韩综合不卡| 亚洲国产欧美一区二区三区丁香婷| 97se亚洲国产综合在线| 日韩理论片网站| 99久久伊人精品| 亚洲精品国久久99热| 91免费视频网| 一区二区欧美精品| 在线视频你懂得一区二区三区| 亚洲欧美日韩成人高清在线一区| 91污片在线观看| 亚洲欧美日韩在线| 欧美午夜精品久久久久久孕妇 | 中文字幕在线观看不卡| aaa国产一区| 中文字幕免费不卡在线| 成人app网站| 亚洲国产欧美另类丝袜| 日韩欧美高清在线| 国产一区二区调教| 最好看的中文字幕久久| 欧美日韩美少妇| 美日韩一区二区三区| 国产视频不卡一区| 欧美综合一区二区三区| 青草国产精品久久久久久| 国产日韩欧美制服另类| 91视频观看视频| 捆绑调教美女网站视频一区| 久久综合丝袜日本网| a在线播放不卡| 亚洲二区在线观看| 久久久久久久网| 91免费观看视频| 蜜臀99久久精品久久久久久软件| 国产日本欧洲亚洲| 欧美日本一区二区在线观看| 久久99精品国产.久久久久| 一区在线观看视频| 日韩欧美在线不卡| 成人动漫精品一区二区| 男女男精品视频网| 国产精品美女久久久久久久久久久| 欧美性xxxxxxxx| 国产一本一道久久香蕉| 午夜精彩视频在线观看不卡| 国产午夜一区二区三区| 欧美精品久久天天躁| av在线不卡免费看| 日韩高清不卡一区二区| 成人欧美一区二区三区小说| 精品国产乱码久久久久久影片| 色八戒一区二区三区| 粉嫩嫩av羞羞动漫久久久| 首页国产丝袜综合| 亚洲欧美日韩国产成人精品影院 | 国产精品91一区二区| 亚洲国产精品嫩草影院| 国产精品久久久久久久久免费桃花| 91精品午夜视频| 欧美日韩一级二级| 色婷婷综合在线| 成人性视频免费网站| 久久99在线观看| 日韩av中文字幕一区二区三区| 亚洲一区二区四区蜜桃| 国产精品电影院| 国产日韩欧美麻豆| 26uuu亚洲综合色欧美| 欧美一二三区在线| 7777精品伊人久久久大香线蕉经典版下载 | 国产欧美一区二区精品婷婷| 欧美一区二区精品在线| 欧美日韩精品欧美日韩精品| 成人av影院在线| 国产99精品国产| 国产福利一区二区三区在线视频| 免费观看久久久4p| 日韩av中文在线观看| 午夜精品福利在线| 一区二区三国产精华液| 亚洲视频在线观看一区| 国产片一区二区三区| 国产免费观看久久| 国产精品短视频| 国产婷婷精品av在线| 国产农村妇女精品| 亚洲国产精品v| 国产精品人人做人人爽人人添| 日本一区二区三区在线不卡| 国产精品亲子伦对白| 亚洲欧洲日产国码二区| 亚洲精品国产一区二区精华液 | 色欧美片视频在线观看| 日本道在线观看一区二区| 91国产免费观看| 欧美午夜精品一区二区三区| 91麻豆精品国产无毒不卡在线观看| 欧美日韩成人一区| 日韩欧美中文一区二区| 久久久精品国产免大香伊| 国产精品麻豆一区二区| 亚洲女与黑人做爰| 日韩精品一区第一页| 极品少妇xxxx精品少妇偷拍| 国产91精品精华液一区二区三区| 成a人片国产精品| 欧美日韩美女一区二区| 久久综合资源网| 自拍视频在线观看一区二区| 五月激情综合色| 国产成人午夜视频| 欧美性感一类影片在线播放| 日韩精品一区二区三区四区| 国产精品久久久久久久午夜片 | 2023国产精品视频| 亚洲男人天堂一区| 久久99久久精品欧美| 99在线精品免费| 日韩午夜在线观看| 国产精品久久久久久久久免费丝袜| 亚洲福利电影网| 懂色中文一区二区在线播放| 欧美日韩在线免费视频| 国产午夜精品美女毛片视频| 一区二区理论电影在线观看| 国内精品伊人久久久久影院对白| 色偷偷久久人人79超碰人人澡| 久久婷婷成人综合色| 亚洲线精品一区二区三区| 风间由美一区二区三区在线观看 |