Peter Muturi 1 vuosi sitten
vanhempi
commit
4b4b26007f
1 muutettua tiedostoa jossa 87 lisäystä ja 82 poistoa
  1. 87 82
      resources/views/app/patient/care-month/dashboard.blade.php

+ 87 - 82
resources/views/app/patient/care-month/dashboard.blade.php

@@ -839,90 +839,95 @@
 
             <p class="font-weight-bold text-secondary mb-2 font-size-14">RTM Pulmonary</p>
 
-            <div class="pl-3">
-                <div class="screen-only">
-                    <div class="d-flex align-items-center mb-2">
-                        <p class="font-weight-bold text-secondary m-0">Transmissions</p>
-                    </div>
-                    <?php $transmissions = $careMonth->rtmLungTransmissions; ?>
-                    <table class="table table-striped table-sm table-bordered mt-2 mb-0">
-                        <thead>
-                        <tr>
-                            <th class="text-secondary border-bottom-0">Effective Date</th>
-                            <th class="text-secondary border-bottom-0 w-35">Instructions</th>
-                            <th class="text-secondary border-bottom-0 w-35">Response</th>
-                            <th class="text-secondary border-bottom-0">Stamp</th>
-                        </tr>
-                        </thead>
-                        <tbody>
-                        @if(!$transmissions || !count($transmissions))
-                            <tr>
-                                <td class="text-secondary p-0 border-0" colspan="4">
-                                    No items to show
-                                </td>
-                            </tr>
-                        @else
-                            @foreach($transmissions as $transmission)
-                                <tr>
-                                    <td>{{friendly_date($transmission->effective_date)}}</td>
-                                    <td>
-                                        @include('app.patient.rtm.protocol-summary', ['json' => $transmission->protocol_detail_json])
-                                    </td>
-                                    <td>
-                                        @include('app.patient.rtm.feedback-summary', ['json' => $transmission->feedback_detail_json])
-                                    </td>
-                                    <td>
-                                        @php $clientRtmTransmission = $transmission @endphp
-                                        @include('app.patient.care-month._stamp_client_rtm_transmission')
-                                    </td>
-                                </tr>
-                            @endforeach
-                        @endif
-                        </tbody>
-                    </table>
+            <div class="container-fluid">
+              <div class="row">
+                <div class="col-lg-7">
+                  <div class="screen-only">
+                      <div class="d-flex align-items-center mb-2">
+                          <p class="font-weight-bold text-secondary m-0">Transmissions</p>
+                      </div>
+                      <?php $transmissions = $careMonth->rtmLungTransmissions; ?>
+                      <table class="table table-striped table-sm table-bordered mt-2 mb-0">
+                          <thead>
+                          <tr>
+                              <th class="text-secondary border-bottom-0">Effective Date</th>
+                              <th class="text-secondary border-bottom-0 w-35">Instructions</th>
+                              <th class="text-secondary border-bottom-0 w-35">Response</th>
+                              <th class="text-secondary border-bottom-0">Stamp</th>
+                          </tr>
+                          </thead>
+                          <tbody>
+                          @if(!$transmissions || !count($transmissions))
+                              <tr>
+                                  <td class="text-secondary p-0 border-0" colspan="4">
+                                      No items to show
+                                  </td>
+                              </tr>
+                          @else
+                              @foreach($transmissions as $transmission)
+                                  <tr>
+                                      <td>{{friendly_date($transmission->effective_date)}}</td>
+                                      <td>
+                                          @include('app.patient.rtm.protocol-summary', ['json' => $transmission->protocol_detail_json])
+                                      </td>
+                                      <td>
+                                          @include('app.patient.rtm.feedback-summary', ['json' => $transmission->feedback_detail_json])
+                                      </td>
+                                      <td>
+                                          @php $clientRtmTransmission = $transmission @endphp
+                                          @include('app.patient.care-month._stamp_client_rtm_transmission')
+                                      </td>
+                                  </tr>
+                              @endforeach
+                          @endif
+                          </tbody>
+                      </table>
+                  </div>
                 </div>
