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

Don't show time part in effective dates

Vijayakrishnan Krishnan пре 5 година
родитељ
комит
7e58373f3b
1 измењених фајлова са 8 додато и 8 уклоњено
  1. 8 8
      resources/views/app/patient/care-month/dashboard.blade.php

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

@@ -134,8 +134,8 @@
                         @if(!$entry->is_removed && $entry->cm_or_rm === "CM")
                         <tr>
                             <td class="px-2">
-                                <div class="font-weight-bold">{{friendly_date_time($entry->created_at)}}</div>
-                                <div class="small text-secondary">Created: {{friendly_date_time($entry->effective_date)}}</div>
+                                <div class="font-weight-bold">{{friendly_date_time($entry->effective_date, false)}}</div>
+                                <div class="small text-secondary">Created: {{friendly_date_time($entry->created_at)}}</div>
                             </td>
                             <td class="px-2">
                                 {{time_in_hrminsec($entry->time_in_seconds)}}
@@ -228,8 +228,8 @@
                         @if(!$entry->is_removed && $entry->cm_or_rm === "RM")
                             <tr>
                                 <td class="px-2">
-                                    <div class="font-weight-bold">{{friendly_date_time($entry->created_at)}}</div>
-                                    <div class="small text-secondary">Created: {{friendly_date_time($entry->effective_date)}}</div>
+                                    <div class="font-weight-bold">{{friendly_date_time($entry->effective_date, false)}}</div>
+                                    <div class="small text-secondary">Created: {{friendly_date_time($entry->created_at)}}</div>
                                 </td>
                                 <td class="px-2">
                                     {{time_in_hrminsec($entry->time_in_seconds)}}
@@ -358,7 +358,7 @@
                     <div class="border bg-white p-2 mt-2">
                         <div class="">
                             Code: <span class="font-weight-bold text-dark">{{ $activeCMBill->code }}</span>
-                            <div class="small text-secondary">Created: {{friendly_date_time($entry->effective_date)}}</div>
+                            <div class="small text-secondary">Created: {{friendly_date_time($entry->created_at)}}</div>
                         </div>
                         <div class="font-weight-bold text-dark mt-2 mb-1">Transactions</div>
                         @if(1) {{-- check if auther user is hcp pro --}}
@@ -452,7 +452,7 @@
                     <div class="border bg-white p-2 mt-2">
                         <div class="">
                             Code: <span class="font-weight-bold text-dark">{{ $activeRMBill->code }}</span>
-                            <div class="small text-secondary">Created: {{friendly_date_time($entry->effective_date)}}</div>
+                            <div class="small text-secondary">Created: {{friendly_date_time($entry->created_at)}}</div>
                         </div>
                         <div class="font-weight-bold text-dark mt-2 mb-1">Transactions</div>
                         @if(1) {{-- check if auther user is hcp pro --}}
@@ -504,7 +504,7 @@
                             <div class="d-flex">
                                 <div class="">
                                     Code: <span class="font-weight-bold text-dark">{{ $cancelledBill->code }}</span>
-                                    <div class="small text-secondary">Created: {{friendly_date_time($entry->effective_date)}}</div>
+                                    <div class="small text-secondary">Created: {{friendly_date_time($entry->created_at)}}</div>
                                 </div>
                                 <div class="ml-auto text-secondary font-weight-bold">CANCELLED BILL</div>
                             </div>
@@ -544,7 +544,7 @@
                             <div class="d-flex">
                                 <div class="">
                                     Code: <span class="font-weight-bold text-dark">{{ $cancelledBill->code }}</span>
-                                    <div class="small text-secondary">Created: {{friendly_date_time($entry->effective_date)}}</div>
+                                    <div class="small text-secondary">Created: {{friendly_date_time($entry->created_at)}}</div>
                                 </div>
                                 <div class="ml-auto text-secondary font-weight-bold">CANCELLED BILL</div>
                             </div>