public function getmrp($id) { $mrps = Mrp::where('product_id', $id)->get(); return response()->json($mrps); }