Shah Rakibur Rahaman преди 2 години
родител
ревизия
b58cba3bc8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      resources/views/teacher_profile.blade.php

+ 1 - 1
resources/views/teacher_profile.blade.php

@@ -554,7 +554,7 @@ tbody, td, tfoot, th, thead, tr {
                                                     <span class="label_badge_work">@if($years) {{$years}} years @endif</span>
                                                 </div>
                                                 <div style="font-size: 11px; font-weight: 600; display:block;">
-                                                    @if($to==null)
+                                                    @if(empty($row->work_experience->end_date))
                                                     <span>{{date('M Y', strtotime($row->work_experience->start_date))}} - continue</span>
                                                     @endif
                                                 </div>