Show used options in invoice field selects
This commit is contained in:
parent
46a63e9854
commit
77ca2e7edf
2 changed files with 14 additions and 12 deletions
|
|
@ -133,6 +133,7 @@ function loadFields(selectedFields)
|
|||
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
.field-list {
|
||||
width: 100%;
|
||||
margin-top: 12px;
|
||||
|
|
|
|||
|
|
@ -6,17 +6,18 @@
|
|||
->onchange("addField('{$section}')")
|
||||
->raw() !!}
|
||||
|
||||
<table class="field-list">
|
||||
<tbody data-bind="sortable: { data: {{ $section }}, as: 'field', afterMove: onDragged }">
|
||||
<tr style="cursor:move;background-color:#fff;margin:1px">
|
||||
<td>
|
||||
<i class="fa fa-close" style="cursor:pointer" title="{{ trans('texts.remove') }}"
|
||||
data-bind="click: $root.{{ Utils::toCamelCase('remove' . ucwords($section)) }}"></i>
|
||||
<span data-bind="text: window.field_map[field]"></span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="field-list">
|
||||
<tbody data-bind="sortable: { data: {{ $section }}, as: 'field', afterMove: onDragged }">
|
||||
<tr style="cursor:move;background-color:#fff;margin:1px">
|
||||
<td>
|
||||
<i class="fa fa-close" style="cursor:pointer" title="{{ trans('texts.remove') }}"
|
||||
data-bind="click: $root.{{ Utils::toCamelCase('remove' . ucwords($section)) }}"></i>
|
||||
<span data-bind="text: window.field_map[field]"></span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue