forked from arm2009/main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfo_navigation_warranty.php
218 lines (218 loc) · 14.4 KB
/
info_navigation_warranty.php
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<?
include_once "LowLevel/dataCrypt.php";
include_once "UserControl/userControl.php";
include_once "LowLevel/userValidator.php";
include_once "MainWork/WorkPlace.php";
if(isset($_POST[id]))
{
$sql = "SELECT * FROM Arm_workplace WHERE id=".$_POST[id].";";
$aWorkPlace = DbConnect::GetSqlRow($sql);
}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td class="table_odd"><table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="200"><div class="datablock" style="width:100%;">
Повышенная оплата труда<br />
<label>
<input type="radio" name="iCompSurcharge" value="1" id="RadioGroup1_0" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[iCompSurcharge] == 1){echo(' checked="checked"');} ?>/>
Да</label>
<br />
<label>
<input type="radio" name="iCompSurcharge" value="0" id="RadioGroup1_1" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[iCompSurcharge] == 0){echo(' checked="checked"');} ?>/>
Нет</label>
<br />
</div>
</td>
<td><div class="datablock" style="min-width:275px; width:90%;">Основание<br />
<input name="sCompBaseSurcharge" type="text" class="datablock_input" id="sCompBaseSurcharge" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();" value="<?php echo StringWork::CheckNullStrFull($aWorkPlace[sCompBaseSurcharge]); ?>" />
</div></td>
<td width="200"><div class="datablock" style="width:100%;"> Фактическое наличие<br />
<label><input type="radio" name="sCompFactSurcharge" value="1" id="RadioGroup2_0" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[sCompFactSurcharge] == 1){echo(' checked="checked"');} ?>/>Да</label><br />
<label><input type="radio" name="sCompFactSurcharge" value="0" id="RadioGroup2_1" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[sCompFactSurcharge] == 0){echo(' checked="checked"');} ?>/>Нет</label><br />
</div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="table_even"><table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="200"><div class="datablock" style="width:100%;"><span class="datablock" style="width:100%;">Дополнительный отпуск</span><br />
<label>
<input type="radio" name="iCompVacation" value="1" id="RadioGroup1_2" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[iCompVacation] == 1){echo(' checked="checked"');} ?>/>
Да</label>
<br />
<label>
<input type="radio" name="iCompVacation" value="0" id="RadioGroup1_3" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[iCompVacation] == 0){echo(' checked="checked"');} ?>/>
Нет</label>
<br />
</div></td>
<td><div class="datablock" style="min-width:275px; width:90%;">Основание<br />
<input name="sCompBaseVacation" type="text" class="datablock_input" id="sCompBaseVacation" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();" value="<?php echo StringWork::CheckNullStrFull($aWorkPlace[sCompBaseVacation]); ?>" />
</div></td>
<td width="200"><div class="datablock" style="width:100%;"> Фактическое наличие<br />
<label>
<input type="radio" name="sCompFactVacation" value="1" id="RadioGroup2_2" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[sCompFactVacation] == 1){echo(' checked="checked"');} ?>/>
Да</label>
<br />
<label>
<input type="radio" name="sCompFactVacation" value="0" id="RadioGroup2_3" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[sCompFactVacation] == 0){echo(' checked="checked"');} ?>/>
Нет</label>
<br />
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td class="table_odd"><table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="200"><div class="datablock" style="width:100%;"><span class="datablock" style="width:100%;">Сокращенное рабочее время</span><br />
<label>
<input type="radio" name="iCompShortWorkDay" value="1" id="RadioGroup1_4" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[iCompShortWorkDay] == 1){echo(' checked="checked"');} ?>/>
Да</label>
<br />
<label>
<input type="radio" name="iCompShortWorkDay" value="0" id="RadioGroup1_5" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[iCompShortWorkDay] == 0){echo(' checked="checked"');} ?>/>
Нет</label>
<br />
</div></td>
<td><div class="datablock" style="min-width:275px; width:90%;">Основание<br />
<input name="sCompBaseShortWorkDay" type="text" class="datablock_input" id="sCompBaseShortWorkDay" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();" value="<?php echo StringWork::CheckNullStrFull($aWorkPlace[sCompBaseShortWorkDay]); ?>" />
</div></td>
<td width="200"><div class="datablock" style="width:100%;"> Фактическое наличие<br />
<label>
<input type="radio" name="sCompFactShortWorkDay" value="1" id="RadioGroup2_4" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[sCompFactShortWorkDay] == 1){echo(' checked="checked"');} ?>/>
Да</label>
<br />
<label>
<input type="radio" name="sCompFactShortWorkDay" value="0" id="RadioGroup2_5" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[sCompFactShortWorkDay] == 0){echo(' checked="checked"');} ?>/>
Нет</label>
<br />
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td class="table_even"><table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="200"><div class="datablock" style="width:100%;"> Молоко<br />
<label>
<input type="radio" name="iCompMilk" value="1" id="RadioGroup1_6" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[iCompMilk] == 1){echo(' checked="checked"');} ?>/>
Да</label>
<br />
<label>
<input type="radio" name="iCompMilk" value="0" id="RadioGroup1_7" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[iCompMilk] == 0){echo(' checked="checked"');} ?>/>
Нет</label>
<br />
</div></td>
<td><div class="datablock" style="min-width:275px; width:90%;">Основание<br />
<input name="sCompBaseMilk" type="text" class="datablock_input" id="sCompBaseMilk" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();" value="<?php echo StringWork::CheckNullStrFull($aWorkPlace[sCompBaseMilk]); ?>" />
</div></td>
<td width="200"><div class="datablock" style="width:100%;"> Фактическое наличие<br />
<label>
<input type="radio" name="sCompFactMilk" value="1" id="RadioGroup2_6" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[sCompFactMilk] == 1){echo(' checked="checked"');} ?>/>
Да</label>
<br />
<label>
<input type="radio" name="sCompFactMilk" value="0" id="RadioGroup2_7" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[sCompFactMilk] == 0){echo(' checked="checked"');} ?>/>
Нет</label>
<br />
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td class="table_odd"><table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="200"><div class="datablock" style="width:100%;"> Профилактическое питание<br />
<label>
<input type="radio" name="iCompFood" value="1" id="RadioGroup1_8" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[iCompFood] == 1){echo(' checked="checked"');} ?>/>
Да</label>
<br />
<label>
<input type="radio" name="iCompFood" value="0" id="RadioGroup1_9" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[iCompFood] == 0){echo(' checked="checked"');} ?>/>
Нет</label>
<br />
</div></td>
<td><div class="datablock" style="min-width:275px; width:90%;">Основание<br />
<input name="sCompBaseFood" type="text" class="datablock_input" id="sCompBaseFood" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();" value="<?php echo StringWork::CheckNullStrFull($aWorkPlace[sCompBaseFood]); ?>" />
</div></td>
<td width="200"><div class="datablock" style="width:100%;"> Фактическое наличие<br />
<label>
<input type="radio" name="sCompFactFood" value="1" id="RadioGroup2_8" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[sCompFactFood] == 1){echo(' checked="checked"');} ?>/>
Да</label>
<br />
<label>
<input type="radio" name="sCompFactFood" value="0" id="RadioGroup2_9" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[sCompFactFood] == 0){echo(' checked="checked"');} ?>/>
Нет</label>
<br />
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td class="table_even"><table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="200"><div class="datablock" style="width:100%;"> Досрочная пенсия<br />
<label>
<input type="radio" name="iCompPension" value="1" id="RadioGroup1_10" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[iCompPension] == 1){echo(' checked="checked"');} ?>/>
Да</label>
<br />
<label>
<input type="radio" name="iCompPension" value="0" id="RadioGroup1_11" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[iCompPension] == 0){echo(' checked="checked"');} ?>/>
Нет</label>
<br />
</div></td>
<td><div class="datablock" style="min-width:275px; width:90%;">Основание<br />
<input name="sCompBasePension" type="text" class="datablock_input" id="sCompBasePension" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();" value='<?php echo StringWork::CheckNullStrFull($aWorkPlace[sCompBasePension]); ?>' />
</div></td>
<td width="200"><div class="datablock" style="width:100%;"> Фактическое наличие<br />
<label>
<input type="radio" name="sCompFactPension" value="1" id="RadioGroup2_10" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[sCompFactPension] == 1){echo(' checked="checked"');} ?>/>
Да</label>
<br />
<label>
<input type="radio" name="sCompFactPension" value="0" id="RadioGroup2_11" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[sCompFactPension] == 0){echo(' checked="checked"');} ?>/>
Нет</label>
<br />
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td class="table_odd"><table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="200"><div class="datablock" style="width:100%;"> Медицинские осмотры<br />
<label>
<input type="radio" name="iCompPhysical" value="1" id="RadioGroup1_12" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[iCompPhysical] == 1){echo(' checked="checked"');} ?>/>
Да</label>
<br />
<label>
<input type="radio" name="iCompPhysical" value="0" id="RadioGroup1_13" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[iCompPhysical] == 0){echo(' checked="checked"');} ?>/>
Нет</label>
<br />
</div></td>
<td><div class="datablock" style="min-width:275px; width:90%;">Основание<br />
<input name="sCompBasePhysical" type="text" class="datablock_input" id="sCompBasePhysical" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();" value='<?php echo StringWork::CheckNullStrFull($aWorkPlace[sCompBasePhysical]); ?>' />
</div></td>
<td width="200"><div class="datablock" style="width:100%;"> Фактическое наличие<br />
<label>
<input type="radio" name="sCompFactPhysical" value="1" id="RadioGroup2_12" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[sCompFactPhysical] == 1){echo(' checked="checked"');} ?>/>
Да</label>
<br />
<label>
<input type="radio" name="sCompFactPhysical" value="0" id="RadioGroup2_13" onchange="ChangeMessageChange();" onkeypress="ChangeMessageChange();"<? if($aWorkPlace[sCompFactPhysical] == 0){echo(' checked="checked"');} ?>/>
Нет</label>
<br />
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td>
<input name="button" type="submit" class="input_button" id="button" value="Сохранить изменения" onClick="ClickSaveWarranty(); ChangeMessageSave();"/><input name="button2" type="submit" class="input_button input_button_book" id="button2" value=" " onClick="PoupUpMessgeAjax('frame_PoupUp_AjaxSelectWarranty.php');" title="Справочник"/><input name="button" type="submit" class="input_button input_button_master" id="button" value=" " onclick="FastWarranty();" title="Автоматическое установление доплат, доп. отпуска и сокращенной продолжительности рабочего дня в соответствии с ТК РФ."/><input name="button" type="submit" class="input_button input_button_import" id="button" value=" " onclick="PoupUpMessgeAjax('frame_PoupUp_AjaxImport.php?sType=Warranty');" title="Импорт данных из других рабочих мест..."/>
<div id="ChangeMessageDisplay" class="comment" style="display:inline-block;margin-left:20px;"></div></td>
</tr>
</table>