This commit is contained in:
2026-04-28 15:09:21 +02:00
parent 1ec08a5356
commit b47bb0f942
2 changed files with 565 additions and 96 deletions

View File

@@ -41,7 +41,7 @@
<div class="entry">
<div class="label">{translate word='Telefon'}:</div>
<div class="value">{formField name="phone" type="text" errorClass="warning"}</div>
</div>
</div>
<div class="entry">
<div class="label">{translate word='Fax'}:</div>
<div class="value">{formField name="fax" type="text" errorClass="warning"}</div>
@@ -97,7 +97,7 @@
<div class="control__indicator"></div>
</label>
</div>
</div>
</div>
<div class="cb"></div>
<div class="entry">
<div class="label">{translate word='registration_submit_poster'}</div>
@@ -113,38 +113,38 @@
</label>
</div>
</div>
</div>
<div class="cb"></div>
<div class="entry">
<div class="label">{translate word='Tytuł referatu/posteru'}:</div>
<div class="value">{formField name="message" type="text" errorClass="warning"}</div>
</div>
</div>
<div class="cb"></div>
<div class="entry">
<div class="label">{translate word='Autor referatu/posteru'}:</div>
<div class="value">{formField name="autor" type="text" errorClass="warning"}</div>
</div>
</div>
<div class="cb">&nbsp;</div>
<div class="entry">
<label class="control control--checkbox" title="{translate word='agree_title'}">
<input type="checkbox" name="agree1" id="agree1" data-theme="d" >{translate word='agree1'}
<div class="control__indicator"></div>
</label>
</label>
<label class="control control--checkbox" title="{translate word='agree_title'}">
<input type="checkbox" name="agree2" id="agree2" data-theme="d" >{translate word='agree2'}
<div class="control__indicator"></div>
</label>
</label>
<div class="cb"></div>
</div>
<div class="entry">
<div><h5 align="center">{translate word='Udział w konrefencji'}:</h5></div>
</div>
<div class="entry">
<div class="label">{translate word='Opłata'}: </div>
<div class="value">
<div class="confOption">
<div class="confOption">
<label class="control control--radio">{translate word='registration_fee_discount_2026'}
<input type="radio" name="conference_fee_disc" id="conference_fee_disc" checked="true" class="conference_fee_disc" value="1" onclick="calculatePrice();"/>
<div class="control__indicator"></div>
@@ -171,13 +171,13 @@
</label>
<span>{translate word='registration_participation_full_cta'}</span>
</div>
<div style="width:100%; display:flex; flex-wrap:no-wrap; align-items:start; gap;10px; margin-bottom:30px;">
<!-- <div style="width:100%; display:flex; flex-wrap:no-wrap; align-items:start; gap;10px; margin-bottom:30px;">
<label class="control control--radio">&nbsp;
<input type="radio" name="conference_fee" id="conference_fee_1_lodging" class="conference_fee" value="5" onclick="calculatePrice()" />
<div class="control__indicator"></div>
</label>
<span>{translate word='registration_participation_one_day_lodging_cta'}</span>
</div>
</div>-->
<div style="width:100%; display:flex; flex-wrap:no-wrap; align-items:start; gap;10px; margin-bottom:30px;">
<label class="control control--radio">&nbsp;
<input type="radio" name="conference_fee" id="conference_fee_1" class="conference_fee" value="5" onclick="calculatePrice()" />
@@ -208,12 +208,12 @@
var registrationPrices = {/literal}{$registrationPricesJson}{literal};
var registrationVatMultiplier = parseFloat('{/literal}{$registrationVatMultiplier}{literal}');
$(function () {
$(function () {
$('#conference_1').show();
calculatePrice();
});
$('.conference_fee').on('change', showSelectDate);
function showSelectDate() {
const selectedId = $('.conference_fee:checked').attr('id');
$('#one_day_lodging').val('0');
@@ -237,14 +237,14 @@
//alert('disc');
var price = {/literal}{$arrayPricePromJson}{literal};
var priceVat = {/literal}{$arrayPricePromVatJson}{literal};
}
}
if ($("#conference_fee_norm").is(':checked')) {
//alert('normal');
var price = {/literal}{$arrayPriceJson}{literal};
var priceVat = {/literal}{$arrayPriceVatJson}{literal};
}
}
var sumPrice = 0;
var sumPriceVat = 0;
var price_info = '';
@@ -255,7 +255,7 @@
sumPrice = price[1];
sumPriceVat = priceVat[1];
price_info += 'cała conf ';
}
}
if ($('#conference_fee_1').is(':checked')) {
sumPrice = !promo ? parseFloat(registrationPrices.one_day.price_prom) : parseFloat(registrationPrices.one_day.price_normal);
@@ -267,7 +267,7 @@
sumPriceVat = sumPrice * registrationVatMultiplier;
price_info += '1-dniowa z noclegiem';
}
if ($("#price_plus_room").is(':checked')) {
sumPrice = sumPrice + price[2];
sumPriceVat = sumPriceVat + priceVat[2];
@@ -293,15 +293,15 @@
$("p.price_info").html(price_info);
window.sumPrice = sumPrice;
window.sumPriceVat = sumPriceVat;
}
$(function () {
$(".conference_fee").on('change', function () {
if ($("#conference_fee_one").is(':checked')) {
$(function () {
$(".conference_fee").on('change', function () {
if ($("#conference_fee_one").is(':checked')) {
$("#price_plus_room").prop("checked", false);
$("#price_plus_ang").prop("checked", false);
$("#price_plus_person").prop("checked", false);
}
$("#price_plus_person").prop("checked", false);
}
});
});
{/literal}
@@ -316,7 +316,7 @@
("checked", true);" value="3" onchange="calculatePrice();" >
<div class="control__indicator"></div>
</label>
<label class="control control--checkbox" style="display: none;" > Udział w kongresie Ang.
<label class="control control--checkbox" style="display: none;" > Udział w kongresie Ang.
<input type="checkbox" name="fee_ang_conference" id="price_plus_ang" data-theme="d" value="4" onchange="calculatePrice();" >
<div class="control__indicator"></div>
</label>
@@ -324,12 +324,12 @@
</div>
</div>
</div>
</div>
</div>
<div class="entry" style="display:none;">
<div class="label">{translate word='Jeden dzień (bez noclegu)'}:</div>
<div class="value">
<div class="configContainer">
<div class="confOption">
<div class="confOption">
<label class="control control--radio">&nbsp;
<input type="radio" name="conference_fee" id="conference_fee_one" class="conference_fee" value="5" onclick="$('#conference_1').hide();
$('#conference_2').show(); calculatePrice();" />
@@ -357,7 +357,7 @@
</div>
</div>
</div>
</div>
</div>
<div class="entry">
<div class="label">{translate word='registration_diet_preferences'}:</div>
<div class="value">
@@ -378,7 +378,7 @@
<div class="entry">
<div class="label">{translate word='registration_conference_price'}</div>
<div class="value"><p class="price_full_fee" style="margin: 0px;">&nbsp;</p></div>
</div>
<div class="entry">
@@ -390,7 +390,7 @@
<p>{$indexNews->GetShortnote()}</p>
</div>
<div class="entry" style="padding-top: 1.1em;">
<div class="label"> </div>
<div class="value"><div class="g-recaptcha" data-sitekey="6LfUVuoUAAAAAD7noZ6S0rf8ZPiZKQ2KVpNBA274" data-callback="recaptchaCallback"></div>
@@ -400,7 +400,7 @@
<div class="entry entryLast">
<div class="label">&nbsp;</div>
<div class="value"><input class="button _sendContact" type="button" id="form--send" value="{translate word='send'}" /></div>
</div>
</div>
</form>
</div>