diff --git a/app/resources/views/pdf/estimated_charges.blade.php b/app/resources/views/pdf/estimated_charges.blade.php
index 227e5f505..a979d15da 100755
--- a/app/resources/views/pdf/estimated_charges.blade.php
+++ b/app/resources/views/pdf/estimated_charges.blade.php
@@ -1,99 +1,347 @@
+
+
-
{{$site}} Estimated Charges
-
{{$dateRange}}
-
-
-
- | Source |
- Amount |
- Date/Time |
- Status |
-
-
-
- @foreach ($rows as $row)
-
- | {{$row->type}} |
- ${{number_format($row->dollars, 2)}} |
- {{$row->created_at}} |
- {{$row->status}} |
-
- @endforeach
-
-
+
+
+
+
+
Total Charges
+ @if(!empty($rows['dollars']))
+
${{ number_format($rows->sum('dollars'), 2) }}
+ @else
+
$0.00
+ @endif
+
+
+
Total Transactions
+
{{ count($rows) }}
+
+
+
+
+
+ | Source |
+ Amount |
+ Date/Time |
+ Status |
+
+
+
+ @foreach ($rows as $row)
+
+ | {{$row->type}} |
+ ${{number_format($row->dollars, 2)}} |
+ {{$row->created_at}} |
+
+
+ {{$row->status}}
+
+ |
+
+ @endforeach
+
+
+
+