Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 94b66849

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

  • ID 94b6684903ced3d8b112830780ecde323795315f
  • Vorgänger 0965925a
  • Nachfolger 71196b75

io.pl print_options auf templateing umgeschireben.

Soweit ich weiss ist das eine der ersten frontend Funktionen aus SQL Ledger die auf templating umgeschrieben wurde.
Funktionalitaet wurde eins zu eins erhalten, die einzige gewollte Aenderung betrifft die Moeglichkeit
nicht direkt auf den Bildschirm auszugeben sondern die Optionen in einer Variable zurueckzugeben.

Ansonsten kleinere Aenderungen bedingt durch Programmierstil und Beschraenkungen von HTML::Template:
- der Check ob einige Selects angezeigt werden funktioniert jetzt ueber einen Referenzcheck,
da languages und printers aus irgendeinem Grund als hashref initialisiert werden und dann als array gespeichert werden
- die Auswahl zwischen form und myconfigvariablen funktioniert leicht anders und wird vermutlich noch geaendert werden.

Unterschiede anzeigen:

bin/mozilla/io.pl
1474 1474
  $lxdebug->leave_sub();
1475 1475
}
1476 1476

  
1477
# generate the printing options displayed at the bottom of oe and is forms.
1478
# this function will attempt to guess what type of form is displayed, and will generate according options
1479
#
1480
# about the coding: 
1481
# this version builds the arrays of options pretty directly. if you have trouble understanding how,
1482
# the opthash function builds hashrefs which are then pieced together for the template arrays.
1483
# unneeded options are "undef"ed out, and then grepped out. 
1484
#
1485
# the inline options is untested, but intended to be used later in metatemplating
1477 1486
sub print_options {
1478
  $lxdebug->enter_sub();
1479
  $form->{sendmode} = "attachment";
1487
  $lxdebug->enter_sub() and my ($inline) = @_;
1480 1488

  
1481
  $form->{"format"} =
1482
    $form->{"format"} ? $form->{"format"} :
1483
    $myconfig{"template_format"} ? $myconfig{"template_format"} :
1484
    "pdf";
1489
  # names 3 parameters and returns a hashref, for use in templates
1490
  sub opthash { +{ value => shift, selected => shift, oname => shift } }
1485 1491

  
1486
  $form->{"copies"} =
1487
    $form->{"copies"} ? $form->{"copies"} :
1488
    $myconfig{"copies"} ? $myconfig{"copies"} :
1489
    3;
1490

  
1491
  $form->{"media"} =
1492
    $form->{"media"} ? $form->{"media"} :
1493
    $myconfig{"default_media"} ? $myconfig{"default_media"} :
1494
    "screen";
1495

  
1496
  $form->{"printer_id"} =
1497
    defined($form->{"printer_id"}) ? $form->{"printer_id"} :
1498
    $myconfig{"default_printer_id"} ? $myconfig{"default_printer_id"} :
1499
    "";
1492
  # note: "||"-selection is only correct for values where "0" is _not_ a correct entry
1493
  $form->{sendmode}   = "attachment";
1494
  $form->{format}     = $form->{format} || $myconfig{template_format} || "pdf";
1495
  $form->{copies}     = $form->{copies} || $myconfig{copies} || 3;
1496
  $form->{media}      = $form->{media} || $myconfig{default_media} || "screen";
1497
  $form->{printer_id} = $form->{printer_id} || $myconfig{default_printer_id} || "";
1500 1498

  
1501 1499
  $form->{PD}{ $form->{formname} } = "selected";
1502 1500
  $form->{DF}{ $form->{format} }   = "selected";
1503 1501
  $form->{OP}{ $form->{media} }    = "selected";
1504
  $form->{SM}{ $form->{sendmode} } = "selected";
1505

  
1506
  if ($form->{type} eq 'purchase_order') {
1507
    $type = qq|<select name=formname>
1508
	    <option value=purchase_order $form->{PD}{purchase_order}>|
1509
      . $locale->text('Purchase Order') . qq|
1510
	    <option value=bin_list $form->{PD}{bin_list}>|
1511
      . $locale->text('Bin List');
1512
  }
1513

  
1514
  if ($form->{type} eq 'credit_note') {
1515
    $type = qq|<select name=formname>
1516
	    <option value=credit_note $form->{PD}{credit_note}>|
1517
      . $locale->text('Credit Note');
1518
  }
1519

  
1520
  if ($form->{type} eq 'sales_order') {
1521
    $type = qq|<select name=formname>
1522
	    <option value=sales_order $form->{PD}{sales_order}>|
1523
      . $locale->text('Confirmation') . qq|
1524
      <option value=proforma $form->{PD}{proforma}>|
1525
      . $locale->text('Proforma Invoice') . qq|
1526
	    <option value=pick_list $form->{PD}{pick_list}>|
1527
      . $locale->text('Pick List') . qq|
1528
	    <option value=packing_list $form->{PD}{packing_list}>|
1529
      . $locale->text('Packing List');
1530
  }
1531

  
1532
  if ($form->{type} =~ /_quotation$/) {
1533
    $type = qq|<select name=formname>
1534
	    <option value="$`_quotation" $form->{PD}{"$`_quotation"}>|
1535
      . $locale->text('Quotation');
1536
  }
1537

  
1538
  if ($form->{type} eq 'invoice') {
1539
    $type = qq|<select name=formname>
1540
	    <option value=invoice $form->{PD}{invoice}>|
1541
      . $locale->text('Invoice') . qq|
1542
      <option value=proforma $form->{PD}{proforma}>|
1543
      . $locale->text('Proforma Invoice') . qq|
1544
      <option value=packing_list $form->{PD}{packing_list}>|
1545
      . $locale->text('Packing List');
1546
  }
1502
  $form->{SM}{ $form->{formname} } = "selected";
1503

  
1504
  push @FORMNAME, grep $_,
1505
    ($form->{type} eq 'purchase_order') ? (
1506
      opthash("purchase_order", $form->{PD}{purchase_order}, $locale->text('Purchase Order')),
1507
      opthash("bin_list", $form->{PD}{bin_list}, $locale->text('Bin List')) 
1508
    ) : undef,
1509
    ($form->{type} eq 'credit_note') ?
1510
      opthash("credit_note", $form->{PD}{credit_note}, $locale->text('Credit Note')) : undef,
1511
    ($form->{type} eq 'sales_order') ? (
1512
      opthash("sales_order", $form->{PD}{sales_order}, $locale->text('Confirmation')),
1513
      opthash("proforma", $form->{PD}{proforma}, $locale->text('Proforma Invoice')),
1514
      opthash("pick_list", $form->{PD}{pick_list}, $locale->text('Pick List')),
1515
      opthash("packing_list", $form->{PD}{packing_list}, $locale->text('Packing List')) 
1516
    ) : undef,
1517
    ($form->{type} =~ /_quotation$/) ?
1518
      opthash("$`_quotation", $form->{PD}{"$`_quotation"}, $locale->text('Quotation')) : undef,
1519
    ($form->{type} eq 'invoice') ? (
1520
      opthash("invoice", $form->{PD}{invoice}, $locale->text('Invoice')),
1521
      opthash("proforma", $form->{PD}{proforma}, $locale->text('Proforma Invoice')),
1522
      opthash("packing_list", $form->{PD}{packing_list}, $locale->text('Packing List'))
1523
    ) : undef,
1524
    ($form->{type} eq 'invoice' && $form->{storno}) ? (
1525
      opthash("storno_invoice", $form->{PD}{storno_invoice}, $locale->text('Storno Invoice')),
1526
      opthash("storno_packing_list", $form->{PD}{storno_packing_list}, $locale->text('Storno Packing List')) 
1527
    ) : undef,
1528
    ($form->{type} eq 'credit_note') ?
1529
      opthash("credit_note", $form->{PD}{credit_note}, $locale->text('Credit Note')) : undef;
1530

  
1531
  push @SENDMODE, 
1532
    opthash("attachment", $form->{SM}{attachment}, $locale->text('Attachment')),
1533
    opthash("inline", $form->{SM}{inline}, $locale->text('In-line'))
1534
      if ($form->{media} eq 'email');
1535

  
1536
  push @MEDIA, grep $_,
1537
      opthash("screen", $form->{OP}{screen}, $locale->text('Screen')),
1538
    (scalar keys %{ $form->{printers} } && $latex_templates) ?
1539
      opthash("printer", $form->{OP}{printer}, $locale->text('Printer')) : undef,
1540
    ($latex_templates) ? 
1541
      opthash("queue", $form->{OP}{queue}, $locale->text('Queue')) : undef
1542
        if ($form->{media} ne 'email');
1543

  
1544
  push @FORMAT, grep $_,
1545
    ($opendocument_templates && $openofficeorg_writer_bin && $xvfb_bin && (-x $openofficeorg_writer_bin) && (-x $xvfb_bin)) ?
1546
      opthash("opendocument_pdf", $form->{DF}{"opendocument_pdf"}, $locale->text("PDF (OpenDocument/OASIS)")) : undef,
1547
    ($latex_templates) ? (
1548
      opthash("pdf", $form->{DF}{pdf}, $locale->text('PDF')),
1549
      opthash("postscript", $form->{DF}{postscript}, $locale->text('Postscript'))
1550
    ) : undef,
1551
      opthash("html", $form->{DF}{html}, "HTML"),
1552
    ($opendocument_templates) ?
1553
      opthash("opendocument", $form->{DF}{opendocument}, $locale->text("OpenDocument/OASIS")) : undef;
1554

  
1555
  push @LANGUAGE_ID, 
1556
    map { opthash($_->{id}, ($_->{id} eq $form->{language} ? 'selected' : ''), $_->{description}) } +{}, @{ $form->{languages} }
1557
      if (ref $form->{languages} eq 'ARRAY');
1558

  
1559
  push @PRINTER_ID, 
1560
    map { opthash($_->{id}, ($_->{id} eq $form->{printer_id} ? 'selected' : ''), $_->{description}) } +{}, @{ $form->{printers} }
1561
      if (ref $form->{printers} eq 'ARRAY');
1562

  
1563
  @SELECTS = map { sname => lc $_, DATA => \@$_, show => scalar @$_ }, qw(FORMNAME LANGUAGE_ID FORMAT SENDMODE MEDIA PRINTER_ID);
1564

  
1565
  %template_vars = (
1566
    display_copies       => scalar keys %{ $form->{printers} } && $latex_templates && $form->{media} ne 'email',
1567
    display_remove_draft => (!$form->{id} && $form->{draft_id}),
1568
    groupitems_checked   => $form->{groupitems} ? "checked" : '',
1569
    remove_draft_checked => $form->{remove_draft} ? "checked" : ''
1570
  );
1547 1571

  
1548
  if ($form->{type} eq 'invoice' && $form->{storno}) {
1549
    $type = qq|<select name=formname>
1550
	    <option value=storno_invoice $form->{PD}{storno_invoice}>|
1551
      . $locale->text('Storno Invoice') . qq|
1552
      <option value=storno_packing_list $form->{PD}{storno_packing_list}>|
1553
      . $locale->text('Storno Packing List');
1554
  }
1572
  my $print_options = $form->parse_html_template("generic/print_options", { SELECTS  => \@SELECTS, %template_vars } );
1555 1573

  
1556
  if ($form->{type} eq 'credit_note') {
1557
    $type = qq|<select name=formname>
1558
	    <option value=credit_note $form->{PD}{credit_note}>|
1559
      . $locale->text('Credit Note');
1560
  }
1561

  
1562
  if ($form->{media} eq 'email') {
1563
    $media = qq|<select name=sendmode>
1564
	    <option value=attachment $form->{SM}{attachment}>|
1565
      . $locale->text('Attachment') . qq|
1566
	    <option value=inline $form->{SM}{inline}>| . $locale->text('In-line');
1574
  if ($inline) {
1575
    $lxdebug->leave_sub() and return $print_options;
1567 1576
  } else {
1568
    $media = qq|<select name=media>
1569
	    <option value=screen $form->{OP}{screen}>| . $locale->text('Screen');
1570
    if (scalar(keys (%{ $form->{printers} })) !=0 && $latex_templates) {
1571
      $media .= qq|
1572
            <option value=printer $form->{OP}{printer}>|
1573
        . $locale->text('Printer');
1574
    }
1575
    if ($latex_templates) {
1576
      $media .= qq|
1577
            <option value=queue $form->{OP}{queue}>| . $locale->text('Queue');
1578
    }
1579
  }
1580

  
1581
  $format = qq|<select name=format>|;
1582
  if ($opendocument_templates && $openofficeorg_writer_bin &&
1583
      $xvfb_bin && (-x $openofficeorg_writer_bin) && (-x $xvfb_bin)) {
1584
    $format .= qq|<option value=opendocument_pdf | .
1585
      $form->{DF}{"opendocument_pdf"} . qq|>| .
1586
      $locale->text("PDF (OpenDocument/OASIS)") . qq|</option>|;
1587
  }
1588

  
1589
  if ($latex_templates) {
1590
    $format .= qq|<option value=pdf $form->{DF}{pdf}>| .
1591
      $locale->text('PDF') . qq|</option>|;
1592
  }
1593

  
1594
  $format .= qq|<option value=html $form->{DF}{html}>HTML</option>|;
1595

  
1596
  if ($latex_templates) {
1597
    $format .= qq|<option value=postscript $form->{DF}{postscript}>| .
1598
      $locale->text('Postscript') . qq|</option>|;
1577
    print $print_options; $lxdebug->leave_sub();
1599 1578
  }
1600

  
1601
  if ($opendocument_templates) {
1602
    $format .= qq|<option value=opendocument $form->{DF}{opendocument}>| .
1603
      $locale->text("OpenDocument/OASIS") . qq|</option>|;
1604
  }
1605
  $format .= qq|</select>|;
1606

  
1607
  if (scalar(keys (%{ $form->{languages} })) !=0) {
1608
    $language_select = qq|<select name=language_id>
1609
		<option value=""></option>}|;
1610
    foreach $item (@{ $form->{languages} }) {
1611
      if ($form->{language_id} eq $item->{id}) {
1612
        $language_select .= qq|<option value="$item->{id}" selected>$item->{description}</option>|;
1613
      } else {
1614
        $language_select .= qq|<option value="$item->{id}">$item->{description}</option>|;
1615
      }
1616
    }
1617
  }
1618

  
1619
  if (scalar(keys (%{ $form->{printers} })) !=0) {
1620
    my $selected = !$form->{"printer_id"} ? "selected" : "";
1621
    $printer_select = qq|<select name=printer_id $selected>
1622
                  <option value=""></option>|;
1623
    foreach $item (@{ $form->{printers} }) {
1624
      $selected = $item->{"id"} == $form->{"printer_id"} ? "selected" : "";
1625
      $printer_select .= qq|<option value="$item->{id}" $selected>$item->{printer_description}</option>|;
1626
    }
1627
  }
1628

  
1629

  
1630

  
1631
  print qq|
1632
<table width=100% cellspacing=0 cellpadding=0>
1633
  <tr>
1634
    <td>
1635
      <table>
1636
	<tr>
1637
	  <td>$type</select></td>|;
1638
  if (scalar(keys (%{ $form->{languages} })) !=0) {
1639
  print qq|
1640
          <td>${language_select}</select></td>|;
1641
  }
1642
  print qq|
1643
	  <td>$format</select></td>
1644
	  <td>$media</select></td>|;
1645
  if (scalar(keys (%{ $form->{printers} })) !=0) {
1646
  print qq|
1647
	  <td>$printer_select</select></td>
1648
|;
1649
  }
1650

  
1651
  if (scalar(keys (%{ $form->{printers} })) !=0 && $latex_templates && $form->{media} ne 'email') {
1652
    print qq|
1653
	  <td>| . $locale->text('Copies') . qq|
1654
	  <input name=copies size=2 value=$form->{copies}></td>
1655
|;
1656
  }
1657

  
1658
  $form->{groupitems} = "checked" if $form->{groupitems};
1659
  $form->{remove_draft} = "checked" if $form->{remove_draft};
1660

  
1661
  print qq|
1662
          <td>| . $locale->text('Group Items') . qq|</td>
1663
          <td><input name=groupitems type=checkbox class=checkbox $form->{groupitems}></td>|;
1664

  
1665
  print qq|
1666
          <td>| . $locale->text('Remove Draft') . qq|</td>
1667
          <td><input name=remove_draft type=checkbox class=checkbox $form->{remove_draft}></td>| if (!$form->{id} && $form->{draft_id});
1668
  print qq|
1669
        </tr>
1670
      </table>
1671
    </td>
1672
    <td align=right>
1673
      <table>
1674
        <tr>
1675
|;
1676

  
1677
  if ($form->{printed} =~ /$form->{formname}/) {
1678
    print qq|
1679
	  <th>\|| . $locale->text('Printed') . qq|\|</th>
1680
|;
1681
  }
1682

  
1683
  if ($form->{emailed} =~ /$form->{formname}/) {
1684
    print qq|
1685
	  <th>\|| . $locale->text('E-mailed') . qq|\|</th>
1686
|;
1687
  }
1688

  
1689
  if ($form->{queued} =~ /$form->{formname}/) {
1690
    print qq|
1691
	  <th>\|| . $locale->text('Queued') . qq|\|</th>
1692
|;
1693
  }
1694

  
1695
  print qq|
1696
        </tr>
1697
      </table>
1698
    </td>
1699
  </tr>
1700
</table>
1701
|;
1702

  
1703
  $lxdebug->leave_sub();
1704 1579
}
1705 1580

  
1706 1581
sub print {
locale/de/all
394 394
  'E-mail'                      => 'eMail',
395 395
  'E-mail Statement to'         => 'F?lligkeitsabrechnung als eMail an',
396 396
  'E-mail address missing!'     => 'E-Mail-Adresse fehlt!',
397
  'E-mailed'                    => 'eMail gesendet.',
398 397
  'EAN'                         => 'EAN',
399 398
  'EAN-Code'                    => 'EAN-Code',
400 399
  'ELSE'                        => 'Zusatz',
......
815 814
  'Print'                       => 'Drucken',
816 815
  'Print and Post'              => 'Drucken und Buchen',
817 816
  'Print options'               => 'Druckoptionen',
818
  'Printed'                     => 'gedruckt.',
819 817
  'Printer'                     => 'Drucker',
820 818
  'Printer Command'             => 'Druckbefehl',
821 819
  'Printer Command missing!'    => 'Druckbefehl fehlt',
......
851 849
  'Quarter'                     => 'Quartal',
852 850
  'Quarterly'                   => 'quartalsweise',
853 851
  'Queue'                       => 'Warteschlange',
854
  'Queued'                      => 'In Warteschlange eingereiht.',
855 852
  'Quotation'                   => 'Angebot',
856 853
  'Quotation Date'              => 'Angebotsdatum',
857 854
  'Quotation Date missing!'     => 'Angebotsdatum fehlt!',
locale/de/dn
26 26
  'Confirmation'                => 'Auftragsbest?tigung',
27 27
  'Contact'                     => 'Kontakt',
28 28
  'Continue'                    => 'Weiter',
29
  'Copies'                      => 'Kopien',
30 29
  'Could not create dunning copy!' => 'Could not create dunning copy!',
31 30
  'Country'                     => 'Land',
32 31
  'Credit Note'                 => 'Gutschrift',
......
60 59
  'Dunning overview'            => 'Mahnungs?bersicht',
61 60
  'E-mail'                      => 'eMail',
62 61
  'E-mail address missing!'     => 'E-Mail-Adresse fehlt!',
63
  'E-mailed'                    => 'eMail gesendet.',
64 62
  'ELSE'                        => 'Zusatz',
65 63
  'Edit Dunning Process Config' => 'Mahnwesenkonfiguration bearbeiten',
66 64
  'Enter longdescription'       => 'Langtext eingeben',
......
73 71
  'Fristsetzung'                => 'Fristsetzung',
74 72
  'Group'                       => 'Warengruppe',
75 73
  'Group Invoices'              => 'Rechnungen zusammenfassen',
76
  'Group Items'                 => 'Waren gruppieren',
77 74
  'History'                     => 'Historie',
78 75
  'In-line'                     => 'im Text',
79 76
  'Interest Rate'               => 'Zinssatz',
......
146 143
  'Postscript'                  => 'Postscript',
147 144
  'Price'                       => 'Preis',
148 145
  'Pricegroup'                  => 'Preisgruppe',
149
  'Printed'                     => 'gedruckt.',
150 146
  'Printer'                     => 'Drucker',
151 147
  'Proforma Invoice'            => 'Proformarechnung',
152 148
  'Project'                     => 'Projekt',
......
156 152
  'Purchase Order'              => 'Lieferantenauftrag',
157 153
  'Qty'                         => 'Menge',
158 154
  'Queue'                       => 'Warteschlange',
159
  'Queued'                      => 'In Warteschlange eingereiht.',
160 155
  'Quotation'                   => 'Angebot',
161 156
  'Quotation Date missing!'     => 'Angebotsdatum fehlt!',
162 157
  'Quotation Number missing!'   => 'Angebotsnummer fehlt!',
163 158
  'RFQ'                         => 'Anfrage',
164
  'Remove Draft'                => 'Entwurf l&ouml;schen',
165 159
  'Reqdate'                     => 'Lieferdatum',
166 160
  'Required by'                 => 'Lieferdatum',
167 161
  'SAVED'                       => 'Gespeichert',
locale/de/ic
40 40
  'Confirmation'                => 'Auftragsbest?tigung',
41 41
  'Contact'                     => 'Kontakt',
42 42
  'Continue'                    => 'Weiter',
43
  'Copies'                      => 'Kopien',
44 43
  'Could not update prices!'    => 'Preise konnten nicht aktualisiert werden!',
45 44
  'Country'                     => 'Land',
46 45
  'Credit Note'                 => 'Gutschrift',
......
59 58
  'Drawing'                     => 'Zeichnung',
60 59
  'E-mail'                      => 'eMail',
61 60
  'E-mail address missing!'     => 'E-Mail-Adresse fehlt!',
62
  'E-mailed'                    => 'eMail gesendet.',
63 61
  'EAN'                         => 'EAN',
64 62
  'EAN-Code'                    => 'EAN-Code',
65 63
  'ELSE'                        => 'Zusatz',
......
78 76
  'From'                        => 'Von',
79 77
  'Gesch?ftsvolumen'            => 'Gesch?ftsvolumen',
80 78
  'Group'                       => 'Warengruppe',
81
  'Group Items'                 => 'Waren gruppieren',
82 79
  'History'                     => 'Historie',
83 80
  'If you see this message, you most likely just setup your LX-Office and haven\'t added any entry types. If this is the case, the option is accessible for administrators in the System menu.' => 'Wenn Sie diese Meldung sehen haben Sie wahrscheinlich ein frisches LX-Office Setup und noch keine Buchungsgruppen eingerichtet. Ein Administrator kann dies im Systemmen&uuml; erledigen.',
84 81
  'Image'                       => 'Grafik',
......
171 168
  'Preisklasse'                 => 'Preisgruppe',
172 169
  'Price'                       => 'Preis',
173 170
  'Pricegroup'                  => 'Preisgruppe',
174
  'Printed'                     => 'gedruckt.',
175 171
  'Printer'                     => 'Drucker',
176 172
  'Proforma Invoice'            => 'Proformarechnung',
177 173
  'Project'                     => 'Projekt',
......
181 177
  'Purchase Order'              => 'Lieferantenauftrag',
182 178
  'Qty'                         => 'Menge',
183 179
  'Queue'                       => 'Warteschlange',
184
  'Queued'                      => 'In Warteschlange eingereiht.',
185 180
  'Quotation'                   => 'Angebot',
186 181
  'Quotation Date missing!'     => 'Angebotsdatum fehlt!',
187 182
  'Quotation Number missing!'   => 'Angebotsnummer fehlt!',
188 183
  'Quoted'                      => 'Angeboten',
189 184
  'RFQ'                         => 'Anfrage',
190 185
  'ROP'                         => 'Mindestlagerbestand',
191
  'Remove Draft'                => 'Entwurf l&ouml;schen',
192 186
  'Reqdate'                     => 'Lieferdatum',
193 187
  'Required by'                 => 'Lieferdatum',
194 188
  'Revenue'                     => 'Erl?skonto',
locale/de/io
23 23
  'Confirmation'                => 'Auftragsbest?tigung',
24 24
  'Contact'                     => 'Kontakt',
25 25
  'Continue'                    => 'Weiter',
26
  'Copies'                      => 'Kopien',
27 26
  'Country'                     => 'Land',
28 27
  'Credit Note'                 => 'Gutschrift',
29 28
  'Customer Number'             => 'Kundennummer',
......
38 37
  'Discount'                    => 'Rabatt',
39 38
  'E-mail'                      => 'eMail',
40 39
  'E-mail address missing!'     => 'E-Mail-Adresse fehlt!',
41
  'E-mailed'                    => 'eMail gesendet.',
42 40
  'ELSE'                        => 'Zusatz',
43 41
  'Enter longdescription'       => 'Langtext eingeben',
44 42
  'Error in database control file \'%s\': %s' => 'Fehler in Datenbankupgradekontrolldatei \'%s\': %s',
......
47 45
  'Feb'                         => 'Feb',
48 46
  'February'                    => 'Februar',
49 47
  'Group'                       => 'Warengruppe',
50
  'Group Items'                 => 'Waren gruppieren',
51 48
  'History'                     => 'Historie',
52 49
  'In-line'                     => 'im Text',
53 50
  'Invoice'                     => 'Rechnung',
......
106 103
  'Postscript'                  => 'Postscript',
107 104
  'Price'                       => 'Preis',
108 105
  'Pricegroup'                  => 'Preisgruppe',
109
  'Printed'                     => 'gedruckt.',
110 106
  'Printer'                     => 'Drucker',
111 107
  'Proforma Invoice'            => 'Proformarechnung',
112 108
  'Project'                     => 'Projekt',
......
115 111
  'Purchase Order'              => 'Lieferantenauftrag',
116 112
  'Qty'                         => 'Menge',
117 113
  'Queue'                       => 'Warteschlange',
118
  'Queued'                      => 'In Warteschlange eingereiht.',
119 114
  'Quotation'                   => 'Angebot',
120 115
  'Quotation Date missing!'     => 'Angebotsdatum fehlt!',
121 116
  'Quotation Number missing!'   => 'Angebotsnummer fehlt!',
122 117
  'RFQ'                         => 'Anfrage',
123
  'Remove Draft'                => 'Entwurf l&ouml;schen',
124 118
  'Reqdate'                     => 'Lieferdatum',
125 119
  'Required by'                 => 'Lieferdatum',
126 120
  'SAVED'                       => 'Gespeichert',
locale/de/ir
36 36
  'Contact'                     => 'Kontakt',
37 37
  'Contact Person'              => 'Ansprechpartner',
38 38
  'Continue'                    => 'Weiter',
39
  'Copies'                      => 'Kopien',
40 39
  'Country'                     => 'Land',
41 40
  'Credit Limit'                => 'Kreditlimit',
42 41
  'Credit Note'                 => 'Gutschrift',
......
61 60
  'Due Date'                    => 'F?lligkeitsdatum',
62 61
  'E-mail'                      => 'eMail',
63 62
  'E-mail address missing!'     => 'E-Mail-Adresse fehlt!',
64
  'E-mailed'                    => 'eMail gesendet.',
65 63
  'ELSE'                        => 'Zusatz',
66 64
  'Edit Vendor Invoice'         => 'Einkaufsrechnung bearbeiten',
67 65
  'Enter longdescription'       => 'Langtext eingeben',
......
75 73
  'Feb'                         => 'Feb',
76 74
  'February'                    => 'Februar',
77 75
  'Group'                       => 'Warengruppe',
78
  'Group Items'                 => 'Waren gruppieren',
79 76
  'History'                     => 'Historie',
80 77
  'In-line'                     => 'im Text',
81 78
  'Internal Notes'              => 'interne Bemerkungen',
......
147 144
  'Postscript'                  => 'Postscript',
148 145
  'Price'                       => 'Preis',
149 146
  'Pricegroup'                  => 'Preisgruppe',
150
  'Printed'                     => 'gedruckt.',
151 147
  'Printer'                     => 'Drucker',
152 148
  'Proforma Invoice'            => 'Proformarechnung',
153 149
  'Project'                     => 'Projekt',
......
157 153
  'Purchase Order'              => 'Lieferantenauftrag',
158 154
  'Qty'                         => 'Menge',
159 155
  'Queue'                       => 'Warteschlange',
160
  'Queued'                      => 'In Warteschlange eingereiht.',
161 156
  'Quotation'                   => 'Angebot',
162 157
  'Quotation Date'              => 'Angebotsdatum',
163 158
  'Quotation Date missing!'     => 'Angebotsdatum fehlt!',
......
166 161
  'Rechnungsnummer'             => 'Rechnungsnummer',
167 162
  'Record in'                   => 'Buchen auf',
168 163
  'Remaining'                   => 'Rest',
169
  'Remove Draft'                => 'Entwurf l&ouml;schen',
170 164
  'Reqdate'                     => 'Lieferdatum',
171 165
  'Required by'                 => 'Lieferdatum',
172 166
  'SAVED'                       => 'Gespeichert',
locale/de/is
41 41
  'Contact'                     => 'Kontakt',
42 42
  'Contact Person'              => 'Ansprechpartner',
43 43
  'Continue'                    => 'Weiter',
44
  'Copies'                      => 'Kopien',
45 44
  'Country'                     => 'Land',
46 45
  'Credit Limit'                => 'Kreditlimit',
47 46
  'Credit Limit exceeded!!!'    => 'Kreditlimit ?berschritten!',
......
73 72
  'Dunning Amount'              => 'gemahnter Betrag',
74 73
  'E-mail'                      => 'eMail',
75 74
  'E-mail address missing!'     => 'E-Mail-Adresse fehlt!',
76
  'E-mailed'                    => 'eMail gesendet.',
77 75
  'ELSE'                        => 'Zusatz',
78 76
  'Edit Credit Note'            => 'Gutschrift bearbeiten',
79 77
  'Edit Sales Invoice'          => 'Rechnung bearbeiten',
......
91 89
  'Feb'                         => 'Feb',
92 90
  'February'                    => 'Februar',
93 91
  'Group'                       => 'Warengruppe',
94
  'Group Items'                 => 'Waren gruppieren',
95 92
  'History'                     => 'Historie',
96 93
  'In-line'                     => 'im Text',
97 94
  'Incoming Payments'           => 'Zahlungseing?nge',
......
170 167
  'Pricegroup'                  => 'Preisgruppe',
171 168
  'Print'                       => 'Drucken',
172 169
  'Print and Post'              => 'Drucken und Buchen',
173
  'Printed'                     => 'gedruckt.',
174 170
  'Printer'                     => 'Drucker',
175 171
  'Proforma Invoice'            => 'Proformarechnung',
176 172
  'Project'                     => 'Projekt',
......
180 176
  'Purchase Order'              => 'Lieferantenauftrag',
181 177
  'Qty'                         => 'Menge',
182 178
  'Queue'                       => 'Warteschlange',
183
  'Queued'                      => 'In Warteschlange eingereiht.',
184 179
  'Quotation'                   => 'Angebot',
185 180
  'Quotation Date'              => 'Angebotsdatum',
186 181
  'Quotation Date missing!'     => 'Angebotsdatum fehlt!',
......
189 184
  'RFQ'                         => 'Anfrage',
190 185
  'Record in'                   => 'Buchen auf',
191 186
  'Remaining'                   => 'Rest',
192
  'Remove Draft'                => 'Entwurf l&ouml;schen',
193 187
  'Reqdate'                     => 'Lieferdatum',
194 188
  'Required by'                 => 'Lieferdatum',
195 189
  'SAVED'                       => 'Gespeichert',
locale/de/oe
43 43
  'Contact'                     => 'Kontakt',
44 44
  'Contact Person'              => 'Ansprechpartner',
45 45
  'Continue'                    => 'Weiter',
46
  'Copies'                      => 'Kopien',
47 46
  'Country'                     => 'Land',
48 47
  'Credit Limit'                => 'Kreditlimit',
49 48
  'Credit Limit exceeded!!!'    => 'Kreditlimit ?berschritten!',
......
72 71
  'Dunning Amount'              => 'gemahnter Betrag',
73 72
  'E-mail'                      => 'eMail',
74 73
  'E-mail address missing!'     => 'E-Mail-Adresse fehlt!',
75
  'E-mailed'                    => 'eMail gesendet.',
76 74
  'ELSE'                        => 'Zusatz',
77 75
  'Edit Purchase Order'         => 'Lieferantenaufrag bearbeiten',
78 76
  'Edit Quotation'              => 'Angebot bearbeiten',
......
93 91
  'February'                    => 'Februar',
94 92
  'From'                        => 'Von',
95 93
  'Group'                       => 'Warengruppe',
96
  'Group Items'                 => 'Waren gruppieren',
97 94
  'History'                     => 'Historie',
98 95
  'ID'                          => 'Buchungsnummer',
99 96
  'In-line'                     => 'im Text',
......
167 164
  'Price'                       => 'Preis',
168 165
  'Pricegroup'                  => 'Preisgruppe',
169 166
  'Print'                       => 'Drucken',
170
  'Printed'                     => 'gedruckt.',
171 167
  'Printer'                     => 'Drucker',
172 168
  'Proforma Invoice'            => 'Proformarechnung',
173 169
  'Project'                     => 'Projekt',
......
178 174
  'Purchase Orders'             => 'Lieferantenauftr?ge',
179 175
  'Qty'                         => 'Menge',
180 176
  'Queue'                       => 'Warteschlange',
181
  'Queued'                      => 'In Warteschlange eingereiht.',
182 177
  'Quotation'                   => 'Angebot',
183 178
  'Quotation Date'              => 'Angebotsdatum',
184 179
  'Quotation Date missing!'     => 'Angebotsdatum fehlt!',
......
189 184
  'RFQ'                         => 'Anfrage',
190 185
  'RFQ Number'                  => 'Anfragenummer',
191 186
  'Remaining'                   => 'Rest',
192
  'Remove Draft'                => 'Entwurf l&ouml;schen',
193 187
  'Reqdate'                     => 'Lieferdatum',
194 188
  'Request for Quotation'       => 'Anfrage',
195 189
  'Request for Quotations'      => 'Anfragen',
templates/webpages/generic/print_options_de.html
1
<table width=100% cellspacing=0 cellpadding=0>
2
  <tr>
3
    <td>
4
      <table>
5
  <tr>
6
    <td>
7
    <TMPL_LOOP SELECTS><TMPL_IF show>
8
      <select name="<TMPL_VAR sname>"><TMPL_LOOP DATA>
9
        <option value="<TMPL_VAR value>" <TMPL_VAR selected>><TMPL_VAR oname></option></TMPL_LOOP></select>
10
    </TMPL_IF></TMPL_LOOP>
11
    </td>
12
    <TMPL_IF display_copies>
13
      <td>Kopien <input name=copies size=2 value=<TMPL_VAR copies>></td>
14
    </TMPL_IF>
15
      <td>Waren gruppieren</td>
16
      <td><input name=groupitems type=checkbox class=checkbox <TMPL_VAR groupitems_checked>></td>
17
    <TMPL_IF display_remove_draft>
18
      <td>Entwurf l&ouml;schen</td>
19
      <td><input name=remove_draft type=checkbox class=checkbox <TMPL_VAR remove_draft_checked>></td>
20
    </TMPL_IF>
21
    </tr>
22
      </table>
23
    </td>
24
    <td align=right>
25
      <table><tr><th><TMPL_VAR status_msg></th></tr></table>
26
    </td>
27
  </tr>
28
</table>
29

  
templates/webpages/generic/print_options_master.html
1
<table width=100% cellspacing=0 cellpadding=0>
2
  <tr>
3
    <td>
4
      <table>
5
  <tr>
6
    <td>
7
    <TMPL_LOOP SELECTS><TMPL_IF show>
8
      <select name="<TMPL_VAR sname>"><TMPL_LOOP DATA>
9
        <option value="<TMPL_VAR value>" <TMPL_VAR selected>><TMPL_VAR oname></option></TMPL_LOOP></select>
10
    </TMPL_IF></TMPL_LOOP>
11
    </td>
12
    <TMPL_IF display_copies>
13
      <td><translate>Copies</translate> <input name=copies size=2 value=<TMPL_VAR copies>></td>
14
    </TMPL_IF>
15
      <td><translate>Group Items</translate></td>
16
      <td><input name=groupitems type=checkbox class=checkbox <TMPL_VAR groupitems_checked>></td>
17
    <TMPL_IF display_remove_draft>
18
      <td><translate>Remove Draft</translate></td>
19
      <td><input name=remove_draft type=checkbox class=checkbox <TMPL_VAR remove_draft_checked>></td>
20
    </TMPL_IF>
21
    </tr>
22
      </table>
23
    </td>
24
    <td align=right>
25
      <table><tr><th><TMPL_VAR status_msg></th></tr></table>
26
    </td>
27
  </tr>
28
</table>
29

  

Auch abrufbar als: Unified diff