|
|
|
@ -107,7 +107,8 @@ class ReportActivityMaterialController extends Controller
|
|
|
|
|
return Datatables::of($data) |
|
|
|
|
->addIndexColumn() |
|
|
|
|
->addColumn('action', function($row){ |
|
|
|
|
$actionBtn = '<a href="javascript:void(0)" data-id="'.$row->id.'" class="delete btn btn-danger btn-sm btn-ram-delete"><i class="fa fa-trash"></i></a>'; |
|
|
|
|
$actionBtn = '<a href="javascript:void(0)" data-id="'.$row->id.'" class="info btn btn-info btn-sm btn-ram-image" data-toggle="tooltip" title="Lihat Foto Report" data-placement="top"><i class="fa fa-image"></i></a>'; |
|
|
|
|
$actionBtn .= '<a href="javascript:void(0)" data-id="'.$row->id.'" class="delete btn btn-danger btn-sm btn-ram-delete" data-toggle="tooltip" title="Hapus Report" data-placement="top"><i class="fa fa-trash"></i></a>'; |
|
|
|
|
return $actionBtn; |
|
|
|
|
}) |
|
|
|
|
->rawColumns(['action'])->make(true); |
|
|
|
|