浏览代码

Position index column

Samson Mutunga 3 年之前
父节点
当前提交
f7e09ff2cf

+ 2 - 0
resources/views/app/practice-management/visit-templates/visit-template-segment-templates/segment-templates-list.blade.php

@@ -1,6 +1,7 @@
 <table data-position="{{ @$position }}" class="table table-sm table-striped border-top p-0 m-0 table-dnd">
 	<thead class="bg-light">
 		<tr>
+			<th class="border-0">Position Index</th>
 			<th class="border-0">Display title</th>
 			<th class="border-0">Heading</th>
 			<th class="border-0">Sub-heading</th>
@@ -15,6 +16,7 @@
 			@if(@$position === $template->left_or_right && $template->is_active)
 				<?php $rowsCount++; ?>
 				<tr id="{{ $template->uid }}" data-uid="{{ $template->uid }}" data-positionindex="{{ $template->position_index }}" data-heading="{{ $template->heading }}" data-subheading="{{ $template->subheading }}" data-displaytitle="{{ $template->display_title }}" data-leftorright="{{ $template->left_or_right }}">
+					<td>{{ $template->position_index }}</td>
 					<td class="text-nowrap">&boxH; &nbsp; &nbsp; {{ $template->display_title }}</td>
 					<td>{{ $template->heading }}</td>
 					<td>{{ $template->subheading }}</td>