Revision 7b7f1e48
Von Werner Hahn vor fast 2 Jahren hinzugefügt
templates/design40_webpages/part/_assembly.html | ||
---|---|---|
47 | 47 |
[% P.part.picker( |
48 | 48 |
'add_items[+].parts_id', |
49 | 49 |
'', |
50 |
class='wi-normal',
|
|
50 |
class='wi-lightwide',
|
|
51 | 51 |
multiple='1', |
52 | 52 |
id='assembly_picker', |
53 | 53 |
action={set_multi_items='kivi.Part.set_multi_assembly_items', commit_one='kivi.Part.add_assembly_item'} |
... | ... | |
60 | 60 |
<td></td> |
61 | 61 |
<td colspan="4"></td> |
62 | 62 |
[% END %] |
63 |
<td colspan="2" class="right">[% #'Totals' | $T8 %][% #":" %]</td>
|
|
63 |
<td colspan="3" class="right">[% #'Totals' | $T8 %][% #":" %]</td>
|
|
64 | 64 |
<td id="items_sellprice_sum" class="numeric">[% LxERP.format_amount(items_sellprice_sum, 2, 0) %]</td> |
65 | 65 |
<td id="items_lastcost_sum" class="numeric">[% LxERP.format_amount(items_lastcost_sum, 2, 0) %]</td> |
66 |
<td id="items_sum_diff" class="numeric">[% LxERP.format_amount(items_sum_diff, 2, 0) %]</td> |
|
67 | 66 |
<td></td> |
68 | 67 |
</tr> |
68 |
<tr> |
|
69 |
<td colspan="8"></td> |
|
70 |
<td align="right">[% 'Margepercent' | $T8 %]:</td> |
|
71 |
<td></td> |
|
72 |
<td id="items_sum_diff" class="numeric">[%- LxERP.format_amount(100 - items_lastcost_sum / items_sellprice_sum * 100, 2, 0) %]</td> |
|
73 |
<td colspan="2"></td> |
|
74 |
</tr> |
|
75 |
<tr> |
|
76 |
<tr> |
|
77 |
<td colspan="8"></td> |
|
78 |
<td align="right">[% 'Margetotal' | $T8 %]:</td> |
|
79 |
<td></td> |
|
80 |
<td id="items_sum_diff" class="numeric">[%- LxERP.format_amount(items_sum_diff, 2, 0) %]</td> |
|
81 |
<td colspan="2"></td> |
|
82 |
</tr> |
|
83 |
<tr> |
|
84 |
</tr> |
|
69 | 85 |
<tr class="blank"> |
70 | 86 |
[% IF SELF.orphaned || AUTH.assert('assembly_edit', 1) %] |
71 | 87 |
<td></td> |
Auch abrufbar als: Unified diff
Design 4.0: Part Reiter Assemblies angepasst"
Part Assembly Partpicker etwas breiter