Jelajahi Sumber

Generate links from sub-entity index to TL single pages

Vijayakrishnan Krishnan 5 tahun lalu
induk
melakukan
5785e2029a

+ 8 - 9
generatecv/tree.txt

@@ -21,7 +21,7 @@ PRO
         SUB
             dashboard
             clients
-                id=client.team_id
+                id=client.team_id=>/my_clients/view/UID
                 add_new:client
                     teamUid:hidden=uid
                     nameDisplay
@@ -182,19 +182,19 @@ PRO
                     contentText
                     contentDetail
             care_months
-                id=care_month.client_id
+                id=care_month.client_id=>/care_months/view/UID
                 add_new:care_month
                     clientUid:hidden=uid
                     startMonth:number
                     startYear:number
             care_month_entries
-                id=care_month_entry.client_id
+                id=care_month_entry.client_id=>/care_month_entries/view/UID
             bills
-                id=bill.client_id
+                id=bill.client_id=>/bills/view/UID
             related_transactions
-                id=pro_transaction.client_id
+                id=pro_transaction.client_id=>/transactions/view/UID
             action_items
-                id=action_item.client_id
+                id=action_item.client_id=>/action_items/view/UID
                 add_new:action_item
                     clientUid:hidden=uid
                     prescriberProUid:record:pro:uid,name_display
@@ -203,7 +203,7 @@ PRO
                     contentDetail
             erx
 # :: and category = RX
-                id=action_item.client_id
+                id=action_item.client_id=>/action_items/view/UID
                 add_new:action_item
                     clientUid:hidden=uid
                     prescriberProUid:record:pro:uid,name_display
@@ -222,8 +222,7 @@ PRO
         SUB
             dashboard
             bills
-                id=bill.note_id
-# :: api is createForNote
+                id=bill.note_id=>/bills/view/UID
                 add_new:bill:createForNote
                     noteUid:hidden=uid
                     effectiveDate:date

+ 1 - 1
resources/views/pro/my_clients_SINGLE/SUB_action_items.blade.php

@@ -44,7 +44,7 @@
                         <td><?= $subRecord->id ?></td>
 <td><?= $subRecord->created_at ?></td>
 <td><?= $subRecord->type ?></td>
-<td><?= $subRecord->uid ?></td>
+<td><a href="/action_items/view/{{ $subRecord->uid }}"><?= $subRecord->uid ?></a></td>
 <td><?= $subRecord->action_item_category ?></td>
 <td><?= $subRecord->content_detail ?></td>
 <td><?= $subRecord->content_text ?></td>

+ 1 - 1
resources/views/pro/my_clients_SINGLE/SUB_bills.blade.php

@@ -67,7 +67,7 @@
                         <td><?= $subRecord->id ?></td>
 <td><?= $subRecord->created_at ?></td>
 <td><?= $subRecord->type ?></td>
-<td><?= $subRecord->uid ?></td>
+<td><a href="/bills/view/{{ $subRecord->uid }}"><?= $subRecord->uid ?></a></td>
 <td><?= $subRecord->ally_expected_payment_amount ?></td>
 <td><?= $subRecord->ally_payment_amount ?></td>
 <td><?= $subRecord->bill_service_type ?></td>

+ 1 - 1
resources/views/pro/my_clients_SINGLE/SUB_care_month_entries.blade.php

@@ -45,7 +45,7 @@
                         <td><?= $subRecord->id ?></td>
 <td><?= $subRecord->created_at ?></td>
 <td><?= $subRecord->type ?></td>
-<td><?= $subRecord->uid ?></td>
+<td><a href="/care_month_entries/view/{{ $subRecord->uid }}"><?= $subRecord->uid ?></a></td>
 <td><?= $subRecord->is_removed ?></td>
 <td><?= $subRecord->removal_memo ?></td>
 <td><?= $subRecord->removed_at ?></td>

+ 1 - 1
resources/views/pro/my_clients_SINGLE/SUB_care_months.blade.php

@@ -54,7 +54,7 @@
                         <td><?= $subRecord->id ?></td>
 <td><?= $subRecord->created_at ?></td>
 <td><?= $subRecord->type ?></td>
-<td><?= $subRecord->uid ?></td>
+<td><a href="/care_months/view/{{ $subRecord->uid }}"><?= $subRecord->uid ?></a></td>
 <td><?= $subRecord->cm_reason1 ?></td>
 <td><?= $subRecord->cm_reason2 ?></td>
 <td><?= $subRecord->cm_total_time_in_seconds ?></td>

+ 1 - 1
resources/views/pro/my_clients_SINGLE/SUB_erx.blade.php

@@ -44,7 +44,7 @@
                         <td><?= $subRecord->id ?></td>
 <td><?= $subRecord->created_at ?></td>
 <td><?= $subRecord->type ?></td>
-<td><?= $subRecord->uid ?></td>
+<td><a href="/action_items/view/{{ $subRecord->uid }}"><?= $subRecord->uid ?></a></td>
 <td><?= $subRecord->action_item_category ?></td>
 <td><?= $subRecord->content_detail ?></td>
 <td><?= $subRecord->content_text ?></td>

+ 1 - 1
resources/views/pro/my_clients_SINGLE/SUB_related_transactions.blade.php

@@ -36,7 +36,7 @@
                         <td><?= $subRecord->id ?></td>
 <td><?= $subRecord->created_at ?></td>
 <td><?= $subRecord->type ?></td>
-<td><?= $subRecord->uid ?></td>
+<td><a href="/transactions/view/{{ $subRecord->uid }}"><?= $subRecord->uid ?></a></td>
 <td><?= $subRecord->amount ?></td>
 <td><?= $subRecord->custom_memo ?></td>
 <td><?= $subRecord->plus_or_minus ?></td>

+ 1 - 1
resources/views/pro/my_teams_SINGLE/SUB_clients.blade.php

@@ -102,7 +102,7 @@
                         <td><?= $subRecord->id ?></td>
 <td><?= $subRecord->created_at ?></td>
 <td><?= $subRecord->type ?></td>
-<td><?= $subRecord->uid ?></td>
+<td><a href="/my_clients/view/{{ $subRecord->uid }}"><?= $subRecord->uid ?></a></td>
 <td><?= $subRecord->deactivated_at ?></td>
 <td><?= $subRecord->deactivation_memo ?></td>
 <td><?= $subRecord->is_active ?></td>

+ 1 - 1
resources/views/pro/notes_SINGLE/SUB_bills.blade.php

@@ -67,7 +67,7 @@
                         <td><?= $subRecord->id ?></td>
 <td><?= $subRecord->created_at ?></td>
 <td><?= $subRecord->type ?></td>
-<td><?= $subRecord->uid ?></td>
+<td><a href="/bills/view/{{ $subRecord->uid }}"><?= $subRecord->uid ?></a></td>
 <td><?= $subRecord->ally_expected_payment_amount ?></td>
 <td><?= $subRecord->ally_payment_amount ?></td>
 <td><?= $subRecord->bill_service_type ?></td>