TreatmentController

public function store(Request $request)

store Function :  Through store Function Treatment data is saved in treatment table

 

public function lookup(Request $request)

Lookup Function: Lookup Function generates the Treatment Report

 

public function show(Treatment$treatment

Show Function : In the View Mode of Treatment form, the Show function displays all details of the Treatment form.

 

public function edit(Treatment$treatment)

edit Function : You can edit the entire details of the Treatment form when editing in edit mode by using the Edit Function

 

public function destroy(Treatment$treatment)

destroy Function : The Destroy Function allows the deletion of all Treatment form details

 

public function validation($request, $id = null)

validation Function : Data is validated before saving using this function.

Was this page helpful?

Add a Comment

Your email address will not be published. Required fields are marked *