Josh 4 жил өмнө
parent
commit
4e58140af0

+ 3 - 3
resources/views/app/patient/canvas-sections/vitals/form.blade.php

@@ -1,6 +1,6 @@
 <?php
 $vitalLabels = [
-    "heightInches" => "Ht. (in.)",
+    "heightInInches" => "Ht. (in.)",
     "weightPounds" => "Wt. (lbs.)",
     "temperatureF" => "Temp. (F)",
     "systolicBP" => "SBP",
@@ -13,7 +13,7 @@ $vitalLabels = [
 ];
 if(!$contentData) {
     $contentData = [
-        "heightInches" => [
+        "heightInInches" => [
             "label" => "Ht. (in.)",
             "value" => "",
             "date" => "",
@@ -208,7 +208,7 @@ $formID = rand(0, 100000);
                 computed: {
                     bmi: function () {
                         let result = '';
-                        let h = this.items.heightInches, w = this.items.weightPounds;
+                        let h = this.items.heightInInches, w = this.items.weightPounds;
                         if(!h || !w) {
                             return result;
                         }

+ 2 - 2
resources/views/app/patient/canvas-sections/vitals/summary.php

@@ -1,6 +1,6 @@
 <?php
 $vitalLabels = [
-    "heightInches" => "Ht. (in.)",
+    "heightInInches" => "Ht. (in.)",
     "weightPounds" => "Wt. (lbs.)",
     "temperatureF" => "Temp. (F)",
     "systolicBP" => "SBP",
@@ -12,7 +12,7 @@ $vitalLabels = [
     "bmi" => "BMI (kg/m²)",
 ];
 $contentData = [
-    "heightInches" => [
+    "heightInInches" => [
         "label" => "Ht. (in.)",
         "value" => "",
         "date" => "",

+ 2 - 2
resources/views/app/patient/partials/vitals.blade.php

@@ -1,7 +1,7 @@
 <?php
 
 $vitalMap = [
-    'heightInches' => 'Ht. (in.)',
+    'heightInInches' => 'Ht. (in.)',
     'weightPounds' => 'Wt. (lbs.)',
     'temperatureF' => 'Temp. (F)',
     'pulseRatePerMinute' => 'Pulse',
@@ -44,7 +44,7 @@ foreach($vitalLabels as $vitalLabel){
                 <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
                 <label class="text-secondary text-sm mb-1">Ht. (in.)</label>
                 <div class="mb-2">
-                    <input type="text" class="form-control form-control-sm" name="heightInches" value="{{$vitalValues['Ht. (in.)']['value']}}" placeholder="">
+                    <input type="text" class="form-control form-control-sm" name="heightInInches" value="{{$vitalValues['Ht. (in.)']['value']}}" placeholder="">
                 </div>
                 <label class="text-secondary text-sm mb-1">Wt. (lbs.)</label>
                 <div class="mb-2">