בדקו את ההטבות שמציע לכם היזם בפרויקטים של תמ"א 38

בדקו את ההטבות שמציע לכם היזם בפרויקטים של תמ"א 38

יזמים מגישים הצעות שנועדו לפתות דיירים לחתום עמם על הסכם אך פעמים רבות, בשלב המו"מ – או גרוע מכך בשלב התכנון, נסוג היזם מחלק מהבטחותיו – אלא שאז הדיירים כבר כבולים בתוך התהליך זמן רב, ואין להם ברירה אלא לקבל את הגזירה. עו"ד נתן שטיינברג  ...
דיירים התנגדו לפרויקט תמ"א 38 בגלל 3 מ"ר

דיירים התנגדו לפרויקט תמ"א 38 בגלל 3 מ"ר

כלכליסט 6.12.16 : לפני כשנה הגישו בני זוג ערעור על החלטת המפקחת על המקרקעין בת"א המאשרת פרויקט חיזוק לפי תמ"א 38/1 בבניין שלהם. השופטת דחתה את טענותיהם והדגישה כי 96% מדיירי הבניין היו מרוצים מהתכנית שהגיש היזם. עו"ד נתן שטיינברג...

Pin It on Pinterest

רוצים לקבל מאתנו מידע, עדכונים ומאמרים על ​מגוון נושאים בתחום ​ה​התחדשות ה​עירוני​ת?​
הצטרפו כעת, וקבלו את המידע
ישירות לדואר האלקטרוני שלכם.
PHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiPnZhciBnZm9ybTtnZm9ybXx8KGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoImdmb3JtX21haW5fc2NyaXB0c19sb2FkZWQiLGZ1bmN0aW9uKCl7Z2Zvcm0uc2NyaXB0c0xvYWRlZD0hMH0pLHdpbmRvdy5hZGRFdmVudExpc3RlbmVyKCJET01Db250ZW50TG9hZGVkIixmdW5jdGlvbigpe2dmb3JtLmRvbUxvYWRlZD0hMH0pLGdmb3JtPXtkb21Mb2FkZWQ6ITEsc2NyaXB0c0xvYWRlZDohMSxpbml0aWFsaXplT25Mb2FkZWQ6ZnVuY3Rpb24obyl7Z2Zvcm0uZG9tTG9hZGVkJiZnZm9ybS5zY3JpcHRzTG9hZGVkP28oKTohZ2Zvcm0u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