Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8365e092

Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt

  • ID 8365e092eb2088a8c2ebba604783555a13dc2a57
  • Vorgänger 62a9b707
  • Nachfolger 090de47c

Die Berichte über offene Forderungen und offene Verbindlichkeiten auf die Verwendung des ReportGenerators umgestellt.

Unterschiede anzeigen:

bin/mozilla/rp.pl
35 35
#
36 36
#======================================================================
37 37

  
38
require "bin/mozilla/arap.pl";
39
require "bin/mozilla/common.pl";
38
use POSIX qw(strftime);
40 39

  
41 40
use SL::PE;
42 41
use SL::RP;
43 42
use SL::USTVA;
44 43
use SL::Iconv;
44
use SL::ReportGenerator;
45

  
46
require "bin/mozilla/arap.pl";
47
require "bin/mozilla/common.pl";
48
require "bin/mozilla/report_generator.pl";
45 49

  
46 50
1;
47 51

  
......
1515 1519

  
1516 1520
  # split customer
1517 1521
  ($form->{customer}) = split(/--/, $form->{customer});
1518
  $customer = $form->escape($form->{customer}, 1);
1519
  $title    = $form->escape($form->{title},    1);
1520 1522

  
1521 1523
  $form->{ct}   = "customer";
1522 1524
  $form->{arap} = "ar";
1523 1525

  
1524
  $form->{callback} =
1525
    qq|$form->{script}?action=generate_ar_aging&login=$form->{login}&password=$form->{password}&todate=$form->{todate}&customer=$customer&title=$title|;
1526
  $form->{callback} = build_std_url('action=generate_ar_aging', qw(todate customer title));
1526 1527

  
1527 1528
  RP->aging(\%myconfig, \%$form);
1528
  &aging;
1529
  aging();
1529 1530

  
1530 1531
  $lxdebug->leave_sub();
1531 1532
}
......
1535 1536

  
1536 1537
  # split vendor
1537 1538
  ($form->{vendor}) = split(/--/, $form->{vendor});
1538
  $vendor = $form->escape($form->{vendor}, 1);
1539
  $title  = $form->escape($form->{title},  1);
1540 1539

  
1541 1540
  $form->{ct}   = "vendor";
1542 1541
  $form->{arap} = "ap";
1543 1542

  
1544
  $form->{callback} =
1545
    qq|$form->{script}?action=generate_ap_aging&login=$form->{login}&password=$form->{password}&todate=$form->{todate}&vendor=$vendor&title=$title|;
1543
  $form->{callback} = build_std_url('action=generate_ap_aging', qw(todate vendor title));
1546 1544

  
1547 1545
  RP->aging(\%myconfig, \%$form);
1548
  &aging;
1546
  aging();
1549 1547

  
1550 1548
  $lxdebug->leave_sub();
