Kaynağa Gözat

Updated NA bills

Samson Mutunga 3 yıl önce
ebeveyn
işleme
4629a1ba69
1 değiştirilmiş dosya ile 6 ekleme ve 2 silme
  1. 6 2
      resources/views/app/dna/my-bills.blade.php

+ 6 - 2
resources/views/app/dna/my-bills.blade.php

@@ -47,7 +47,7 @@
                             @endif
                         </td>
                         <td>{{ $bill->bill_service_type }}</td>
-                        <td class="border-0">{{$bill->generic_description}}</td>
+                        <td class="border-0"><?= nl2br($bill->generic_description) ?></td>
                         <td>
                             @if($bill->bill_service_type === 'GENERIC')
                             {{ $bill->generic_pro_expected_payment_amount ? '$'.friendly_money($bill->generic_pro_expected_payment_amount) : '' }}</td>
@@ -55,8 +55,12 @@
                             {{ $bill->na_expected_payment_amount ? '$'.friendly_money($bill->na_expected_payment_amount) : '' }}</td>
                             @endif
                         <td>
-                            @if($bill->is_submitted)
+                            @if($bill->has_hcp_been_paid)
                             <span>YES</span>
+                            <div class="d-flex flex-column">
+                                <span class="text-muted">Expected: ${{ $bill->hcp_expected_payment_amount }}</span>
+                                <span class="text-muted">Paid: ${{ $bill->hcp_payment_amount }}</span>
+                            </div>
                             @else
                             <span>NO</span>
                             @endif