From: Jan Büren Date: Fri, 22 May 2009 14:51:59 +0000 (+0000) Subject: Aenderungen fuer Bug 1004 - Verschoenerungen an der Erzeugnismaske im Bereich Einzelw... X-Git-Tag: release-2.6.0rc1~4 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=485793035567c690544e86bbbef2dece5374afd6;p=kivitendo-erp.git Aenderungen fuer Bug 1004 - Verschoenerungen an der Erzeugnismaske im Bereich Einzelwaren. Leider wieder template-Code zurueck in die ic.pl portiert. Sinnvollere Bezeichnungen --- diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 710d1ec0c..378b94b02 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -1604,11 +1604,11 @@ sub assembly_row { . $locale->text('Part Number') . qq||; $column_header{description} = - qq|| . $locale->text('Part Description') . qq||; + qq|| . $locale->text('Part Description') . qq||; $column_header{lastcost} = - qq|| . $locale->text('Purchase Price') . qq||; + qq|| . $locale->text('Purchase Prices') . qq||; $column_header{total} = - qq|| . $locale->text('Extended') . qq||; + qq|| . $locale->text('Sale Prices') . qq||; $column_header{bom} = qq|| . $locale->text('BOM') . qq||; $column_header{partsgroup} = qq|| . $locale->text('Group') . qq||; @@ -1632,9 +1632,9 @@ sub assembly_row { $form->{"partnumber_$i"} =~ s/\"/"/g; $linetotal = - $form->round_amount($form->{"sellprice_$i"} * $form->{"qty_$i"} / ($form->{"price_factor_$i"} || 1), 2); + $form->round_amount($form->{"sellprice_$i"} * $form->{"qty_$i"} / ($form->{"price_factor_$i"} || 1), 4); $line_purchase_price = - $form->round_amount($form->{"lastcost_$i"} * $form->{"qty_$i"} / ($form->{"price_factor_$i"} || 1), 2); #lastcost == purchase_price | ungenaue datenbankfeld-übersetzung + $form->round_amount($form->{"lastcost_$i"} * $form->{"qty_$i"} / ($form->{"price_factor_$i"} || 1), 4); #lastcost == purchase_price | ungenaue datenbankfeld-uebersetzung $form->{assemblytotal} += $linetotal; $form->{assembly_purchase_price_total} += $line_purchase_price; @@ -1725,6 +1725,16 @@ sub assembly_row { } print qq| + + + | . $locale->text('Totals') . qq| + | . $form->format_amount(\%myconfig, $form->{assembly_purchase_price_total}, 2) . + qq| + | . $form->format_amount(\%myconfig, $form->{assemblytotal}, 2) . + qq| + + diff --git a/locale/de/all b/locale/de/all index f0ff96b73..cacd9076d 100644 --- a/locale/de/all +++ b/locale/de/all @@ -1193,6 +1193,7 @@ $self->{texts} = { 'Purchase Order' => 'Lieferantenauftrag', 'Purchase Orders' => 'Lieferantenaufträge', 'Purchase Price' => 'Einkaufspreis', + 'Purchase Prices' => 'Einkaufspreise', 'Purchase invoices' => 'Einkaufsrechnungen', 'Qty' => 'Menge', 'Qty according to delivery order' => 'Menge laut Lieferschein', @@ -1268,6 +1269,7 @@ $self->{texts} = { 'Saldo Debit' => 'Saldo Soll', 'Saldo neu' => 'Saldo neu', 'Saldo per' => 'Saldo per', + 'Sale Prices' => 'Verkaufspreise', 'Sales Invoice' => 'Rechnung', 'Sales Invoices' => 'Kundenrechnung', 'Sales Order' => 'Kundenauftrag', @@ -1603,6 +1605,7 @@ $self->{texts} = { 'Total' => 'Summe', 'Total Fees' => 'Kumulierte Gebühren', 'Total stock value' => 'Gesamter Bestandswert', + 'Totals' => 'Summen', 'Trade Discount' => 'Rabatt', 'Trans Id' => 'Trans-ID', 'Trans Type' => 'Transfertyp', diff --git a/locale/de/ic b/locale/de/ic index d6ded510b..1d9d8a31f 100644 --- a/locale/de/ic +++ b/locale/de/ic @@ -226,7 +226,7 @@ $self->{texts} = { 'Proforma Invoice' => 'Proformarechnung', 'Project' => 'Projekt', 'Purchase Order' => 'Lieferantenauftrag', - 'Purchase Price' => 'Einkaufspreis', + 'Purchase Prices' => 'Einkaufspreise', 'Qty' => 'Menge', 'Queue' => 'Warteschlange', 'Quotation' => 'Angebot', @@ -245,6 +245,7 @@ $self->{texts} = { 'SAVED' => 'Gespeichert', 'SAVED FOR DUNNING' => 'Gespeichert', 'SCREENED' => 'Angezeigt', + 'Sale Prices' => 'Verkaufspreise', 'Sales Invoice' => 'Rechnung', 'Sales Order' => 'Kundenauftrag', 'Sales quotation' => 'Angebot', @@ -289,6 +290,7 @@ $self->{texts} = { 'To (time)' => 'Bis', 'Top 100' => 'Top 100', 'Top 100 hinzufuegen' => 'Top 100 hinzufügen', + 'Totals' => 'Summen', 'Transactions, AR transactions, AP transactions' => 'Dialogbuchen, Debitorenrechnungen, Kreditorenrechnungen', 'Transfer To Stock' => 'Lagereingang', 'Trying to call a sub without a name' => 'Es wurde versucht, eine Unterfunktion ohne Namen aufzurufen.', diff --git a/templates/webpages/ic/form_footer_de.html b/templates/webpages/ic/form_footer_de.html index 03bc7a424..ebc888a19 100644 --- a/templates/webpages/ic/form_footer_de.html +++ b/templates/webpages/ic/form_footer_de.html @@ -1,7 +1,8 @@ [%- USE HTML %] [%- USE LxERP %] [%- IF item == 'assembly' %] - + + [%- END %] diff --git a/templates/webpages/ic/form_footer_master.html b/templates/webpages/ic/form_footer_master.html index d69694fd3..be6210421 100644 --- a/templates/webpages/ic/form_footer_master.html +++ b/templates/webpages/ic/form_footer_master.html @@ -1,7 +1,8 @@ [%- USE HTML %] [%- USE LxERP %] [%- IF item == 'assembly' %] - + + [%- END %]