|
|
@ -124,7 +124,8 @@ class ReportActivityMaterialController extends Controller |
|
|
|
return Datatables::of($data) |
|
|
|
return Datatables::of($data) |
|
|
|
->addIndexColumn() |
|
|
|
->addIndexColumn() |
|
|
|
->addColumn('action', function($row){ |
|
|
|
->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; |
|
|
|
return $actionBtn; |
|
|
|
}) |
|
|
|
}) |
|
|
|
->rawColumns(['action'])->make(true); |
|
|
|
->rawColumns(['action'])->make(true); |
|
|
|