ADM2040.tpl
3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<div class="SimMiddle">
<small><br></small>
<div class="MenuTitle">
<span id="titletxt">業務名設定</span>
</div>
<div class="ConfMain">
{if $PHP_USER_ADMIN == 1 || $PHP_USER_ADMIN == 99}
<br>
<table class="MemTable" width="90%">
<TR>
<TD align="left" width="50%">
<input type="button" class="btnGo" value="業務の追加" onclick="location.href='ADM2041.php?mode=add'">
</TD>
<TD align="right" width="50%"><font color="#009900">※業務名順に表示されます。</font></TD>
</TR>
</table>
<br>
<table class="TBL_ADM0010_1">
<tr>
<th class="ConfKubunTh" width="30%">部門名称</th>
<th class="ConfKubunTh" width="30%">業務名称</th>
<th class="ConfKubunTh" width="10%">受注額</th>
<th class="ConfKubunTh" width="20%">期間</th>
<th class="ConfKubunTh" width="10%">削除</th>
<!--
<th class="ConfKubunTh" width="10%">表示順</th>
-->
</tr>
{section name=item loop=$gyoumu_name}
<tr>
<td class="ConfKubunTd">{$bumon_name[item]}</td>
<td class="ConfKubunTd">
<a href="ADM2041.php?mode=edt&seq={$gyoumu_id[item]}">{$gyoumu_name[item]}</a>
</td>
<td class="ConfKubunTd" align="right">
{if $gyoumu_money[item] != "0"}
{$gyoumu_money[item]}{$Money_Tani}
{/if}
</td>
<td class="ConfKubunTd" align="center">
{if $gyoumu_st_term[item] != "" && $gyoumu_ed_term[item] != ""}
{$gyoumu_st_term[item]}〜{$gyoumu_ed_term[item]}
{elseif $gyoumu_st_term[item] != "" && $gyoumu_ed_term[item] == ""}
{$gyoumu_st_term[item]}〜
{elseif $gyoumu_st_term[item] == "" && $gyoumu_ed_term[item] != ""}
〜{$gyoumu_ed_term[item]}
{/if}
</td>
<td class="ConfKubunTd" align="center">
<input type="button" class="btnDelete" value= " 削除 " onclick="del_chk({$gyoumu_id[item]}, '{$gyoumu_name[item]}')">
</td>
<!--
<td class="ConfKubunTd" align="center">
<table>
<tr>
<td >
{if $smarty.section.item.index > 0}
<input type="button" class="btnTemp" value="↑" onclick="location.href='ADM2042.php?mode=up&seq={$gyoumu_id[item]}'">
{/if}
</td>
<td >
{if $smarty.section.item.index < ($gyoumu_name|@count - 1)}
<input type="button" class="btnTemp" value="↓" onclick="location.href='ADM2042.php?mode=down&seq={$gyoumu_id[item]}'">
{/if}
</td>
</tr>
</table>
</td>
-->
</tr>
{/section}
</table>
<br>
<table class="MemTable">
<TR>
<TD align="center">
<input type="button" class="btnGo" value="業務の追加" onclick="location.href='ADM2041.php?mode=add'">
</TD>
</TR>
</table>
<br>
<input name="mode" type="hidden" value="">
<input name="gyoumu_id" type="hidden" value="">
<input name="gyoumukbn_id" type="hidden" value="">
{else}
<a href="SIM0100.php"><span class="Normalfont">マスタ変更権限がありません</span></a>
{/if}
</div>
<br>
</div>