Revision 0cd40322
Von Sven Schöling vor mehr als 16 Jahren hinzugefügt
bin/mozilla/rp.pl | ||
---|---|---|
142 | 142 |
$form->all_departments(\%myconfig); |
143 | 143 |
if (@{ $form->{all_departments} }) { |
144 | 144 |
$form->{selectdepartment} = "<option>\n"; |
145 |
|
|
146 |
map { |
|
147 |
$form->{selectdepartment} .= |
|
148 |
"<option>$_->{description}--$_->{id}\n" |
|
149 |
} (@{ $form->{all_departments} }); |
|
145 |
map { $form->{selectdepartment} .= "<option>$_->{description}--$_->{id}\n" } @{ $form->{all_departments} }; |
|
150 | 146 |
} |
151 | 147 |
|
152 | 148 |
$department = qq| |
... | ... | |
216 | 212 |
# with JavaScript Calendar |
217 | 213 |
if ($form->{jsscript}) { |
218 | 214 |
if ($name_1 eq "") { |
219 |
|
|
220 |
$button1 = qq| |
|
221 |
<input name=$name_2 id=$id_2 size=11 title="$myconfig{dateformat}" onBlur=\"check_right_date_format(this)\">|; |
|
222 |
$button1_2 = qq| |
|
223 |
<input type=button name=$name_2 id="$trigger_2" value=| |
|
224 |
. $locale->text('button') . qq|>|; |
|
215 |
$button1 = qq| <input name=$name_2 id=$id_2 size=11 title="$myconfig{dateformat}" onBlur=\"check_right_date_format(this)\">|; |
|
216 |
$button1_2 = qq| <input type=button name=$name_2 id="$trigger_2" value=| . $locale->text('button') . qq|>|; |
|
225 | 217 |
|
226 | 218 |
#write Trigger |
227 |
$jsscript = |
|
228 |
Form->write_trigger(\%myconfig, "1", "$name_2", "BR", "$trigger_2"); |
|
219 |
$jsscript = Form->write_trigger(\%myconfig, "1", "$name_2", "BR", "$trigger_2"); |
|
229 | 220 |
} else { |
230 |
$button1 = qq| |
|
231 |
<input name=$name_1 id=$id_1 size=11 title="$myconfig{dateformat}" value="$value_1" onBlur=\"check_right_date_format(this)\">|; |
|
232 |
$button1_2 = qq| |
|
233 |
<input type=button name=$name_1 id="$trigger_1" value=| |
|
234 |
. $locale->text('button') . qq|>|; |
|
235 |
$button2 = qq| |
|
236 |
<input name=$name_2 id=$id_2 size=11 title="$myconfig{dateformat}" onBlur=\"check_right_date_format(this)\">|; |
|
237 |
$button2_2 = qq| |
|
238 |
<input type=button name=$name_2 id="$trigger_2" value=| |
|
239 |
. $locale->text('button') . qq|> |
|
240 |
|; |
|
221 |
$button1 = qq| <input name=$name_1 id=$id_1 size=11 title="$myconfig{dateformat}" value="$value_1" onBlur=\"check_right_date_format(this)\">|; |
|
222 |
$button1_2 = qq| <input type=button name=$name_1 id="$trigger_1" value=| . $locale->text('button') . qq|>|; |
|
223 |
$button2 = qq| <input name=$name_2 id=$id_2 size=11 title="$myconfig{dateformat}" onBlur=\"check_right_date_format(this)\">|; |
|
224 |
$button2_2 = qq| <input type=button name=$name_2 id="$trigger_2" value=| . $locale->text('button') . qq|> |; |
|
241 | 225 |
|
242 | 226 |
#write Trigger |
243 |
$jsscript = |
|
244 |
Form->write_trigger(\%myconfig, "2", "$name_1", "BR", "$trigger_1", |
|
245 |
"$name_2", "BL", "$trigger_2"); |
|
227 |
$jsscript = Form->write_trigger(\%myconfig, "2", "$name_1", "BR", "$trigger_1", "$name_2", "BL", "$trigger_2"); |
|
246 | 228 |
} |
247 | 229 |
} else { |
248 | 230 |
|
249 | 231 |
# without JavaScript Calendar |
250 | 232 |
if ($name_1 eq "") { |
251 |
$button1 = |
|
252 |
qq|<input name=$name_2 id=$id_2 size=11 title="$myconfig{dateformat}" onBlur=\"check_right_date_format(this)\">|; |
|
233 |
$button1 = qq|<input name=$name_2 id=$id_2 size=11 title="$myconfig{dateformat}" onBlur=\"check_right_date_format(this)\">|; |
|
253 | 234 |
} else { |
254 |
$button1 = |
|
255 |
qq|<input name=$name_1 id=$id_1 size=11 title="$myconfig{dateformat}" value=$value_1 onBlur=\"check_right_date_format(this)\">|; |
|
256 |
$button2 = |
|
257 |
qq|<input name=$name_2 id=$id_2 size=11 title="$myconfig{dateformat}" onBlur=\"check_right_date_format(this)\">|; |
|
235 |
$button1 = qq|<input name=$name_1 id=$id_1 size=11 title="$myconfig{dateformat}" value=$value_1 onBlur=\"check_right_date_format(this)\">|; |
|
236 |
$button2 = qq|<input name=$name_2 id=$id_2 size=11 title="$myconfig{dateformat}" onBlur=\"check_right_date_format(this)\">|; |
|
258 | 237 |
} |
259 | 238 |
} |
260 | 239 |
$form->{javascript} .= qq|<script type="text/javascript" src="js/common.js"></script>|; |
... | ... | |
303 | 282 |
<table> |
304 | 283 |
<tr> |
305 | 284 |
<th align=right nowrap>| . $locale->text('Include in Report') . qq|</th> |
306 |
<td><input name=l_heading class=checkbox type=checkbox value=Y> | |
|
307 |
. $locale->text('Heading') . qq| |
|
308 |
<input name=l_subtotal class=checkbox type=checkbox value=Y> | |
|
309 |
. $locale->text('Subtotal') . qq|</td> |
|
285 |
<td><input name=l_heading class=checkbox type=checkbox value=Y> | . $locale->text('Heading') . qq| |
|
286 |
<input name=l_subtotal class=checkbox type=checkbox value=Y> | . $locale->text('Subtotal') . qq|</td> |
|
310 | 287 |
</tr> |
311 | 288 |
|
312 | 289 |
$jsscript |
... | ... | |
323 | 300 |
</table> |
324 | 301 |
<table> |
325 | 302 |
<tr> |
326 |
<th align=left><input name=reporttype class=radio type=radio value="custom" checked> | |
|
327 |
. $locale->text('Customized Report') . qq|</th> |
|
303 |
<th align=left><input name=reporttype class=radio type=radio value="custom" checked> | . $locale->text('Customized Report') . qq|</th> |
|
328 | 304 |
</tr> |
329 | 305 |
<tr> |
330 | 306 |
<th colspan=1>| . $locale->text('Year') . qq|</th> |
331 |
<td><input name=year size=11 title="| |
|
332 |
. $locale->text('YYYY') . qq|" value="$year"></td> |
|
307 |
<td><input name=year size=11 title="| . $locale->text('YYYY') . qq|" value="$year"></td> |
|
333 | 308 |
</tr> |
334 | 309 |
|; |
335 | 310 |
|
336 | 311 |
print qq| |
337 | 312 |
<tr> |
338 |
<td align=right> |
|
339 |
<b> | . $locale->text('Yearly') . qq|</b> </td> |
|
313 |
<td align=right> <b> | . $locale->text('Yearly') . qq|</b> </td> |
|
340 | 314 |
<th align=left>| . $locale->text('Quarterly') . qq|</th> |
341 | 315 |
<th align=left colspan=3>| . $locale->text('Monthly') . qq|</th> |
342 | 316 |
</tr> |
343 | 317 |
<tr> |
344 |
<td align=right> <input name=duetyp class=radio type=radio value="13" |
|
345 |
"checked"></td> |
|
346 |
<td><input name=duetyp class=radio type=radio value="A" $checked > 1. | |
|
347 |
. $locale->text('Quarter') . qq|</td> |
|
318 |
<td align=right> <input name=duetyp class=radio type=radio value="13" "checked"></td> |
|
319 |
<td><input name=duetyp class=radio type=radio value="A" $checked > 1. | . $locale->text('Quarter') . qq|</td> |
|
348 | 320 |
|; |
349 | 321 |
$checked = ""; |
350 | 322 |
print qq| |
351 |
<td><input name=duetyp class=radio type=radio value="1" $checked > | |
|
352 |
. $locale->text('January') . qq|</td> |
|
323 |
<td><input name=duetyp class=radio type=radio value="1" $checked > | . $locale->text('January') . qq|</td> |
|
353 | 324 |
|; |
354 | 325 |
$checked = ""; |
355 | 326 |
print qq| |
356 |
<td><input name=duetyp class=radio type=radio value="5" $checked > | |
|
357 |
. $locale->text('May') . qq|</td> |
|
358 |
<td><input name=duetyp class=radio type=radio value="9" $checked > | |
|
359 |
. $locale->text('September') . qq|</td> |
|
327 |
<td><input name=duetyp class=radio type=radio value="5" $checked > | . $locale->text('May') . qq|</td> |
|
328 |
<td><input name=duetyp class=radio type=radio value="9" $checked > | . $locale->text('September') . qq|</td> |
|
360 | 329 |
|
361 | 330 |
</tr> |
362 | 331 |
<tr> |
363 | 332 |
<td align= right> </td> |
364 |
<td><input name=duetyp class=radio type=radio value="B" $checked> 2. | |
|
365 |
. $locale->text('Quarter') . qq|</td> |
|
366 |
<td><input name=duetyp class=radio type=radio value="2" $checked > | |
|
367 |
. $locale->text('February') . qq|</td> |
|
368 |
<td><input name=duetyp class=radio type=radio value="6" $checked > | |
|
369 |
. $locale->text('June') . qq|</td> |
|
370 |
<td><input name=duetyp class=radio type=radio value="10" $checked > | |
|
371 |
. $locale->text('October') . qq|</td> |
|
333 |
<td><input name=duetyp class=radio type=radio value="B" $checked> 2. | . $locale->text('Quarter') . qq|</td> |
|
334 |
<td><input name=duetyp class=radio type=radio value="2" $checked > | . $locale->text('February') . qq|</td> |
|
335 |
<td><input name=duetyp class=radio type=radio value="6" $checked > | . $locale->text('June') . qq|</td> |
|
336 |
<td><input name=duetyp class=radio type=radio value="10" $checked > | . $locale->text('October') . qq|</td> |
|
372 | 337 |
</tr> |
373 | 338 |
<tr> |
374 | 339 |
<td> </td> |
375 |
<td><input name=duetyp class=radio type=radio value="C" $checked> 3. | |
|
376 |
. $locale->text('Quarter') . qq|</td> |
|
377 |
<td><input name=duetyp class=radio type=radio value="3" $checked > | |
|
378 |
. $locale->text('March') . qq|</td> |
|
379 |
<td><input name=duetyp class=radio type=radio value="7" $checked > | |
|
380 |
. $locale->text('July') . qq|</td> |
|
381 |
<td><input name=duetyp class=radio type=radio value="11" $checked > | |
|
382 |
. $locale->text('November') . qq|</td> |
|
340 |
<td><input name=duetyp class=radio type=radio value="C" $checked> 3. | . $locale->text('Quarter') . qq|</td> |
|
341 |
<td><input name=duetyp class=radio type=radio value="3" $checked > | . $locale->text('March') . qq|</td> |
|
342 |
<td><input name=duetyp class=radio type=radio value="7" $checked > | . $locale->text('July') . qq|</td> |
|
343 |
<td><input name=duetyp class=radio type=radio value="11" $checked > | . $locale->text('November') . qq|</td> |
|
383 | 344 |
|
384 | 345 |
</tr> |
385 | 346 |
<tr> |
386 | 347 |
<td> </td> |
387 |
<td><input name=duetyp class=radio type=radio value="D" $checked> 4. | |
|
388 |
. $locale->text('Quarter') . qq| </td> |
|
389 |
<td><input name=duetyp class=radio type=radio value="4" $checked > | |
|
390 |
. $locale->text('April') . qq|</td> |
|
391 |
<td><input name=duetyp class=radio type=radio value="8" $checked > | |
|
392 |
. $locale->text('August') . qq|</td> |
|
393 |
<td><input name=duetyp class=radio type=radio value="12" $checked > | |
|
394 |
. $locale->text('December') . qq|</td> |
|
348 |
<td><input name=duetyp class=radio type=radio value="D" $checked> 4. | . $locale->text('Quarter') . qq| </td> |
|
349 |
<td><input name=duetyp class=radio type=radio value="4" $checked > | . $locale->text('April') . qq|</td> |
|
350 |
<td><input name=duetyp class=radio type=radio value="8" $checked > | . $locale->text('August') . qq|</td> |
|
351 |
<td><input name=duetyp class=radio type=radio value="12" $checked > | . $locale->text('December') . qq|</td> |
|
395 | 352 |
|
396 | 353 |
</tr> |
397 | 354 |
<tr> |
398 | 355 |
<td colspan=5><hr size=3 noshade></td> |
399 | 356 |
</tr> |
400 | 357 |
<tr> |
401 |
<th align=left><input name=reporttype class=radio type=radio value="free" $checked> | |
|
402 |
. $locale->text('Free report period') . qq|</th> |
|
358 |
<th align=left><input name=reporttype class=radio type=radio value="free" $checked> | . $locale->text('Free report period') . qq|</th> |
|
403 | 359 |
<td align=left colspan=4>| . $locale->text('From') . qq| |
404 | 360 |
$button1 |
405 | 361 |
$button1_2 |
... | ... | |
413 | 369 |
</tr> |
414 | 370 |
<tr> |
415 | 371 |
<th align=leftt>| . $locale->text('Method') . qq|</th> |
416 |
<td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| |
|
417 |
. $locale->text('Accrual') . qq| |
|
418 |
<input name=method class=radio type=radio value=cash $cash>| |
|
419 |
. $locale->text('EUR') . qq|</td> |
|
372 |
<td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq| |
|
373 |
<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td> |
|
420 | 374 |
</tr> |
421 | 375 |
|
422 | 376 |
$jsscript |
... | ... | |
433 | 387 |
</table> |
434 | 388 |
<table> |
435 | 389 |
<tr> |
436 |
<th align=left><input name=reporttype class=radio type=radio value="custom" checked> | |
|
437 |
. $locale->text('Customized Report') . qq|</th> |
|
390 |
<th align=left><input name=reporttype class=radio type=radio value="custom" checked> | . $locale->text('Customized Report') . qq|</th> |
|
438 | 391 |
</tr> |
439 | 392 |
<tr> |
440 | 393 |
<th colspan=1>| . $locale->text('Year') . qq|</th> |
441 |
<td><input name=year size=11 title="| |
|
442 |
. $locale->text('YYYY') . qq|" value="$year"></td> |
|
394 |
<td><input name=year size=11 title="| . $locale->text('YYYY') . qq|" value="$year"></td> |
|
443 | 395 |
</tr> |
444 | 396 |
|; |
445 | 397 |
|
446 | 398 |
print qq| |
447 | 399 |
<tr> |
448 |
<td align=right> |
|
449 |
<b> | . $locale->text('Yearly') . qq|</b> </td> |
|
400 |
<td align=right> <b> | . $locale->text('Yearly') . qq|</b> </td> |
|
450 | 401 |
<th align=left>| . $locale->text('Quarterly') . qq|</th> |
451 | 402 |
<th align=left colspan=3>| . $locale->text('Monthly') . qq|</th> |
452 | 403 |
</tr> |
453 | 404 |
<tr> |
454 | 405 |
<td align=right> <input name=duetyp class=radio type=radio value="13" |
455 | 406 |
$checked></td> |
456 |
<td><input name=duetyp class=radio type=radio value="A" $checked > 1. | |
|
457 |
. $locale->text('Quarter') . qq|</td> |
|
407 |
<td><input name=duetyp class=radio type=radio value="A" $checked > 1. | . $locale->text('Quarter') . qq|</td> |
|
458 | 408 |
|; |
459 | 409 |
$checked = "checked"; |
460 | 410 |
print qq| |
461 |
<td><input name=duetyp class=radio type=radio value="1" $checked > | |
|
462 |
. $locale->text('January') . qq|</td> |
|
411 |
<td><input name=duetyp class=radio type=radio value="1" $checked > | . $locale->text('January') . qq|</td> |
|
463 | 412 |
|; |
464 | 413 |
$checked = ""; |
465 | 414 |
print qq| |
466 |
<td><input name=duetyp class=radio type=radio value="5" $checked > | |
|
467 |
. $locale->text('May') . qq|</td> |
|
468 |
<td><input name=duetyp class=radio type=radio value="9" $checked > | |
|
469 |
. $locale->text('September') . qq|</td> |
|
415 |
<td><input name=duetyp class=radio type=radio value="5" $checked > | . $locale->text('May') . qq|</td> |
|
416 |
<td><input name=duetyp class=radio type=radio value="9" $checked > | . $locale->text('September') . qq|</td> |
|
470 | 417 |
|
471 | 418 |
</tr> |
472 | 419 |
<tr> |
473 | 420 |
<td align= right> </td> |
474 |
<td><input name=duetyp class=radio type=radio value="B" $checked> 2. | |
|
475 |
. $locale->text('Quarter') . qq|</td> |
|
476 |
<td><input name=duetyp class=radio type=radio value="2" $checked > | |
|
477 |
. $locale->text('February') . qq|</td> |
|
478 |
<td><input name=duetyp class=radio type=radio value="6" $checked > | |
|
479 |
. $locale->text('June') . qq|</td> |
|
480 |
<td><input name=duetyp class=radio type=radio value="10" $checked > | |
|
481 |
. $locale->text('October') . qq|</td> |
|
421 |
<td><input name=duetyp class=radio type=radio value="B" $checked> 2. | . $locale->text('Quarter') . qq|</td> |
|
422 |
<td><input name=duetyp class=radio type=radio value="2" $checked > | . $locale->text('February') . qq|</td> |
|
423 |
<td><input name=duetyp class=radio type=radio value="6" $checked > | . $locale->text('June') . qq|</td> |
|
424 |
<td><input name=duetyp class=radio type=radio value="10" $checked > | . $locale->text('October') . qq|</td> |
|
482 | 425 |
</tr> |
483 | 426 |
<tr> |
484 | 427 |
<td> </td> |
485 |
<td><input name=duetyp class=radio type=radio value="C" $checked> 3. | |
|
486 |
. $locale->text('Quarter') . qq|</td> |
|
487 |
<td><input name=duetyp class=radio type=radio value="3" $checked > | |
|
488 |
. $locale->text('March') . qq|</td> |
|
489 |
<td><input name=duetyp class=radio type=radio value="7" $checked > | |
|
490 |
. $locale->text('July') . qq|</td> |
|
491 |
<td><input name=duetyp class=radio type=radio value="11" $checked > | |
|
492 |
. $locale->text('November') . qq|</td> |
|
428 |
<td><input name=duetyp class=radio type=radio value="C" $checked> 3. | . $locale->text('Quarter') . qq|</td> |
|
429 |
<td><input name=duetyp class=radio type=radio value="3" $checked > | . $locale->text('March') . qq|</td> |
|
430 |
<td><input name=duetyp class=radio type=radio value="7" $checked > | . $locale->text('July') . qq|</td> |
|
431 |
<td><input name=duetyp class=radio type=radio value="11" $checked > | . $locale->text('November') . qq|</td> |
|
493 | 432 |
|
494 | 433 |
</tr> |
495 | 434 |
<tr> |
496 | 435 |
<td> </td> |
497 |
<td><input name=duetyp class=radio type=radio value="D" $checked> 4. | |
|
498 |
. $locale->text('Quarter') . qq| </td> |
|
499 |
<td><input name=duetyp class=radio type=radio value="4" $checked > | |
|
500 |
. $locale->text('April') . qq|</td> |
|
501 |
<td><input name=duetyp class=radio type=radio value="8" $checked > | |
|
502 |
. $locale->text('August') . qq|</td> |
|
503 |
<td><input name=duetyp class=radio type=radio value="12" $checked > | |
|
504 |
. $locale->text('December') . qq|</td> |
|
436 |
<td><input name=duetyp class=radio type=radio value="D" $checked> 4. | . $locale->text('Quarter') . qq| </td> |
|
437 |
<td><input name=duetyp class=radio type=radio value="4" $checked > | . $locale->text('April') . qq|</td> |
|
438 |
<td><input name=duetyp class=radio type=radio value="8" $checked > | . $locale->text('August') . qq|</td> |
|
439 |
<td><input name=duetyp class=radio type=radio value="12" $checked > | . $locale->text('December') . qq|</td> |
|
505 | 440 |
|
506 | 441 |
</tr> |
507 | 442 |
<tr> |
508 | 443 |
<td colspan=5><hr size=3 noshade></td> |
509 | 444 |
</tr> |
510 | 445 |
<tr> |
511 |
<th align=left><input name=reporttype class=radio type=radio value="free" $checked> | |
|
512 |
. $locale->text('Free report period') . qq|</th> |
|
446 |
<th align=left><input name=reporttype class=radio type=radio value="free" $checked> | . $locale->text('Free report period') . qq|</th> |
|
513 | 447 |
<td align=left colspan=4>| . $locale->text('From') . qq| |
514 | 448 |
$button1 |
515 | 449 |
$button1_2 |
... | ... | |
523 | 457 |
</tr> |
524 | 458 |
<tr> |
525 | 459 |
<th align=leftt>| . $locale->text('Method') . qq|</th> |
526 |
<td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| |
|
527 |
. $locale->text('Accrual') . qq| |
|
528 |
<input name=method class=radio type=radio value=cash $cash>| |
|
529 |
. $locale->text('EUR') . qq|</td> |
|
460 |
<td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq| |
|
461 |
<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td> |
|
530 | 462 |
</tr> |
531 | 463 |
<tr> |
532 |
<th align=right colspan=4>| |
|
533 |
. $locale->text('Decimalplaces') |
|
534 |
. qq|</th> |
|
464 |
<th align=right colspan=4>| . $locale->text('Decimalplaces') . qq|</th> |
|
535 | 465 |
<td><input name=decimalplaces size=3 value="2"></td> |
536 | 466 |
</tr> |
537 | 467 |
|
... | ... | |
566 | 496 |
<table> |
567 | 497 |
<tr> |
568 | 498 |
<th align=right>| . $locale->text('Method') . qq|</th> |
569 |
<td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| |
|
570 |
. $locale->text('Accrual') . qq| |
|
571 |
<input name=method class=radio type=radio value=cash $cash>| |
|
572 |
. $locale->text('EUR') . qq|</td> |
|
499 |
<td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq| |
|
500 |
<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td> |
|
573 | 501 |
</tr> |
574 | 502 |
|
575 | 503 |
<tr> |
576 | 504 |
<th align=right nowrap>| . $locale->text('Include in Report') . qq|</th> |
577 |
<td><input name=l_heading class=checkbox type=checkbox value=Y> | |
|
578 |
. $locale->text('Heading') . qq| |
|
579 |
<input name=l_subtotal class=checkbox type=checkbox value=Y> | |
|
580 |
. $locale->text('Subtotal') . qq| |
|
581 |
<input name=l_accno class=checkbox type=checkbox value=Y> | |
|
582 |
. $locale->text('Account Number') . qq|</td> |
|
505 |
<td><input name=l_heading class=checkbox type=checkbox value=Y> | . $locale->text('Heading') . qq| |
|
506 |
<input name=l_subtotal class=checkbox type=checkbox value=Y> | . $locale->text('Subtotal') . qq| |
|
507 |
<input name=l_accno class=checkbox type=checkbox value=Y> | . $locale->text('Account Number') . qq|</td> |
|
583 | 508 |
</tr> |
584 | 509 |
|
585 | 510 |
$jsscript |
... | ... | |
596 | 521 |
</table> |
597 | 522 |
<table> |
598 | 523 |
<tr> |
599 |
<th align=left><input name=reporttype class=radio type=radio value="custom" checked> | |
|
600 |
. $locale->text('Customized Report') . qq|</th> |
|
524 |
<th align=left><input name=reporttype class=radio type=radio value="custom" checked> | . $locale->text('Customized Report') . qq|</th> |
|
601 | 525 |
</tr> |
602 | 526 |
<tr> |
603 | 527 |
<th colspan=1>| . $locale->text('Year') . qq|</th> |
604 |
<td><input name=year size=11 title="| |
|
605 |
. $locale->text('YYYY') . qq|" value="$year"></td> |
|
528 |
<td><input name=year size=11 title="| . $locale->text('YYYY') . qq|" value="$year"></td> |
|
606 | 529 |
</tr> |
607 | 530 |
|; |
608 | 531 |
|
609 | 532 |
print qq| |
610 | 533 |
<tr> |
611 |
<td align=right> |
|
612 |
<b> | . $locale->text('Yearly') . qq|</b> </td> |
|
534 |
<td align=right> <b> | . $locale->text('Yearly') . qq|</b> </td> |
|
613 | 535 |
<th align=left>| . $locale->text('Quarterly') . qq|</th> |
614 | 536 |
<th align=left colspan=3>| . $locale->text('Monthly') . qq|</th> |
615 | 537 |
</tr> |
616 | 538 |
<tr> |
617 |
<td align=right> <input name=duetyp class=radio type=radio value="13" |
|
618 |
$checked></td> |
|
619 |
<td><input name=duetyp class=radio type=radio value="A" $checked > 1. | |
|
620 |
. $locale->text('Quarter') . qq|</td> |
|
539 |
<td align=right> <input name=duetyp class=radio type=radio value="13" $checked></td> |
|
540 |
<td><input name=duetyp class=radio type=radio value="A" $checked > 1. | . $locale->text('Quarter') . qq|</td> |
|
621 | 541 |
|; |
622 | 542 |
$checked = "checked"; |
623 | 543 |
print qq| |
624 |
<td><input name=duetyp class=radio type=radio value="1" $checked > | |
|
625 |
. $locale->text('January') . qq|</td> |
|
544 |
<td><input name=duetyp class=radio type=radio value="1" $checked > | . $locale->text('January') . qq|</td> |
|
626 | 545 |
|; |
627 | 546 |
$checked = ""; |
628 | 547 |
print qq| |
629 |
<td><input name=duetyp class=radio type=radio value="5" $checked > | |
|
630 |
. $locale->text('May') . qq|</td> |
|
631 |
<td><input name=duetyp class=radio type=radio value="9" $checked > | |
|
632 |
. $locale->text('September') . qq|</td> |
|
548 |
<td><input name=duetyp class=radio type=radio value="5" $checked > | . $locale->text('May') . qq|</td> |
|
549 |
<td><input name=duetyp class=radio type=radio value="9" $checked > | . $locale->text('September') . qq|</td> |
|
633 | 550 |
|
634 | 551 |
</tr> |
635 | 552 |
<tr> |
636 | 553 |
<td align= right> </td> |
637 |
<td><input name=duetyp class=radio type=radio value="B" $checked> 2. | |
|
638 |
. $locale->text('Quarter') . qq|</td> |
|
639 |
<td><input name=duetyp class=radio type=radio value="2" $checked > | |
|
640 |
. $locale->text('February') . qq|</td> |
|
641 |
<td><input name=duetyp class=radio type=radio value="6" $checked > | |
|
642 |
. $locale->text('June') . qq|</td> |
|
643 |
<td><input name=duetyp class=radio type=radio value="10" $checked > | |
|
644 |
. $locale->text('October') . qq|</td> |
|
554 |
<td><input name=duetyp class=radio type=radio value="B" $checked> 2. | . $locale->text('Quarter') . qq|</td> |
|
555 |
<td><input name=duetyp class=radio type=radio value="2" $checked > | . $locale->text('February') . qq|</td> |
|
556 |
<td><input name=duetyp class=radio type=radio value="6" $checked > | . $locale->text('June') . qq|</td> |
|
557 |
<td><input name=duetyp class=radio type=radio value="10" $checked > | . $locale->text('October') . qq|</td> |
|
645 | 558 |
</tr> |
646 | 559 |
<tr> |
647 | 560 |
<td> </td> |
648 |
<td><input name=duetyp class=radio type=radio value="C" $checked> 3. | |
|
649 |
. $locale->text('Quarter') . qq|</td> |
|
650 |
<td><input name=duetyp class=radio type=radio value="3" $checked > | |
|
651 |
. $locale->text('March') . qq|</td> |
|
652 |
<td><input name=duetyp class=radio type=radio value="7" $checked > | |
|
653 |
. $locale->text('July') . qq|</td> |
|
654 |
<td><input name=duetyp class=radio type=radio value="11" $checked > | |
|
655 |
. $locale->text('November') . qq|</td> |
|
561 |
<td><input name=duetyp class=radio type=radio value="C" $checked> 3. | . $locale->text('Quarter') . qq|</td> |
|
562 |
<td><input name=duetyp class=radio type=radio value="3" $checked > | . $locale->text('March') . qq|</td> |
|
563 |
<td><input name=duetyp class=radio type=radio value="7" $checked > | . $locale->text('July') . qq|</td> |
|
564 |
<td><input name=duetyp class=radio type=radio value="11" $checked > | . $locale->text('November') . qq|</td> |
|
656 | 565 |
|
657 | 566 |
</tr> |
658 | 567 |
<tr> |
659 | 568 |
<td> </td> |
660 |
<td><input name=duetyp class=radio type=radio value="D" $checked> 4. | |
|
661 |
. $locale->text('Quarter') . qq| </td> |
|
662 |
<td><input name=duetyp class=radio type=radio value="4" $checked > | |
|
663 |
. $locale->text('April') . qq|</td> |
|
664 |
<td><input name=duetyp class=radio type=radio value="8" $checked > | |
|
665 |
. $locale->text('August') . qq|</td> |
|
666 |
<td><input name=duetyp class=radio type=radio value="12" $checked > | |
|
667 |
. $locale->text('December') . qq|</td> |
|
569 |
<td><input name=duetyp class=radio type=radio value="D" $checked> 4. | . $locale->text('Quarter') . qq| </td> |
|
570 |
<td><input name=duetyp class=radio type=radio value="4" $checked > | . $locale->text('April') . qq|</td> |
|
571 |
<td><input name=duetyp class=radio type=radio value="8" $checked > | . $locale->text('August') . qq|</td> |
|
572 |
<td><input name=duetyp class=radio type=radio value="12" $checked > | . $locale->text('December') . qq|</td> |
|
668 | 573 |
|
669 | 574 |
</tr> |
670 | 575 |
<tr> |
671 | 576 |
<td colspan=5><hr size=3 noshade></td> |
672 | 577 |
</tr> |
673 | 578 |
<tr> |
674 |
<th align=left><input name=reporttype class=radio type=radio value="free" $checked> | |
|
675 |
. $locale->text('Free report period') . qq|</th> |
|
579 |
<th align=left><input name=reporttype class=radio type=radio value="free" $checked> | . $locale->text('Free report period') . qq|</th> |
|
676 | 580 |
<td align=left colspan=4>| . $locale->text('From') . qq| |
677 | 581 |
$button1 |
678 | 582 |
$button1_2 |
... | ... | |
686 | 590 |
</tr> |
687 | 591 |
<tr> |
688 | 592 |
<th align=leftt>| . $locale->text('Method') . qq|</th> |
689 |
<td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| |
|
690 |
. $locale->text('Accrual') . qq| |
|
691 |
<input name=method class=radio type=radio value=cash $cash>| |
|
692 |
. $locale->text('EUR') . qq|</td> |
|
593 |
<td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq| |
|
594 |
<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td> |
|
693 | 595 |
</tr> |
694 | 596 |
<tr> |
695 |
<th align=right colspan=4>| |
|
696 |
. $locale->text('All Accounts') |
|
697 |
. qq|</th> |
|
597 |
<th align=right colspan=4>| . $locale->text('All Accounts') . qq|</th> |
|
698 | 598 |
<td><input name=all_accounts type=checkbox value=1></td> |
699 | 599 |
</tr> |
700 | 600 |
<tr> |
701 |
<th align=right colspan=4>| |
|
702 |
. $locale->text('Decimalplaces') |
|
703 |
. qq|</th> |
|
601 |
<th align=right colspan=4>| . $locale->text('Decimalplaces') . qq|</th> |
|
704 | 602 |
<td><input name=decimalplaces size=3 value="2"></td> |
705 | 603 |
</tr> |
706 | 604 |
|
... | ... | |
747 | 645 |
</tr> |
748 | 646 |
<tr> |
749 | 647 |
<th align=right>| . $locale->text('Method') . qq|</th> |
750 |
<td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| |
|
751 |
. $locale->text('Accrual') . qq| |
|
752 |
<input name=method class=radio type=radio value=cash $cash>| |
|
753 |
. $locale->text('EUR') . qq|</td> |
|
648 |
<td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq| |
|
649 |
<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td> |
|
754 | 650 |
</tr> |
755 | 651 |
</table> |
756 | 652 |
</td> |
... | ... | |
958 | 854 |
</tr> |
959 | 855 |
<tr> |
960 | 856 |
<td align=right><input type=checkbox style=checkbox name=fx_transaction value=1 checked></td> |
961 |
<th align=left colspan=3>| |
|
962 |
. $locale->text('Include Exchangerate Difference') . qq|</td> |
|
857 |
<th align=left colspan=3>| . $locale->text('Include Exchangerate Difference') . qq|</td> |
|
963 | 858 |
</tr> |
964 | 859 |
|
965 | 860 |
$jsscript |
... | ... | |
981 | 876 |
</table> |
982 | 877 |
|
983 | 878 |
<br> |
984 |
<input type=submit class=submit name=action value="| |
|
985 |
. $locale->text('Continue') . qq|"> |
|
879 |
<input type=submit class=submit name=action value="| . $locale->text('Continue') . qq|"> |
|
986 | 880 |
|
987 | 881 |
</form> |
988 | 882 |
|
... | ... | |
2276 | 2170 |
$option .= "<br>" if $option; |
2277 | 2171 |
$option .= "$form->{period}"; |
2278 | 2172 |
|
2279 |
$column_header{id} = |
|
2280 |
qq|<th><a class=listheading href=$href&sort=id>| |
|
2281 |
. $locale->text('ID') |
|
2282 |
. qq|</th>|; |
|
2283 |
$column_header{invnumber} = |
|
2284 |
qq|<th><a class=listheading href=$href&sort=invnumber>| |
|
2285 |
. $locale->text('Invoice') |
|
2286 |
. qq|</th>|; |
|
2287 |
$column_header{transdate} = |
|
2288 |
qq|<th><a class=listheading href=$href&sort=transdate>| |
|
2289 |
. $locale->text('Date') |
|
2290 |
. qq|</th>|; |
|
2291 |
$column_header{netamount} = |
|
2292 |
qq|<th class=listheading>| . $locale->text('Amount') . qq|</th>|; |
|
2293 |
$column_header{tax} = |
|
2294 |
qq|<th class=listheading>| . $locale->text('Tax') . qq|</th>|; |
|
2295 |
$column_header{amount} = |
|
2296 |
qq|<th class=listheading>| . $locale->text('Total') . qq|</th>|; |
|
2297 |
|
|
2298 |
$column_header{name} = |
|
2299 |
qq|<th><a class=listheading href=$href&sort=name>$name</th>|; |
|
2173 |
$column_header{id} = qq|<th><a class=listheading href=$href&sort=id>| . $locale->text('ID') . qq|</th>|; |
|
2174 |
$column_header{invnumber} = qq|<th><a class=listheading href=$href&sort=invnumber>| . $locale->text('Invoice') . qq|</th>|; |
|
2175 |
$column_header{transdate} = qq|<th><a class=listheading href=$href&sort=transdate>| . $locale->text('Date') . qq|</th>|; |
|
2176 |
$column_header{netamount} = qq|<th class=listheading>| . $locale->text('Amount') . qq|</th>|; |
|
2177 |
$column_header{tax} = qq|<th class=listheading>| . $locale->text('Tax') . qq|</th>|; |
|
2178 |
$column_header{amount} = qq|<th class=listheading>| . $locale->text('Total') . qq|</th>|; |
|
2179 |
|
|
2180 |
$column_header{name} = qq|<th><a class=listheading href=$href&sort=name>$name</th>|; |
|
2300 | 2181 |
|
2301 | 2182 |
$form->header; |
2302 | 2183 |
|
Auch abrufbar als: Unified diff
Kosmetik (wird demnaechst in template ausgelagert).