mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Show used options in invoice field selects
This commit is contained in:
parent
46a63e9854
commit
77ca2e7edf
@ -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;
|
||||||
|
@ -6,17 +6,18 @@
|
|||||||
->onchange("addField('{$section}')")
|
->onchange("addField('{$section}')")
|
||||||
->raw() !!}
|
->raw() !!}
|
||||||
|
|
||||||
<table class="field-list">
|
<div class="table-responsive">
|
||||||
<tbody data-bind="sortable: { data: {{ $section }}, as: 'field', afterMove: onDragged }">
|
<table class="field-list">
|
||||||
<tr style="cursor:move;background-color:#fff;margin:1px">
|
<tbody data-bind="sortable: { data: {{ $section }}, as: 'field', afterMove: onDragged }">
|
||||||
<td>
|
<tr style="cursor:move;background-color:#fff;margin:1px">
|
||||||
<i class="fa fa-close" style="cursor:pointer" title="{{ trans('texts.remove') }}"
|
<td>
|
||||||
data-bind="click: $root.{{ Utils::toCamelCase('remove' . ucwords($section)) }}"></i>
|
<i class="fa fa-close" style="cursor:pointer" title="{{ trans('texts.remove') }}"
|
||||||
<span data-bind="text: window.field_map[field]"></span>
|
data-bind="click: $root.{{ Utils::toCamelCase('remove' . ucwords($section)) }}"></i>
|
||||||
</td>
|
<span data-bind="text: window.field_map[field]"></span>
|
||||||
</tr>
|
</td>
|
||||||
</tbody>
|
</tr>
|
||||||
</table>
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user