Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0cd40322

Von Sven Schöling vor mehr als 16 Jahren hinzugefügt

  • ID 0cd403228559232bfcdd3090398a65dab0b8338b
  • Vorgänger f37b48e9
  • Nachfolger e9459971

Kosmetik (wird demnaechst in template ausgelagert).

Unterschiede anzeigen:

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>&nbsp;|
307
      . $locale->text('Heading') . qq|
308
	  <input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;|
309
      . $locale->text('Subtotal') . qq|</td>
285
	  <td><input name=l_heading class=checkbox type=checkbox value=Y>&nbsp;| . $locale->text('Heading') . qq|
286
	  <input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;| . $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>&nbsp; <input name=duetyp class=radio type=radio value="13"
345
"checked"></td>
346
		<td><input name=duetyp class=radio type=radio value="A" $checked >&nbsp;1. |
347
      . $locale->text('Quarter') . qq|</td>
318
		<td align=right>&nbsp; <input name=duetyp class=radio type=radio value="13" "checked"></td>
319
		<td><input name=duetyp class=radio type=radio value="A" $checked >&nbsp;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 >&nbsp;|
352
      . $locale->text('January') . qq|</td>
323
		<td><input name=duetyp class=radio type=radio value="1" $checked >&nbsp;| . $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 >&nbsp;|
357
      . $locale->text('May') . qq|</td>
358
		<td><input name=duetyp class=radio type=radio value="9" $checked >&nbsp;|
359
      . $locale->text('September') . qq|</td>
327
		<td><input name=duetyp class=radio type=radio value="5" $checked >&nbsp;| . $locale->text('May') . qq|</td>
328
		<td><input name=duetyp class=radio type=radio value="9" $checked >&nbsp;| . $locale->text('September') . qq|</td>
360 329

  
361 330
	</tr>
362 331
	<tr>
363 332
		<td align= right>&nbsp;</td>
364
		<td><input name=duetyp class=radio type=radio value="B" $checked>&nbsp;2. |
365
      . $locale->text('Quarter') . qq|</td>
366
		<td><input name=duetyp class=radio type=radio value="2" $checked >&nbsp;|
367
      . $locale->text('February') . qq|</td>
368
		<td><input name=duetyp class=radio type=radio value="6" $checked >&nbsp;|
369
      . $locale->text('June') . qq|</td>
370
		<td><input name=duetyp class=radio type=radio value="10" $checked >&nbsp;|
371
      . $locale->text('October') . qq|</td>
333
		<td><input name=duetyp class=radio type=radio value="B" $checked>&nbsp;2. | . $locale->text('Quarter') . qq|</td>
334
		<td><input name=duetyp class=radio type=radio value="2" $checked >&nbsp;| . $locale->text('February') . qq|</td>
335
		<td><input name=duetyp class=radio type=radio value="6" $checked >&nbsp;| . $locale->text('June') . qq|</td>
336
		<td><input name=duetyp class=radio type=radio value="10" $checked >&nbsp;| . $locale->text('October') . qq|</td>
372 337
	</tr>
373 338
	<tr>
374 339
		<td> &nbsp;</td>
375
		<td><input name=duetyp class=radio type=radio value="C" $checked>&nbsp;3. |
376
      . $locale->text('Quarter') . qq|</td>
377
		<td><input name=duetyp class=radio type=radio value="3" $checked >&nbsp;|
378
      . $locale->text('March') . qq|</td>
379
		<td><input name=duetyp class=radio type=radio value="7" $checked >&nbsp;|
380
      . $locale->text('July') . qq|</td>
381
		<td><input name=duetyp class=radio type=radio value="11" $checked >&nbsp;|
382
      . $locale->text('November') . qq|</td>
340
		<td><input name=duetyp class=radio type=radio value="C" $checked>&nbsp;3. | . $locale->text('Quarter') . qq|</td>
341
		<td><input name=duetyp class=radio type=radio value="3" $checked >&nbsp;| . $locale->text('March') . qq|</td>
