Revision fa0d7587
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
templates/design40_webpages/part/_assembly.html | ||
---|---|---|
<th>[% 'Unit' | $T8 %]</th>
|
||
<th class="right">[% 'BOM' | $T8 %]</th>
|
||
<th class="right">[% 'Line Total' | $T8 %]</th>
|
||
<th class="right">[% 'Price Factor' | $T8 %]</th>
|
||
<th id="sellprice_header_id"><a href="#" onclick="kivi.Part.reorder_items('sellprice')">[% 'Sellprice'| $T8 %]</a></th>
|
||
<th id="lastcost_header_id"><a href="#" onclick="kivi.Part.reorder_items('lastcost')">[% 'Lastcost' | $T8 %]</a></th>
|
||
<th id="_header_id"><a href="#" onclick="kivi.Part.reorder_items('partsgroup')">[% 'Partsgroup' | $T8 %]</a></th>
|
||
... | ... | |
<td></td>
|
||
<td colspan="3"></td>
|
||
[% END %]
|
||
<td></td>
|
||
<td colspan="3" class="right">[% #'Totals' | $T8 %][% #":" %]</td>
|
||
<td id="items_sellprice_sum" class="numeric">[% LxERP.format_amount(items_sellprice_sum, 2, 0) %]</td>
|
||
<td id="items_lastcost_sum" class="numeric">[% LxERP.format_amount(items_lastcost_sum, 2, 0) %]</td>
|
||
... | ... | |
</tr>
|
||
<tr>
|
||
[% IF SELF.orphaned || AUTH.assert('assembly_edit', 1) %]
|
||
<td colspan="8"></td>
|
||
<td colspan="9"></td>
|
||
[% ELSE %]
|
||
<td colspan="6"></td>
|
||
<td colspan="7"></td>
|
||
[% END %]
|
||
<td align="right">[% 'Margepercent' | $T8 %]:</td>
|
||
<td></td>
|
||
... | ... | |
[%- LxERP.format_amount(100 - items_lastcost_sum / items_sellprice_sum * 100, 2, 0) %]
|
||
[% END %]
|
||
</td>
|
||
<td colspan="2"></td>
|
||
<td colspan="3"></td>
|
||
</tr>
|
||
<tr>
|
||
<tr>
|
||
[% IF SELF.orphaned || AUTH.assert('assembly_edit', 1) %]
|
||
<td colspan="8"></td>
|
||
<td colspan="9"></td>
|
||
[% ELSE %]
|
||
<td colspan="6"></td>
|
||
<td colspan="7"></td>
|
||
[% END %]
|
||
<td align="right">[% 'Margetotal' | $T8 %]:</td>
|
||
<td></td>
|
||
<td id="items_sum_diff" class="numeric">[%- LxERP.format_amount(items_sum_diff, 2, 0) %]</td>
|
||
<td colspan="2"></td>
|
||
<td colspan="3"></td>
|
||
</tr>
|
||
<tr>
|
||
</tr>
|
||
... | ... | |
<td></td>
|
||
[% END %]
|
||
<td colspan="4">[% L.button_tag('$("#assembly_picker").data("part_picker").open_dialog()', LxERP.t8('Add multiple items'), class="neutral") %]</td>
|
||
<td></td>
|
||
<!--<td></td> <td></td><td></td> -->
|
||
<td colspan="4" class="right">[% L.button_tag("kivi.Part.set_assembly_sellprice()", LxERP.t8("Set sellprice")) %]</td>
|
||
<td colspan="2"></td>
|
||
<td></td>
|
||
<td colspan="5" class="right">[% L.button_tag("kivi.Part.set_assembly_sellprice()", LxERP.t8("Set sellprice")) %]</td>
|
||
<td colspan="3"></td>
|
||
</tr>
|
||
</tfoot>
|
||
</table>
|
templates/design40_webpages/part/_assembly_row.html | ||
---|---|---|
<td class="center">[% IF ITEM.bom %][% 'Yes' | $T8 %][% ELSE %][% 'No' | $T8 %][% END %]</td>
|
||
[% END %]
|
||
<td class="right">[% L.div_tag(LxERP.format_amount(ITEM.linetotal_sellprice, 3, 0), name="linetotal") %]</td>
|
||
<td class="right">[% ITEM.part.price_factor.description %]</td>
|
||
<td class="right">[% ITEM.part.sellprice_as_number %]</td>
|
||
<td class="right">[% ITEM.part.lastcost_as_number %]</td>
|
||
<td>[% HTML.escape(ITEM.part.partsgroup.partsgroup) %]</td>
|
templates/design40_webpages/part/_assortment.html | ||
---|---|---|
<th>[% 'Unit' | $T8 %] </th>
|
||
<th>[% 'Charge' | $T8 %] </th>
|
||
<th>[% 'Line Total' | $T8 %] </th>
|
||
<th class="right">[% 'Price Factor' | $T8 %]</th>
|
||
<th id="sellprice_header_id" class="right">
|
||
<a href='javascript:kivi.Part.reorder_items("sellprice")'> [% 'Sellprice' | $T8 %]</a>
|
||
</th>
|
||
... | ... | |
[% END %]
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td class="numeric" id="items_sellprice_sum">[% LxERP.format_amount(items_sellprice_sum, 2, 0) %]</td>
|
||
<td class="numeric" id="items_lastcost_sum" >[% LxERP.format_amount(items_lastcost_sum, 2, 0) %]</td>
|
||
<td class="numeric" id="items_sum_diff" >[% LxERP.format_amount(items_sum_diff, 2, 0) %]</td>
|
||
... | ... | |
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td class="right">[% L.button_tag("kivi.Part.set_assortment_sellprice()", LxERP.t8("Set sellprice")) %]</td>
|
||
<td class="right">[% L.button_tag("kivi.Part.set_assortment_lastcost()", LxERP.t8("Set lastcost")) %]</td>
|
||
<td></td>
|
templates/design40_webpages/part/_assortment_row.html | ||
---|---|---|
<td class="numeric">
|
||
[% L.div_tag(LxERP.format_amount(ITEM.linetotal_sellprice, 2, 0), name="linetotal") %]
|
||
</td>
|
||
<td class="right">[% ITEM.part.price_factor.description %]</td>
|
||
<td class="numeric">
|
||
[% ITEM.part.sellprice_as_number %]
|
||
</td>
|
templates/webpages/part/_assembly.html | ||
---|---|---|
<th class="listheading" nowrap width="5" >[%- 'Unit' | $T8 %] </th>
|
||
<th class="listheading" nowrap width="5" >[%- 'BOM' | $T8 %] </th>
|
||
<th class="listheading" nowrap width="5" >[%- 'Line Total' | $T8 %] </th>
|
||
<th class="listheading" nowrap width="5" >[%- 'Price Factor' | $T8 %] </th>
|
||
<th id="sellprice_header_id" class="listheading" nowrap width="10" ><a href='#' onClick='javascript:kivi.Part.reorder_items("sellprice")' >[%- 'Sellprice' | $T8 %]</a></th>
|
||
<th id="lastcost_header_id" class="listheading" nowrap width="10" ><a href='#' onClick='javascript:kivi.Part.reorder_items("lastcost")' >[%- 'Lastcost' | $T8 %]</a></th>
|
||
<th id="_header_id" class="listheading" nowrap width="15" ><a href='#' onClick='javascript:kivi.Part.reorder_items("partsgroup")' >[%- 'Partsgroup' | $T8 %]</a></th>
|
||
... | ... | |
<td></td>
|
||
[% END %]
|
||
<td></td>
|
||
<td></td>
|
||
<td align="right">[% 'Totals' | $T8 %]:</td>
|
||
<td></td>
|
||
<td id="items_sellprice_sum" class="numeric">[%- LxERP.format_amount(items_sellprice_sum, 2, 0) %]</td>
|
||
... | ... | |
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td align="right">[% 'Margepercent' | $T8 %]:</td>
|
||
<td></td>
|
||
<td class="numeric">
|
||
... | ... | |
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td align="right">[% 'Margetotal' | $T8 %]:</td>
|
||
<td></td>
|
||
<td id="items_sum_diff" class="numeric">[%- LxERP.format_amount(items_sum_diff, 2, 0) %]</td>
|
||
... | ... | |
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td align="right">[% L.button_tag("kivi.Part.set_assembly_sellprice()", LxERP.t8("Set sellprice")) %]</td>
|
||
<td></td>
|
||
</tr>
|
templates/webpages/part/_assembly_row.html | ||
---|---|---|
<td align="right">
|
||
[%- L.div_tag(LxERP.format_amount(ITEM.linetotal_sellprice, 3, 0), name="linetotal") %]
|
||
</td>
|
||
<td align="right">
|
||
[% ITEM.part.price_factor.description %]
|
||
</td>
|
||
<td align="right">
|
||
[% ITEM.part.sellprice_as_number %]
|
||
</td>
|
templates/webpages/part/_assortment.html | ||
---|---|---|
<th class="listheading" nowrap width="5" >[%- 'Unit' | $T8 %] </th>
|
||
<th class="listheading" nowrap width="5" >[%- 'Charge' | $T8 %] </th>
|
||
<th class="listheading" nowrap width="5" >[%- 'Line Total' | $T8 %] </th>
|
||
<th class="listheading" nowrap width="5" >[%- 'Price Factor' | $T8 %] </th>
|
||
<th id="sellprice_header_id" class="listheading" nowrap width="10" ><a href='#' onClick='javascript:kivi.Part.reorder_items("sellprice")'> [%- 'Sellprice' | $T8 %]</a></th>
|
||
<th id="lastcost_header_id" class="listheading" nowrap width="10" ><a href='#' onClick='javascript:kivi.Part.reorder_items("lastcost")'> [%- 'Lastcost' | $T8 %]</a></th>
|
||
<th id="_header_id" class="listheading" nowrap width="15" ><a href='#' onClick='javascript:kivi.Part.reorder_items("partsgroup")'> [%- 'Partsgroup' | $T8 %]</a></th>
|
||
... | ... | |
<td></td>
|
||
[% END %]
|
||
<td></td>
|
||
<td></td>
|
||
<td align="right">[% 'Totals' | $T8 %]:</td>
|
||
<th id="items_sellprice_sum" class="numeric">[%- LxERP.format_amount(items_sellprice_sum, 2, 0) %]</th>
|
||
<th id="items_lastcost_sum" class="numeric">[%- LxERP.format_amount(items_lastcost_sum, 2, 0) %]</th>
|
||
... | ... | |
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td></td>
|
||
<td align="right">[% L.button_tag("kivi.Part.set_assortment_sellprice()", LxERP.t8("Set sellprice")) %]</td>
|
||
<td align="right">[% L.button_tag("kivi.Part.set_assortment_lastcost()", LxERP.t8("Set lastcost")) %]</td>
|
||
<td></td>
|
templates/webpages/part/_assortment_row.html | ||
---|---|---|
<td align="right">
|
||
[%- L.div_tag(LxERP.format_amount(ITEM.linetotal_sellprice, 2, 0), name="linetotal") %]
|
||
</td>
|
||
<td align="right">
|
||
[% ITEM.part.price_factor.description %]
|
||
</td>
|
||
<td align="right">
|
||
[% ITEM.part.sellprice_as_number %]
|
||
</td>
|
Auch abrufbar als: Unified diff
Erzeugnisse/Sortimente: Preisfaktor in Tabelle bei Bestandteilen anzeigen