first commit
This commit is contained in:
103
_rejestracja/_Admin/template/partial/Calc/Reg.tpl
Normal file
103
_rejestracja/_Admin/template/partial/Calc/Reg.tpl
Normal file
@@ -0,0 +1,103 @@
|
||||
<h1>Konferencja - Rejestracja</h1>
|
||||
|
||||
{dropDownContainer title='Zgłoszenia Rejestracji'}
|
||||
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr class="selAllRow">
|
||||
{*<td class="cornerTop"></td><td colspan="6"><a href="#">Zaznacz wszystkie</a> <a href="#">usuń</a>
|
||||
</td>*}
|
||||
</tr>
|
||||
<tr>
|
||||
{*<td class="selAll"> </td> *}
|
||||
<th><div style="float:left; width:100%">Lp.<div class="sort"><a class="ascendingAct" href="#"> </a><a class="descending" href="#"> </a></div></div></th>
|
||||
<th>Imię</th>
|
||||
<th>Nazwisko</th>
|
||||
<th>Dane uczestnika</th>
|
||||
<th>Dane instytucji</th>
|
||||
<th>Dane wystąpienia</th>
|
||||
<th>Do zapłaty</th>
|
||||
<th>Zgody</th>
|
||||
<th>Status opłaty</th>
|
||||
{* <th>Data rejestracji</th> *}
|
||||
<th class="noSort"> </div></th>
|
||||
</tr>
|
||||
{assign var=x value=0}
|
||||
{foreach from=$arrayObj item=obj}
|
||||
{assign var=x value=$x+1}
|
||||
{assign var=id value=$obj->GetId()}
|
||||
{assign var=arrayFee value=$obj->getFeeFullUnserialize()}
|
||||
{if isset($arrayFee['disc'])}
|
||||
{assign var=discPrice value=$arrayFee['disc']}
|
||||
{else}
|
||||
{assign var=discPrice value='brak'}
|
||||
{/if}
|
||||
<tr>
|
||||
{*<td class="selAll"><input name="Checkbox1" type="checkbox" /></td> *}
|
||||
<td>{$x}</td>
|
||||
<td>{$obj->GetName()}</td>
|
||||
<td>{$obj->GetSurname()}</td>
|
||||
<td>Tytuł/stop. naukowy:{$obj->getDegree()}</br>
|
||||
Stanowisko: {$obj->getPosition()}</br>
|
||||
Telefon: {$obj->getPhone()}</br>
|
||||
Fax: {$obj->getFax()}</br>
|
||||
Email: {$obj->getEmail()}</br></td>
|
||||
<td>Instytucja: {$obj->getInstitution()}</br>
|
||||
Ulica i numer: {$obj->getAddress()}</br>
|
||||
Kod pocztowy: {$obj->getPostCode()}</br>
|
||||
Miejscowość: {$obj->getCity()}</br>
|
||||
NIP Instytucji: {$obj->getNip()}</br></td>
|
||||
<td>Referat: {$obj->getReferat()|replace:1:'Tak'|replace:0:'Nie'|replace:2:'Nie'}</br>
|
||||
Poster: {$obj->getPoster()|replace:1:'Tak'|replace:0:'Nie'|replace:2:'Nie'}
|
||||
<p>Temat: {$obj->getMessage()|default:'brak'}</p>
|
||||
<p>Streszczemie: {$obj->getMessageLong()|default:'brak'|truncate:150}</p>
|
||||
<p>Autor: {$obj->getAutor()|default:'brak'}</p></td>
|
||||
<td>Wybrane opcje:</br>
|
||||
{if $discPrice == 2}
|
||||
|
||||
Opłata zwykła (płatność <b>po 08.10.2021</b>)
|
||||
{else}
|
||||
Opłata obniżona (płatność <b>do 08.10.2021</b>)
|
||||
{/if}
|
||||
<ul>
|
||||
{foreach $arrayObjParameters as $objParam}
|
||||
{if in_array($objParam->GetId(),$arrayFee)}
|
||||
{if $discPrice == 2}
|
||||
<li>{$objParam->GetName()} {if $objParam->GetId() eq 5}({$obj->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>
|
||||
{else}
|
||||
<li>{$objParam->GetName()} {if $objParam->GetId() eq 5}({$obj->GetFeeOneDay()}){/if}</br>
|
||||
Cena netto (bez VAT): {$objParam->GetPriceProm()|number_format:2:",":" "} PLN</br>
|
||||
Cena brutto (z VAT): {assign var="vat" value=$objParam->GetPriceProm()*1.23}{$vat|number_format:2:",":" "} PLN</br>
|
||||
</li>
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
<h3>Razem do zapłaty:</h3>
|
||||
{assign var="resultPrice" value=$obj->getPrice()}
|
||||
Cena netto: {$resultPrice|number_format:2:",":" "} PLN</br>
|
||||
Cena brutto: {assign var="resultPriceVat" value=$resultPrice*1.23}{$resultPriceVat|number_format:2:",":" "} PLN</br>
|
||||
|
||||
|
||||
</ul>
|
||||
</td>
|
||||
<td>Zgoda przetwarzanie danych: {$obj->GetAgree1()|replace:1:'Tak'|replace:0:'Nie'} </br>
|
||||
Zgoda przetwarzanie wizerunku: {$obj->GetAgree2()|replace:1:'Tak'|replace:0:'Nie'}
|
||||
</td>
|
||||
<td>{$obj->GetStatus()|replace:2:'Tak'|replace:1:'Nie'}</td>
|
||||
{* <td>{$obj->GetDateAdd()}</td>*}
|
||||
<td style="width:15px">
|
||||
<a href="{url Calc=RegEdit id=$id}" class="edit">edytuj</a><a href="{url Calc=RegDelete id=$id}" onclick="{literal}if (confirm('Czy napewno usunąć ten element?')) { } else {return false;}{/literal}" class="delete">usuń</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<tr class="selAllRow">
|
||||
{*<td class="cornerBottom"></td><td colspan="6"><a href="#">Zaznacz wszystkie</a><a href="#">usuń</a>
|
||||
|
||||
<div class="pager"><div class="perpage">wyświetl:<br/><select id="perpage" class="tiny " name="#"><option>10</option><option>25</option><option>50</option><option>100</option></select></div><a href="#" class="prvnext">« poprzednia</a><a href="#">1</a><a class="active" href="#">2</a><a href="#">3</a>...<a href="#">50</a><a href="#">51</a><a href="#">52</a>...<a href="#">100</a><a class="prvnext" href="#">następna »</a></div></td> *}
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
{/dropDownContainer}
|
||||
Reference in New Issue
Block a user