Dear team please help me here is my function
public function destroy($id)
{
DB::table('ssrareqs')
->where('req_id',$id)
->update(['status_req'=>'reject']);
return back();
}
and below my blade
<td> <a style="color: red" href="">Reject</a></td>
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire