|
@@ -1,75 +0,0 @@
|
|
|
-<div class="mb-2 d-flex align-items-baseline">
|
|
|
- <span class="text-secondary mr-1">Node:</span>
|
|
|
- <span line-label></span>
|
|
|
-</div>
|
|
|
-<div class="mb-2 d-flex align-items-baseline">
|
|
|
- <span class="text-secondary mr-1 text-nowrap">Quick Add:</span>
|
|
|
- <div class="flex-grow-1 position-relative">
|
|
|
- <input type="text"
|
|
|
- name="displayKey"
|
|
|
- class="form-control form-control-sm"
|
|
|
- placeholder="Column name"
|
|
|
- stag-suggest stag-suggest-left
|
|
|
- stag-suggest-ep="/column-suggest"
|
|
|
- stag-suggest-extra="table={{$statTree->model}}"
|
|
|
- autocomplete="donotdoit">
|
|
|
- </div>
|
|
|
-</div>
|
|
|
-<table class="table table-sm table-bordered table-striped">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class="border-bottom-0 width-30px">#</th>
|
|
|
- <th class="border-bottom-0 w-35">Label</th>
|
|
|
- <th class="border-bottom-0">Column</th>
|
|
|
- <th class="border-bottom-0 width-60px"></th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody line-columns>
|
|
|
- {{--
|
|
|
- @if(!count($line->reportColumns))
|
|
|
- <tr>
|
|
|
- <td colspan="3">Nothing yet!</td>
|
|
|
- </tr>
|
|
|
- @else
|
|
|
- @foreach($line->reportColumns as $column)
|
|
|
- <tr>
|
|
|
- <td>{{$column->position_index}}</td>
|
|
|
- <td>{{$column->label}}</td>
|
|
|
- <td>{{$column->display_key}}</td>
|
|
|
- <td class="text-nowrap">
|
|
|
- <div moe relative wide class="mr-2">
|
|
|
- <a href="#" start show><i class="text-sm fa fa-edit on-hover-opaque"></i></a>
|
|
|
- <form url="{{ route("practice-management.api.statTreeLineReportColumn.update") }}" right>
|
|
|
- @csrf
|
|
|
- <input type="hidden" name="uid" value="{{$column->uid}}">
|
|
|
- <div class="mb-2">
|
|
|
- <label class="text-secondary text-sm mb-1">Label</label>
|
|
|
- <input type="text" class="form-control form-control-sm" name="label" value="{{@$column->label}}">
|
|
|
- </div>
|
|
|
- <div class="mb-2">
|
|
|
- <label class="text-secondary text-sm mb-1">Column</label>
|
|
|
- <input type="text"
|
|
|
- name="displayKey"
|
|
|
- data-line-id="{{$line->id}}"
|
|
|
- class="form-control form-control-sm"
|
|
|
- placeholder="Column name"
|
|
|
- stag-suggest stag-suggest-left
|
|
|
- stag-suggest-ep="/column-suggest"
|
|
|
- stag-suggest-extra="table={{$line->statTree->model}}"
|
|
|
- value="{{@$column->display_key}}"
|
|
|
- autocomplete="donotdoit">
|
|
|
- </div>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- <button class="btn btn-sm btn-primary mr-2" type="button" submit>Save</button>
|
|
|
- <button class="btn btn-sm btn-default mr-2 border" type="button" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- <a href="#" class="remove-column" data-uid="{{$column->uid}}"><i class="fa fa-trash-alt text-danger on-hover-opaque"></i></a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- @endforeach
|
|
|
- @endif
|
|
|
- --}}
|
|
|
- </tbody>
|
|
|
-</table>
|