SIM0500.tpl
8.52 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<div class="SimMiddle">
<br>
<div class="SimTitle">
<span id="titletxt">資金繰表</span>
</div>
<div class="SimMain">
<table>
<tr>
<td class="SimMainHead" rowspan="2">
<select name="yyyy">
{$lstY}
</select>年
<select name="mon">
{$lstM}
</select>月から
<select name="kikan">
{$lstK}
</select>間
<br>
<span> <img src="./templates/img/empty.gif" width="0" border="0"></span>
</td>
<td width="320">
<img src="./templates/img/empty.gif" width="0" border="0">
</td>
<td>
<input type="button" class="SimCancelButton" value=" メニューへ " onclick="location.href='SIM0100.php'">
</td>
<td colspan="2">
<input type="button" class="SimCancelButton" value=" 印刷画面へ " onclick="show_print();">
</td>
</tr>
<tr>
<td width="320">
<img src="./templates/img/empty.gif" width="0" border="0">
</td>
<td>
<input type="button" class="SimOkButton" value="資金繰表更新" onclick="chk_up();">
</td>
<td>
<input type="button" class="SimOkButton" value="CSVファイル出力" onclick="csv_dl();">
</td>
<td>
<span class="SimComment">(単位:{$sUnitName})</span>
</td>
</tr>
</table>
<table class="SimShikinTab">
<tr>
<th class="SimShikinHead" nowrap rowspan="2" colspan="2"> </td>
<!--{section name=ymCnt loop=$dataYM}-->
<th class="SimShikinHead" nowrap colspan="3">{$dataYM[ymCnt][1]}月</td>
<!--{/section}-->
</tr>
<tr>
<!--{section name=ymCnt loop=$dataYM}-->
<th class="SimShikinHead" nowrap>{$DEFARR[9]}</td>
<th class="SimShikinHead" nowrap>{$DEFARR[8]}</td>
<th class="SimShikinHead" nowrap>残高</td>
<!--{/section}-->
</tr>
<tr>
<th class="SimShikin_s" width="80" height="12" colspan="2">前月繰越</td>
<!--{section name=ymCnt loop=$dataYM}-->
<td class="SimShikin_s" nowrap>{$dspkuri[1][ymCnt]}</td>
<td class="SimShikin_s" nowrap>{$dspkuri[2][ymCnt]}</td>
<!--{if intval($dspkuri[3][ymCnt]) >= 0}-->
<td class="SimShikin_s" nowrap>{$dspkuri[3][ymCnt]}</td>
<!--{else}-->
<td class="SimRedBoldTd" nowrap>{$dspkuri[3][ymCnt]}</td>
<!--{/if}-->
<!--{/section}-->
</tr>
<!--{section name=item loop=$bData}-->
<!--{section name=item2 loop=$dData[item]}-->
<tr>
<!-- 集計金額表示 -->
<!--{if $smarty.section.item2.index == 0}-->
<th class="SimShikinSide" nowrap rowspan="{$dData[item]|@count}">{$bData[item][1]}</td>
<!--{/if}-->
<th class="SimShikinSide" nowrap><a href="javascript:lnk_input({$PHP_USER_NYUKIN}, '2',{$bData[item][0]}, {$dData[item][item2][0]}, '999');">{$dData[item][item2][1]}</a></td>
<!--{section name=ymCnt loop=$dataYM}-->
<!-- {if $comData[item][item2][1][ymCnt] == 1 }-->
<td id="Td1_{$smarty.section.item.index}{$smarty.section.item2.index}{$smarty.section.ymCnt.index}" class="SimShikinTd" nowrap onMouseOver="MoverStyle('1_{$smarty.section.item.index}{$smarty.section.item2.index}{$smarty.section.ymCnt.index}');" onMouseOut="MoutStyle('1_{$smarty.section.item.index}{$smarty.section.item2.index}{$smarty.section.ymCnt.index}');" onClick="lnk_input({$PHP_USER_NYUKIN}, '1',{$bData[item][0]}, {$dData[item][item2][0]}, '999');">
<img src="./templates/img/writemini.gif" alt="コメントがあります">
<!--{else}-->
<td id="Td1_{$smarty.section.item.index}{$smarty.section.item2.index}{$smarty.section.ymCnt.index}" class="SimShikinTd" nowrap onMouseOver="MoverStyle('1_{$smarty.section.item.index}{$smarty.section.item2.index}{$smarty.section.ymCnt.index}');" onMouseOut="MoutStyle('1_{$smarty.section.item.index}{$smarty.section.item2.index}{$smarty.section.ymCnt.index}');" onClick="lnk_input({$PHP_USER_NYUKIN}, '1',{$bData[item][0]}, {$dData[item][item2][0]}, '999');">
<!--{/if}-->
{$dspData[item][item2][3][ymCnt]}
</td>
<!-- {if $comData[item][item2][2][ymCnt] == 1 }-->
<td id="Td2_{$smarty.section.item.index}{$smarty.section.item2.index}{$smarty.section.ymCnt.index}" class="SimShikinTd" nowrap onMouseOver="MoverStyle('2_{$smarty.section.item.index}{$smarty.section.item2.index}{$smarty.section.ymCnt.index}');" onMouseOut="MoutStyle('2_{$smarty.section.item.index}{$smarty.section.item2.index}{$smarty.section.ymCnt.index}');" onClick="lnk_input({$PHP_USER_NYUKIN}, '2',{$bData[item][0]}, {$dData[item][item2][0]}, '999');">
<img src="./templates/img/writemini.gif" alt="コメントがあります">
<!--{else}-->
<td id="Td2_{$smarty.section.item.index}{$smarty.section.item2.index}{$smarty.section.ymCnt.index}" class="SimShikinTd" nowrap onMouseOver="MoverStyle('2_{$smarty.section.item.index}{$smarty.section.item2.index}{$smarty.section.ymCnt.index}');" onMouseOut="MoutStyle('2_{$smarty.section.item.index}{$smarty.section.item2.index}{$smarty.section.ymCnt.index}');" onClick="lnk_input({$PHP_USER_NYUKIN}, '2',{$bData[item][0]}, {$dData[item][item2][0]}, '999');">
<!--{/if}-->
{$dspData[item][item2][4][ymCnt]}
</td>
<td class="SimShikinTd" nowrap> </td>
<!--{/section}-->
</tr>
<!--{/section}-->
<tr>
<th class="Sim_kaku_s" nowrap colspan="2">{$bData[item][1]}小計</td>
<!--{section name=ymCnt loop=$dataYM}-->
<td class="Sim_kaku_s" nowrap> {$dspminiTotal[item][1][ymCnt]}</td>
<td class="Sim_kaku_s" nowrap> {$dspminiTotal[item][2][ymCnt]}</td>
<!--{if intval($dspminiTotal[item][3][ymCnt]) >= 0}-->
<td class="Sim_kaku_s" nowrap> {$dspminiTotal[item][3][ymCnt]}</td>
<!--{else}-->
<td class="SimRedBoldTd" nowrap> {$dspminiTotal[item][3][ymCnt]}</td>
<!--{/if}-->
<!--{/section}-->
</tr>
<!--{/section}-->
<tr>
<th class="SimKeihiTd" nowrap colspan="2">入出金計</td>
<!--{section name=ymCnt loop=$dataYM}-->
<td class="SimKeihiTd" nowrap> {$dspkeihi[1][ymCnt]}</td>
<td class="SimKeihiTd" nowrap> {$dspkeihi[2][ymCnt]}</td>
<!--{if intval($dspkeihi[3][ymCnt]) >= 0}-->
<td class="SimKeihiTd" nowrap> {$dspkeihi[3][ymCnt]}</td>
<!--{else}-->
<td class="SimRedBoldTd" nowrap> {$dspkeihi[3][ymCnt]}</td>
<!--{/if}-->
<!--{/section}-->
</tr>
<tr>
<th class="SimChoseTd" nowrap colspan="2">予実算差額調整</td>
<!--{section name=ymCnt loop=$dataYM}-->
<td class="SimChoseTd" nowrap><input name="shikin[1][]" type="text" size="8" style="text-align:right;" value="{$shikin[1][ymCnt]}"></td>
<td class="SimChoseTd" nowrap><input name="shikin[2][]" type="text" size="8" style="text-align:right;" value="{$shikin[2][ymCnt]}"></td>
<td class="SimChoseTd" nowrap> {$dspshikin[3][ymCnt]}<input type="hidden" name="shikin[4][]" value="{$dataYM[ymCnt][0]}/{$dataYM[ymCnt][1]}"></td>
<!--{/section}-->
</tr>
<tr>
<th class="SimShikinHead" nowrap rowspan="2" colspan="2"> </td>
<!--{section name=ymCnt loop=$dataYM}-->
<th class="SimShikinHead" nowrap>{$DEFARR[9]}</td>
<th class="SimShikinHead" nowrap>{$DEFARR[8]}</td>
<th class="SimShikinHead" nowrap>残高</td>
<!--{/section}-->
</tr>
<tr>
<!--{section name=ymCnt loop=$dataYM}-->
<th class="SimShikinHead" nowrap colspan="3">{$dataYM[ymCnt][1]}月</td>
<!--{/section}-->
</tr>
</table>
<table>
<tr>
<td rowspan="2">
<div class="SimCommentBox" style="width:340px;">
※ご注意<br>
予実算差額調整は直接入力し、<br>
「資金繰表更新」をクリックしてください。
</div>
</td>
<td width="190">
<img src="./templates/img/empty.gif" width="0" border="0">
</td>
<td>
<input type="button" class="SimCancelButton" value=" メニューへ " onclick="location.href='SIM0100.php'">
</td>
<td>
<input type="button" class="SimCancelButton" value=" 印刷画面へ " onclick="show_print();">
</td>
<td>
<span class="SimComment">(単位:{$sUnitName})</span>
</td>
</tr>
<tr>
<td width="190">
<img src="./templates/img/empty.gif" width="0" border="0">
</td>
<td>
<input type="button" class="SimOkButton" value="資金繰表更新" onclick="chk_up();">
</td>
<td>
<input type="button" class="SimOkButton" value="CSVファイル出力" onclick="csv_dl();">
</td>
</tr>
</table>
</div>
<br>
</div>
<input type="hidden" name="hidKaishi" value="{$hidKaishi}">
<input type="hidden" name="sMode" value="">
<input type="hidden" name="bSeq" value="">
<input type="hidden" name="dSeq" value="">