diff --git a/app/Http/Controllers/Dashboard/DatatableController.php b/app/Http/Controllers/Dashboard/DatatableController.php index ddcb213..4587ed3 100644 --- a/app/Http/Controllers/Dashboard/DatatableController.php +++ b/app/Http/Controllers/Dashboard/DatatableController.php @@ -466,6 +466,8 @@ public function news(Request $request){ ->addColumn('action', function ($data) { $showUrl = route('dashboard.news.show', ['id' => encrypt_id($data->id)]); + $printUrl = route('dashboard.news.data.print', ['slug' => $data->slug]); + $editUrl = route('dashboard.news.edit', ['id' => encrypt_id($data->id)]); $deleteUrl = route('dashboard.news.destroy', ['id' => encrypt_id($data->id)]); @@ -476,6 +478,10 @@ public function news(Request $request){
{{ idn_date($news->created_at, 'l, d F Y') }}
+