|
@@ -29,7 +29,7 @@ $points = [
|
|
|
];
|
|
|
?>
|
|
|
|
|
|
-<div class="mt-3 p-3 border-top" id="nutrition-center-{{$note->id}}">
|
|
|
+<div class="mt-3 p-3 border-top-nutrition-rx" id="nutrition-center-{{$note->id}}">
|
|
|
<div class="point-table-container">
|
|
|
|
|
|
<table class="table table-sm table-bordered mb-0 bg-white mb-2 point-table">
|
|
@@ -38,7 +38,18 @@ $points = [
|
|
|
<?php $point = $p['point']; ?>
|
|
|
<tr class="point-row" data-uid="{{$point ? $point->uid : ''}}">
|
|
|
<td>
|
|
|
- <b>{{$p['name']}}</b>
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
+ <b class="mr-2">{{$p['name']}}</b>
|
|
|
+ @if($p['category'] === 'HIGH_SUGAR_BEVERAGES')
|
|
|
+ <img src="/img/nutrition-rx/hsb.png" class="icon-nutrition-rx-row" alt="">
|
|
|
+ @elseif($p['category'] === 'WATER_INTAKE')
|
|
|
+ <img src="/img/nutrition-rx/wi.png" class="icon-nutrition-rx-row" alt="">
|
|
|
+ @elseif($p['category'] === 'VEGETABLES')
|
|
|
+ <img src="/img/nutrition-rx/vc.png" class="icon-nutrition-rx-row" alt="">
|
|
|
+ @elseif($p['category'] === 'DAILY_INTAKE_CARBOHYDRATES' || $p['category'] === 'DAILY_INTAKE_CALORIES')
|
|
|
+ <img src="/img/nutrition-rx/ig.png" class="icon-nutrition-rx-row" alt="">
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
</td>
|
|
|
<td class="w-40">
|
|
|
<div class="d-flex align-items-start">
|