Alright i fixed it, After some research i found this forum:
Below are the steps i took by following what i could gather from that forum:
sudo mv /etc/grub.d /etc/grub.d.oldsudo pacman -Syusudo grub-mkconfig -o /boot/grub/grub.cfg
After rebooting my system, the boot entry was perfectly normal, but windows was missing, so i uncommented the GRUB_DISABLE_OS_PROBER="false" line from /etc/default/grub and regenerated the grub.cfg file and now i could see the entry for windows as well in the grub menu.