Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b65a230d

Von Sven Schöling vor fast 15 Jahren hinzugefügt

  • ID b65a230d60e86d2c18a3ab7222379905aea5ecd7
  • Vorgänger 3cbc223a
  • Nachfolger 7e9a98a0

Tabs aus *.pl Dateien entfernt.

Unterschiede anzeigen:

bin/mozilla/rp.pl
14 14
#
15 15
#  Contributors: Antonio Gallardo <agssa@ibw.com.ni>
16 16
#                Benjamin Lee <benjaminlee@consultant.com>
17
#		 Philip Reetz <p.reetz@linet-services.de>
18
#		 Udo Spallek
17
#                Philip Reetz <p.reetz@linet-services.de>
18
#                Udo Spallek
19 19
#
20 20
# This program is free software; you can redistribute it and/or modify
21 21
# it under the terms of the GNU General Public License as published by
......
160 160
  }
161 161

  
162 162
  my $department = qq|
163
	<tr>
164
	  <th align=right nowrap>| . $locale->text('Department') . qq|</th>
165
	  <td colspan=3><select name=department>$form->{selectdepartment}</select></td>
166
	</tr>
163
        <tr>
164
          <th align=right nowrap>| . $locale->text('Department') . qq|</th>
165
          <td colspan=3><select name=department>$form->{selectdepartment}</select></td>
166
        </tr>
