Files
zurawik.pl/template/partial/Index/IndexSent.tpl
2026-05-15 18:33:51 +02:00

94 lines
4.2 KiB
Smarty

<div style="text-align: left;">
<h2>{$indexNews->GetName()}</h2><p></p>
<h3>Podsumowanie </h3>
<p>{'info_wysłane'|translate}</p>
<div>
<div class="divFormTable">
<div class="divTableFormBody">
<div class="divTableFormRow">
<div class="divTableFormCell"><h3>Dane uczestnika:</h3>
Imię: {$objParticipant->getName()}</br>
Nazwisko: {$objParticipant->getSurname()}</br>
Tytuł/stop. naukowy:{$objParticipant->getDegree()}</br>
Stanowisko: {$objParticipant->getPosition()}</br>
Telefon: {$objParticipant->getPhone()}</br>
Fax: {$objParticipant->getFax()}</br>
Email: {$objParticipant->getEmail()}</br>
</div>
</div>
<div class="divTableFormRow">
<div class="divTableFormCell"><h3>Dane instytucji:</h3>
Instytucja: {$objParticipant->getInstitution()}</br>
Ulica i numer: {$objParticipant->getAddress()}</br>
Kod pocztowy: {$objParticipant->getPostCode()}</br>
Miejscowość: {$objParticipant->getCity()}</br>
NIP Instytucji: {$objParticipant->getNip()}</br>
</div>
</div>
<div class="divTableFormRow">
<div class="divTableFormCell"><h3>Dane wystapienia:</h3>
Referat: {$objParticipant->getReferat()|replace:1:'Tak'|replace:2:'Nie'}</br>
Poster: {$objParticipant->getPoster()|replace:1:'Tak'|replace:2:'Nie'}
<p>Temat: {$objParticipant->getMessage()|default:'brak'}</p>
</div>
</div>
<div class="divTableFormRow">
<div class="divTableFormCell"><h3>Informacje o płatości:</h3>
<div>
Wybrane opcje:</br>
<ul>
{foreach $arrayObjParameters as $objParam}
{if in_array($objParam->GetId(),$arrayFee)}
<li>{$objParam->GetName()} {if $objParam->GetId() eq 5}({$objParticipant->GetFeeOneDay()}){/if}</br>
Cena netto: {$objParam->GetPrice()|number_format:2:",":" "} PLN</br>
Cena brutto: {assign var="vat" value=$objParam->GetPrice()*1.23}{$vat|number_format:2:",":" "} PLN</br>
</li>
{/if}
{/foreach}
<h3>Suma:</h3>
{assign var="resultPrice" value=$objParticipant->getPrice()}
Cena netto: {$resultPrice|number_format:2:",":" "} PLN</br>
Cena brutto: {assign var="resultPriceVat" value=$resultPrice*1.23}{$resultPriceVat|number_format:2:",":" "} PLN</br>
<p>{'klauzula_ceny'|translate}</p>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{literal}
<style>
.divTableForm{
display: table;
width: 70%;
}
.divTableFormRow {
display: table-row;
}
.divTableFormHeading {
background-color: #EEE;
display: table-header-group;
}
.divTableFormCell, .divTableFormHead {
border: 0px solid #999999;
display: table-cell;
padding: 3px 10px;
}
.divTableFormHeading {
background-color: #EEE;
display: table-header-group;
font-weight: bold;
}
.divTableFormFoot {
background-color: #EEE;
display: table-footer-group;
font-weight: bold;
}
.divTableFormBody {
display: table-row-group;
}
</style>
{/literal}