Show used options in invoice field selects

This commit is contained in:
Hillel Coren 2016-09-21 13:29:45 +03:00
parent 46a63e9854
commit 77ca2e7edf
2 changed files with 14 additions and 12 deletions

View File

@ -133,6 +133,7 @@ function loadFields(selectedFields)
<style type="text/css"> <style type="text/css">
.field-list { .field-list {
width: 100%; width: 100%;
margin-top: 12px; margin-top: 12px;

View File

@ -6,6 +6,7 @@
->onchange("addField('{$section}')") ->onchange("addField('{$section}')")
->raw() !!} ->raw() !!}
<div class="table-responsive">
<table class="field-list"> <table class="field-list">
<tbody data-bind="sortable: { data: {{ $section }}, as: 'field', afterMove: onDragged }"> <tbody data-bind="sortable: { data: {{ $section }}, as: 'field', afterMove: onDragged }">
<tr style="cursor:move;background-color:#fff;margin:1px"> <tr style="cursor:move;background-color:#fff;margin:1px">
@ -17,6 +18,6 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
</div> </div>