Explorar el Código

Register Teacher Edit Update

Mostafijur Rahman hace 1 año
padre
commit
bbcf5d8a19
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      resources/views/application.blade.php

+ 2 - 2
resources/views/application.blade.php

@@ -65,9 +65,9 @@
                                                         <span>.</span>
                                                         @php
                                                                $proposal =\DB::table('proposal')->where('id',$row->proposal_id)->first();
-                                                               @if($proposal->department)
+                                                               if($proposal->department)
                                                                 $department =model('Department')::find($proposal->department);
-                                                               @endif
+                                                               endif
                                                             @endphp
                                                             @if($department)
                                                                 <span style="font-size:10px;">{{$department->name ?? ''}}</span>