Forráskód Böngészése

cc_hpi > cc as a sentence fix

Vijayakrishnan 4 éve
szülő
commit
89b2e4b550

+ 1 - 1
resources/views/app/patient/canvas-sections/cc_hpi/summary.php

@@ -37,7 +37,7 @@ else {
     ?>
     <p class="font-weight-bold mb-2">CC</p>
     <p class="p-2 bg-light border mb-2">
-        Patient is a <?= $patient->age_in_years ?> y.o. <?= $client->sex ?> presenting for the following reason<?= count($lines) > 1 ? 's' : '' ?>:
+        Patient is a <?= $patient->age_in_years ?> y.o. <?= $patient->sex ?> presenting for the following reason<?= count($lines) > 1 ? 's' : '' ?>:
         <?php foreach($lines as $i => $line): ?>
             <?= $line['name'] ?>
             (<?= $line['category'] ?><?= $line['icd'] ? ' / ' . $line['icd'] : '' ?><?= $line['memo'] ? ' / ' . $line['memo'] : '' ?>)<?= count($lines) > 1 ? ($i === count($lines) - 2 ? ' and ' : ($i < count($lines) - 2 ? ', ' : ($i === count($lines) - 1 ? '.' : ''))) : '' ?>