|
@@ -0,0 +1,58 @@
|
|
|
+@extends ('layouts/template')
|
|
|
+
|
|
|
+@section('content')
|
|
|
+
|
|
|
+ <div class="p-3 mcp-theme-1" id="processing-bill-matrix">
|
|
|
+
|
|
|
+ <div class="card">
|
|
|
+
|
|
|
+ <div class="card-header px-3 py-2 d-flex align-items-center">
|
|
|
+ <strong class="text-nowrap">
|
|
|
+ <i class="fas fa-user-injured"></i>
|
|
|
+ Pro Financials
|
|
|
+ </strong>
|
|
|
+ <span class="mx-2">for</span>
|
|
|
+ <div class="width-200px">
|
|
|
+ <select provider-search data-pro-uid="{{ @$targetPro->uid }}"
|
|
|
+ name="proUid" class="form-control form-control-sm mr-auto width-200px min-width-unset"
|
|
|
+ onchange="fastLoad('/practice-management/pro-financials/' + this.value)">
|
|
|
+ <option value="" {{!@$targetPro ? 'selected' : ''}}>All Pros</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ @if(@$targetPro)
|
|
|
+ <a href="/practice-management/pro-financials" class="ml-2">Clear Filter</a>
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
+ <div class="card-body p-0">
|
|
|
+ <table class="table table-sm table-condensed table-hover p-0 m-0">
|
|
|
+ <thead class="bg-light">
|
|
|
+ <tr>
|
|
|
+ <th>Pro</th>
|
|
|
+ <th>Balance Owed</th>
|
|
|
+ <th class="w-75">Recent Debits</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ @foreach ($fPros as $row)
|
|
|
+ <tr>
|
|
|
+ <td>{{$row->displayName()}}</td>
|
|
|
+ <td><b>${{friendly_money($row->balance)}}</b></td>
|
|
|
+ <td>
|
|
|
+ @foreach($row->recentDebits() as $debit)
|
|
|
+ <div class="d-flex align-items-center mb-1">
|
|
|
+ <span class="width-90px">{{'$' . $debit->amount}}</span>
|
|
|
+ <span class="text-secondary">{{friendly_date_time($debit->created_at, false)}}</span>
|
|
|
+ </div>
|
|
|
+ @endforeach
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ @endforeach
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="mt-3">
|
|
|
+ {{$fPros->withQueryString()->links()}}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+@endsection
|