{"id":7307,"date":"2025-06-30T14:48:40","date_gmt":"2025-06-30T12:48:40","guid":{"rendered":"https:\/\/holihouse.gr\/%cf%85%cf%80%ce%bf%ce%bb%ce%bf%ce%b3%ce%b9%cf%83%ce%bc%cf%8c%cf%82-%cf%84%ce%b1%ce%ba%ce%ba-%ce%ba%ce%b1%cf%84%ce%b1%ce%bb%cf%8d%ce%bc%ce%b1%cf%84%ce%bf%cf%82\/"},"modified":"2025-11-12T14:51:18","modified_gmt":"2025-11-12T12:51:18","slug":"takk","status":"publish","type":"page","link":"https:\/\/holihouse.gr\/en\/takk\/","title":{"rendered":"\u03a5\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc\u03c2 \u03a4\u0391\u039a\u039a \u03ba\u03b1\u03c4\u03b1\u03bb\u03cd\u03bc\u03b1\u03c4\u03bf\u03c2"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"7307\" class=\"elementor elementor-7307 elementor-7263\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"has_eae_slider elementor-section elementor-top-section elementor-element elementor-element-cf10ad4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-eae-slider=\"6209\" data-id=\"cf10ad4\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"has_eae_slider elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-090cd03\" data-eae-slider=\"52867\" data-id=\"090cd03\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-54cf987 elementor-widget elementor-widget-html\" data-id=\"54cf987\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>\r\n\r\n    .takk-container {\r\n      max-width: 900px;\r\n      margin: auto;\r\n      background: var(--card-bg);\r\n      padding: 30px;\r\n      border-radius: var(--radius);\r\n      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);\r\n      font-family: \"Cera pro\", Sans-serif;\r\n    }\r\n    \r\n    .takk-container h2 {\r\n      text-align: center;\r\n      color: #4488ee;\r\n    }\r\n\r\n    .takk-container label {\r\n      display: block;\r\n      margin-top: 20px;\r\n      font-weight: 600;\r\n    }\r\n\r\n    .takk-container input[type=\"number\"], .takk-container input[type=\"date\"], select {\r\n      width: 100%;\r\n      padding: 10px;\r\n      margin-top: 8px;\r\n      border-radius: var(--radius);\r\n      border: 1px solid #ccc;\r\n      font-size: 16px;\r\n    }\r\n\r\n    .takk-container input[type=\"radio\"] {\r\n      margin-right: 5px;\r\n      margin-top: 10px;\r\n    }\r\n\r\n    .takk-container .result {\r\n      margin-top: 30px;\r\n      font-weight: bold;\r\n      color: var(--primary-color);\r\n      background: #ecf0f1;\r\n      padding: 15px;\r\n      border-radius: var(--radius);\r\n    }\r\n\r\n    .takk-container button {\r\n      margin-top: 25px;\r\n      padding: 12px 20px;\r\n      background: #4488ee;\r\n      border: none;\r\n      color: white;\r\n      font-size: 16px;\r\n      cursor: pointer;\r\n      border-radius: var(--radius);\r\n    }\r\n\r\n    .takk-container button:hover {\r\n      background-color: #149f84;\r\n    }\r\n\r\n    .takk-container .hidden {\r\n      display: none;\r\n    }\r\n\r\n    .takk-container table {\r\n      width: 100%;\r\n      border-collapse: collapse;\r\n      margin-top: 40px;\r\n      border-radius: var(--radius);\r\n      overflow: hidden;\r\n    }\r\n\r\n    .takk-container table caption {\r\n      font-weight: bold;\r\n      margin-bottom: 10px;\r\n      color:#4488ee;\r\n      font-size: 18px;\r\n    }\r\n\r\n    .takk-container th, td {\r\n      border: 1px solid #ddd;\r\n      padding: 12px;\r\n      text-align: left;\r\n    }\r\n\r\n    .takk-container th {\r\n      background-color: #4488ee;\r\n      color: white;\r\n    }\r\n\r\n    .takk-container .footer {\r\n      text-align: center;\r\n      font-size: 14px;\r\n      color: #777;\r\n      margin-top: 40px;\r\n    }\r\n  <\/style>\r\n  <div class=\"takk-container\">\r\n  <h2>\u0394\u03c9\u03c1\u03b5\u03ac\u03bd \u03a5\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc\u03c2 \u0391\u03be\u03af\u03b1\u03c2 \u039a\u03c1\u03ac\u03c4\u03b7\u03c3\u03b7\u03c2 (\u03a4\u0391\u039a\u039a, \u03a6\u03cc\u03c1\u03bf\u03c2 \u03a0\u03b1\u03c1\u03b5\u03c0\u03b9\u03b4\u03b7\u03bc\u03bf\u03cd\u03bd\u03c4\u03c9\u03bd)<\/h2>\r\n\r\n  <label>\u0395\u03af\u03c3\u03c4\u03b5:<\/label>\r\n  <input type=\"radio\" name=\"userType\" value=\"idiotis\" onclick=\"toggleForm()\"> \u0399\u03b4\u03b9\u03ce\u03c4\u03b7\u03c2\r\n  <input type=\"radio\" name=\"userType\" value=\"epaggelmatias\" onclick=\"toggleForm()\"> \u0395\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03af\u03b1\u03c2\r\n\r\n  <div id=\"formIdioti\" class=\"hidden\">\r\n    <label for=\"finalPriceIdioti\">\u03a4\u03b5\u03bb\u03b9\u03ba\u03ae \u03c4\u03b9\u03bc\u03ae \u03c0\u03bf\u03c5 \u03c0\u03bb\u03ae\u03c1\u03c9\u03c3\u03b5 \u03bf \u03b5\u03c0\u03b9\u03c3\u03ba\u03ad\u03c0\u03c4\u03b7\u03c2 (\u20ac):<\/label>\r\n    <input type=\"number\" id=\"finalPriceIdioti\" step=\"0.01\">\r\n\r\n    <label for=\"propertyTypeIdioti\">\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c4\u03cd\u03c0\u03bf \u03ba\u03b1\u03c4\u03b1\u03bb\u03cd\u03bc\u03b1\u03c4\u03bf\u03c2:<\/label>\r\n    <select id=\"propertyTypeIdioti\">\r\n      <option value=\"\">-- \u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 --<\/option>\r\n      <option value=\"monokatoikiaOver80\">\u039c\u03bf\u03bd\u03bf\u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \u03ba\u03b1\u03b9 \u03ac\u03bd\u03c9 \u03c4\u03c9\u03bd 80\u03c4\u03bc<\/option>\r\n      <option value=\"monokatoikiaUnder80\">\u039c\u03bf\u03bd\u03bf\u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \u03ba\u03ac\u03c4\u03c9 \u03c4\u03c9\u03bd 80\u03c4\u03bc<\/option>\r\n      <option value=\"diamperisma\">\u0394\u03b9\u03b1\u03bc\u03ad\u03c1\u03b9\u03c3\u03bc\u03b1<\/option>\r\n    <\/select>\r\n\r\n    <label for=\"checkInIdioti\">\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 check-in:<\/label>\r\n    <input type=\"date\" id=\"checkInIdioti\">\r\n\r\n    <label for=\"checkOutIdioti\">\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 check-out:<\/label>\r\n    <input type=\"date\" id=\"checkOutIdioti\">\r\n\r\n    <button onclick=\"calculateIdioti()\">\u03a5\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc\u03c2<\/button>\r\n    <div class=\"result\" id=\"resultIdioti\"><\/div>\r\n  <\/div>\r\n\r\n  <div id=\"formEpaggelmatia\" class=\"hidden\">\r\n    <label for=\"finalPrice\">\u03a4\u03b5\u03bb\u03b9\u03ba\u03ae \u03c4\u03b9\u03bc\u03ae \u03c0\u03bf\u03c5 \u03c0\u03bb\u03ae\u03c1\u03c9\u03c3\u03b5 \u03bf \u03b5\u03c0\u03b9\u03c3\u03ba\u03ad\u03c0\u03c4\u03b7\u03c2 (\u20ac):<\/label>\r\n    <input type=\"number\" id=\"finalPrice\" step=\"0.01\">\r\n\r\n    <label for=\"vat\">\u03a6.\u03a0.\u0391. (%):<\/label>\r\n    <select id=\"vat\">\r\n      <option value=\"13\">13%<\/option>\r\n      <option value=\"24\">24%<\/option>\r\n      <option value=\"0\">0%<\/option>\r\n    <\/select>\r\n\r\n    <label for=\"propertyType\">\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c4\u03cd\u03c0\u03bf \u03ba\u03b1\u03c4\u03b1\u03bb\u03cd\u03bc\u03b1\u03c4\u03bf\u03c2:<\/label>\r\n    <select id=\"propertyType\">\r\n      <option value=\"\">-- \u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 --<\/option>\r\n      <option value=\"enoikiazomena\">\u0395\u03bd\u03bf\u03b9\u03ba\u03b9\u03b1\u03b6\u03cc\u03bc\u03b5\u03bd\u03b1 \u03b5\u03c0\u03b9\u03c0\u03bb\u03c9\u03bc\u03ad\u03bd\u03b1 \u03b4\u03c9\u03bc\u03ac\u03c4\u03b9\u03b1 - \u03b4\u03b9\u03b1\u03bc\u03b5\u03c1\u03af\u03c3\u03bc\u03b1\u03c4\u03b1<\/option>\r\n      <option value=\"short_monokatoikiaOver80\">\u0392\u03c1\u03b1\u03c7\u03c5\u03c7\u03c1\u03cc\u03bd\u03b9\u03b1 \u03bc\u03af\u03c3\u03b8\u03c9\u03c3\u03b7 - \u039c\u03bf\u03bd\u03bf\u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \u03ac\u03bd\u03c9 \u03c4\u03c9\u03bd 80\u03c4\u03bc<\/option>\r\n      <option value=\"short_monokatoikiaUnder80\">\u0392\u03c1\u03b1\u03c7\u03c5\u03c7\u03c1\u03cc\u03bd\u03b9\u03b1 \u03bc\u03af\u03c3\u03b8\u03c9\u03c3\u03b7 - \u039c\u03bf\u03bd\u03bf\u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \u03ba\u03ac\u03c4\u03c9 \u03c4\u03c9\u03bd 80\u03c4\u03bc<\/option>\r\n      <option value=\"short_diamerisma\">\u0392\u03c1\u03b1\u03c7\u03c5\u03c7\u03c1\u03cc\u03bd\u03b9\u03b1 \u03bc\u03af\u03c3\u03b8\u03c9\u03c3\u03b7 - \u0394\u03b9\u03b1\u03bc\u03ad\u03c1\u03b9\u03c3\u03bc\u03b1<\/option>\r\n      <option value=\"villa\">\u03a4\u03bf\u03c5\u03c1\u03b9\u03c3\u03c4\u03b9\u03ba\u03ae \u03b5\u03c0\u03b9\u03c0\u03bb\u03c9\u03bc\u03ad\u03bd\u03b7 \u03ad\u03c0\u03b1\u03c5\u03bb\u03b7 (\u03b2\u03af\u03bb\u03b1)<\/option>\r\n      <option value=\"tourist_ano80\">\u03a4\u03bf\u03c5\u03c1\u03b9\u03c3\u03c4\u03b9\u03ba\u03ae \u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \u03ac\u03bd\u03c9 \u03c4\u03c9\u03bd 80\u03c4\u03bc<\/option>\r\n      <option value=\"tourist_kato80\">\u03a4\u03bf\u03c5\u03c1\u03b9\u03c3\u03c4\u03b9\u03ba\u03ae \u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \u03ba\u03ac\u03c4\u03c9 \u03c4\u03c9\u03bd 80\u03c4\u03bc<\/option>\r\n    <\/select>\r\n\r\n    <label for=\"checkIn\">\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 check-in:<\/label>\r\n    <input type=\"date\" id=\"checkIn\">\r\n\r\n    <label for=\"checkOut\">\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 check-out:<\/label>\r\n    <input type=\"date\" id=\"checkOut\">\r\n\r\n    <button onclick=\"calculateTAKK()\">\u03a5\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc\u03c2<\/button>\r\n    <div class=\"result\" id=\"takkResult\"><\/div>\r\n  <\/div>\r\n\r\n  <div id=\"tableIdioti\" class=\"hidden\">\r\n    <table>\r\n      <caption>\u039a\u03cc\u03c3\u03c4\u03bf\u03c2 \u03a4\u0391\u039a\u039a \u03b1\u03bd\u03ac \u03c4\u03cd\u03c0\u03bf \u03ba\u03b1\u03c4\u03b1\u03bb\u03cd\u03bc\u03b1\u03c4\u03bf\u03c2 (\u0399\u03b4\u03b9\u03ce\u03c4\u03b5\u03c2)<\/caption>\r\n      <thead>\r\n        <tr><th>\u03a4\u03cd\u03c0\u03bf\u03c2 \u039a\u03b1\u03c4\u03b1\u03bb\u03cd\u03bc\u03b1\u03c4\u03bf\u03c2<\/th><th>\u03a7\u03b1\u03bc\u03b7\u03bb\u03ae \u03a0\u03b5\u03c1\u03af\u03bf\u03b4\u03bf\u03c2 (1\/11 \u03ad\u03c9\u03c2 31\/3)<\/th><th>\u03a5\u03c8\u03b7\u03bb\u03ae \u03a0\u03b5\u03c1\u03af\u03bf\u03b4\u03bf\u03c2 (1\/4 \u03ad\u03c9\u03c2 31\/10)<\/th><\/tr>\r\n      <\/thead>\r\n      <tbody>\r\n        <tr><td>\u039c\u03bf\u03bd\u03bf\u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \u03ac\u03bd\u03c9 \u03c4\u03c9\u03bd 80\u03c4\u03bc<\/td><td>4 \u20ac\/\u03b7\u03bc<\/td><td>15 \u20ac\/\u03b7\u03bc<\/td><\/tr>\r\n        <tr><td>\u0394\u03b9\u03b1\u03bc\u03ad\u03c1\u03b9\u03c3\u03bc\u03b1<\/td><td>2 \u20ac\/\u03b7\u03bc<\/td><td>8 \u20ac\/\u03b7\u03bc<\/td><\/tr>\r\n        <tr><td>\u039c\u03bf\u03bd\u03bf\u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \u03ba\u03ac\u03c4\u03c9 \u03c4\u03c9\u03bd 80\u03c4\u03bc<\/td><td>2 \u20ac\/\u03b7\u03bc<\/td><td>8 \u20ac\/\u03b7\u03bc<\/td><\/tr>\r\n      <\/tbody>\r\n    <\/table>\r\n  <\/div>\r\n\r\n  <div id=\"tableEpaggelmatia\" class=\"hidden\">\r\n    <table>\r\n      <caption>\u039a\u03cc\u03c3\u03c4\u03bf\u03c2 \u03a4\u0391\u039a\u039a \u03b1\u03bd\u03ac \u03c4\u03cd\u03c0\u03bf \u03ba\u03b1\u03c4\u03b1\u03bb\u03cd\u03bc\u03b1\u03c4\u03bf\u03c2 (\u0395\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03af\u03b5\u03c2)<\/caption>\r\n      <thead>\r\n        <tr><th>\u03a4\u03cd\u03c0\u03bf\u03c2 \u039a\u03b1\u03c4\u03b1\u03bb\u03cd\u03bc\u03b1\u03c4\u03bf\u03c2<\/th><th>\u03a7\u03b1\u03bc\u03b7\u03bb\u03ae \u03a0\u03b5\u03c1\u03af\u03bf\u03b4\u03bf\u03c2 (1\/11 \u03ad\u03c9\u03c2 31\/3)<\/th><th>\u03a5\u03c8\u03b7\u03bb\u03ae \u03a0\u03b5\u03c1\u03af\u03bf\u03b4\u03bf\u03c2 (1\/4 \u03ad\u03c9\u03c2 31\/10)<\/th><\/tr>\r\n      <\/thead>\r\n      <tbody>\r\n        <tr><td>\u0395\u03bd\u03bf\u03b9\u03ba\u03b9\u03b1\u03b6\u03cc\u03bc\u03b5\u03bd\u03b1 \u03b5\u03c0\u03b9\u03c0\u03bb\u03c9\u03bc\u03ad\u03bd\u03b1 \u03b4\u03c9\u03bc\u03ac\u03c4\u03b9\u03b1 - \u03b4\u03b9\u03b1\u03bc\u03b5\u03c1\u03af\u03c3\u03bc\u03b1\u03c4\u03b1<\/td><td>0.5 \u20ac\/\u03b7\u03bc<\/td><td>2 \u20ac\/\u03b7\u03bc<\/td><\/tr>\r\n        <tr><td>\u0392\u03c1\u03b1\u03c7\u03c5\u03c7\u03c1\u03cc\u03bd\u03b9\u03b1 \u03bc\u03af\u03c3\u03b8\u03c9\u03c3\u03b7 - \u039c\u03bf\u03bd\u03bf\u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \u03ac\u03bd\u03c9 \u03c4\u03c9\u03bd 80\u03c4\u03bc<\/td><td>4 \u20ac\/\u03b7\u03bc<\/td><td>15 \u20ac\/\u03b7\u03bc<\/td><\/tr>\r\n        <tr><td>\u0392\u03c1\u03b1\u03c7\u03c5\u03c7\u03c1\u03cc\u03bd\u03b9\u03b1 \u03bc\u03af\u03c3\u03b8\u03c9\u03c3\u03b7 - \u039c\u03bf\u03bd\u03bf\u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \u03ba\u03ac\u03c4\u03c9 \u03c4\u03c9\u03bd 80\u03c4\u03bc<\/td><td>2 \u20ac\/\u03b7\u03bc<\/td><td>8 \u20ac\/\u03b7\u03bc<\/td><\/tr>\r\n        <tr><td>\u0392\u03c1\u03b1\u03c7\u03c5\u03c7\u03c1\u03cc\u03bd\u03b9\u03b1 \u03bc\u03af\u03c3\u03b8\u03c9\u03c3\u03b7 - \u0394\u03b9\u03b1\u03bc\u03ad\u03c1\u03b9\u03c3\u03bc\u03b1<\/td><td>2 \u20ac\/\u03b7\u03bc<\/td><td>8 \u20ac\/\u03b7\u03bc<\/td><\/tr>\r\n        <tr><td>\u03a4\u03bf\u03c5\u03c1\u03b9\u03c3\u03c4\u03b9\u03ba\u03ae \u03b5\u03c0\u03b9\u03c0\u03bb\u03c9\u03bc\u03ad\u03bd\u03b7 \u03ad\u03c0\u03b1\u03c5\u03bb\u03b7 (\u03b2\u03af\u03bb\u03b1)<\/td><td>4 \u20ac\/\u03b7\u03bc<\/td><td>15 \u20ac\/\u03b7\u03bc<\/td><\/tr>\r\n        <tr><td>\u03a4\u03bf\u03c5\u03c1\u03b9\u03c3\u03c4\u03b9\u03ba\u03ae \u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \u03ac\u03bd\u03c9 \u03c4\u03c9\u03bd 80\u03c4\u03bc<\/td><td>4 \u20ac\/\u03b7\u03bc<\/td><td>15 \u20ac\/\u03b7\u03bc<\/td><\/tr>\r\n        <tr><td>\u03a4\u03bf\u03c5\u03c1\u03b9\u03c3\u03c4\u03b9\u03ba\u03ae \u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \u03ba\u03ac\u03c4\u03c9 \u03c4\u03c9\u03bd 80\u03c4\u03bc<\/td><td>2 \u20ac\/\u03b7\u03bc<\/td><td>8 \u20ac\/\u03b7\u03bc<\/td><\/tr>\r\n      <\/tbody>\r\n    <\/table>\r\n  <\/div>\r\n  <\/script>\r\n    <div class=\"footer\">\r\n      * \u03a4\u03bf \u03b5\u03c1\u03b3\u03b1\u03bb\u03b5\u03af\u03bf \u03b5\u03af\u03bd\u03b1\u03b9 \u03b5\u03bd\u03b4\u03b5\u03b9\u03ba\u03c4\u03b9\u03ba\u03cc \u03ba\u03b1\u03b9 \u03bc\u03b7 \u03b4\u03b5\u03c3\u03bc\u03b5\u03c5\u03c4\u03b9\u03ba\u03cc. \u03a0\u03c1\u03bf\u03c4\u03b5\u03af\u03bd\u03b5\u03c4\u03b1\u03b9 \u03bd\u03b1 \u03b5\u03c0\u03b9\u03b2\u03b5\u03b2\u03b1\u03b9\u03ce\u03bd\u03b5\u03c4\u03b5 \u03c4\u03b9\u03c2 \u03c0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03af\u03b5\u03c2 \u03bc\u03b5 \u03c4\u03bf\u03bd \u03bb\u03bf\u03b3\u03b9\u03c3\u03c4\u03ae \u03c3\u03b1\u03c2.\r\n    <\/div>\r\n  <\/div>\r\n  <script>\r\n    function toggleForm() {\r\n      const userType = document.querySelector('input[name=\"userType\"]:checked').value;\r\n      document.getElementById('formIdioti').classList.add('hidden');\r\n      document.getElementById('formEpaggelmatia').classList.add('hidden');\r\n      document.getElementById('tableIdioti').classList.add('hidden');\r\n      document.getElementById('tableEpaggelmatia').classList.add('hidden');\r\n\r\n      if (userType === 'idiotis') {\r\n        document.getElementById('formIdioti').classList.remove('hidden');\r\n        document.getElementById('tableIdioti').classList.remove('hidden');\r\n      } else {\r\n        document.getElementById('formEpaggelmatia').classList.remove('hidden');\r\n        document.getElementById('tableEpaggelmatia').classList.remove('hidden');\r\n      }\r\n    }\r\n\r\n    \/\/ Helper function to count nights in each period\r\n    function countNightsByPeriod(checkIn, checkOut) {\r\n      let daysWinter = 0, daysSummer = 0;\r\n      let current = new Date(checkIn);\r\n      const end = new Date(checkOut);\r\n      while (current < end) {\r\n        const month = current.getMonth() + 1;\r\n        \/\/ \u03a7\u03b5\u03b9\u03bc\u03b5\u03c1\u03b9\u03bd\u03ae \u03c0\u03b5\u03c1\u03af\u03bf\u03b4\u03bf\u03c2: 1\/11 \u03ad\u03c9\u03c2 31\/3\r\n        if (month === 11 || month === 12 || month === 1 || month === 2 || month === 3) {\r\n          daysWinter++;\r\n        } else {\r\n          daysSummer++;\r\n        }\r\n        current.setDate(current.getDate() + 1);\r\n      }\r\n      return { daysWinter, daysSummer };\r\n    }\r\n\r\n    function calculateIdioti() {\r\n      const finalPrice = parseFloat(document.getElementById('finalPriceIdioti').value);\r\n      const propertyType = document.getElementById('propertyTypeIdioti').value;\r\n      const checkIn = document.getElementById('checkInIdioti').value;\r\n      const checkOut = document.getElementById('checkOutIdioti').value;\r\n\r\n      if (!checkIn || !checkOut || new Date(checkIn) >= new Date(checkOut)) {\r\n        document.getElementById('resultIdioti').innerHTML = \"\u0395\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b5 \u03c3\u03c9\u03c3\u03c4\u03ad\u03c2 \u03b7\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b5\u03c2.\";\r\n        return;\r\n      }\r\n\r\n      const { daysWinter, daysSummer } = countNightsByPeriod(checkIn, checkOut);\r\n\r\n      let taxPerDayWinter = 0;\r\n      let taxPerDaySummer = 0;\r\n\r\n      if (propertyType === 'monokatoikiaOver80') {\r\n        taxPerDayWinter = 4;\r\n        taxPerDaySummer = 15;\r\n      } else if (propertyType === 'monokatoikiaUnder80' || propertyType === 'diamperisma') {\r\n        taxPerDayWinter = 2;\r\n        taxPerDaySummer = 8;\r\n      }\r\n\r\n      const totalTAKK = (daysWinter * taxPerDayWinter) + (daysSummer * taxPerDaySummer);\r\n      const netValue = finalPrice - totalTAKK;\r\n\r\n      document.getElementById('resultIdioti').innerHTML =\r\n        `\u0394\u03b9\u03b1\u03bd\u03c5\u03ba\u03c4\u03b5\u03c1\u03b5\u03cd\u03c3\u03b5\u03b9\u03c2 \u03c7\u03b1\u03bc\u03b7\u03bb\u03ae\u03c2 \u03c0\u03b5\u03c1\u03b9\u03cc\u03b4\u03bf\u03c5: ${daysWinter}<br>` +\r\n        `\u0394\u03b9\u03b1\u03bd\u03c5\u03ba\u03c4\u03b5\u03c1\u03b5\u03cd\u03c3\u03b5\u03b9\u03c2 \u03c5\u03c8\u03b7\u03bb\u03ae\u03c2 \u03c0\u03b5\u03c1\u03b9\u03cc\u03b4\u03bf\u03c5: ${daysSummer}<br>` +\r\n        `\u03a4\u0391\u039a\u039a: \u20ac${totalTAKK.toFixed(2)}<br>\u039a\u03b1\u03b8\u03b1\u03c1\u03ae \u03b1\u03be\u03af\u03b1: \u20ac${netValue.toFixed(2)}`;\r\n    }\r\n\r\n    function calculateTAKK() {\r\n      const finalPrice = parseFloat(document.getElementById('finalPrice').value);\r\n      const vat = parseFloat(document.getElementById('vat').value);\r\n      const propertyType = document.getElementById('propertyType').value;\r\n      const checkIn = document.getElementById('checkIn').value;\r\n      const checkOut = document.getElementById('checkOut').value;\r\n\r\n      if (!checkIn || !checkOut || new Date(checkIn) >= new Date(checkOut)) {\r\n        document.getElementById('takkResult').innerHTML = \"\u0395\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b5 \u03c3\u03c9\u03c3\u03c4\u03ad\u03c2 \u03b7\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b5\u03c2.\";\r\n        return;\r\n      }\r\n\r\n      const { daysWinter, daysSummer } = countNightsByPeriod(checkIn, checkOut);\r\n\r\n      let taxPerDayWinter = 0;\r\n      let taxPerDaySummer = 0;\r\n\r\n      switch (propertyType) {\r\n        case 'enoikiazomena':\r\n          taxPerDayWinter = 0.5;\r\n          taxPerDaySummer = 2;\r\n          break;\r\n        case 'short_monokatoikiaOver80':\r\n        case 'villa':\r\n        case 'tourist_ano80':\r\n          taxPerDayWinter = 4;\r\n          taxPerDaySummer = 15;\r\n          break;\r\n        case 'short_monokatoikiaUnder80':\r\n        case 'short_diamerisma':\r\n        case 'tourist_kato80':\r\n          taxPerDayWinter = 2;\r\n          taxPerDaySummer = 8;\r\n          break;\r\n        default:\r\n          alert('\u039c\u03b7 \u03ad\u03b3\u03ba\u03c5\u03c1\u03bf\u03c2 \u03c4\u03cd\u03c0\u03bf\u03c2 \u03ba\u03b1\u03c4\u03b1\u03bb\u03cd\u03bc\u03b1\u03c4\u03bf\u03c2.');\r\n          return;\r\n      }\r\n\r\n      const totalTAKK = (daysWinter * taxPerDayWinter) + (daysSummer * taxPerDaySummer);\r\n      const netValue = finalPrice - totalTAKK;\r\n      const cleanValue = netValue \/ (1 + vat \/ 100) \/ 1.005;\r\n      const grossWithVAT = cleanValue * (1 + vat \/ 100);\r\n      const stayTax = (netValue \/ (1 + vat \/ 100) - cleanValue) * (1 + vat \/ 100);\r\n\r\n      document.getElementById('takkResult').innerHTML =\r\n        `\u0394\u03b9\u03b1\u03bd\u03c5\u03ba\u03c4\u03b5\u03c1\u03b5\u03cd\u03c3\u03b5\u03b9\u03c2 \u03c7\u03b1\u03bc\u03b7\u03bb\u03ae\u03c2 \u03c0\u03b5\u03c1\u03b9\u03cc\u03b4\u03bf\u03c5: ${daysWinter}<br>` +\r\n        `\u0394\u03b9\u03b1\u03bd\u03c5\u03ba\u03c4\u03b5\u03c1\u03b5\u03cd\u03c3\u03b5\u03b9\u03c2 \u03c5\u03c8\u03b7\u03bb\u03ae\u03c2 \u03c0\u03b5\u03c1\u03b9\u03cc\u03b4\u03bf\u03c5: ${daysSummer}<br>` +\r\n        `\u03a4\u0391\u039a\u039a: \u20ac${totalTAKK.toFixed(2)}<br>` +\r\n        `\u039a\u03b1\u03b8\u03b1\u03c1\u03ae \u03b1\u03be\u03af\u03b1 (\u03c4\u03b5\u03bb\u03b9\u03ba\u03ae - \u03a4\u0391\u039a\u039a - \u03a6\u03a0\u0391 - \u03b5\u03c0\u03b9\u03b2\u03ac\u03c1\u03c5\u03bd\u03c3\u03b7 0.5%): \u20ac${cleanValue.toFixed(2)}<br>` +\r\n        `\u039a\u03b1\u03b8\u03b1\u03c1\u03ae \u03b1\u03be\u03af\u03b1 + \u03a6.\u03a0.\u0391.: \u20ac${grossWithVAT.toFixed(2)}<br>` +\r\n        `\u03a6\u03cc\u03c1\u03bf\u03c2 \u03a0\u03b1\u03c1\u03b5\u03c0\u03b9\u03b4\u03b7\u03bc\u03bf\u03cd\u03bd\u03c4\u03c9\u03bd: \u20ac${stayTax.toFixed(2)}`;\r\n    }\r\n  <\/script>\r\n  <\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u0394\u03c9\u03c1\u03b5\u03ac\u03bd \u03a5\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc\u03c2 \u0391\u03be\u03af\u03b1\u03c2 \u039a\u03c1\u03ac\u03c4\u03b7\u03c3\u03b7\u03c2 (\u03a4\u0391\u039a\u039a, \u03a6\u03cc\u03c1\u03bf\u03c2 \u03a0\u03b1\u03c1\u03b5\u03c0\u03b9\u03b4\u03b7\u03bc\u03bf\u03cd\u03bd\u03c4\u03c9\u03bd) \u0395\u03af\u03c3\u03c4\u03b5: \u0399\u03b4\u03b9\u03ce\u03c4\u03b7\u03c2 \u0395\u03c0\u03b1\u03b3\u03b3\u03b5\u03bb\u03bc\u03b1\u03c4\u03af\u03b1\u03c2 \u03a4\u03b5\u03bb\u03b9\u03ba\u03ae \u03c4\u03b9\u03bc\u03ae \u03c0\u03bf\u03c5 \u03c0\u03bb\u03ae\u03c1\u03c9\u03c3\u03b5 \u03bf \u03b5\u03c0\u03b9\u03c3\u03ba\u03ad\u03c0\u03c4\u03b7\u03c2 (\u20ac): \u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c4\u03cd\u03c0\u03bf \u03ba\u03b1\u03c4\u03b1\u03bb\u03cd\u03bc\u03b1\u03c4\u03bf\u03c2: &#8212; \u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 &#8212;\u039c\u03bf\u03bd\u03bf\u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \u03ba\u03b1\u03b9 \u03ac\u03bd\u03c9 \u03c4\u03c9\u03bd 80\u03c4\u03bc\u039c\u03bf\u03bd\u03bf\u03ba\u03b1\u03c4\u03bf\u03b9\u03ba\u03af\u03b1 \u03ba\u03ac\u03c4\u03c9 \u03c4\u03c9\u03bd 80\u03c4\u03bc\u0394\u03b9\u03b1\u03bc\u03ad\u03c1\u03b9\u03c3\u03bc\u03b1 \u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 check-in: \u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1 check-out: \u03a5\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc\u03c2 \u03a4\u03b5\u03bb\u03b9\u03ba\u03ae \u03c4\u03b9\u03bc\u03ae \u03c0\u03bf\u03c5 \u03c0\u03bb\u03ae\u03c1\u03c9\u03c3\u03b5 \u03bf \u03b5\u03c0\u03b9\u03c3\u03ba\u03ad\u03c0\u03c4\u03b7\u03c2 (\u20ac): \u03a6.\u03a0.\u0391. (%): 13%24%0% \u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c4\u03cd\u03c0\u03bf \u03ba\u03b1\u03c4\u03b1\u03bb\u03cd\u03bc\u03b1\u03c4\u03bf\u03c2: &#8212; \u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 &#8212;\u0395\u03bd\u03bf\u03b9\u03ba\u03b9\u03b1\u03b6\u03cc\u03bc\u03b5\u03bd\u03b1 \u03b5\u03c0\u03b9\u03c0\u03bb\u03c9\u03bc\u03ad\u03bd\u03b1 \u03b4\u03c9\u03bc\u03ac\u03c4\u03b9\u03b1 &#8211; \u03b4\u03b9\u03b1\u03bc\u03b5\u03c1\u03af\u03c3\u03bc\u03b1\u03c4\u03b1\u0392\u03c1\u03b1\u03c7\u03c5\u03c7\u03c1\u03cc\u03bd\u03b9\u03b1 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_eb_attr":"","footnotes":""},"class_list":["post-7307","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/holihouse.gr\/en\/wp-json\/wp\/v2\/pages\/7307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/holihouse.gr\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/holihouse.gr\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/holihouse.gr\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/holihouse.gr\/en\/wp-json\/wp\/v2\/comments?post=7307"}],"version-history":[{"count":3,"href":"https:\/\/holihouse.gr\/en\/wp-json\/wp\/v2\/pages\/7307\/revisions"}],"predecessor-version":[{"id":11186,"href":"https:\/\/holihouse.gr\/en\/wp-json\/wp\/v2\/pages\/7307\/revisions\/11186"}],"wp:attachment":[{"href":"https:\/\/holihouse.gr\/en\/wp-json\/wp\/v2\/media?parent=7307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}