In large pan, place potatoes covered with cold water. Add salt and bring to boil and cook for 10 minutes. Place boneless codfish over boiling potatoes and cook for about 8 minutes or until flaky.
Remove cod fish from pan and set aside to cool. Potatoes should be done. Drain and set aside. When cool, slice the potatoes into 1/4 inch slices
In large skillet saute sliced onions, garlic, 1/2 tsp salt and bay leaf in 1/2 cup of the olive oil until golden brown then take out bay leaf and let them cool.
Grease a large lasagna type pan with olive oil. Start layering potatoes, flaked cod, onions, drizzle olive oil, pepper, potatoes, cod, onions, olive oil, pepper. Make sure you end up with onions on top.
Cover with foil and cook in oven for about 20 minutes (350 degrees). Arrange cooked egg slices on top of the onion layer. Cook uncovered for another 5-10 minutes to desired crispness.