1551 1549
}
1552 1550

  
1553
sub aging {
1551
sub create_aging_subtotal_row {
1554 1552
  $lxdebug->enter_sub();
1555 1553

  
1556
  $form->header;
1554
  my ($subtotals, $columns, $periods, $class) = @_;
1557 1555

  
1558
  $column_header{statement} = qq|<th>&nbsp;</th>|;
1559
  $column_header{ct}        =
1560
      qq|<th class=listheading>|
1561
    . $locale->text(ucfirst $form->{ct})
1562
    . qq|</th>|;
1563
  $column_header{invnumber} =
1564
    qq|<th class=listheading>| . $locale->text('Invoice') . qq|</th>|;
1565
  $column_header{transdate} =
1566
    qq|<th class=listheading>| . $locale->text('Date') . qq|</th>|;
1567
  $column_header{duedate} =
1568
    qq|<th class=listheading>| . $locale->text('Due') . qq|</th>|;
1569
  $column_header{c0} =
1570
    qq|<th class=listheading>| . $locale->text('Current') . qq|</th>|;
1571
  $column_header{c30} = qq|<th class=listheading>30</th>|;
1572
  $column_header{c60} = qq|<th class=listheading>60</th>|;
1573
  $column_header{c90} = qq|<th class=listheading>90</th>|;
1574

  
1575
  @column_index =
1576
    (qw(statement ct invnumber transdate duedate c0 c30 c60 c90));
1556
  my $row = { map { $_ => { 'data' => '', 'class' => $class, 'align' => 'right' } } @{ $columns } };
1577 1557

  
1578
  if ($form->{department}) {
1579
    $option .= "\n<br>" if $option;
1580
    ($department) = split /--/, $form->{department};
1581
    $option .= $locale->text('Department') . " : $department";
1582
    $department = $form->escape($form->{department}, 1);
1583
    $form->{callback} .= "&department=$department";
1558
  foreach (@{ $periods }) {
1559
    $row->{"c$_"}->{data} = $subtotals->{$_} != 0 ? $form->format_amount(\%myconfig, $subtotals->{$_}, 2) : '';
1560
    $subtotals->{$_}      = 0;
1584 1561
  }
1585 1562

  
1586
  if ($form->{arap} eq 'ar') {
1587
    if ($form->{customer}) {
1588
      $option .= "\n<br>" if $option;
1589
      $option .= $form->{customer};
1590
    }
1591
  }
1592
  if ($form->{arap} eq 'ap') {
1593
    shift @column_index;
1594
    if ($form->{vendor}) {
1595
      $option .= "\n<br>" if $option;
1596
      $option .= $form->{vendor};
1597
    }
1598
  }
1599

  
1600
  $todate = $locale->date(\%myconfig, $form->{todate}, 1);
1601
  $option .= "\n<br>" if $option;
1602
  $option .=
1603
    $locale->text('for Period') . " " . $locale->text('Bis') . " $todate";
1563
  $lxdebug->leave_sub();
1604 1564

  
1605
  print qq|
1606
<body>
1565
  return $row;
1566
}
1607 1567

  
1608
<form method=post action=$form->{script}>
1568
sub aging {
1569
  $lxdebug->enter_sub();
1609 1570

  
1610
<table width=100%>
1611
  <tr>
1612
    <th class=listtop>$form->{title}</th>
1613
  </tr>
1614
  <tr height="5"></tr>
1615
  <tr>
1616
    <td>$option</td>
1617
  </tr>
1618
  <tr>
1619
    <td>
1620
      <table width=100%>
1621
	<tr class=listheading>
1622
|;
1571
  my $report = SL::ReportGenerator->new(\%myconfig, $form);
1623 1572

  
1624
  map { print "$column_header{$_}\n" } @column_index;
1573
  my @columns = qw(statement ct invnumber transdate duedate c0 c30 c60 c90);
1625 1574

  
1626
  print qq|
1627
	</tr>
1628
|;
1575
  my %column_defs = (
1576
    'statement' => { 'text' => '', 'visible' => $form->{ct} eq 'customer' ? 'HTML' : 0, },
1577
    'ct'        => { 'text' => $form->{ct} eq 'customer' ? $locale->text('Customer') : $locale->text('Vendor'), },
1578
    'invnumber' => { 'text' => $locale->text('Invoice'), },
1579
    'transdate' => { 'text' => $locale->text('Date'), },
1580
    'duedate'   => { 'text' => $locale->text('Due'), },
1581
    'c0'        => { 'text' => $locale->text('Current'), },
1582
    'c30'       => { 'text' => '30', },
1583
    'c60'       => { 'text' => '60', },
1584
    'c90'       => { 'text' => '90', },
1585
  );
1629 1586

  
1630
  $ctid     = 0;
1631
  $subtotal = 0;
1632
  $i        = 0;
1587
  my %column_alignment = ('statement' => 'center',
1588
                          map { $_ => 'right' } qw(c0 c30 c60 c90));
1633 1589

  
1634
  foreach $ref (@{ $form->{AG} }) {
1590
  $report->set_options('std_column_visibility' => 1);
1591
  $report->set_columns(%column_defs);
1592
  $report->set_column_order(@columns);
1635 1593

  
1636
    if ($ctid != $ref->{ctid}) {
1594
  my @hidden_variables = qw(todate customer vendor arap title ct);
1595
  $report->set_export_options('generate_' . ($form->{arap} eq 'ar' ? 'ar' : 'ap') . '_aging', @hidden_variables);
1637 1596

  
1638
      $i++;
1597
  my @options;
1639 1598

  
1640
      if ($subtotal) {
1641
        $c0subtotal = ($c0subtotal != 0) ? 
1642
          $form->format_amount(\%myconfig, $c0subtotal, 2, "&nbsp") : "";
1643
        $c30subtotal = ($c30subtotal != 0) ?
1644
          $form->format_amount(\%myconfig, $c30subtotal, 2, "&nbsp") : "";
1645
        $c60subtotal = ($c60subtotal != 0) ?
1646
          $form->format_amount(\%myconfig, $c60subtotal, 2, "&nbsp") : "";
1647
        $c90subtotal = ($c90subtotal != 0) ?
1648
          $form->format_amount(\%myconfig, $c90subtotal, 2, "&nbsp") : "";
1649
      }
1599
  if ($form->{department}) {
1600
    my ($department) = split /--/, $form->{department};
1601
    push @options, $locale->text('Department') . " : $department";
1602
    $form->{callback} .= "&department=" . E($department);
1603
  }
1650 1604

  
1651
      $column_data{ct}        = qq|<th>&nbsp;</th>|;
1652
      $column_data{invnumber} = qq|<th>&nbsp;</th>|;
1653
      $column_data{transdate} = qq|<th>&nbsp;</th>|;
1654
      $column_data{duedate}   = qq|<th>&nbsp;</th>|;
1655
      $column_data{c0}        =
1656
        qq|<th align=right class=listsubtotal>$c0subtotal</th>|;
1657
      $column_data{c30} =
1658
        qq|<th align=right class=listsubtotal>$c30subtotal</th>|;
1659
      $column_data{c60} =
1660
        qq|<th align=right class=listsubtotal>$c60subtotal</th>|;
1661
      $column_data{c90} =
1662
        qq|<th align=right class=listsubtotal>$c90subtotal</th>|;
1663

  
1664
      if ($subtotal) {
1665

  
1666
        # print subtotals
1667
        print qq|
1668
	<tr class=listsubtotal>
1669
|;
1605
  if (($form->{arap} eq 'ar') && $form->{customer}) {
1606
    push @options, $form->{customer};
1607
  }
1670 1608

  
1671
        map { print "$column_data{$_}\n" } @column_index;
1609
  if (($form->{arap} eq 'ap') && $form->{vendor}) {
1610
    push @options, $form->{vendor};
1611
  }
1672 1612

  
1673
        $column_data{statement} = qq|<td>&nbsp;</td>|;
1613
  push @options, $locale->text('for Period') . " " . $locale->text('Bis') . " " . $locale->date(\%myconfig, $form->{todate}, 1);
1674 1614

  
1675
        print qq|
1676
        </tr>
1677
|;
1678
      }
1615
  my $attachment_basename = $form->{ct} eq 'customer' ? $locale->text('ar_aging_list') : $locale->text('ap_aging_list');
1679 1616

  
1680
      $subtotal = 1;
1617
  $report->set_options('top_info_text'        => join("\n", @options),
1618
                       'output_format'        => 'HTML',
1619
                       'title'                => $form->{title},
1620
                       'attachment_basename'  => $attachment_basename . strftime('_%Y%m%d', localtime time),
1621
    );
1681 1622

  
1682
      $c0subtotal  = 0;
1683
      $c30subtotal = 0;
1684
      $c60subtotal = 0;
1685
      $c90subtotal = 0;
1623
  my $previous_ctid = 0;
1624
  my $row_idx       = 0;
1625
  my @periods       = qw(0 30 60 90);
1626
  my %subtotals     = map { $_ => 0 } @periods;
1627
  my %totals        = map { $_ => 0 } @periods;
1686 1628

  
1687
      $column_data{ct}        = qq|<td>$ref->{name}</td>|;
1688
      $column_data{statement} =
1689
        qq|<td><input name="statement_$i" type=checkbox class=checkbox value=1 $ref->{checked}>
1690
      <input type=hidden name="$form->{ct}_id_$i" value=$ref->{ctid}>
1691
      </td>|;
1629
  foreach $ref (@{ $form->{AG} }) {
1630
    if ($row_idx && ($previous_ctid != $ref->{ctid})) {
1631
      $report->add_data(create_aging_subtotal_row(\%subtotals, \@columns, \@periods, 'listsubtotal'));
1692 1632
    }
1693 1633

  
1694
    $c0subtotal  += $ref->{c0};
1695
    $c30subtotal += $ref->{c30};
1696
    $c60subtotal += $ref->{c60};
1697
    $c90subtotal += $ref->{c90};
1698

  
1699
    $c0total  += $ref->{c0};
1700
    $c30total += $ref->{c30};
1701
    $c60total += $ref->{c60};
1702
    $c90total += $ref->{c90};
1703

  
1704
    $ref->{c0}  = ($ref->{c0} != 0) ? $form->format_amount(\%myconfig, $ref->{c0},  2, "&nbsp;") : "";
1705
    $ref->{c30} = ($ref->{c30} != 0) ? $form->format_amount(\%myconfig, $ref->{c30}, 2, "&nbsp;") : "";
1706
    $ref->{c60} = ($ref->{c60} != 0) ?  $form->format_amount(\%myconfig, $ref->{c60}, 2, "&nbsp;") : "";
1707
    $ref->{c90} = ($ref->{c90} != 0) ?  $form->format_amount(\%myconfig, $ref->{c90}, 2, "&nbsp;") : "";
1634
    foreach my $key (@periods) {
1635
      $subtotals{$key}  += $ref->{"c${key}"};
1636
      $totals{$key}     += $ref->{"c${key}"};
1637
      $ref->{"c${key}"}  = $ref->{"c${key}"} != 0 ? $form->format_amount(\%myconfig, $ref->{"c${key}"}, 2) : '';
1638
    }
1708 1639

  
1709
    $href =
1710
      qq|$ref->{module}.pl?action=edit&id=$ref->{id}&login=$form->{login}&password=$form->{password}&callback=|
1711
      . $form->escape($form->{callback});
1640
    my $row = { };
1712 1641

  
1713
    $column_data{invnumber} = qq|<td><a href=$href>$ref->{invnumber}</a></td>|;
1714
    $column_data{transdate} = qq|<td>$ref->{transdate}</td>|;
1715
    $column_data{duedate}   = qq|<td>$ref->{duedate}&nbsp;</td>|;
1716
    $column_data{c0}        = qq|<td align=right>$ref->{c0}</td>|;
1717
    $column_data{c30}       = qq|<td align=right>$ref->{c30}</td>|;
1718
    $column_data{c60}       = qq|<td align=right>$ref->{c60}</td>|;
1719
    $column_data{c90}       = qq|<td align=right>$ref->{c90}</td>|;
1720

  
1721
    $j++;
1722
    $j %= 2;
1723
    print qq|
1724
	<tr class=listrow$j>
1725
|;
1642
    foreach my $column (@columns) {
1643
      $row->{$column} = {
1644
        'data'   => (($column eq 'ct') || ($column eq 'statement')) ? '' : $ref->{$column},
1645
        'align'  => $column_alignment{$column},
1646
        'valign' => $column eq 'statement' ? 'center' : '',
1647
      };
1648
    }
1726 1649

  
1727
    map { print "$column_data{$_}\n" } @column_index;
1650
    $row->{invnumber}->{link} =  build_std_url("script=$ref->{module}.pl", 'action=edit', 'callback', 'id=' . E($ref->{id}));
1728 1651

  
1729
    print qq|
1730
        </tr>
1731
|;
1652
    if ($previous_ctid != $ref->{ctid}) {
1653
      $row->{statement}->{raw_data} =
1654
          $cgi->hidden('-name' => "customer_id_${row_idx}", '-value' => $ref->{ctid})
1655
        . $cgi->checkbox('-name' => "statement_${row_idx}", '-value' => 1, '-label' => '', 'checked' => $ref->{checked});
1656
      $row->{ct}->{data} = $ref->{name};
1732 1657

  
1733
    $column_data{ct}        = qq|<td>&nbsp;</td>|;
1734
    $column_data{statement} = qq|<td>&nbsp;</td>|;
1658
      $row_idx++;
1659
    }
1735 1660

  
1736
    $ctid = $ref->{ctid};
1661
    $previous_ctid = $ref->{ctid};
1737 1662

  
1663
    $report->add_data($row);
1738 1664
  }
1739 1665

  
1740
  # print subtotals
1741
  $c0subtotal  = $form->format_amount(\%myconfig, $c0subtotal,  2, "&nbsp;");
1742
  $c30subtotal = $form->format_amount(\%myconfig, $c30subtotal, 2, "&nbsp;");
1743
  $c60subtotal = $form->format_amount(\%myconfig, $c60subtotal, 2, "&nbsp;");
1744
  $c90subtotal = $form->format_amount(\%myconfig, $c90subtotal, 2, "&nbsp;");
1745

  
1746
  print qq|
1747
        <tr class=listsubtotal>
1748
|;
1749

  
1750
  map { $column_data{$_} = qq|<th>&nbsp;</th>| } @column_index;
1751

  
1752
  $column_data{c0}  = qq|<th align=right class=listsubtotal>$c0subtotal</th>|;
1753
  $column_data{c30} = qq|<th align=right class=listsubtotal>$c30subtotal</th>|;
1754
  $column_data{c60} = qq|<th align=right class=listsubtotal>$c60subtotal</th>|;
1755
  $column_data{c90} = qq|<th align=right class=listsubtotal>$c90subtotal</th>|;
1756

  
1757
  map { print "$column_data{$_}\n" } @column_index;
1758

  
1759
  print qq|
1760
        </tr>
1761
        <tr class=listtotal>
1762
|;
1763

  
1764
  $c0total  = $form->format_amount(\%myconfig, $c0total,  2, "&nbsp;");
1765
  $c30total = $form->format_amount(\%myconfig, $c30total, 2, "&nbsp;");
1766
  $c60total = $form->format_amount(\%myconfig, $c60total, 2, "&nbsp;");
1767
  $c90total = $form->format_amount(\%myconfig, $c90total, 2, "&nbsp;");
1768

  
1769
  $column_data{c0}  = qq|<th align=right class=listtotal>$c0total</th>|;
1770
  $column_data{c30} = qq|<th align=right class=listtotal>$c30total</th>|;
1771
  $column_data{c60} = qq|<th align=right class=listtotal>$c60total</th>|;
1772
  $column_data{c90} = qq|<th align=right class=listtotal>$c90total</th>|;
1773

  
1774
  map { print "$column_data{$_}\n" } @column_index;
1775

  
1776
  print qq|
1777
          <input type=hidden name=rowcount value=$i>
1778
	</tr>
1779
      </table>
1780
    </td>
1781
  </tr>
1782
  <tr>
1783
    <td>
1784
|;
1785

  
1786
  &print_options if ($form->{arap} eq 'ar');
1666
  $report->add_data(create_aging_subtotal_row(\%subtotals, \@columns, \@periods, 'listsubtotal')) if ($row_idx);
1787 1667

  
1788
  print qq|
1789
    </td>
1790
  </tr>
1791
  <tr>
1792
    <td><hr size=3 noshade></td>
1793
  </tr>
1794
</table>
1795
|;
1668
  $report->add_data(create_aging_subtotal_row(\%totals, \@columns, \@periods, 'listtotal'));
1796 1669

  
1797 1670
  if ($form->{arap} eq 'ar') {
1798
    print qq|
1799
<input type=hidden name=todate value=$form->{todate}>
1800

  
1801
<input type=hidden name=title value="$form->{title}">
1802

  
1803
<input type=hidden name=arap value=$form->{arap}>
1804
<input type=hidden name=ct value=$form->{ct}>
1805
<input type=hidden name=$form->{ct} value="$form->{$form->{ct}}">
1806

  
1807
<input type=hidden name=department value="$form->{department}">
1808

  
1809
<input type=hidden name=login value=$form->{login}>
1810
<input type=hidden name=password value=$form->{password}>
1811

  
1812
<br>
1813
<input class=submit type=submit name=action value="|
1814
      . $locale->text('Select all') . qq|">
1815
<input class=submit type=submit name=action value="|
1816
      . $locale->text('Print') . qq|">
1817
<input class=submit type=submit name=action value="|
1818
      . $locale->text('E-mail') . qq|">|;
1819
}
1671
    $raw_top_info_text    = $form->parse_html_template('rp/aging_ar_top');
1672
    $raw_bottom_info_text = $form->parse_html_template('rp/aging_ar_bottom', { 'row_idx' => $row_idx,
1673
                                                                               'PRINT_OPTIONS' => print_options(1), });
1674
    $report->set_options('raw_top_info_text'    => $raw_top_info_text,
1675
                         'raw_bottom_info_text' => $raw_bottom_info_text);
1676
  }
1820 1677

  
1821
print qq|
1822
</form>
1678
  $report->set_options_from_form();
1823 1679

  
1824
</body>
1825
</html>
1826
|;
1680
  $report->generate_with_headers();
1827 1681

  
1828 1682
  $lxdebug->leave_sub();
1829 1683
}
......
2615 2469
sub print_options {
2616 2470
  $lxdebug->enter_sub();
2617 2471

  
2472
  my ($dont_print) = @_;
2473

  
2618 2474
  $form->{sendmode} = "attachment";
2619 2475

  
2620 2476
  $form->{"format"} =
......
2668 2524
    }
2669 2525
  }
2670 2526

  
2671
  print qq|
2527
  my $output = qq|
2672 2528
<table>
2673 2529
  <tr>
2674 2530
    <td><select name=type>$type</select></td>
......
2677 2533
|;
2678 2534

  
2679 2535
  if ($myconfig{printer} && $latex_templates && $form->{media} ne 'email') {
2680
    print qq|
2536
    $output .= qq|
2681 2537
      <td>| . $locale->text('Copies') . qq|
2682 2538
      <input name=copies size=2 value=$form->{copies}></td>
2683 2539
|;
2684 2540
  }
2685 2541

  
2686
  print qq|
2542
  $output .= qq|
2687 2543
  </tr>
2688 2544
</table>
2689 2545
|;
2690 2546

  
2547
  print $output unless $dont_print;
2548

  
2691 2549
  $lxdebug->leave_sub();
2550

  
2551
  return $output;
2692 2552
}
2693 2553

  
2694 2554
sub generate_bwa {
locale/de/all
1262 1262
  'Zipcode'                     => 'PLZ',
1263 1263
  'Zusatz'                      => 'Zusatz',
1264 1264
  'accrual'                     => 'Bilanzierung (Soll-Versteuerung)',
1265
  'ap_aging_list'               => 'liste_offene_verbindlichkeiten',
1266
  'ar_aging_list'               => 'liste_offene_forderungen',
1265 1267
  'as at'                       => 'zum Stand',
1266 1268
  'back'                        => 'zur?ck',
1267 1269
  'bin_list'                    => 'Lagerliste',
locale/de/rp
20 20
  'Bin List'                    => 'Lagerliste',
21 21
  'Bis'                         => 'bis',
22 22
  'CANCELED'                    => 'Storniert',
23
  'CSV export -- options'       => 'CSV-Export -- Optionen',
23 24
  'Cc'                          => 'Cc',
24 25
  'Compare to'                  => 'Gegen?berstellen zu',
25 26
  'Confirmation'                => 'Auftragsbest?tigung',
26 27
  'Continue'                    => 'Weiter',
27 28
  'Copies'                      => 'Kopien',
29
  'Could not spawn html2ps or GhostScript.' => 'html2ps oder GhostScript konnte nicht gestartet werden.',
30
  'Could not spawn the printer command.' => 'Die Druckanwendung konnte nicht gestartet werden.',
31
  'Could not write the html2ps config file.' => 'Die tempor&auml;re html2ps-Konfigurationsdatei konnte nicht geschrieben werden.',
32
  'Could not write the temporary HTML file.' => 'Eine tempor&auml;re HTML-Datei konnte nicht geschrieben werden.',
28 33
  'Credit'                      => 'Haben',
29 34
  'Credit Note'                 => 'Gutschrift',
30 35
  'Current'                     => 'Betrag',
......
105 110
  'October'                     => 'Oktober',
106 111
  'PAYMENT POSTED'              => 'Rechung gebucht',
107 112
  'PDF'                         => 'PDF',
113
  'PDF export -- options'       => 'PDF-Export -- Optionen',
108 114
  'POSTED'                      => 'Gebucht',
109 115
  'POSTED AS NEW'               => 'Als neu gebucht',
110 116
  'PRINTED'                     => 'Gedruckt',
......
157 163
  'Tax collected'               => 'vereinnahmte Steuer',
158 164
  'Tax paid'                    => 'Vorsteuer',
159 165
  'The \'tag\' field must only consist of alphanumeric characters or the carachters - _ ( )' => 'Das Feld \'tag\' darf nur aus alphanumerischen Zeichen und den Zeichen - _ ( ) bestehen.',
166
  'The list has been printed.'  => 'Die Liste wurde ausgedruckt.',
160 167
  'Total'                       => 'Summe',
161 168
  'Trial Balance'               => 'Saldenbilanz',
162 169
  'Trying to call a sub without a name' => 'Es wurde versucht, eine Unterfunktion ohne Namen aufzurufen.',
......
172 179
  'Year'                        => 'Jahr',
173 180
  'Yearly'                      => 'j?hrlich',
174 181
  'Zeitraum'                    => 'Zeitraum',
182
  'ap_aging_list'               => 'liste_offene_verbindlichkeiten',
183
  'ar_aging_list'               => 'liste_offene_forderungen',
175 184
  'as at'                       => 'zum Stand',
176 185
  'bin_list'                    => 'Lagerliste',
177 186
  'bis'                         => 'bis',
......
185 194
  'pick_list'                   => 'Entnahmeliste',
186 195
  'proforma'                    => 'Proforma',
187 196
  'purchase_order'              => 'Auftrag',
197
  'report_generator_dispatch_to is not defined.' => 'report_generator_dispatch_to ist nicht definiert.',
198
  'report_generator_nextsub is not defined.' => 'report_generator_nextsub ist nicht definiert.',
188 199
  'request_quotation'           => 'Angebotsanforderung',
189 200
  'sales_order'                 => 'Kundenauftrag',
190 201
  'sales_quotation'             => 'Verkaufsangebot',
......
210 221
  'check_project'               => 'check_project',
211 222
  'config'                      => 'config',
212 223
  'continue'                    => 'continue',
224
  'create_aging_subtotal_row'   => 'create_aging_subtotal_row',
213 225
  'debug'                       => 'debug',
214 226
  'delivery_customer_selection' => 'delivery_customer_selection',
215 227
  'e_mail'                      => 'e_mail',
......
238 250
  'project_selection_internal'  => 'project_selection_internal',
239 251
  'reformat_numbers'            => 'reformat_numbers',
240 252
  'report'                      => 'report',
253
  'report_generator_back'       => 'report_generator_back',
254
  'report_generator_dispatcher' => 'report_generator_dispatcher',
255
  'report_generator_do'         => 'report_generator_do',
256
  'report_generator_export_as_csv' => 'report_generator_export_as_csv',
257
  'report_generator_export_as_pdf' => 'report_generator_export_as_pdf',
241 258
  'sales_invoice'               => 'sales_invoice',
242 259
  'select_all'                  => 'select_all',
243 260
  'select_employee'             => 'select_employee',
templates/webpages/rp/aging_ar_bottom_de.html
1
 <input type="hidden" name="rowcount" value="<TMPL_VAR row_idx ESCAPE=HTML>">
2

  
3
 <TMPL_VAR PRINT_OPTIONS>
4

  
5
 <input type="hidden" name="todate" value="<TMPL_VAR todate ESCAPE=HTML>">
6
 <input type="hidden" name="title" value="<TMPL_VAR title ESCAPE=HTML>">
7
 <input type="hidden" name="arap" value="<TMPL_VAR arap ESCAPE=HTML>">
8
 <input type="hidden" name="ct" value="<TMPL_VAR ct ESCAPE=HTML>">
9
 <input type="hidden" name="customer" value="<TMPL_VAR customer ESCAPE=HTML>">
10
 <input type="hidden" name="vendor" value="<TMPL_VAR vendor ESCAPE=HTML>">
11
 <input type="hidden" name="department" value="<TMPL_VAR department ESCAPE=HTML>">
12

  
13
 <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
14
 <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
15

  
16
 Sammelrechnung
17
 <br>
18
 <input class="submit" type="submit" name="action" value="Alle ausw?hlen">
19
 <input class="submit" type="submit" name="action" value="Drucken">
20
 <input class="submit" type="submit" name="action" value="eMail">
21

  
22
</form>
templates/webpages/rp/aging_ar_bottom_master.html
1
 <input type="hidden" name="rowcount" value="<TMPL_VAR row_idx ESCAPE=HTML>">
2

  
3
 <TMPL_VAR PRINT_OPTIONS>
4

  
5
 <input type="hidden" name="todate" value="<TMPL_VAR todate ESCAPE=HTML>">
6
 <input type="hidden" name="title" value="<TMPL_VAR title ESCAPE=HTML>">
7
 <input type="hidden" name="arap" value="<TMPL_VAR arap ESCAPE=HTML>">
8
 <input type="hidden" name="ct" value="<TMPL_VAR ct ESCAPE=HTML>">
9
 <input type="hidden" name="customer" value="<TMPL_VAR customer ESCAPE=HTML>">
10
 <input type="hidden" name="vendor" value="<TMPL_VAR vendor ESCAPE=HTML>">
11
 <input type="hidden" name="department" value="<TMPL_VAR department ESCAPE=HTML>">
12

  
13
 <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
14
 <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
15

  
16
 <translate>Statement</translate>
17
 <br>
18
 <input class="submit" type="submit" name="action" value="<translate>Select all</translate>">
19
 <input class="submit" type="submit" name="action" value="<translate>Print</translate>">
20
 <input class="submit" type="submit" name="action" value="<translate>E-mail</translate>">
21

  
22
</form>
templates/webpages/rp/aging_ar_top_de.html
1
<form method="post" action="rp.pl">
templates/webpages/rp/aging_ar_top_master.html
1
<form method="post" action="rp.pl">

Auch abrufbar als: Unified diff