342
		<td><input name=duetyp class=radio type=radio value="7" $checked >&nbsp;| . $locale->text('July') . qq|</td>
343
		<td><input name=duetyp class=radio type=radio value="11" $checked >&nbsp;| . $locale->text('November') . qq|</td>
383 344

  
384 345
	</tr>
385 346
	<tr>
386 347
		<td> &nbsp;</td>
387
		<td><input name=duetyp class=radio type=radio value="D" $checked>&nbsp;4. |
388
      . $locale->text('Quarter') . qq|&nbsp;</td>
389
		<td><input name=duetyp class=radio type=radio value="4" $checked >&nbsp;|
390
      . $locale->text('April') . qq|</td>
391
		<td><input name=duetyp class=radio type=radio value="8" $checked >&nbsp;|
392
      . $locale->text('August') . qq|</td>
393
		<td><input name=duetyp class=radio type=radio value="12" $checked >&nbsp;|
394
      . $locale->text('December') . qq|</td>
348
		<td><input name=duetyp class=radio type=radio value="D" $checked>&nbsp;4. | . $locale->text('Quarter') . qq|&nbsp;</td>
349
		<td><input name=duetyp class=radio type=radio value="4" $checked >&nbsp;| . $locale->text('April') . qq|</td>
350
		<td><input name=duetyp class=radio type=radio value="8" $checked >&nbsp;| . $locale->text('August') . qq|</td>
351
		<td><input name=duetyp class=radio type=radio value="12" $checked >&nbsp;| . $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|&nbsp;
404 360
	      $button1
405 361
              $button1_2&nbsp;
......
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
	  &nbsp;<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
	  &nbsp;<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>&nbsp; <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 >&nbsp;1. |
457
      . $locale->text('Quarter') . qq|</td>
407
		<td><input name=duetyp class=radio type=radio value="A" $checked >&nbsp;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 >&nbsp;|
462
      . $locale->text('January') . qq|</td>
411
		<td><input name=duetyp class=radio type=radio value="1" $checked >&nbsp;| . $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 >&nbsp;|
467
      . $locale->text('May') . qq|</td>
468
		<td><input name=duetyp class=radio type=radio value="9" $checked >&nbsp;|
469
      . $locale->text('September') . qq|</td>
415
		<td><input name=duetyp class=radio type=radio value="5" $checked >&nbsp;| . $locale->text('May') . qq|</td>
416
		<td><input name=duetyp class=radio type=radio value="9" $checked >&nbsp;| . $locale->text('September') . qq|</td>
470 417

  
471 418
	</tr>
472 419
	<tr>
473 420
		<td align= right>&nbsp;</td>
474
		<td><input name=duetyp class=radio type=radio value="B" $checked>&nbsp;2. |
475
      . $locale->text('Quarter') . qq|</td>
476
		<td><input name=duetyp class=radio type=radio value="2" $checked >&nbsp;|
477
      . $locale->text('February') . qq|</td>
478
		<td><input name=duetyp class=radio type=radio value="6" $checked >&nbsp;|
479
      . $locale->text('June') . qq|</td>
480
		<td><input name=duetyp class=radio type=radio value="10" $checked >&nbsp;|
481
      . $locale->text('October') . qq|</td>
421
		<td><input name=duetyp class=radio type=radio value="B" $checked>&nbsp;2. | . $locale->text('Quarter') . qq|</td>
422
		<td><input name=duetyp class=radio type=radio value="2" $checked >&nbsp;| . $locale->text('February') . qq|</td>
423
		<td><input name=duetyp class=radio type=radio value="6" $checked >&nbsp;| . $locale->text('June') . qq|</td>
424
		<td><input name=duetyp class=radio type=radio value="10" $checked >&nbsp;| . $locale->text('October') . qq|</td>
482 425
	</tr>
483 426
	<tr>
484 427
		<td> &nbsp;</td>
485
		<td><input name=duetyp class=radio type=radio value="C" $checked>&nbsp;3. |
486
      . $locale->text('Quarter') . qq|</td>
