Peel the onions. Chop one onion roughly, cut the rest of the onion into slices. Peel garlic and chop finely. Drain the beans on a sieve. Wash, clean and slice the tomatoes.
Heat 2 tablespoons of oil in a pan. Add diced onion and fry until transparent. Add beans, tomatoes and garlic and fry for about 4 minutes, turning. Deglaze with stock and let simmer for about 7 minutes at medium heat while stirring. Season with salt and pepper. Heat the remaining oil in a large frying pan. Fry bacon and onion rings in it until crispy brown. Remove from the pan and keep warm. Beat the eggs one after the other, slide them into the pan and fry them as fried eggs.
Heat the remaining oil in a large frying pan. Fry bacon and onion rings in it until crispy brown. Remove from the pan and keep warm. Beat the eggs one after the other, slide them into the pan and fry them as fried eggs. Season with salt and pepper. Arrange the fried egg, bacon and onion rings on the beans, sprinkle with parsley and serve garnished with parsley leaves as desired