Revision 48579303
Von Jan Büren vor mehr als 15 Jahren hinzugefügt
bin/mozilla/ic.pl | ||
---|---|---|
1604 | 1604 |
. $locale->text('Part Number') |
1605 | 1605 |
. qq|</th>|; |
1606 | 1606 |
$column_header{description} = |
1607 |
qq|<th nowrap width=50%>| . $locale->text('Part Description') . qq|</th>|; |
|
1607 |
qq|<th nowrap width=50% align="left">| . $locale->text('Part Description') . qq|</th>|;
|
|
1608 | 1608 |
$column_header{lastcost} = |
1609 |
qq|<th nowrap width=50%>| . $locale->text('Purchase Price') . qq|</th>|; |
|
1609 |
qq|<th nowrap width=50%>| . $locale->text('Purchase Prices') . qq|</th>|;
|
|
1610 | 1610 |
$column_header{total} = |
1611 |
qq|<th align=right nowrap>| . $locale->text('Extended') . qq|</th>|;
|
|
1611 |
qq|<th align=right nowrap>| . $locale->text('Sale Prices') . qq|</th>|;
|
|
1612 | 1612 |
$column_header{bom} = qq|<th>| . $locale->text('BOM') . qq|</th>|; |
1613 | 1613 |
$column_header{partsgroup} = qq|<th>| . $locale->text('Group') . qq|</th>|; |
1614 | 1614 |
|
... | ... | |
1632 | 1632 |
$form->{"partnumber_$i"} =~ s/\"/"/g; |
1633 | 1633 |
|
1634 | 1634 |
$linetotal = |
1635 |
$form->round_amount($form->{"sellprice_$i"} * $form->{"qty_$i"} / ($form->{"price_factor_$i"} || 1), 2);
|
|
1635 |
$form->round_amount($form->{"sellprice_$i"} * $form->{"qty_$i"} / ($form->{"price_factor_$i"} || 1), 4);
|
|
1636 | 1636 |
$line_purchase_price = |
1637 |
$form->round_amount($form->{"lastcost_$i"} * $form->{"qty_$i"} / ($form->{"price_factor_$i"} || 1), 2); #lastcost == purchase_price | ungenaue datenbankfeld-übersetzung
|
|
1637 |
$form->round_amount($form->{"lastcost_$i"} * $form->{"qty_$i"} / ($form->{"price_factor_$i"} || 1), 4); #lastcost == purchase_price | ungenaue datenbankfeld-uebersetzung
|
|
1638 | 1638 |
$form->{assemblytotal} += $linetotal; |
1639 | 1639 |
$form->{assembly_purchase_price_total} += $line_purchase_price; |
1640 | 1640 |
|
... | ... | |
1725 | 1725 |
} |
1726 | 1726 |
|
1727 | 1727 |
print qq| |
1728 |
<tr> |
|
1729 |
<td colspan="6"></td> |
|
1730 |
<td>| . $locale->text('Totals') . qq|</td> |
|
1731 |
<td align="right">| . $form->format_amount(\%myconfig, $form->{assembly_purchase_price_total}, 2) . |
|
1732 |
qq|</td> |
|
1733 |
<td align="right">| . $form->format_amount(\%myconfig, $form->{assemblytotal}, 2) . |
|
1734 |
qq| </td> |
|
1735 |
</tr> |
|
1736 |
<input type="hidden" name="assembly_rows" value="| . $form->{assembly_rows} . |
|
1737 |
qq|"> |
|
1728 | 1738 |
</table> |
1729 | 1739 |
</td> |
1730 | 1740 |
</tr> |
Auch abrufbar als: Unified diff
Aenderungen fuer Bug 1004 - Verschoenerungen an der Erzeugnismaske im Bereich Einzelwaren. Leider wieder template-Code zurueck in die ic.pl portiert. Sinnvollere Bezeichnungen