487
		<td><input name=duetyp class=radio type=radio value="3" $checked >&nbsp;|
488
      . $locale->text('March') . qq|</td>
489
		<td><input name=duetyp class=radio type=radio value="7" $checked >&nbsp;|
490
      . $locale->text('July') . qq|</td>
491
		<td><input name=duetyp class=radio type=radio value="11" $checked >&nbsp;|
492
      . $locale->text('November') . qq|</td>
428
		<td><input name=duetyp class=radio type=radio value="C" $checked>&nbsp;3. | . $locale->text('Quarter') . qq|</td>
429
		<td><input name=duetyp class=radio type=radio value="3" $checked >&nbsp;| . $locale->text('March') . qq|</td>
430
		<td><input name=duetyp class=radio type=radio value="7" $checked >&nbsp;| . $locale->text('July') . qq|</td>
431
		<td><input name=duetyp class=radio type=radio value="11" $checked >&nbsp;| . $locale->text('November') . qq|</td>
493 432

  
494 433
	</tr>
495 434
	<tr>
496 435
		<td> &nbsp;</td>
497
		<td><input name=duetyp class=radio type=radio value="D" $checked>&nbsp;4. |
498
      . $locale->text('Quarter') . qq|&nbsp;</td>
499
		<td><input name=duetyp class=radio type=radio value="4" $checked >&nbsp;|
500
      . $locale->text('April') . qq|</td>
501
		<td><input name=duetyp class=radio type=radio value="8" $checked >&nbsp;|
502
      . $locale->text('August') . qq|</td>
503
		<td><input name=duetyp class=radio type=radio value="12" $checked >&nbsp;|
504
      . $locale->text('December') . qq|</td>
436
		<td><input name=duetyp class=radio type=radio value="D" $checked>&nbsp;4. | . $locale->text('Quarter') . qq|&nbsp;</td>
437
		<td><input name=duetyp class=radio type=radio value="4" $checked >&nbsp;| . $locale->text('April') . qq|</td>
438
		<td><input name=duetyp class=radio type=radio value="8" $checked >&nbsp;| . $locale->text('August') . qq|</td>
439
		<td><input name=duetyp class=radio type=radio value="12" $checked >&nbsp;| . $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|&nbsp;
514 448
	      $button1
515 449
              $button1_2&nbsp;
......
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
	  &nbsp;<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
	  &nbsp;<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
	  &nbsp;<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
	  &nbsp;<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>&nbsp;|
578
      . $locale->text('Heading') . qq|
579
	  <input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;|
580
      . $locale->text('Subtotal') . qq|
581
	  <input name=l_accno class=checkbox type=checkbox value=Y>&nbsp;|
582
      . $locale->text('Account Number') . qq|</td>
505
	  <td><input name=l_heading class=checkbox type=checkbox value=Y>&nbsp;| . $locale->text('Heading') . qq|
506
	  <input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;| . $locale->text('Subtotal') . qq|
507
	  <input name=l_accno class=checkbox type=checkbox value=Y>&nbsp;| . $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>&nbsp; <input name=duetyp class=radio type=radio value="13"
618
$checked></td>
619
		<td><input name=duetyp class=radio type=radio value="A" $checked >&nbsp;1. |
620
      . $locale->text('Quarter') . qq|</td>
539
		<td align=right>&nbsp; <input name=duetyp class=radio type=radio value="13" $checked></td>
540
		<td><input name=duetyp class=radio type=radio value="A" $checked >&nbsp;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 >&nbsp;|
625
      . $locale->text('January') . qq|</td>
544
		<td><input name=duetyp class=radio type=radio value="1" $checked >&nbsp;| . $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 >&nbsp;|
630
      . $locale->text('May') . qq|</td>
631
		<td><input name=duetyp class=radio type=radio value="9" $checked >&nbsp;|
632
      . $locale->text('September') . qq|</td>
548
		<td><input name=duetyp class=radio type=radio value="5" $checked >&nbsp;| . $locale->text('May') . qq|</td>
