Files
crm.twinpol.com/modules/EcmPaymentStates/Dashlets/MySaldoDashlet/MySaldoDashlet.tpl
2025-05-12 15:46:37 +00:00

66 lines
2.1 KiB
Smarty
Executable File

<link rel="stylesheet" type="text/css" href="include/jQuery/jquery-table/jquery.appendGrid-1.3.1.css"/>
<link rel="stylesheet" type="text/css" href="include/jQuery/jquery-ui/themes/base/jquery-ui.css"/>
<script type="text/javascript" src="include/jQuery/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="include/jQuery/jquery-table/jquery.appendGrid-1.3.1.js"></script>
<script type="text/javascript" src="include/jQuery/jquery-ui/ui/jquery-ui.js"></script>
<script type="text/javascript" src="modules/EcmPaymentStates/javascript/summary.js"></script>
<style type="text/css">
{literal}
thead, tfoot {font-weight: bold;}
{/literal}
</style>
<table cellpadding="0" cellspacing="0" border="0" class="ListView" style="width:100%;">
<thead>
<tr>
<td class="oddListRowS1" style="text-align:left; width: 45%">
<p style="cursor: pointer;">{$MOD.LBL_SUMMARY_ACCOUNT}
</p>
</td>
<td class="oddListRowS1" style="text-align:right; width: 10%">
<p style="cursor: pointer;" >Saldo
</p>
</td>
<td class="oddListRowS1" style="text-align:right; width: 10%">
<p style="cursor: pointer;">Saldo na dziś
</p>
</td>
</tr>
</thead>
<tbody>
{foreach from=$DATA item=ROW name=loop}
{if $smarty.foreach.loop.index % 2 == 1}
<tr>
{else}
<tr style="background-color: #e6e6e6;">
{/if}
<td class="oddListRowS1" style="text-align:left;">
<img src="modules/EcmQuotes/images/search.gif" style="cursor: pointer;" onclick="showDetails('{$ROW.id}')"/>&nbsp;
<a href="index.php?module=EcmPaymentStates&action=AccountPaymentStates&return_module=EcmPaymentStates&return_action=DetailView&parentTab=Rozrachunki&account_id={$ROW.id}">
{$ROW.name}
</a>
</td>
<td class="oddListRowS1" style="text-align:right;">{$ROW.saldo}</td>
<td class="oddListRowS1" style="text-align:right;color: red;">{$ROW.today_saldo}</td>
</tr>
<tr id="details_{$ROW.id}" style="border-collapse: collapse; display:none;">
</tr>
{/foreach}
</tbody>
<tfoot>
<td class="oddListRowS1" style="text-align:left;">&nbsp;</td>
<td class="oddListRowS1" style="text-align:right;">{$SUM.saldo}</td>
<td class="oddListRowS1" style="text-align:right;">{$SUM.today_saldo}</td>
</tr>
<tfoot>
</table>