Skip to main content

Posts

Featured

Menambahkan Tombol Panggilan Ulang di Aplikasi Queue Management (LARAVEL)

Step 1 =================== buka  TokenController.php di APP-HTTP-CONTROLLER-ADMIN cari kode =  if ( $token -> status != 0 || ! empty ( $token -> updated_at )) {                     $options .= "<a href= \" " . url ( "admin/token/recall/ $token -> id " ) . " \"  class= \" btn btn-info btn-sm \" onclick= \" return confirm('Are you sure?') \" title= \" Re-call \" ><i class= \" fa fa-phone \" ></i></a>" ;                 } Step 2 buka View-Admin-Token-CurrentToken.php tambahkan kode : di button group < a href = "{{ url(" admin /token/recall/$token- > id") }}"  class="btn btn-info btn-sm" onclick="return confirm('Are you sure?')" title="Re-call"> < i class = "fa fa-bell" ></ i ></ a > kemudian test Berikut Kode Lengkap TokenController.php <?php namespace App\Http\C

Latest Posts