So.. i was trying to remove the passenger door catch and while i was in the process of removing the catch the captive nut welded BEHIND the rear quarter panel which attaches the catch to the rear quarter panel broke off for both of the bolts (i nearly had a panic attack)

Due to this the passenger door cant be closed and the car obviously can't be dríven
I am not sure of this is even fixable....

Any help/ideas are appreciated as this is my dads daily car and it needs to be fixed asap
I have attached some photos of the problem: