|
@@ -108,7 +108,6 @@
|
|
|
<table class="table table-sm table-bordered mt-2">
|
|
|
@foreach($statTreeLine->lineClauses as $lineClause)
|
|
|
<tr>
|
|
|
- <td class="width-30px">{{$lineClause->position_index}}</td>
|
|
|
<td class="text-nowrap text-info font-weight-bold">{{$lineClause->clause_label}}</td>
|
|
|
<td class="text-monospace">{{$lineClause->clause->clause_text}}</td>
|
|
|
<td class="width-100px">
|
|
@@ -169,13 +168,18 @@
|
|
|
<table class="table table-sm table-bordered mt-2 table-columns">
|
|
|
@foreach($statTreeLine->reportColumns as $reportColumn)
|
|
|
<tr data-uid="{{$reportColumn->uid}}">
|
|
|
- <td class="width-30px">{{$reportColumn->position_index}}</td>
|
|
|
- <td class="text-nowrap text-info font-weight-bold">{{$reportColumn->label}}</td>
|
|
|
+ <td class="width-30px text-right">{{$reportColumn->position_index}}</td>
|
|
|
+ <td class="text-nowrap text-info font-weight-bold">
|
|
|
+ {{$reportColumn->label}}
|
|
|
+ @if($reportColumn->record_route_name)
|
|
|
+ <i class="fa fa-external-link-alt text-secondary text-sm ml-1" title="{{$reportColumn->record_route_name}}"></i>
|
|
|
+ @endif
|
|
|
+ </td>
|
|
|
<td class="text-monospace">{{$reportColumn->display_key}}</td>
|
|
|
<td class="text-monospace">{{$reportColumn->field_type}}</td>
|
|
|
<td class="width-100px text-nowrap">
|
|
|
<div class="d-flex align-items-baseline">
|
|
|
- <div moe relative>
|
|
|
+ <div moe wide relative>
|
|
|
<a start show href="#">Edit</a>
|
|
|
<form url="{{ route("practice-management.api.statTreeLineReport.updateReportColumn") }}" right>
|
|
|
@csrf
|
|
@@ -198,6 +202,10 @@
|
|
|
<option {{$reportColumn->field_type === 'bool' ? 'selected' : ''}} value="bool">Boolean</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
+ <div class="mb-2">
|
|
|
+ <label class="text-secondary text-sm mb-1">URL</label>
|
|
|
+ <input type="text" class="form-control form-control-sm" name="route" value="{{$reportColumn->record_route_name}}" required>
|
|
|
+ </div>
|
|
|
<div class="d-flex align-items-center">
|
|
|
<button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
<button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|