Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 48579303

Von Jan Büren vor fast 16 Jahren hinzugefügt

  • ID 485793035567c690544e86bbbef2dece5374afd6
  • Vorgänger df005c49
  • Nachfolger ca48cabb

Aenderungen fuer Bug 1004 - Verschoenerungen an der Erzeugnismaske im Bereich Einzelwaren. Leider wieder template-Code zurueck in die ic.pl portiert. Sinnvollere Bezeichnungen

Unterschiede anzeigen:

bin/mozilla/ic.pl
. $locale->text('Part Number')
. qq|</th>|;
$column_header{description} =
qq|<th nowrap width=50%>| . $locale->text('Part Description') . qq|</th>|;
qq|<th nowrap width=50% align="left">| . $locale->text('Part Description') . qq|</th>|;
$column_header{lastcost} =
qq|<th nowrap width=50%>| . $locale->text('Purchase Price') . qq|</th>|;
qq|<th nowrap width=50%>| . $locale->text('Purchase Prices') . qq|</th>|;
$column_header{total} =
qq|<th align=right nowrap>| . $locale->text('Extended') . qq|</th>|;
qq|<th align=right nowrap>| . $locale->text('Sale Prices') . qq|</th>|;
$column_header{bom} = qq|<th>| . $locale->text('BOM') . qq|</th>|;
$column_header{partsgroup} = qq|<th>| . $locale->text('Group') . qq|</th>|;
......
$form->{"partnumber_$i"} =~ s/\"/&quot;/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;
......
}
print qq|
<tr>
<td colspan="6"></td>
<td>| . $locale->text('Totals') . qq|</td>
<td align="right">| . $form->format_amount(\%myconfig, $form->{assembly_purchase_price_total}, 2) .
qq|</td>
<td align="right">| . $form->format_amount(\%myconfig, $form->{assemblytotal}, 2) .
qq| </td>
</tr>
<input type="hidden" name="assembly_rows" value="| . $form->{assembly_rows} .
qq|">
</table>
</td>
</tr>
locale/de/all
'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',
......
'Saldo Debit' => 'Saldo Soll',
'Saldo neu' => 'Saldo neu',
'Saldo per' => 'Saldo per',
'Sale Prices' => 'Verkaufspreise',
'Sales Invoice' => 'Rechnung',
'Sales Invoices' => 'Kundenrechnung',
'Sales Order' => 'Kundenauftrag',
......
'Total' => 'Summe',
'Total Fees' => 'Kumulierte Geb?hren',
'Total stock value' => 'Gesamter Bestandswert',
'Totals' => 'Summen',
'Trade Discount' => 'Rabatt',
'Trans Id' => 'Trans-ID',
'Trans Type' => 'Transfertyp',
locale/de/ic
'Proforma Invoice' => 'Proformarechnung',
'Project' => 'Projekt',
'Purchase Order' => 'Lieferantenauftrag',
'Purchase Price' => 'Einkaufspreis',
'Purchase Prices' => 'Einkaufspreise',
'Qty' => 'Menge',
'Queue' => 'Warteschlange',
'Quotation' => 'Angebot',
......
'SAVED' => 'Gespeichert',
'SAVED FOR DUNNING' => 'Gespeichert',
'SCREENED' => 'Angezeigt',
'Sale Prices' => 'Verkaufspreise',
'Sales Invoice' => 'Rechnung',
'Sales Order' => 'Kundenauftrag',
'Sales quotation' => 'Angebot',
......
'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.',
templates/webpages/ic/form_footer_de.html
[%- USE HTML %]
[%- USE LxERP %]
[%- IF item == 'assembly' %]
<tr>
<!-- Wieder zurueck in die ic.pl, entweder alle Einzelteile auslagern oder gar keine -->
<!-- tr>
<td>
<table border="0" width="100%">
<tr>
......
</table>
</td>
</tr>
<input type="hidden" name="assembly_rows" value="[% HTML.escape(assembly_rows) %]">
<input type="hidden" name="assembly_rows" value="[% HTML.escape(assembly_rows) %]" -->
[%- END %]
<input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
templates/webpages/ic/form_footer_master.html
[%- USE HTML %]
[%- USE LxERP %]
[%- IF item == 'assembly' %]
<tr>
<!-- Wieder zurueck in die ic.pl, entweder alle Einzelteile auslagern oder gar keine -->
<!-- tr>
<td>
<table border="0" width="100%">
<tr>
......
</table>
</td>
</tr>
<input type="hidden" name="assembly_rows" value="[% HTML.escape(assembly_rows) %]">
<input type="hidden" name="assembly_rows" value="[% HTML.escape(assembly_rows) %]" -->
[%- END %]
<input type="hidden" name="callback" value="[% HTML.escape(callback) %]">

Auch abrufbar als: Unified diff