亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
久久精品国产一区二区三 | 精品不卡在线视频| 日本韩国精品在线| 99在线精品视频| 国产成人在线视频网站| 国产一区二区伦理片| 免费美女久久99| 麻豆成人综合网| 久久精品国产99久久6| 午夜av一区二区三区| 亚洲午夜久久久| 日韩电影在线一区二区三区| 日本sm残虐另类| 国精产品一区一区三区mba桃花 | 亚洲国产欧美在线| 午夜精品久久久久久久99水蜜桃| 视频在线观看一区二区三区| 奇米777欧美一区二区| 久久99国产精品免费| 国产一区二区三区在线观看免费| 国产一区二区三区不卡在线观看 | 国产乱码一区二区三区| 国产精品伊人色| 97精品国产露脸对白| 欧美日韩亚洲综合| 欧美不卡视频一区| 国产农村妇女精品| 亚洲精品福利视频网站| 婷婷综合另类小说色区| 国内精品久久久久影院薰衣草| 国产99久久久精品| 欧美专区在线观看一区| 精品不卡在线视频| 亚洲欧美日韩国产一区二区三区 | 成人美女视频在线看| 一本色道亚洲精品aⅴ| 日韩欧美一区二区在线视频| 国产亚洲欧美中文| 亚洲一区av在线| 成人午夜视频在线观看| 欧美日韩国产乱码电影| 国产三区在线成人av| 婷婷丁香久久五月婷婷| 国产91丝袜在线18| 91精品在线麻豆| 亚洲三级在线观看| 激情文学综合丁香| 欧美色手机在线观看| 久久精品一区八戒影视| 午夜私人影院久久久久| 成人开心网精品视频| 制服丝袜成人动漫| 亚洲私人影院在线观看| 国产精品亚洲视频| 欧美成人性战久久| 五月天一区二区| 91蜜桃婷婷狠狠久久综合9色| 精品第一国产综合精品aⅴ| 亚洲国产欧美另类丝袜| av激情成人网| 欧美国产日产图区| 狠狠色综合色综合网络| 欧美精品一级二级| 亚洲夂夂婷婷色拍ww47| 91色在线porny| 中文字幕制服丝袜成人av| 韩国午夜理伦三级不卡影院| 欧美人牲a欧美精品| 亚洲欧美日韩国产综合| av不卡在线播放| 欧美韩国一区二区| 国产 欧美在线| 国产欧美一区二区三区沐欲| 激情六月婷婷久久| 久久尤物电影视频在线观看| 捆绑调教一区二区三区| 日韩欧美国产午夜精品| 蜜臀av性久久久久av蜜臀妖精| 欧美疯狂性受xxxxx喷水图片| 亚洲一区二三区| 欧美三日本三级三级在线播放| 亚洲欧美日韩一区二区三区在线观看| 99久久99久久久精品齐齐| 亚洲欧洲99久久| 色吊一区二区三区| 亚洲综合男人的天堂| 欧美另类高清zo欧美| 日本不卡一二三| 亚洲精品一线二线三线| 国产精品一区免费视频| 国产欧美日韩在线| 99免费精品在线观看| 亚洲欧美二区三区| 欧美日韩成人一区二区| 蜜臀av性久久久久蜜臀av麻豆 | 中文字幕电影一区| 成人av综合一区| 亚洲一区二区三区自拍| 9191国产精品| 国产米奇在线777精品观看| 国产精品日产欧美久久久久| 在线视频欧美精品| 美女一区二区视频| 中文成人综合网| 欧美麻豆精品久久久久久| 国内久久精品视频| 国产精品第五页| 555夜色666亚洲国产免| 国产一区91精品张津瑜| 亚洲乱码国产乱码精品精98午夜| 欧美欧美欧美欧美首页| 激情欧美日韩一区二区| 一区二区欧美国产| 精品国产91亚洲一区二区三区婷婷 | 国产精品色一区二区三区| 欧洲一区二区av| 国产一区二区福利| 香蕉成人伊视频在线观看| 久久香蕉国产线看观看99| 不卡区在线中文字幕| 日韩精品1区2区3区| 国产精品久久久久桃色tv| 欧美一级欧美一级在线播放| 99re热视频精品| 精品无人码麻豆乱码1区2区 | 中文字幕巨乱亚洲| 制服丝袜日韩国产| 91精彩视频在线| 岛国精品在线播放| 免费一级片91| 性做久久久久久免费观看欧美| 国产欧美日产一区| 欧美一级午夜免费电影| 欧美综合欧美视频| zzijzzij亚洲日本少妇熟睡| 久久精品国产亚洲5555| 亚洲一区二区三区视频在线播放| 国产日韩欧美精品一区| 日韩精品一区二区三区四区| 欧美这里有精品| 色乱码一区二区三区88| 成人黄页在线观看| 国产一区二区三区最好精华液| 青娱乐精品视频| 亚洲成精国产精品女| 亚洲综合色噜噜狠狠| 亚洲免费看黄网站| 国产精品无码永久免费888| 久久精品视频免费| 久久婷婷国产综合精品青草 | 国v精品久久久网| 国产成人综合视频| 国产尤物一区二区| 狠狠狠色丁香婷婷综合久久五月| 美女脱光内衣内裤视频久久影院| 亚洲777理论| 丝袜美腿成人在线| 日日摸夜夜添夜夜添亚洲女人| 亚洲成人一区二区在线观看| 亚洲综合成人在线| 亚洲成人免费在线| 美女一区二区视频| 国产一区高清在线| 国产91精品露脸国语对白| 豆国产96在线|亚洲| 成人黄动漫网站免费app| 成人久久视频在线观看| 91视频免费播放| 欧美人妇做爰xxxⅹ性高电影| 欧美一区二区三区的| 精品裸体舞一区二区三区| 久久综合中文字幕| 国产日产精品1区| 亚洲色图欧美在线| 偷拍日韩校园综合在线| 精品一区二区久久| 国产精品一区二区久久精品爱涩| 成人综合在线视频| 色综合久久天天| 欧美高清视频一二三区 | 欧美日韩一区二区三区不卡| 欧美日韩日本视频| 日韩精品一区二区三区中文不卡 | 一区二区在线观看不卡| 亚洲第一二三四区| 国产麻豆9l精品三级站| 色婷婷国产精品| 91精品国产综合久久小美女| 欧美国产精品中文字幕| 五月天视频一区| 国产不卡一区视频| 欧美日韩一区三区| 国产亚洲精品福利| 婷婷综合五月天| 成人高清免费观看| 91精品欧美久久久久久动漫 | 欧美高清在线视频| 亚洲成人av一区二区| 国产成人av一区| 日韩一区二区三区四区|