167 167
| if $form->{selectdepartment};
168 168

  
169 169
  $form->get_lists("projects" => { "key" => "ALL_PROJECTS",
......
279 279

  
280 280
  if ($form->{report} eq "projects") {
281 281
    print qq|
282
	<tr>
283
	  <th align=right nowrap>| . $locale->text('Project') . qq|</th>
284
	  <td colspan=5><input name=projectnumber size=25</td>
285
	</tr>
282
        <tr>
283
          <th align=right nowrap>| . $locale->text('Project') . qq|</th>
284
          <td colspan=5><input name=projectnumber size=25</td>
285
        </tr>
286 286
        <input type=hidden name=nextsub value=generate_projects>
287 287
        <tr>
288
	  <th align=right>| . $locale->text('From') . qq|</th>
288
          <th align=right>| . $locale->text('From') . qq|</th>
289 289
          <td>$button1</td>
290 290
          <td>$button1_2</td>
291
	  <th align=right>| . $locale->text('Bis') . qq|</th>
291
          <th align=right>| . $locale->text('Bis') . qq|</th>
292 292
          <td>$button2</td>
293 293
          <td>$button2_2</td>
294
	</tr>
294
        </tr>
295 295
      </table>
296 296
    </td>
297 297
  </tr>
298 298
  <tr>
299 299
    <td>
300 300
      <table>
301
	<tr>
302
	  <th align=right nowrap>| . $locale->text('Include in Report') . qq|</th>
303
	  <td><input name=l_heading class=checkbox type=checkbox value=Y>&nbsp;| . $locale->text('Heading') . qq|
304
	  <input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;| . $locale->text('Subtotal') . qq|</td>
305
	</tr>
301
        <tr>
302
          <th align=right nowrap>| . $locale->text('Include in Report') . qq|</th>
303
          <td><input name=l_heading class=checkbox type=checkbox value=Y>&nbsp;| . $locale->text('Heading') . qq|
304
          <input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;| . $locale->text('Subtotal') . qq|</td>
305
        </tr>
306 306

  
307 307
$jsscript
308 308
|;
......
310 310

  
311 311
  if ($form->{report} eq "income_statement") {
312 312
    print qq|
313
	<tr>
314
	  <th align=right nowrap>| . $locale->text('Project') . qq|</th>
315
	  <td colspan=3>$projectnumber</td>
316
	</tr>
313
        <tr>
314
          <th align=right nowrap>| . $locale->text('Project') . qq|</th>
315
          <td colspan=3>$projectnumber</td>
316
        </tr>
317 317
        <input type=hidden name=nextsub value=generate_income_statement>
318 318
</table>
319 319
<table>
320
	<tr>
321
	  <th align=left><input name=reporttype class=radio type=radio value="custom" checked> | . $locale->text('Customized Report') . qq|</th>
322
	</tr>
323
	<tr>
324
	  <th colspan=1>| . $locale->text('Year') . qq|</th>
325
	  <td><input name=year size=11 title="| . $locale->text('YYYY') . qq|" value="$year"></td>
326
	</tr>
320
        <tr>
321
          <th align=left><input name=reporttype class=radio type=radio value="custom" checked> | . $locale->text('Customized Report') . qq|</th>
322
        </tr>
323
        <tr>
324
          <th colspan=1>| . $locale->text('Year') . qq|</th>
325
          <td><input name=year size=11 title="| . $locale->text('YYYY') . qq|" value="$year"></td>
326
        </tr>
327 327
|;
328 328

  
329 329
    print qq|
330
	<tr>
331
		<td align=right> <b> | . $locale->text('Yearly') . qq|</b> </td>
332
		<th align=left>| . $locale->text('Quarterly') . qq|</th>
333
		<th align=left colspan=3>| . $locale->text('Monthly') . qq|</th>
334
	</tr>
335
	<tr>
336
		<td align=right>&nbsp; <input name=duetyp class=radio type=radio value="13" "checked"></td>
337
		<td><input name=duetyp class=radio type=radio value="A" $checked >&nbsp;1. | . $locale->text('Quarter') . qq|</td>
330
        <tr>
331
                <td align=right> <b> | . $locale->text('Yearly') . qq|</b> </td>
332
                <th align=left>| . $locale->text('Quarterly') . qq|</th>
333
                <th align=left colspan=3>| . $locale->text('Monthly') . qq|</th>
334
        </tr>
335
        <tr>
336
                <td align=right>&nbsp; <input name=duetyp class=radio type=radio value="13" "checked"></td>
337
                <td><input name=duetyp class=radio type=radio value="A" $checked >&nbsp;1. | . $locale->text('Quarter') . qq|</td>
338 338
|;
339 339
    $checked = "";
340 340
    print qq|
341
		<td><input name=duetyp class=radio type=radio value="1" $checked >&nbsp;| . $locale->text('January') . qq|</td>
341
                <td><input name=duetyp class=radio type=radio value="1" $checked >&nbsp;| . $locale->text('January') . qq|</td>
342 342
|;
343 343
    $checked = "";
344 344
    print qq|
345
		<td><input name=duetyp class=radio type=radio value="5" $checked >&nbsp;| . $locale->text('May') . qq|</td>
346
		<td><input name=duetyp class=radio type=radio value="9" $checked >&nbsp;| . $locale->text('September') . qq|</td>
347

  
348
	</tr>
349
	<tr>
350
		<td align= right>&nbsp;</td>
351
		<td><input name=duetyp class=radio type=radio value="B" $checked>&nbsp;2. | . $locale->text('Quarter') . qq|</td>
352
		<td><input name=duetyp class=radio type=radio value="2" $checked >&nbsp;| . $locale->text('February') . qq|</td>
353
		<td><input name=duetyp class=radio type=radio value="6" $checked >&nbsp;| . $locale->text('June') . qq|</td>
354
		<td><input name=duetyp class=radio type=radio value="10" $checked >&nbsp;| . $locale->text('October') . qq|</td>
355
	</tr>
356
	<tr>
357
		<td> &nbsp;</td>
358
		<td><input name=duetyp class=radio type=radio value="C" $checked>&nbsp;3. | . $locale->text('Quarter') . qq|</td>
359
		<td><input name=duetyp class=radio type=radio value="3" $checked >&nbsp;| . $locale->text('March') . qq|</td>
360
		<td><input name=duetyp class=radio type=radio value="7" $checked >&nbsp;| . $locale->text('July') . qq|</td>
361
		<td><input name=duetyp class=radio type=radio value="11" $checked >&nbsp;| . $locale->text('November') . qq|</td>
362

  
363
	</tr>
364
	<tr>
365
		<td> &nbsp;</td>
366
		<td><input name=duetyp class=radio type=radio value="D" $checked>&nbsp;4. | . $locale->text('Quarter') . qq|&nbsp;</td>
367
		<td><input name=duetyp class=radio type=radio value="4" $checked >&nbsp;| . $locale->text('April') . qq|</td>
368
		<td><input name=duetyp class=radio type=radio value="8" $checked >&nbsp;| . $locale->text('August') . qq|</td>
369
		<td><input name=duetyp class=radio type=radio value="12" $checked >&nbsp;| . $locale->text('December') . qq|</td>
370

  
371
	</tr>
372
	<tr>
373
   		<td colspan=5><hr size=3 noshade></td>
374
	</tr>
375
	<tr>
345
                <td><input name=duetyp class=radio type=radio value="5" $checked >&nbsp;| . $locale->text('May') . qq|</td>
346
                <td><input name=duetyp class=radio type=radio value="9" $checked >&nbsp;| . $locale->text('September') . qq|</td>
347

  
348
        </tr>
349
        <tr>
350
                <td align= right>&nbsp;</td>
351
                <td><input name=duetyp class=radio type=radio value="B" $checked>&nbsp;2. | . $locale->text('Quarter') . qq|</td>
352
                <td><input name=duetyp class=radio type=radio value="2" $checked >&nbsp;| . $locale->text('February') . qq|</td>
353
                <td><input name=duetyp class=radio type=radio value="6" $checked >&nbsp;| . $locale->text('June') . qq|</td>
354
                <td><input name=duetyp class=radio type=radio value="10" $checked >&nbsp;| . $locale->text('October') . qq|</td>
355
        </tr>
356
        <tr>
357
                <td> &nbsp;</td>
358
                <td><input name=duetyp class=radio type=radio value="C" $checked>&nbsp;3. | . $locale->text('Quarter') . qq|</td>
359
                <td><input name=duetyp class=radio type=radio value="3" $checked >&nbsp;| . $locale->text('March') . qq|</td>
360
                <td><input name=duetyp class=radio type=radio value="7" $checked >&nbsp;| . $locale->text('July') . qq|</td>
361
                <td><input name=duetyp class=radio type=radio value="11" $checked >&nbsp;| . $locale->text('November') . qq|</td>
362

  
363
        </tr>
364
        <tr>
365
                <td> &nbsp;</td>
366
                <td><input name=duetyp class=radio type=radio value="D" $checked>&nbsp;4. | . $locale->text('Quarter') . qq|&nbsp;</td>
367
                <td><input name=duetyp class=radio type=radio value="4" $checked >&nbsp;| . $locale->text('April') . qq|</td>
368
                <td><input name=duetyp class=radio type=radio value="8" $checked >&nbsp;| . $locale->text('August') . qq|</td>
369
                <td><input name=duetyp class=radio type=radio value="12" $checked >&nbsp;| . $locale->text('December') . qq|</td>
370

  
371
        </tr>
372
        <tr>
373
                   <td colspan=5><hr size=3 noshade></td>
374
        </tr>
375
        <tr>
376 376
          <th align=left><input name=reporttype class=radio type=radio value="free" $checked> | . $locale->text('Free report period') . qq|</th>
377
	  <td align=left colspan=4>| . $locale->text('From') . qq|&nbsp;
378
	      $button1
377
          <td align=left colspan=4>| . $locale->text('From') . qq|&nbsp;
378
              $button1
379 379
              $button1_2&nbsp;
380
	      | . $locale->text('Bis') . qq|
380
              | . $locale->text('Bis') . qq|
381 381
              $button2
382 382
              $button2_2&nbsp;
383 383
          </td>
384 384
        </tr>
385
	<tr>
386
   		<td colspan=5><hr size=3 noshade></td>
387
	</tr>
388
	<tr>
389
	  <th align=leftt>| . $locale->text('Method') . qq|</th>
390
	  <td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq|
391
	  &nbsp;<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td>
392
	</tr>
385
        <tr>
386
                   <td colspan=5><hr size=3 noshade></td>
387
        </tr>
388
        <tr>
389
          <th align=leftt>| . $locale->text('Method') . qq|</th>
390
          <td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq|
391
          &nbsp;<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td>
392
        </tr>
393 393

  
394 394
$jsscript
395 395
|;
......
397 397

  
398 398
  if ($form->{report} eq "bwa") {
399 399
    print qq|
400
	<tr>
401
	  <th align=right nowrap>| . $locale->text('Project') . qq|</th>
402
	  <td colspan=3>$projectnumber</td>
403
	</tr>
400
        <tr>
401
          <th align=right nowrap>| . $locale->text('Project') . qq|</th>
402
          <td colspan=3>$projectnumber</td>
403
        </tr>
404 404
        <input type=hidden name=nextsub value=generate_bwa>
405 405
</table>
406 406
<table>
407
	<tr>
408
	  <th align=left><input name=reporttype class=radio type=radio value="custom" checked> | . $locale->text('Customized Report') . qq|</th>
409
	</tr>
410
	<tr>
411
	  <th colspan=1>| . $locale->text('Year') . qq|</th>
412
	  <td><input name=year size=11 title="| . $locale->text('YYYY') . qq|" value="$year"></td>
413
	</tr>
407
        <tr>
408
          <th align=left><input name=reporttype class=radio type=radio value="custom" checked> | . $locale->text('Customized Report') . qq|</th>
409
        </tr>
410
        <tr>
411
          <th colspan=1>| . $locale->text('Year') . qq|</th>
412
          <td><input name=year size=11 title="| . $locale->text('YYYY') . qq|" value="$year"></td>
413
        </tr>
414 414
|;
415 415

  
416 416
    print qq|
417
	<tr>
418
		<td align=right> <b> | . $locale->text('Yearly') . qq|</b> </td>
419
		<th align=left>| . $locale->text('Quarterly') . qq|</th>
420
		<th align=left colspan=3>| . $locale->text('Monthly') . qq|</th>
421
	</tr>
422
	<tr>
423
		<td align=right>&nbsp; <input name=duetyp class=radio type=radio value="13"
417
        <tr>
418
                <td align=right> <b> | . $locale->text('Yearly') . qq|</b> </td>
419
                <th align=left>| . $locale->text('Quarterly') . qq|</th>
420
                <th align=left colspan=3>| . $locale->text('Monthly') . qq|</th>
421
        </tr>
422
        <tr>
423
                <td align=right>&nbsp; <input name=duetyp class=radio type=radio value="13"
424 424
$checked></td>
425
		<td><input name=duetyp class=radio type=radio value="A" $checked >&nbsp;1. | . $locale->text('Quarter') . qq|</td>
425
                <td><input name=duetyp class=radio type=radio value="A" $checked >&nbsp;1. | . $locale->text('Quarter') . qq|</td>
426 426
|;
427 427
    $checked = "checked";
428 428
    print qq|
429
		<td><input name=duetyp class=radio type=radio value="1" $checked >&nbsp;| . $locale->text('January') . qq|</td>
429
                <td><input name=duetyp class=radio type=radio value="1" $checked >&nbsp;| . $locale->text('January') . qq|</td>
430 430
|;
431 431
    $checked = "";
432 432
    print qq|
433
		<td><input name=duetyp class=radio type=radio value="5" $checked >&nbsp;| . $locale->text('May') . qq|</td>
434
		<td><input name=duetyp class=radio type=radio value="9" $checked >&nbsp;| . $locale->text('September') . qq|</td>
435

  
436
	</tr>
437
	<tr>
438
		<td align= right>&nbsp;</td>
439
		<td><input name=duetyp class=radio type=radio value="B" $checked>&nbsp;2. | . $locale->text('Quarter') . qq|</td>
440
		<td><input name=duetyp class=radio type=radio value="2" $checked >&nbsp;| . $locale->text('February') . qq|</td>
441
		<td><input name=duetyp class=radio type=radio value="6" $checked >&nbsp;| . $locale->text('June') . qq|</td>
442
		<td><input name=duetyp class=radio type=radio value="10" $checked >&nbsp;| . $locale->text('October') . qq|</td>
443
	</tr>
444
	<tr>
445
		<td> &nbsp;</td>
446
		<td><input name=duetyp class=radio type=radio value="C" $checked>&nbsp;3. | . $locale->text('Quarter') . qq|</td>
447
		<td><input name=duetyp class=radio type=radio value="3" $checked >&nbsp;| . $locale->text('March') . qq|</td>
448
		<td><input name=duetyp class=radio type=radio value="7" $checked >&nbsp;| . $locale->text('July') . qq|</td>
449
		<td><input name=duetyp class=radio type=radio value="11" $checked >&nbsp;| . $locale->text('November') . qq|</td>
450

  
451
	</tr>
452
	<tr>
453
		<td> &nbsp;</td>
454
		<td><input name=duetyp class=radio type=radio value="D" $checked>&nbsp;4. | . $locale->text('Quarter') . qq|&nbsp;</td>
455
		<td><input name=duetyp class=radio type=radio value="4" $checked >&nbsp;| . $locale->text('April') . qq|</td>
456
		<td><input name=duetyp class=radio type=radio value="8" $checked >&nbsp;| . $locale->text('August') . qq|</td>
457
		<td><input name=duetyp class=radio type=radio value="12" $checked >&nbsp;| . $locale->text('December') . qq|</td>
458

  
459
	</tr>
460
	<tr>
461
   		<td colspan=5><hr size=3 noshade></td>
462
	</tr>
463
	<tr>
433
                <td><input name=duetyp class=radio type=radio value="5" $checked >&nbsp;| . $locale->text('May') . qq|</td>
434
                <td><input name=duetyp class=radio type=radio value="9" $checked >&nbsp;| . $locale->text('September') . qq|</td>
435

  
436
        </tr>
437
        <tr>
438
                <td align= right>&nbsp;</td>
439
                <td><input name=duetyp class=radio type=radio value="B" $checked>&nbsp;2. | . $locale->text('Quarter') . qq|</td>
440
                <td><input name=duetyp class=radio type=radio value="2" $checked >&nbsp;| . $locale->text('February') . qq|</td>
441
                <td><input name=duetyp class=radio type=radio value="6" $checked >&nbsp;| . $locale->text('June') . qq|</td>
442
                <td><input name=duetyp class=radio type=radio value="10" $checked >&nbsp;| . $locale->text('October') . qq|</td>
443
        </tr>
444
        <tr>
445
                <td> &nbsp;</td>
446
                <td><input name=duetyp class=radio type=radio value="C" $checked>&nbsp;3. | . $locale->text('Quarter') . qq|</td>
447
                <td><input name=duetyp class=radio type=radio value="3" $checked >&nbsp;| . $locale->text('March') . qq|</td>
448
                <td><input name=duetyp class=radio type=radio value="7" $checked >&nbsp;| . $locale->text('July') . qq|</td>
449
                <td><input name=duetyp class=radio type=radio value="11" $checked >&nbsp;| . $locale->text('November') . qq|</td>
450

  
451
        </tr>
452
        <tr>
453
                <td> &nbsp;</td>
454
                <td><input name=duetyp class=radio type=radio value="D" $checked>&nbsp;4. | . $locale->text('Quarter') . qq|&nbsp;</td>
455
                <td><input name=duetyp class=radio type=radio value="4" $checked >&nbsp;| . $locale->text('April') . qq|</td>
456
                <td><input name=duetyp class=radio type=radio value="8" $checked >&nbsp;| . $locale->text('August') . qq|</td>
457
                <td><input name=duetyp class=radio type=radio value="12" $checked >&nbsp;| . $locale->text('December') . qq|</td>
458

  
459
        </tr>
460
        <tr>
461
                   <td colspan=5><hr size=3 noshade></td>
462
        </tr>
463
        <tr>
464 464
          <th align=left><input name=reporttype class=radio type=radio value="free" $checked> | . $locale->text('Free report period') . qq|</th>
465
	  <td align=left colspan=4>| . $locale->text('From') . qq|&nbsp;
466
	      $button1
465
          <td align=left colspan=4>| . $locale->text('From') . qq|&nbsp;
466
              $button1
467 467
              $button1_2&nbsp;
468
	      | . $locale->text('Bis') . qq|&nbsp;
469
	      $button2
468
              | . $locale->text('Bis') . qq|&nbsp;
469
              $button2
470 470
              $button2_2
471 471
          </td>
472 472
        </tr>
473
	<tr>
474
   		<td colspan=5><hr size=3 noshade></td>
475
	</tr>
476
	<tr>
477
	  <th align=leftt>| . $locale->text('Method') . qq|</th>
478
	  <td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq|
479
	  &nbsp;<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td>
480
	</tr>
473
        <tr>
474
                   <td colspan=5><hr size=3 noshade></td>
475
        </tr>
476
        <tr>
477
          <th align=leftt>| . $locale->text('Method') . qq|</th>
478
          <td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq|
479
          &nbsp;<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td>
480
        </tr>
481 481
        <tr>
482 482
         <th align=right colspan=4>| . $locale->text('Decimalplaces') . qq|</th>
483 483
             <td><input name=decimalplaces size=3 value="2"></td>
......
490 490
  if ($form->{report} eq "balance_sheet") {
491 491
    print qq|
492 492
        <input type=hidden name=nextsub value=generate_balance_sheet>
493
	<tr>
494
	  <th align=right>| . $locale->text('as at') . qq|</th>
495
	  <td>
493
        <tr>
494
          <th align=right>| . $locale->text('as at') . qq|</th>
495
          <td>
496 496
            $button1
497 497
            $button1_2
498 498
          </td>
499
	  <th align=right nowrap>| . $locale->text('Compare to') . qq|</th>
500
	  <td>
499
          <th align=right nowrap>| . $locale->text('Compare to') . qq|</th>
500
          <td>
501 501
          $button2
502 502
          $button2_2
503 503
          </td>
504
	</tr>
505
	<tr>
506
	  <th align=right>| . $locale->text('Decimalplaces') . qq|</th>
507
	  <td><input name=decimalplaces size=3 value="2"></td>
508
	</tr>
504
        </tr>
505
        <tr>
506
          <th align=right>| . $locale->text('Decimalplaces') . qq|</th>
507
          <td><input name=decimalplaces size=3 value="2"></td>
508
        </tr>
509 509
      </table>
510 510
    </td>
511 511
  </tr>
512 512
  <tr>
513 513
    <td>
514 514
      <table>
515
	<tr>
516
	  <th align=right>| . $locale->text('Method') . qq|</th>
517
	  <td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq|
518
	  &nbsp;<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td>
519
	</tr>
520

  
521
	<tr>
522
	  <th align=right nowrap>| . $locale->text('Include in Report') . qq|</th>
523
	  <td><input name=l_heading class=checkbox type=checkbox value=Y>&nbsp;| . $locale->text('Heading') . qq|
524
	  <input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;| . $locale->text('Subtotal') . qq|
525
	  <input name=l_accno class=checkbox type=checkbox value=Y>&nbsp;| . $locale->text('Account Number') . qq|</td>
526
	</tr>
515
        <tr>
516
          <th align=right>| . $locale->text('Method') . qq|</th>
517
          <td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq|
518
          &nbsp;<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td>
519
        </tr>
520

  
521
        <tr>
522
          <th align=right nowrap>| . $locale->text('Include in Report') . qq|</th>
523
          <td><input name=l_heading class=checkbox type=checkbox value=Y>&nbsp;| . $locale->text('Heading') . qq|
524
          <input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;| . $locale->text('Subtotal') . qq|
525
          <input name=l_accno class=checkbox type=checkbox value=Y>&nbsp;| . $locale->text('Account Number') . qq|</td>
526
        </tr>
527 527

  
528 528
$jsscript
529 529
|;
......
531 531

  
532 532
  if ($form->{report} eq "trial_balance") {
533 533
    print qq|
534
	<tr>
535
	  <th align=right nowrap>| . $locale->text('Project') . qq|</th>
536
	  <td colspan=3>$projectnumber</td>
537
	</tr>
534
        <tr>
535
          <th align=right nowrap>| . $locale->text('Project') . qq|</th>
536
          <td colspan=3>$projectnumber</td>
537
        </tr>
538 538
        <input type=hidden name=nextsub value=generate_trial_balance>
539 539
</table>
540 540
<table>
541
	<tr>
542
	  <th align=left><input name=reporttype class=radio type=radio value="custom" checked> | . $locale->text('Customized Report') . qq|</th>
543
	</tr>
544
	<tr>
545
	  <th colspan=1>| . $locale->text('Year') . qq|</th>
546
	  <td><input name=year size=11 title="| . $locale->text('YYYY') . qq|" value="$year"></td>
547
	</tr>
541
        <tr>
542
          <th align=left><input name=reporttype class=radio type=radio value="custom" checked> | . $locale->text('Customized Report') . qq|</th>
543
        </tr>
544
        <tr>
545
          <th colspan=1>| . $locale->text('Year') . qq|</th>
546
          <td><input name=year size=11 title="| . $locale->text('YYYY') . qq|" value="$year"></td>
547
        </tr>
548 548
|;
549 549

  
550 550
    print qq|
551
	<tr>
552
		<td align=right> <b> | . $locale->text('Yearly') . qq|</b> </td>
553
		<th align=left>| . $locale->text('Quarterly') . qq|</th>
554
		<th align=left colspan=3>| . $locale->text('Monthly') . qq|</th>
555
	</tr>
556
	<tr>
557
		<td align=right>&nbsp; <input name=duetyp class=radio type=radio value="13" $checked></td>
558
		<td><input name=duetyp class=radio type=radio value="A" $checked >&nbsp;1. | . $locale->text('Quarter') . qq|</td>
551
        <tr>
552
                <td align=right> <b> | . $locale->text('Yearly') . qq|</b> </td>
553
                <th align=left>| . $locale->text('Quarterly') . qq|</th>
554
                <th align=left colspan=3>| . $locale->text('Monthly') . qq|</th>
555
        </tr>
556
        <tr>
557
                <td align=right>&nbsp; <input name=duetyp class=radio type=radio value="13" $checked></td>
558
                <td><input name=duetyp class=radio type=radio value="A" $checked >&nbsp;1. | . $locale->text('Quarter') . qq|</td>
559 559
|;
560 560
    $checked = "checked";
561 561
    print qq|
562
		<td><input name=duetyp class=radio type=radio value="1" $checked >&nbsp;| . $locale->text('January') . qq|</td>
562
                <td><input name=duetyp class=radio type=radio value="1" $checked >&nbsp;| . $locale->text('January') . qq|</td>
563 563
|;
564 564
    $checked = "";
565 565
    print qq|
566
		<td><input name=duetyp class=radio type=radio value="5" $checked >&nbsp;| . $locale->text('May') . qq|</td>
567
		<td><input name=duetyp class=radio type=radio value="9" $checked >&nbsp;| . $locale->text('September') . qq|</td>
568

  
569
	</tr>
570
	<tr>
571
		<td align= right>&nbsp;</td>
572
		<td><input name=duetyp class=radio type=radio value="B" $checked>&nbsp;2. | . $locale->text('Quarter') . qq|</td>
573
		<td><input name=duetyp class=radio type=radio value="2" $checked >&nbsp;| . $locale->text('February') . qq|</td>
574
		<td><input name=duetyp class=radio type=radio value="6" $checked >&nbsp;| . $locale->text('June') . qq|</td>
575
		<td><input name=duetyp class=radio type=radio value="10" $checked >&nbsp;| . $locale->text('October') . qq|</td>
576
	</tr>
577
	<tr>
578
		<td> &nbsp;</td>
579
		<td><input name=duetyp class=radio type=radio value="C" $checked>&nbsp;3. | . $locale->text('Quarter') . qq|</td>
580
		<td><input name=duetyp class=radio type=radio value="3" $checked >&nbsp;| . $locale->text('March') . qq|</td>
581
		<td><input name=duetyp class=radio type=radio value="7" $checked >&nbsp;| . $locale->text('July') . qq|</td>
582
		<td><input name=duetyp class=radio type=radio value="11" $checked >&nbsp;| . $locale->text('November') . qq|</td>
583

  
584
	</tr>
585
	<tr>
586
		<td> &nbsp;</td>
587
		<td><input name=duetyp class=radio type=radio value="D" $checked>&nbsp;4. | . $locale->text('Quarter') . qq|&nbsp;</td>
588
		<td><input name=duetyp class=radio type=radio value="4" $checked >&nbsp;| . $locale->text('April') . qq|</td>
589
		<td><input name=duetyp class=radio type=radio value="8" $checked >&nbsp;| . $locale->text('August') . qq|</td>
590
		<td><input name=duetyp class=radio type=radio value="12" $checked >&nbsp;| . $locale->text('December') . qq|</td>
591

  
592
	</tr>
593
	<tr>
594
   		<td colspan=5><hr size=3 noshade></td>
595
	</tr>
596
	<tr>
566
                <td><input name=duetyp class=radio type=radio value="5" $checked >&nbsp;| . $locale->text('May') . qq|</td>
567
                <td><input name=duetyp class=radio type=radio value="9" $checked >&nbsp;| . $locale->text('September') . qq|</td>
568

  
569
        </tr>
570
        <tr>
571
                <td align= right>&nbsp;</td>
572
                <td><input name=duetyp class=radio type=radio value="B" $checked>&nbsp;2. | . $locale->text('Quarter') . qq|</td>
573
                <td><input name=duetyp class=radio type=radio value="2" $checked >&nbsp;| . $locale->text('February') . qq|</td>
574
                <td><input name=duetyp class=radio type=radio value="6" $checked >&nbsp;| . $locale->text('June') . qq|</td>
575
                <td><input name=duetyp class=radio type=radio value="10" $checked >&nbsp;| . $locale->text('October') . qq|</td>
576
        </tr>
577
        <tr>
578
                <td> &nbsp;</td>
579
                <td><input name=duetyp class=radio type=radio value="C" $checked>&nbsp;3. | . $locale->text('Quarter') . qq|</td>
580
                <td><input name=duetyp class=radio type=radio value="3" $checked >&nbsp;| . $locale->text('March') . qq|</td>
581
                <td><input name=duetyp class=radio type=radio value="7" $checked >&nbsp;| . $locale->text('July') . qq|</td>
582
                <td><input name=duetyp class=radio type=radio value="11" $checked >&nbsp;| . $locale->text('November') . qq|</td>
583

  
584
        </tr>
585
        <tr>
586
                <td> &nbsp;</td>
587
                <td><input name=duetyp class=radio type=radio value="D" $checked>&nbsp;4. | . $locale->text('Quarter') . qq|&nbsp;</td>
588
                <td><input name=duetyp class=radio type=radio value="4" $checked >&nbsp;| . $locale->text('April') . qq|</td>
589
                <td><input name=duetyp class=radio type=radio value="8" $checked >&nbsp;| . $locale->text('August') . qq|</td>
590
                <td><input name=duetyp class=radio type=radio value="12" $checked >&nbsp;| . $locale->text('December') . qq|</td>
591

  
592
        </tr>
593
        <tr>
594
                   <td colspan=5><hr size=3 noshade></td>
595
        </tr>
596
        <tr>
597 597
          <th align=left><input name=reporttype class=radio type=radio value="free" $checked> | . $locale->text('Free report period') . qq|</th>
598
	  <td align=left colspan=4>| . $locale->text('From') . qq|&nbsp;
599
	      $button1
598
          <td align=left colspan=4>| . $locale->text('From') . qq|&nbsp;
599
              $button1
600 600
              $button1_2&nbsp;
601
	      | . $locale->text('Bis') . qq|&nbsp;
602
	      $button2
601
              | . $locale->text('Bis') . qq|&nbsp;
602
              $button2
603 603
              $button2_2
604 604
          </td>
605 605
        </tr>
606
	<tr>
607
   		<td colspan=5><hr size=3 noshade></td>
608
	</tr>
609
	<tr>
610
	  <th align=leftt>| . $locale->text('Method') . qq|</th>
611
	  <td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq|
612
	  &nbsp;<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td>
613
	</tr>
606
        <tr>
607
                   <td colspan=5><hr size=3 noshade></td>
608
        </tr>
609
        <tr>
610
          <th align=leftt>| . $locale->text('Method') . qq|</th>
611
          <td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq|
612
          &nbsp;<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td>
613
        </tr>
614 614
       <tr>
615 615
         <th align=right colspan=4>| . $locale->text('All Accounts') . qq|</th>
616 616
             <td><input name=all_accounts type=checkbox value=1></td>
......
631 631

  
632 632
    print qq|
633 633
        <input type=hidden name=nextsub value=generate_tax_report>
634
	<tr>
635
	  <th align=right>| . $locale->text('From') . qq|</th>
636
	  <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td>
637
	  <th align=right>| . $locale->text('Bis') . qq|</th>
638
	  <td><input name=todate size=11 title="$myconfig{dateformat}"></td>
639
	</tr>
640
	<tr>
641
	  <th align=right>| . $locale->text('Report for') . qq|</th>
642
	  <td colspan=3>
634
        <tr>
635
          <th align=right>| . $locale->text('From') . qq|</th>
636
          <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td>
637
          <th align=right>| . $locale->text('Bis') . qq|</th>
638
          <td><input name=todate size=11 title="$myconfig{dateformat}"></td>
639
        </tr>
640
        <tr>
641
          <th align=right>| . $locale->text('Report for') . qq|</th>
642
          <td colspan=3>
643 643
|;
644 644

  
645 645
    $checked = "checked";
......
659 659
  <input type=hidden name=db value=$form->{db}>
660 660
  <input type=hidden name=sort value=transdate>
661 661

  
662
	  </td>
663
	</tr>
664
	<tr>
665
	  <th align=right>| . $locale->text('Method') . qq|</th>
666
	  <td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq|
667
	  &nbsp;<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td>
668
	</tr>
662
          </td>
663
        </tr>
664
        <tr>
665
          <th align=right>| . $locale->text('Method') . qq|</th>
666
          <td colspan=3><input name=method class=radio type=radio value=accrual $accrual>| . $locale->text('Accrual') . qq|
667
          &nbsp;<input name=method class=radio type=radio value=cash $cash>| . $locale->text('EUR') . qq|</td>
668
        </tr>
669 669
      </table>
670 670
    </td>
671 671
  </tr>
......
673 673
    <td>
674 674
      <table>
675 675
        <tr>
676
	  <th align=right>| . $locale->text('Include in Report') . qq|</th>
677
	  <td>
678
	    <table>
679
	      <tr>
680
		<td><input name="l_id" class=checkbox type=checkbox value=Y></td>
681
		<td>| . $locale->text('ID') . qq|</td>
682
		<td><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
683
		<td>| . $locale->text('Invoice') . qq|</td>
684
		<td><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
685
		<td>| . $locale->text('Date') . qq|</td>
686
	      </tr>
687
	      <tr>
688
		<td><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
689
		<td>|;
676
          <th align=right>| . $locale->text('Include in Report') . qq|</th>
677
          <td>
678
            <table>
679
              <tr>
680
                <td><input name="l_id" class=checkbox type=checkbox value=Y></td>
681
                <td>| . $locale->text('ID') . qq|</td>
682
                <td><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
683
                <td>| . $locale->text('Invoice') . qq|</td>
684
                <td><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
685
                <td>| . $locale->text('Date') . qq|</td>
686
              </tr>
687
              <tr>
688
                <td><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
689
                <td>|;
690 690

  
691 691
    if ($form->{db} eq 'ar') {
692 692
      print $locale->text('Customer');
......
697 697

  
698 698
    print qq|</td>
699 699
                <td><input name="l_netamount" class=checkbox type=checkbox value=Y checked></td>
700
		<td>| . $locale->text('Amount') . qq|</td>
701
		<td><input name="l_tax" class=checkbox type=checkbox value=Y checked></td>
702
		<td>| . $locale->text('Tax') . qq|</td>
703
		<td><input name="l_amount" class=checkbox type=checkbox value=Y></td>
704
		<td>| . $locale->text('Total') . qq|</td>
705
	      </tr>
706
	      <tr>
707
	        <td><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
708
		<td>| . $locale->text('Subtotal') . qq|</td>
709
	      </tr>
710
	    </table>
711
	  </td>
712
	</tr>
700
                <td>| . $locale->text('Amount') . qq|</td>
701
                <td><input name="l_tax" class=checkbox type=checkbox value=Y checked></td>
702
                <td>| . $locale->text('Tax') . qq|</td>
703
                <td><input name="l_amount" class=checkbox type=checkbox value=Y></td>
704
                <td>| . $locale->text('Total') . qq|</td>
705
              </tr>
706
              <tr>
707
                <td><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
708
                <td>| . $locale->text('Subtotal') . qq|</td>
709
              </tr>
710
            </table>
711
          </td>
712
        </tr>
713 713
|;
714 714

  
715 715
  }
......
724 724
        <input type=hidden name=sort value=transdate>
725 725
        <input type=hidden name=report value=$form->{report}>
726 726

  
727
	<tr>
728
	  <th align=right>| . $locale->text('From') . qq|</th>
729
	  <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td>
730
	  <th align=right>| . $locale->text('Bis') . qq|</th>
731
	  <td><input name=todate size=11 title="$myconfig{dateformat}"></td>
732
	</tr>
733
	<tr>
734
	  <th align=right>| . $locale->text('Method') . qq|</th>
735
	  <td colspan=3><input name=method class=radio type=radio value=accrual $accrual>|
727
        <tr>
728
          <th align=right>| . $locale->text('From') . qq|</th>
729
          <td><input name=fromdate size=11 title="$myconfig{dateformat}" value=$form->{fromdate}></td>
730
          <th align=right>| . $locale->text('Bis') . qq|</th>
731
          <td><input name=todate size=11 title="$myconfig{dateformat}"></td>
732
        </tr>
733
        <tr>
734
          <th align=right>| . $locale->text('Method') . qq|</th>
735
          <td colspan=3><input name=method class=radio type=radio value=accrual $accrual>|
736 736
      . $locale->text('Accrual') . qq|
737
	  &nbsp;<input name=method class=radio type=radio value=cash $cash>|
737
          &nbsp;<input name=method class=radio type=radio value=cash $cash>|
738 738
      . $locale->text('EUR') . qq|</td>
739
	</tr>
740
        <tr>
741
	  <th align=right>| . $locale->text('Include in Report') . qq|</th>
742
	  <td colspan=3>
743
	    <table>
744
	      <tr>
745
		<td><input name="l_id" class=checkbox type=checkbox value=Y></td>
746
		<td>| . $locale->text('ID') . qq|</td>
747
		<td><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
748
		<td>| . $locale->text('Invoice') . qq|</td>
749
		<td><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
750
		<td>| . $locale->text('Date') . qq|</td>
751
	      </tr>
752
	      <tr>
753
		<td><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
754
		<td>|;
739
        </tr>
740
        <tr>
741
          <th align=right>| . $locale->text('Include in Report') . qq|</th>
742
          <td colspan=3>
743
            <table>
744
              <tr>
745
                <td><input name="l_id" class=checkbox type=checkbox value=Y></td>
746
                <td>| . $locale->text('ID') . qq|</td>
747
                <td><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
748
                <td>| . $locale->text('Invoice') . qq|</td>
749
                <td><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
750
                <td>| . $locale->text('Date') . qq|</td>
751
              </tr>
752
              <tr>
753
                <td><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
754
                <td>|;
755 755

  
756 756
    if ($form->{db} eq 'ar') {
757 757
      print $locale->text('Customer');
......
762 762

  
763 763
    print qq|</td>
764 764
                <td><input name="l_netamount" class=checkbox type=checkbox value=Y checked></td>
765
		<td>| . $locale->text('Amount') . qq|</td>
766
		<td><input name="l_amount" class=checkbox type=checkbox value=Y></td>
767
		<td>| . $locale->text('Total') . qq|</td>
768
	      </tr>
769
	      <tr>
770
	        <td><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
771
		<td>| . $locale->text('Subtotal') . qq|</td>
772
	      </tr>
773
	    </table>
774
	  </td>
775
	</tr>
765
                <td>| . $locale->text('Amount') . qq|</td>
766
                <td><input name="l_amount" class=checkbox type=checkbox value=Y></td>
767
                <td>| . $locale->text('Total') . qq|</td>
768
              </tr>
769
              <tr>
770
                <td><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
771
                <td>| . $locale->text('Subtotal') . qq|</td>
772
              </tr>
773
            </table>
774
          </td>
775
        </tr>
776 776
|;
777 777

  
778 778
  }
......
802 802
      : qq|<input name=$form->{vc} size=35>|;
803 803

  
804 804
    print qq|
805
	<tr>
806
	  <th align=right>| . $locale->text($label) . qq|</th>
807
	  <td>$vc</td>
808
	</tr>
809
	<tr>
810
	  <td align=left colspan=4>| . $locale->text('From') . qq|&nbsp;
811
	      $button1
805
        <tr>
806
          <th align=right>| . $locale->text($label) . qq|</th>
807
          <td>$vc</td>
808
        </tr>
809
        <tr>
810
          <td align=left colspan=4>| . $locale->text('From') . qq|&nbsp;
811
              $button1
812 812
              $button1_2&nbsp;
813
	      | . $locale->text('Bis') . qq|&nbsp;
814
	      $button2
813
              | . $locale->text('Bis') . qq|&nbsp;
814
              $button2
815 815
              $button2_2
816 816
          </td>
817
	</tr>
817
        </tr>
818 818
        <input type=hidden name=type value=statement>
819 819
        <input type=hidden name=format value=html>
820
	<input type=hidden name=media value=screen>
820
        <input type=hidden name=media value=screen>
821 821

  
822
	<input type=hidden name=nextsub value=$nextsub>
823
	<input type=hidden name=action value=$nextsub>
822
        <input type=hidden name=nextsub value=$nextsub>
823
        <input type=hidden name=action value=$nextsub>
824 824

  
825 825
$jsscript
826 826
|;
......
845 845
    print qq|
846 846
        <input type=hidden name=nextsub value=list_payments>
847 847
        <tr>
848
	  <th align=right nowrap>| . $locale->text('Account') . qq|</th>
848
          <th align=right nowrap>| . $locale->text('Account') . qq|</th>
849 849
          <td colspan=3><select name=account>$selection</select>
850
	    <input type=hidden name=paymentaccounts value="$paymentaccounts">
851
	  </td>
852
	</tr>
850
            <input type=hidden name=paymentaccounts value="$paymentaccounts">
851
          </td>
852
        </tr>
853 853
        <tr>
854
	  <th align=right>| . $locale->text('Reference') . qq|</th>
854
          <th align=right>| . $locale->text('Reference') . qq|</th>
855 855
          <td colspan=3><input name=reference></td>
856
	</tr>
856
        </tr>
857 857
        <tr>
858
	  <th align=right nowrap>| . $locale->text('Source') . qq|</th>
858
          <th align=right nowrap>| . $locale->text('Source') . qq|</th>
859 859
          <td colspan=3><input name=source></td>
860
	</tr>
860
        </tr>
861 861
        <tr>
862
	  <th align=right nowrap>| . $locale->text('Memo') . qq|</th>
862
          <th align=right nowrap>| . $locale->text('Memo') . qq|</th>
863 863
          <td colspan=3><input name=memo size=30></td>
864
	</tr>
865
	<tr>
866
	  <th align=right>| . $locale->text('From') . qq|</th>
867
	  <td>
864
        </tr>
865
        <tr>
866
          <th align=right>| . $locale->text('From') . qq|</th>
867
          <td>
868 868
            $button1
869 869
            $button1_2
870 870
          </td>
871
	  <th align=right>| . $locale->text('Bis') . qq|</th>
872
	  <td>
871
          <th align=right>| . $locale->text('Bis') . qq|</th>
872
          <td>
873 873
            $button2
874 874
            $button2_2
875 875
          </td>
876
	</tr>
876
        </tr>
877 877
        <tr>
878
	  <td align=right><input type=checkbox style=checkbox name=fx_transaction value=1 checked></td>
879
	  <th align=left colspan=3>| . $locale->text('Include Exchangerate Difference') . qq|</td>
880
	</tr>
878
          <td align=right><input type=checkbox style=checkbox name=fx_transaction value=1 checked></td>
879
          <th align=left colspan=3>| . $locale->text('Include Exchangerate Difference') . qq|</td>
880
        </tr>
881 881

  
882 882
$jsscript
883 883

  
884
	  <input type=hidden name=db value=$form->{db}>
885
	  <input type=hidden name=sort value=transdate>
884
          <input type=hidden name=db value=$form->{db}>
885
          <input type=hidden name=sort value=transdate>
886 886
|;
887 887

  
888 888
  }
......
1819 1819
  if ($myconfig{role} eq 'admin') {
1820 1820
    $bcc = qq|
1821 1821
          <th align=right nowrap=true>| . $locale->text('Bcc') . qq|</th>
1822
	  <td><input name=bcc size=30 value="$form->{bcc}"></td>
1822
          <td><input name=bcc size=30 value="$form->{bcc}"></td>
1823 1823
|;
1824 1824
  }
1825 1825

  
......
1843 1843
    <td>
1844 1844
      <table width=100%>
1845 1845
        <tr>
1846
	  <th align=right nowrap>| . $locale->text('E-mail') . qq|</th>
1847
	  <td><input name=email size=30 value="$form->{email}"></td>
1848
	  <th align=right nowrap>| . $locale->text('Cc') . qq|</th>
1849
	  <td><input name=cc size=30 value="$form->{cc}"></td>
1850
	</tr>
1851
	<tr>
1852
	  <th align=right nowrap>| . $locale->text('Subject') . qq|</th>
1853
	  <td><input name=subject size=30 value="$form->{subject}"></td>
1854
	  $bcc
1855
	</tr>
1846
          <th align=right nowrap>| . $locale->text('E-mail') . qq|</th>
1847
          <td><input name=email size=30 value="$form->{email}"></td>
1848
          <th align=right nowrap>| . $locale->text('Cc') . qq|</th>
1849
          <td><input name=cc size=30 value="$form->{cc}"></td>
1850
        </tr>
1851
        <tr>
1852
          <th align=right nowrap>| . $locale->text('Subject') . qq|</th>
1853
          <td><input name=subject size=30 value="$form->{subject}"></td>
1854
          $bcc
1855
        </tr>
1856 1856
      </table>
1857 1857
    </td>
1858 1858
  </tr>
......
1860 1860
    <td>
1861 1861
      <table width=100%>
1862 1862
        <tr>
1863
	  <th align=left nowrap>| . $locale->text('Message') . qq|</th>
1864
	</tr>
1865
	<tr>
1866
	  <td><textarea name=message rows=15 cols=60 wrap=soft>$form->{message}</textarea></td>
1867
	</tr>
1863
          <th align=left nowrap>| . $locale->text('Message') . qq|</th>
1864
        </tr>
1865
        <tr>
1866
          <td><textarea name=message rows=15 cols=60 wrap=soft>$form->{message}</textarea></td>
1867
        </tr>
1868 1868
      </table>
1869 1869
    </td>
1870 1870
  </tr>
......
2070 2070
  # saving the history
2071 2071
  if(!exists $form->{addition} && $form->{id} ne "") {
2072 2072
    $form->{snumbers} = qq|ordnumber_| . $form->{ordnumber};
2073
  	$form->{addition} = "PRINTED";
2074
  	$form->{what_done} = $form->{type};
2075
  	$form->save_history($form->dbconnect(\%myconfig));
2073
    $form->{addition} = "PRINTED";
2074
    $form->{what_done} = $form->{type};
2075
    $form->save_history($form->dbconnect(\%myconfig));
2076 2076
  }
2077 2077
  # /saving the history
2078 2078
  $main::lxdebug->leave_sub();
......
2223 2223
  <tr>
2224 2224
    <td>
2225 2225
      <table width=100%>
2226
	<tr class=listheading>
2226
        <tr class=listheading>
2227 2227
|;
2228 2228

  
2229 2229
  map { print "$column_header{$_}\n" } @column_index;
2230 2230

  
2231 2231
  print qq|
2232
	</tr>
2232
        </tr>
2233 2233
|;
2234 2234

  
2235 2235
  # add sort and escape callback
......
2276 2276
    $i++;
2277 2277
    $i %= 2;
2278 2278
    print qq|
2279
	<tr class=listrow$i>
2279
        <tr class=listrow$i>
2280 2280
|;
2281 2281

  
2282 2282
    map { print "$column_data{$_}\n" } @column_index;
2283 2283

  
2284 2284
    print qq|
2285
	</tr>
2285
        </tr>
2286 2286
|;
2287 2287

  
2288 2288
  }
......
2295 2295

  
2296 2296
  print qq|
2297 2297
        </tr>
2298
	<tr class=listtotal>
2298
        <tr class=listtotal>
2299 2299
|;
2300 2300

  
2301 2301
  my $total          = $form->format_amount(\%myconfig, $totalnetamount + $totaltax, 2, "&nbsp;");
......
2346 2346
  $subtotaltax       = 0;
2347 2347

  
2348 2348
  print qq|
2349
	<tr class=listsubtotal>
2349
        <tr class=listsubtotal>
2350 2350
|;
2351 2351
  map { print "\n$column_data{$_}" } @column_index;
2352 2352

  
......
2516 2516

  
2517 2517
  my ($media);
2518 2518
  my $type = qq|
2519
	    <option value=statement $form->{PD}{statement}>|
2520
      . $locale->text('Statement');
2519
            <option value=statement $form->{PD}{statement}>| . $locale->text('Statement');
2521 2520

  
2522 2521
  if ($form->{media} eq 'email') {
2523 2522
    $media = qq|
2524
	    <option value=attachment $form->{SM}{attachment}>|
2525
      . $locale->text('Attachment') . qq|
2526
	    <option value=inline $form->{SM}{inline}>| . $locale->text('In-line');
2523
            <option value=attachment $form->{SM}{attachment}>| . $locale->text('Attachment') . qq|
2524
            <option value=inline $form->{SM}{inline}>| . $locale->text('In-line');
2527 2525
  } else {
2528 2526
    $media = qq|
2529
	    <option value=screen $form->{OP}{screen}>| . $locale->text('Screen');
2527
            <option value=screen $form->{OP}{screen}>| . $locale->text('Screen');
2530 2528
    if ($myconfig{printer} && $main::latex_templates) {
2531 2529
      $media .= qq|
2532
            <option value=printer $form->{OP}{printer}>|
2533
        . $locale->text('Printer');
2530
            <option value=printer $form->{OP}{printer}>| . $locale->text('Printer');
2534 2531
    }
2535 2532
  }
2536 2533

  

Auch abrufbar als: Unified diff