X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fpart%2F_assortment.html;fp=templates%2Fwebpages%2Fpart%2F_assortment.html;h=db4330549e210105f97442af47fa10e79370537a;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=0000000000000000000000000000000000000000;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44;p=kivitendo-erp.git diff --git a/templates/webpages/part/_assortment.html b/templates/webpages/part/_assortment.html new file mode 100644 index 000000000..db4330549 --- /dev/null +++ b/templates/webpages/part/_assortment.html @@ -0,0 +1,100 @@ +[%- USE T8 %] +[%- USE HTML %] +[%- USE LxERP %] +[%- USE L %] +[%- USE P %] + +
+ [% END %] + | [%- 'position' | $T8 %] | + [% IF SELF.orphaned || AUTH.assert('assortment_edit', 1) %] ++ [% END %] + | [%- 'Partnumber' | $T8 %] | +[%- 'Description' | $T8 %] | +[%- 'Qty' | $T8 %] | +[%- 'Unit' | $T8 %] | +[%- 'Charge' | $T8 %] | +[%- 'Line Total' | $T8 %] | +[%- 'Sellprice' | $T8 %] | +[%- 'Lastcost' | $T8 %] | +[%- 'Partsgroup' | $T8 %] | +||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+ | + | [% 'Part' | $T8 %]: | +[% P.part.picker('add_items[+].parts_id', '', style='width: 300px', multiple=1, id='assortment_picker', action={set_multi_items='kivi.Part.set_multi_assortment_items'}) %] | +[%- L.button_tag("kivi.Part.add_assortment_item()", LxERP.t8("Add")) %] | +[% L.button_tag('$("#assortment_picker").data("part_picker").open_dialog()', LxERP.t8('Add multiple items')) %] | +[% L.hidden_tag('add_items[].qty_as_number', 1) %] | + [% ELSE %] ++ | + | + | + | + | + [% END %] + | + | [% 'Totals' | $T8 %]: | +[%- LxERP.format_amount(items_sellprice_sum, 2, 0) %] + | [%- LxERP.format_amount(items_lastcost_sum, 2, 0) %] + | [%- LxERP.format_amount(items_sum_diff, 2, 0) %] + |
+ | + [% END %] + | + | + | + | + | + | + | + | [% L.button_tag("kivi.Part.set_assortment_sellprice()", LxERP.t8("Set sellprice")) %] | +[% L.button_tag("kivi.Part.set_assortment_lastcost()", LxERP.t8("Set lastcost")) %] | ++ |