瀏覽代碼

added pro_type to admin

Josh 4 年之前
父節點
當前提交
19957ce3cf
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 2 1
      generatecv/tree.txt
  2. 2 0
      resources/views/admin/pros/index.blade.php

+ 2 - 1
generatecv/tree.txt

@@ -881,10 +881,11 @@ ADMIN
             action_items
             audit_log
     pros|pro|add|view|icon:user-md
-        !inc:@name_display,name_first,name_last
+        !inc:@name_display,name_first,name_last,pro_type
         col:name_display
         name_first
         name_last
+        pro_type
     pros/add_new:create
         cellNumber*:tel
         temporaryPassword*

+ 2 - 0
resources/views/admin/pros/index.blade.php

@@ -16,6 +16,7 @@
 <th>Name Display</th>
 <th>Name First</th>
 <th>Name Last</th>
+<th>Pro Type</th>
             </tr>
             </thead>
             <tbody>
@@ -25,6 +26,7 @@
 <td><a href="/pros/view/<?= $record->uid ?>"><?= $record->name_display ?></a></td>
 <td><?= $record->name_first ?></td>
 <td><?= $record->name_last ?></td>
+<td><?= $record->pro_type ?></td>
                 </tr>
             @endforeach
             </tbody>