Преглед на файлове

hiddend company column for non admins

= преди 3 години
родител
ревизия
431f6ab5d5
променени са 1 файла, в които са добавени 6 реда и са изтрити 4 реда
  1. 6 4
      resources/views/app/practice-management/financial-transactions.blade.php

+ 6 - 4
resources/views/app/practice-management/financial-transactions.blade.php

@@ -74,8 +74,9 @@
                             <th class="border-0">Client</th>
                             @if($pro->pro_type === 'ADMIN')
                                 <th class="border-0">Pro</th>
+                                <th class="border-0">Company</th>
                             @endif
-                            <th class="border-0">Company</th>
+                            
                             <th class="border-0">Context</th>
                             <th class="border-0">Amount</th>
                             <th class="border-0">Balance</th>
@@ -103,10 +104,11 @@
                                     <td>
                                         {{$transaction->pro ? $transaction->pro->displayName() : ''}}
                                     </td>
+                                    <td>
+                                        {{$transaction->company ? $transaction->company->name : ''}}
+                                    </td>
                                 @endif
-                                <td>
-                                    {{$transaction->company ? $transaction->company->name : ''}}
-                                </td>
+                               
                                 <td class="text-nowrap">
                                     @if($transaction->bill && $transaction->bill->note)
                                         <a href="{{route('patients.view.notes.view.dashboard', ['patient'=>$transaction->client, 'note'=>$transaction->bill->note])}}">