select işlemi ile ürün seçilince ürün id sini ajax post ile controller'a gönderin controllerda bu id'ye ait stok bilgisini çekip geriye döndürün ve yazdırın