X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44..53593baa211863fbf66540cf1bcc36c8fb37257f:/templates/webpages/part/_inventory_data.html diff --git a/templates/webpages/part/_inventory_data.html b/templates/webpages/part/_inventory_data.html new file mode 100644 index 000000000..d04edd03e --- /dev/null +++ b/templates/webpages/part/_inventory_data.html @@ -0,0 +1,93 @@ +[%- USE HTML %][%- USE L -%][%- USE P -%][%- USE LxERP -%][%- USE T8 -%] + +[%- SET dec = 2 %] +[%- SET show_warehouse_subtotals = 1 %] + +
| [% 'Warehouse' | $T8 %] | +[% 'Bin' | $T8 %] | +[% 'Qty' | $T8 %] | +[% 'Unit' | $T8 %] | +[% 'Stock value' | $T8 %] | +
|---|---|---|---|---|
| [% HTML.escape(stock.warehouse_description) %] | +[% IF stock.order_link %][% END %] + [% HTML.escape(stock.bin_description) %] + [% IF stock.order_link %][% END %] + | +[% LxERP.format_amount(stock.qty, dec) %] | +[% HTML.escape(stock.unit) %] | +[% LxERP.format_amount(stock.stock_value, 2) %] | +
| [% HTML.escape(stock.warehouse_description) %] | ++ | [% LxERP.format_amount(stock.wh_run_qty, dec) %] | ++ | [% LxERP.format_amount(stock.wh_run_stock_value, dec) %] | +
| [% 'Total' | $T8 %] | ++ | [% LxERP.format_amount(stock.run_qty, dec) %] | ++ | [% LxERP.format_amount(stock.run_stock_value, dec) %] | +
[% 'No transactions yet.' | $T8 %]
+[% END %] +| [% 'Date' | $T8 %] | +[% 'Trans Type' | $T8 %] | +[% 'Warehouse From' | $T8 %] | +[% 'Qty' | $T8 %] | +[% 'Unit' | $T8 %] | +[% 'Warehouse To' | $T8 %] | +[% 'Charge Number' | $T8 %] | +[% 'Comment' | $T8 %] | +
|---|---|---|---|---|---|---|---|
| [% row.base.itime_as_date %] | +[% row.base.trans_type.description | $T8 %] | +[% row.out ? row.out.bin.full_description : '-' | html %] | +[% row.in ? row.in.qty_as_number : LxERP.format_amount(-1 * row.out.qty, 2) %] | +[% row.base.part.unit | html %] | +[% row.in ? row.in.bin.full_description : '-' | html %] | +[% row.base.chargenumber | html %] | +[% row.base.comment | html %] | +
[% 'No transactions yet.' | $T8 %]
+[%- END %] +