changes in email template for enquiries and form submittion, other all minor error fixed.
This commit is contained in:
@@ -22,8 +22,11 @@ class NewsletterController extends Controller
|
||||
$model = Newsletter::query()->latest();
|
||||
return DataTables::eloquent($model)
|
||||
->addIndexColumn()
|
||||
->addColumn('checkbox', function (Newsletter $enquiry) {
|
||||
return '<input type="checkbox" class="enquiry-select" value="' . $enquiry->id . '" data-name="' . $enquiry->name . '">';
|
||||
})
|
||||
->addColumn('action', 'ccms::newsletter.datatable.action')
|
||||
->rawColumns(['action'])
|
||||
->rawColumns(['checkbox', 'action'])
|
||||
->toJson();
|
||||
}
|
||||
return view('ccms::newsletter.index', [
|
||||
@@ -111,5 +114,4 @@ class NewsletterController extends Controller
|
||||
return redirect()->back()->with('error', $th->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user