Vijayakrishnan Krishnan 4 лет назад
Родитель
Сommit
fe987dd63f

+ 1 - 1
resources/views/admin/note_templates_SINGLE/SUB_note_Template_section_templates.blade.php

@@ -22,7 +22,7 @@
                 @foreach($subRecords as $subRecord)
                     <tr>
                         <td><a href="/note_template_section_templates/view/{{ $subRecord->uid }}"><i class="fas fa-share-square"></i></a></td>
-<td><?= value_from_rs($result_section_templates, 'title', [['id', '=', $record->section_template_id], ], 'all'); ?></td>
+<td><?= value_from_rs($result_section_templates, 'title', [['id', '=', $subRecord->section_template_id], ], 'all'); ?></td>
                     </tr>
                 @endforeach
                 </tbody>

+ 0 - 34
resources/views/admin/note_templates_SINGLE/SUB_note_template_section_templates.blade.php

@@ -1,34 +0,0 @@
-@extends('admin.note_templates.view')
-@section('content-inner')
-
-    <div class="pb-3">
-
-        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
-            <div>Note Template Section Templates</div>
-            <div class="ml-auto">
-                <a class="btn btn-primary btn-sm ml-2" up-modal=".form-contents" up-preload up-delay="25" up-width="800" up-history="false" href="{{route('note_templates_SINGLE-ACTION_add_new_note_template_section_template', ['uid' => $record->uid])}}?optimised=1"><i class='fa fa-plus-circle' aria-hidden='true'></i> Add New</a>
-            </div>
-        </h5>
-
-        <div class="table-responsive p-0 bg-white border stag-table stag-table-sub">
-            <table class="table table-hover text-nowrap">
-                <thead>
-                <tr>
-                    <th>&nbsp;</th>
-<th>Section Template</th>
-                </tr>
-                </thead>
-                <tbody>
-                @foreach($subRecords as $subRecord)
-                    <tr>
-                        <td><a href="/note_template_section_templates/view/{{ $subRecord->uid }}"><i class="fas fa-share-square"></i></a></td>
-<td><?= value_from_rs($result_section_templates, 'title', [['id', '=', $subRecord->section_template_id], ], 'all'); ?></td>
-                    </tr>
-                @endforeach
-                </tbody>
-            </table>
-        </div>
-
-    </div>
-
-@endsection