Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3a33f5d3

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

  • ID 3a33f5d30ec393cba37441e40dd68e2357970e3e
  • Vorgänger 872f1493
  • Nachfolger 8332f181

Rechnungssuche auf Templates umgestellt (analog zu Aufträgen), und auch hier Autocompletion für Kunden aktiviert.

Unterschiede anzeigen:

bin/mozilla/ar.pl
# setup customer selection
$form->all_vc(\%myconfig, "customer", "AR");
if (@{ $form->{all_customer} || [] }) {
map { $customer .= "<option>$_->{name}--$_->{id}\n" }
@{ $form->{all_customer} };
$customer = qq|<select name=customer><option>\n$customer</select>|;
} else {
$customer = qq|<input name=customer size=35>|;
}
# departments
if (@{ $form->{all_departments} || [] }) {
$form->{selectdepartment} = "<option>\n";
map {
$form->{selectdepartment} .=
"<option>$_->{description}--$_->{id}\n"
} (@{ $form->{all_departments} || [] });
}
$department = qq|
<tr>
<th align=right nowrap>| . $locale->text('Department') . qq|</th>
<td colspan=3><select name=department>$form->{selectdepartment}</select></td>
</tr>
| if $form->{selectdepartment};
$form->{title} = $locale->text('AR Transactions');
$form->{javascript} .= qq|<script type="text/javascript" src="js/common.js"></script>|;
# use JavaScript Calendar or not
$form->{title} = $locale->text('AR Transactions');
$form->{fokus} = "search.customer";
$form->{jsscript} = 1;
$jsscript = "";
if ($form->{jsscript}) {
# with JavaScript Calendar
$button1 = qq|
<td><input name=transdatefrom id=transdatefrom size=11 title="$myconfig{dateformat}" onBlur=\"check_right_date_format(this)\">
<input type=button name=transdatefrom id="trigger1" value=|
. $locale->text('button') . qq|></td>
|;
$button2 = qq|
<td><input name=transdateto id=transdateto size=11 title="$myconfig{dateformat}" onBlur=\"check_right_date_format(this)\">
<input type=button name=transdateto name=transdateto id="trigger2" value=|
. $locale->text('button') . qq|></td>
|;
#write Trigger
$jsscript =
Form->write_trigger(\%myconfig, "2", "transdatefrom", "BR", "trigger1",
"transdateto", "BL", "trigger2");
} else {
# without JavaScript Calendar
$button1 = qq|
<td><input name=transdatefrom id=transdatefrom size=11 title="$myconfig{dateformat}" onBlur=\"check_right_date_format(this)\"></td>|;
$button2 = qq|
<td><input name=transdateto id=transdateto size=11 title="$myconfig{dateformat}" onBlur=\"check_right_date_format(this)\"></td>|;
}
$form->get_lists("projects" => { "key" => "ALL_PROJECTS",
"all" => 1 });
$form->get_lists("projects" => { "key" => "ALL_PROJECTS", "all" => 1 },
"departments" => "ALL_DEPARTMENTS",
"customers" => "ALL_VC");
my %labels = ();
my @values = ("");
foreach my $item (@{ $form->{"ALL_PROJECTS"} }) {
push(@values, $item->{"id"});
$labels{$item->{"id"}} = $item->{"projectnumber"};
}
my $projectnumber =
NTI($cgi->popup_menu('-name' => 'project_id', '-values' => \@values,
'-labels' => \%labels));
# constants and subs for template
$form->{jsscript} = 1;
$form->{vc_keys} = sub { "$_[0]->{name}--$_[0]->{id}" };
$form->{fokus} = "search.customer";
$form->header;
$onload = qq|focus()|;
$onload .= qq|;setupDateFormat('|. $myconfig{dateformat} .qq|', '|. $locale->text("Falsches Datumsformat!") .qq|')|;
$onload .= qq|;setupPoints('|. $myconfig{numberformat} .qq|', '|. $locale->text("wrongformat") .qq|')|;
print qq|
<body onLoad="$onload">
<form method=post name="search" action=$form->{script}>
<table width=100%>
<tr><th class=listtop>$form->{title}</th></tr>
<tr height="5"></tr>
<tr>
<td>
<table>
<tr>
<th align=right>| . $locale->text('Customer') . qq|</th>
<td colspan=3>$customer</td>
</tr>
$department
<tr>
<th align=right nowrap>| . $locale->text('Invoice Number') . qq|</th>
<td colspan=3><input name=invnumber size=20></td>
</tr>
<tr>
<th align=right nowrap>| . $locale->text('Order Number') . qq|</th>
<td colspan=3><input name=ordnumber size=20></td>
</tr>
<tr>
<th align=right nowrap>| . $locale->text('Transaction description') . qq|</th>
<td colspan=3><input name=transaction_description size=40></td>
</tr>
<tr>
<th align=right nowrap>| . $locale->text('Notes') . qq|</th>
<td colspan=3><input name=notes size=40></td>
</tr>
<tr>
<th align="right">| . $locale->text("Project Number") . qq|</th>
<td colspan="3">$projectnumber</td>
</tr>
<tr>
<th align=right nowrap>| . $locale->text('From') . qq|</th>
$button1
<th align=right>| . $locale->text('Bis') . qq|</th>
$button2
</tr>
<input type=hidden name=sort value=transdate>
</table>
</td>
</tr>
<tr>
<td>
<table>
<tr>
<th align=right nowrap>| . $locale->text('Include in Report') . qq|</th>
<td>
<table width=100%>
<tr>
<td align=right><input name=open class=checkbox type=checkbox value=Y checked></td>
<td nowrap>| . $locale->text('Open') . qq|</td>
<td align=right><input name=closed class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Closed') . qq|</td>
</tr>
<tr>
<td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('ID') . qq|</td>
<td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
<td nowrap>| . $locale->text('Invoice Number') . qq|</td>
<td align=right><input name="l_ordnumber" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Order Number') . qq|</td>
<td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
<td nowrap>| . $locale->text('Invoice Date') . qq|</td>
</tr>
<tr>
<td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
<td nowrap>| . $locale->text('Customer') . qq|</td>
<td align=right><input name="l_netamount" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Amount') . qq|</td>
<td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Tax') . qq|</td>
<td align=right><input name="l_amount" class=checkbox type=checkbox value=Y checked></td>
<td nowrap>| . $locale->text('Total') . qq|</td>
</tr>
<tr>
<td align=right><input name="l_datepaid" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Date Paid') . qq|</td>
<td align=right><input name="l_paid" class=checkbox type=checkbox value=Y checked></td>
<td nowrap>| . $locale->text('Paid') . qq|</td>
<td align=right><input name="l_duedate" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Due Date') . qq|</td>
<td align=right><input name="l_due" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Amount Due') . qq|</td>
</tr>
<tr>
<td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Notes') . qq|</td>
<td align=right><input name="l_salesman" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Salesperson') . qq|</td>
<td align=right><input name="l_shippingpoint" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Shipping Point') . qq|</td>
<td align=right><input name="l_shipvia" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Ship via') . qq|</td>
</tr>
<tr>
<td align=right><input name="l_marge_total" class=checkbox type=checkbox value=Y></td>
<td nowrap> | . $locale->text('Ertrag') . qq|</td>
<td align=right><input name="l_marge_percent" class=checkbox type=checkbox value=Y></td>
<td nowrap> | . $locale->text('Ertrag prozentual') . qq|</td>
<td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Employee') . qq|</td>
</tr>
<tr>
<td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Subtotal') . qq|</td>
<td align=right><input name="l_globalprojectnumber" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Project Number') . qq|</td>
<td align=right><input name="l_transaction_description" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Transaction description') . qq|</td>
</tr>
<tr>
<td colspan=4 align=left><b>| . $locale->text('Customer') . qq| </td>
</tr>
<tr>
<td align=right><input name="l_customernumber" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Customer Number') . qq|</td>
<td align=right><input name="l_country" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Country') . qq|</td>
<td align=right><input name="l_ustid" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('USt-IdNr.') . qq|</td>
<td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Steuersatz') . qq|</td>
</tr>
<tr>
<td align=right><input name="l_payment_terms" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Payment Terms') . qq|</td>
<td align=right><input name="l_charts" class=checkbox type=checkbox value=Y></td>
<td nowrap>| . $locale->text('Buchungskonto') . qq|</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><hr size=3 noshade></td>
</tr>
</table>
<input type=hidden name=nextsub value=$form->{nextsub}>
<br>
<input class=submit type=submit name=action value="|
. $locale->text('Continue') . qq|">
</form>
</body>
$jsscript
</html>
|;
print $form->parse_html_template('ar/search', { %myconfig });
$main::lxdebug->leave_sub();
}
locale/de/ar
'General ledger and cash' => 'Finanzbuchhaltung und Zahlungsverkehr',
'History' => 'Historie',
'ID' => 'Buchungsnummer',
'Include in Report' => 'In Bericht aufnehmen',
'Incoming Payments' => 'Zahlungseing?nge',
'Invoice' => 'Rechnung',
'Invoice (one letter abbreviation)' => 'R',
......
'Storno Invoice' => 'Stornorechnung',
'Storno Packing List' => 'Stornolieferschein',
'Subject' => 'Betreff',
'Subtotal' => 'Zwischensumme',
'Tax' => 'Steuer',
'Tax Included' => 'Steuer im Preis inbegriffen',
'Taxkey' => 'Steuerschl?ssel',
templates/webpages/ar/search_de.html
<body>
<form method=post name="search" action=[% script %]>
<table width=100%>
<tr><th class=listtop>[% title %]</th></tr>
<tr height="5"></tr>
<tr>
<td>
<table>
<tr>
<th align=right>Kunde</th>
<td colspan=3>
[%- INCLUDE 'generic/multibox.html'
name = 'customer',
default = oldcustomer,
style = 'width: 250px',
DATA = ALL_VC,
id_sub = 'vc_keys',
label_key = 'name',
select = vc_select,
limit = vclimit,
show_empty = 1,
allow_textbox = 1,
-%]
[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [
{ script => 'ct.pl', column => 'name', selector => 'input[name="customer"]', params => { vc => 'customer' } },
]
%]
</td>
</tr>
<tr>
<th align=right nowrap>Abteilung</th>
<td>
[%- INCLUDE 'generic/multibox.html'
name = 'department',
style = 'width: 250px',
DATA = ALL_DEPARTMENTS,
id_key = 'id',
label_key = 'description',
show_empty = 1,
allow_textbox = 0,
-%]
</td>
</tr>
<tr>
<th align=right nowrap>Rechnungsnummer</th>
<td colspan=3><input name=invnumber size=20></td>
</tr>
<tr>
<th align=right nowrap>Auftragsnummer</th>
<td colspan=3><input name=ordnumber size=20></td>
</tr>
<tr>
<th align=right nowrap>Vorgangsbezeichnung</th>
<td colspan=3><input name=transaction_description size=40></td>
</tr>
<tr>
<th align=right nowrap>Bemerkungen</th>
<td colspan=3><input name=notes size=40></td>
</tr>
<tr>
<th align="right">Projektnummer</th>
<td colspan="3">
[%- INCLUDE 'generic/multibox.html'
name = 'project_id',
style = "width: 250px",
DATA = ALL_PROJECTS,
id_key = 'id',
label_key = 'projectnumber',
limit = vclimit,
show_empty = 1,
allow_textbox = 0,
-%]
</td>
</tr>
<tr>
<th align=right nowrap>Von</th>
<td>
<input name=transdatefrom id=transdatefrom size=11 title="dateformat | html %]" onBlur=\"check_right_date_format(this)\">
<input type=button name=transdatefrom id="trigger1" value=?>
</td>
<th align=right>bis</th>
<td>
<input name=transdateto id=transdateto size=11 title="[% dateformat | html %]" onBlur=\"check_right_date_format(this)\">
<input type=button name=transdateto name=transdateto id="trigger2" value=?>
</td>
</tr>
<input type=hidden name=sort value=transdate>
</table>
</td>
</tr>
<tr>
<td>
<table>
<tr>
<th align=right nowrap>In Bericht aufnehmen</th>
<td>
<table width=100%>
<tr>
<td align=right><input name=open class=checkbox type=checkbox value=Y checked></td>
<td nowrap>Offen</td>
<td align=right><input name=closed class=checkbox type=checkbox value=Y></td>
<td nowrap>Geschlossen</td>
</tr>
<tr>
<td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
<td nowrap>Buchungsnummer</td>
<td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
<td nowrap>Rechnungsnummer</td>
<td align=right><input name="l_ordnumber" class=checkbox type=checkbox value=Y></td>
<td nowrap>Auftragsnummer</td>
<td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
<td nowrap>Rechnungsdatum</td>
</tr>
<tr>
<td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
<td nowrap>Kunde</td>
<td align=right><input name="l_netamount" class=checkbox type=checkbox value=Y></td>
<td nowrap>Betrag</td>
<td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td>
<td nowrap>Steuer</td>
<td align=right><input name="l_amount" class=checkbox type=checkbox value=Y checked></td>
<td nowrap>Summe</td>
</tr>
<tr>
<td align=right><input name="l_datepaid" class=checkbox type=checkbox value=Y></td>
<td nowrap>Zahlungsdatum</td>
<td align=right><input name="l_paid" class=checkbox type=checkbox value=Y checked></td>
<td nowrap>bezahlt</td>
<td align=right><input name="l_duedate" class=checkbox type=checkbox value=Y></td>
<td nowrap>F?lligkeitsdatum</td>
<td align=right><input name="l_due" class=checkbox type=checkbox value=Y></td>
<td nowrap>Betrag f?llig</td>
</tr>
<tr>
<td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
<td nowrap>Bemerkungen</td>
<td align=right><input name="l_salesman" class=checkbox type=checkbox value=Y></td>
<td nowrap>Verk?ufer</td>
<td align=right><input name="l_shippingpoint" class=checkbox type=checkbox value=Y></td>
<td nowrap>Versandort</td>
<td align=right><input name="l_shipvia" class=checkbox type=checkbox value=Y></td>
<td nowrap>Transportmittel</td>
</tr>
<tr>
<td align=right><input name="l_marge_total" class=checkbox type=checkbox value=Y></td>
<td nowrap> Ertrag</td>
<td align=right><input name="l_marge_percent" class=checkbox type=checkbox value=Y></td>
<td nowrap> Ertrag prozentual</td>
<td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
<td nowrap>Bearbeiter</td>
</tr>
<tr>
<td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
<td nowrap>Zwischensumme</td>
<td align=right><input name="l_globalprojectnumber" class=checkbox type=checkbox value=Y></td>
<td nowrap>Projektnummer</td>
<td align=right><input name="l_transaction_description" class=checkbox type=checkbox value=Y></td>
<td nowrap>Vorgangsbezeichnung</td>
</tr>
<tr>
<td colspan=4 align=left><b>Kunde </td>
</tr>
<tr>
<td align=right><input name="l_customernumber" class=checkbox type=checkbox value=Y></td>
<td nowrap>Kundennummer</td>
<td align=right><input name="l_country" class=checkbox type=checkbox value=Y></td>
<td nowrap>Land</td>
<td align=right><input name="l_ustid" class=checkbox type=checkbox value=Y></td>
<td nowrap>USt-IdNr.</td>
<td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
<td nowrap>Steuersatz</td>
</tr>
<tr>
<td align=right><input name="l_payment_terms" class=checkbox type=checkbox value=Y></td>
<td nowrap>Zahlungskonditionen</td>
<td align=right><input name="l_charts" class=checkbox type=checkbox value=Y></td>
<td nowrap>Buchungskonto</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><hr size=3 noshade></td>
</tr>
</table>
<input type=hidden name=nextsub value=[% nextsub %]>
<br>
<input class=submit type=submit name=action value="Weiter">
</form>
</body>
<script type="text/javascript">
<!--
Calendar.setup( { inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
Calendar.setup( { inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
$(document).ready(function(){
focus();
setupDateFormat('[% dateformat | html %]','Falsches Datumsformat!');
setupPoints('[% numberformat | html %]','Falsches Format');
})
//-->
</script>
</html>
templates/webpages/ar/search_master.html
<body>
<form method=post name="search" action=[% script %]>
<table width=100%>
<tr><th class=listtop>[% title %]</th></tr>
<tr height="5"></tr>
<tr>
<td>
<table>
<tr>
<th align=right><translate>Customer</translate></th>
<td colspan=3>
[%- INCLUDE 'generic/multibox.html'
name = 'customer',
default = oldcustomer,
style = 'width: 250px',
DATA = ALL_VC,
id_sub = 'vc_keys',
label_key = 'name',
select = vc_select,
limit = vclimit,
show_empty = 1,
allow_textbox = 1,
-%]
[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [
{ script => 'ct.pl', column => 'name', selector => 'input[name="customer"]', params => { vc => 'customer' } },
]
%]
</td>
</tr>
<tr>
<th align=right nowrap><translate>Department</translate></th>
<td>
[%- INCLUDE 'generic/multibox.html'
name = 'department',
style = 'width: 250px',
DATA = ALL_DEPARTMENTS,
id_key = 'id',
label_key = 'description',
show_empty = 1,
allow_textbox = 0,
-%]
</td>
</tr>
<tr>
<th align=right nowrap><translate>Invoice Number</translate></th>
<td colspan=3><input name=invnumber size=20></td>
</tr>
<tr>
<th align=right nowrap><translate>Order Number</translate></th>
<td colspan=3><input name=ordnumber size=20></td>
</tr>
<tr>
<th align=right nowrap><translate>Transaction description</translate></th>
<td colspan=3><input name=transaction_description size=40></td>
</tr>
<tr>
<th align=right nowrap><translate>Notes</translate></th>
<td colspan=3><input name=notes size=40></td>
</tr>
<tr>
<th align="right"><translate>Project Number</translate></th>
<td colspan="3">
[%- INCLUDE 'generic/multibox.html'
name = 'project_id',
style = "width: 250px",
DATA = ALL_PROJECTS,
id_key = 'id',
label_key = 'projectnumber',
limit = vclimit,
show_empty = 1,
allow_textbox = 0,
-%]
</td>
</tr>
<tr>
<th align=right nowrap><translate>From</translate></th>
<td>
<input name=transdatefrom id=transdatefrom size=11 title="dateformat | html %]" onBlur=\"check_right_date_format(this)\">
<input type=button name=transdatefrom id="trigger1" value=<translate>button</translate>>
</td>
<th align=right><translate>Bis</translate></th>
<td>
<input name=transdateto id=transdateto size=11 title="[% dateformat | html %]" onBlur=\"check_right_date_format(this)\">
<input type=button name=transdateto name=transdateto id="trigger2" value=<translate>button</translate>>
</td>
</tr>
<input type=hidden name=sort value=transdate>
</table>
</td>
</tr>
<tr>
<td>
<table>
<tr>
<th align=right nowrap><translate>Include in Report</translate></th>
<td>
<table width=100%>
<tr>
<td align=right><input name=open class=checkbox type=checkbox value=Y checked></td>
<td nowrap><translate>Open</translate></td>
<td align=right><input name=closed class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Closed</translate></td>
</tr>
<tr>
<td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>ID</translate></td>
<td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
<td nowrap><translate>Invoice Number</translate></td>
<td align=right><input name="l_ordnumber" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Order Number</translate></td>
<td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
<td nowrap><translate>Invoice Date</translate></td>
</tr>
<tr>
<td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
<td nowrap><translate>Customer</translate></td>
<td align=right><input name="l_netamount" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Amount</translate></td>
<td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Tax</translate></td>
<td align=right><input name="l_amount" class=checkbox type=checkbox value=Y checked></td>
<td nowrap><translate>Total</translate></td>
</tr>
<tr>
<td align=right><input name="l_datepaid" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Date Paid</translate></td>
<td align=right><input name="l_paid" class=checkbox type=checkbox value=Y checked></td>
<td nowrap><translate>Paid</translate></td>
<td align=right><input name="l_duedate" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Due Date</translate></td>
<td align=right><input name="l_due" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Amount Due</translate></td>
</tr>
<tr>
<td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Notes</translate></td>
<td align=right><input name="l_salesman" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Salesperson</translate></td>
<td align=right><input name="l_shippingpoint" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Shipping Point</translate></td>
<td align=right><input name="l_shipvia" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Ship via</translate></td>
</tr>
<tr>
<td align=right><input name="l_marge_total" class=checkbox type=checkbox value=Y></td>
<td nowrap> <translate>Ertrag</translate></td>
<td align=right><input name="l_marge_percent" class=checkbox type=checkbox value=Y></td>
<td nowrap> <translate>Ertrag prozentual</translate></td>
<td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Employee</translate></td>
</tr>
<tr>
<td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Subtotal</translate></td>
<td align=right><input name="l_globalprojectnumber" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Project Number</translate></td>
<td align=right><input name="l_transaction_description" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Transaction description</translate></td>
</tr>
<tr>
<td colspan=4 align=left><b><translate>Customer</translate> </td>
</tr>
<tr>
<td align=right><input name="l_customernumber" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Customer Number</translate></td>
<td align=right><input name="l_country" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Country</translate></td>
<td align=right><input name="l_ustid" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>USt-IdNr.</translate></td>
<td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Steuersatz</translate></td>
</tr>
<tr>
<td align=right><input name="l_payment_terms" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Payment Terms</translate></td>
<td align=right><input name="l_charts" class=checkbox type=checkbox value=Y></td>
<td nowrap><translate>Buchungskonto</translate></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><hr size=3 noshade></td>
</tr>
</table>
<input type=hidden name=nextsub value=[% nextsub %]>
<br>
<input class=submit type=submit name=action value="<translate>Continue</translate>">
</form>
</body>
<script type="text/javascript">
<!--
Calendar.setup( { inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
Calendar.setup( { inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
$(document).ready(function(){
focus();
setupDateFormat('[% dateformat | html %]','<translate>Falsches Datumsformat!</translate>');
setupPoints('[% numberformat | html %]','<translate>wrongformat</translate>');
})
//-->
</script>
</html>

Auch abrufbar als: Unified diff