-
-                <div class="screen-only mt-3">
-                    <div class="d-flex align-items-center">
-                        <h6 class="font-weight-bold text-secondary m-0">Time Entries</h6>
-                        <span class="mx-2 text-secondary">|</span>
-                        @include('app.practice-management.care_month_add_rtm_entry_form', ['right' => false, 'type' => 'LUNG', 'label' => 'Add for Lung'])
-                    </div>
-                    <table class="table table-striped table-sm table-bordered mt-2 mb-0 table-hover">
-                        <thead>
-                        <tr>
-                            <th class="px-2 text-secondary border-bottom-0">Effective Date</th>
-                            <th class="px-2 text-secondary border-bottom-0">Time</th>
-                            <th class="px-2 text-secondary border-bottom-0">Created</th>
-                            <th class="px-2 text-secondary border-bottom-0 w-50">Comments</th>
-                            <th class="px-2 text-secondary border-bottom-0 delete-column">&nbsp;</th>
-                        </tr>
-                        </thead>
-                        <tbody>
-                        @foreach($careMonth->rtmEntries as $entry )
-                            @if(!$entry->is_removed && $entry->cm_or_rm_or_rtm_msk_or_rtm_lung == 'RTM_LUNG' )
-                                <tr>
-                                    <td class="px-2">
-                                        <div class="font-weight-bold">{{friendly_date_time($entry->effective_date, false)}}</div>
-                                    </td>
-                                    <td class="px-2">
-                                        {{time_in_hrminsec($entry->time_in_seconds)}}
-                                    </td>
-                                    <td class="px-2">
-                                        {{friendly_date_time($entry->created_at)}}
-                                    </td>
-                                    <td class="px-2">
-                                        <div class="text-secondary in-table-markup">{!! $entry->content_text !!}</div>
-                                    </td>
-                                    <td class="px-2">
-                                        @include('app.practice-management.care_month_add_rtm_entry_form', ['right' => true, 'type' => ($entry->cm_or_rm_or_rtm_msk_or_rtm_lung === 'RTM_MSK' ? 'MSK' : 'LUNG'), 'entry' => $entry])
-                                    </td>
-                                </tr>
-                            @endif
-                        @endforeach
-                        </tbody>
-                    </table>
+                <div class="col-lg-5">
+                  <div class="screen-only">
+                      <div class="d-flex align-items-center">
+                          <h6 class="font-weight-bold text-secondary m-0">Time Entries</h6>
+                          <span class="mx-2 text-secondary">|</span>
+                          @include('app.practice-management.care_month_add_rtm_entry_form', ['right' => false, 'type' => 'LUNG', 'label' => 'Add for Lung'])
+                      </div>
+                      <table class="table table-striped table-sm table-bordered mt-2 mb-0 table-hover">
+                          <thead>
+                          <tr>
+                              <th class="px-2 text-secondary border-bottom-0">Effective Date</th>
+                              <th class="px-2 text-secondary border-bottom-0">Time</th>
+                              <th class="px-2 text-secondary border-bottom-0">Created</th>
+                              <th class="px-2 text-secondary border-bottom-0 w-50">Comments</th>
+                              <th class="px-2 text-secondary border-bottom-0 delete-column">&nbsp;</th>
+                          </tr>
+                          </thead>
+                          <tbody>
+                          @foreach($careMonth->rtmEntries as $entry )
+                              @if(!$entry->is_removed && $entry->cm_or_rm_or_rtm_msk_or_rtm_lung == 'RTM_LUNG' )
+                                  <tr>
+                                      <td class="px-2">
+                                          <div class="font-weight-bold">{{friendly_date_time($entry->effective_date, false)}}</div>
+                                      </td>
+                                      <td class="px-2">
+                                          {{time_in_hrminsec($entry->time_in_seconds)}}
+                                      </td>
+                                      <td class="px-2">
+                                          {{friendly_date_time($entry->created_at)}}
+                                      </td>
+                                      <td class="px-2">
+                                          <div class="text-secondary in-table-markup">{!! $entry->content_text !!}</div>
+                                      </td>
+                                      <td class="px-2">
+                                          @include('app.practice-management.care_month_add_rtm_entry_form', ['right' => true, 'type' => ($entry->cm_or_rm_or_rtm_msk_or_rtm_lung === 'RTM_MSK' ? 'MSK' : 'LUNG'), 'entry' => $entry])
+                                      </td>
+                                  </tr>
+                              @endif
+                          @endforeach
+                          </tbody>
+                      </table>
+                  </div>
                 </div>
+              </div>
             </div>
 
         @endif