Prechádzať zdrojové kódy

Point state badge text update

Vijayakrishnan 3 rokov pred
rodič
commit
dbeaf06f16

+ 1 - 1
app/Models/Point.php

@@ -249,7 +249,7 @@ class Point extends Model
             } elseif ($point->removed_in_note_id === $note->id && $point->removal_reason_category === 'ON_INTAKE') {
                 $point->badge = 'Marked Removed on Intake';
             } elseif ($point->removed_in_note_id !== $note->id) {
-                $point->badge = 'Historic Record Removed In A Previous Visit';
+                $point->badge = 'Historic Record Removed In Previous Visit';
             }
         } elseif ($point->state === 'ENTRY_ERROR') {
             if ($point->removed_in_note_id === $note->id) {

+ 1 - 1
resources/views/app/patient/wizard-partials/state-badge.blade.php

@@ -18,7 +18,7 @@
             <div class="text-sm text-secondary">(New Historic Record)</div>
         @endif
     @elseif($point->removed_in_note_id !== $note->id)
-        <div class="text-sm text-secondary">Historic Record Removed In A Previous Visit</div>
+        <div class="text-sm text-secondary">Historic Record Removed In Previous Visit</div>
     @endif
 @elseif($point->state === 'ENTRY_ERROR')
     @if($point->removed_in_note_id === $note->id)