Преглед изворни кода

added mcn columns to client

Josh пре 4 година
родитељ
комит
ff8b106701

+ 1 - 1
generatecv/tree.txt

@@ -11,7 +11,7 @@ PRO
 #        cellNumber:tel
 #        emailAddress:email
     clients|client|add|view|icon:user-injured
-        !inc:@name_first,name_last,sex,mcp_pro_id,cm_pro_id,rme_pro_id,rmm_pro_id
+        !inc:@name_first,name_last,dob, mcn,is_mcn_valid_number,is_part_b_primary,sex,mcp_pro_id,cm_pro_id,rme_pro_id,rmm_pro_id
         !qry:pros:SELECT id, concat(name_last, ', ', name_first) as name_display FROM pro
         !col:name_first:First Name=>/clients/view/$uid/SUB_dashboard
         !col:name_last:Last Name

+ 8 - 0
resources/views/pro/clients/index.blade.php

@@ -15,6 +15,10 @@
 <th>&nbsp;</th>
 <th>First Name</th>
 <th>Last Name</th>
+<th>Dob</th>
+<th> Mcn</th>
+<th>Is Mcn Valid Number</th>
+<th>Is Part B Primary</th>
 <th>Sex</th>
 <th>MCP</th>
 <th>CM Pro</th>
@@ -28,6 +32,10 @@
 <td><a href="/clients/view/<?= $record->uid ?>"><i class="fas fa-share-square"></i></a></td>
 <td><a href="/clients/view/<?= $record->uid ?>/SUB_dashboard"><?= $record->name_first ?></a></td>
 <td><?= $record->name_last ?></td>
+<td><?= $record->dob ?></td>
+<td><?= $record-> mcn ?></td>
+<td><?= $record->is_mcn_valid_number ?></td>
+<td><?= $record->is_part_b_primary ?></td>
 <td><?= $record->sex ?></td>
 <td><a href="/pros/view/<?= $record->mcp_pro_id ?>"><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->mcp_pro_id], ], 'all'); ?></a></td>
 <td><a href="/pros/view/<?= $record->cm_pro_id ?>"><?= value_from_rs($result_pros, 'name_display', [['id', '=', $record->cm_pro_id], ], 'all'); ?></a></td>

+ 8 - 0
resources/views/pro/leads/index.blade.php

@@ -25,6 +25,10 @@
 <th>Created At</th>
 <th>Created By Session Id</th>
 <th>Type</th>
+<th>Lead Data</th>
+<th>Phone</th>
+<th>Email</th>
+<th>Address</th>
             </tr>
             </thead>
             <tbody>
@@ -43,6 +47,10 @@
 <td><?= friendly_date_time($record->created_at) ?></td>
 <td><?= $record->created_by_session_id ?></td>
 <td><?= $record->type ?></td>
+<td><?= $record->lead_data ?></td>
+<td><?= $record->phone ?></td>
+<td><?= $record->email ?></td>
+<td><?= $record->address ?></td>
                 </tr>
             @endforeach
             </tbody>