549
		<td><input name=duetyp class=radio type=radio value="9" $checked >&nbsp;| . $locale->text('September') . qq|</td>
633 550

  
634 551
	</tr>
635 552
	<tr>
636 553
		<td align= right>&nbsp;</td>
637
		<td><input name=duetyp class=radio type=radio value="B" $checked>&nbsp;2. |
638
      . $locale->text('Quarter') . qq|</td>
639
		<td><input name=duetyp class=radio type=radio value="2" $checked >&nbsp;|
640
      . $locale->text('February') . qq|</td>
641
		<td><input name=duetyp class=radio type=radio value="6" $checked >&nbsp;|
642
      . $locale->text('June') . qq|</td>
643
		<td><input name=duetyp class=radio type=radio value="10" $checked >&nbsp;|
644
      . $locale->text('October') . qq|</td>
554
		<td><input name=duetyp class=radio type=radio value="B" $checked>&nbsp;2. | . $locale->text('Quarter') . qq|</td>
555
		<td><input name=duetyp class=radio type=radio value="2" $checked >&nbsp;| . $locale->text('February') . qq|</td>
556
		<td><input name=duetyp class=radio type=radio value="6" $checked >&nbsp;| . $locale->text('June') . qq|</td>
557
		<td><input name=duetyp class=radio type=radio value="10" $checked >&nbsp;| . $locale->text('October') . qq|</td>
645 558
	</tr>
646 559
	<tr>
647 560
		<td> &nbsp;</td>
648
		<td><input name=duetyp class=radio type=radio value="C" $checked>&nbsp;3. |
649
      . $locale->text('Quarter') . qq|</td>
650
		<td><input name=duetyp class=radio type=radio value="3" $checked >&nbsp;|
651
      . $locale->text('March') . qq|</td>
652
		<td><input name=duetyp class=radio type=radio value="7" $checked >&nbsp;|
653
      . $locale->text('July') . qq|</td>
654
		<td><input name=duetyp class=radio type=radio value="11" $checked >&nbsp;|
655
      . $locale->text('November') . qq|</td>
561
		<td><input name=duetyp class=radio type=radio value="C" $checked>&nbsp;3. | . $locale->text('Quarter') . qq|</td>
562
		<td><input name=duetyp class=radio type=radio value="3" $checked >&nbsp;| . $locale->text('March') . qq|</td>
563
		<td><input name=duetyp class=radio type=radio value="7" $checked >&nbsp;| . $locale->text('July') . qq|</td>
564
		<td><input name=duetyp class=radio type=radio value="11" $checked >&nbsp;| . $locale->text('November') . qq|</td>
656 565

  
657 566
	</tr>
658 567
	<tr>
659 568
		<td> &nbsp;</td>
660
		<td><input name=duetyp class=radio type=radio value="D" $checked>&nbsp;4. |
661
      . $locale->text('Quarter') . qq|&nbsp;</td>
662
		<td><input name=duetyp class=radio type=radio value="4" $checked >&nbsp;|
663
      . $locale->text('April') . qq|</td>
664
		<td><input name=duetyp class=radio type=radio value="8" $checked >&nbsp;|
665
      . $locale->text('August') . qq|</td>
666
		<td><input name=duetyp class=radio type=radio value="12" $checked >&nbsp;|
667
      . $locale->text('December') . qq|</td>
569
		<td><input name=duetyp class=radio type=radio value="D" $checked>&nbsp;4. | . $locale->text('Quarter') . qq|&nbsp;</td>
570
		<td><input name=duetyp class=radio type=radio value="4" $checked >&nbsp;| . $locale->text('April') . qq|</td>
571
		<td><input name=duetyp class=radio type=radio value="8" $checked >&nbsp;| . $locale->text('August') . qq|</td>
572
		<td><input name=duetyp class=radio type=radio value="12" $checked >&nbsp;| . $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|&nbsp;
677 581
	      $button1
678 582
              $button1_2&nbsp;
......
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
	  &nbsp;<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
	  &nbsp;<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
	  &nbsp;<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
	  &nbsp;<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