Add TPL files
This commit is contained in:
28
modules/EcmServiceNews/tpl/DetailViewItems.tpl
Executable file
28
modules/EcmServiceNews/tpl/DetailViewItems.tpl
Executable file
@@ -0,0 +1,28 @@
|
||||
<table class="list view" cellspacing="0" cellpadding="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th nowrap="nowrap" scope="col" style="width:40%">Produkt</th>
|
||||
<th nowrap="nowrap" scope="col" style="text-align:right;width:20%">Ilość</th>
|
||||
<th nowrap="nowrap" scope="col" style="text-align:right;width:20%">Cena</th>
|
||||
<th nowrap="nowrap" scope="col" style="text-align:right;width:20%">Wartość</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$fields.items_list.value key=indeks item=pozycja}
|
||||
<tr class="evenListRowS1">
|
||||
<td>
|
||||
{$pozycja.ecmproduct_name}
|
||||
</td>
|
||||
<td style="text-align:right;">
|
||||
{$pozycja.quantity|number_format:$pozycja.ecmproduct_unit_precision:",":"."}
|
||||
</td>
|
||||
<td style="text-align:right;">
|
||||
{$pozycja.price|number_format:2:",":"."}
|
||||
</td>
|
||||
<td style="text-align:right;">
|
||||
{$pozycja.total|number_format:2:",":"."}
|
||||
</td>
|
||||
<tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user