<td>
<table width="100%">
<tr>
- <th align="right">[% SELF.cv | $T8 %]</th>
+ <th align="right">[%- SELF.cv == "customer" ? LxERP.t8('Customer') : LxERP.t8('Vendor') -%]</th>
[% SET cv_id = SELF.cv _ '_id' %]
<td>
[% P.customer_vendor.picker("order.${SELF.cv}" _ '_id', SELF.order.$cv_id, type=SELF.cv, style='width: 300px') %]
<table width="100%">
<tr>
<td>
-
- <div id="row_table_scroll_id" style="overflow-y: auto; height: 25vh">
+ [%- IF SELF.positions_scrollbar_height -%]
+ [%- SET scroll_style = 'style="overflow-y: auto; height:' _ SELF.positions_scrollbar_height _ 'vh;"' -%]
+ [%- ELSE -%]
+ [%- SET scroll_style = '' -%]
+ [%- END -%]
+ <div id="row_table_scroll_id" [%- scroll_style -%]>
<table id="row_table_id" width="100%">
<thead>
<tr class="listheading">