File: /www/exchange0old/exchange/admin/cache/%%DE^DE5^DE54C87B%%all_transactions_internal.html.php
<?php /* Smarty version 2.6.19, created on 2024-06-27 15:01:49
compiled from statements/all_transactions_internal.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'number_format', 'statements/all_transactions_internal.html', 32, false),array('modifier', 'substr', 'statements/all_transactions_internal.html', 86, false),array('modifier', 'ucfirst', 'statements/all_transactions_internal.html', 86, false),array('function', 'substr', 'statements/all_transactions_internal.html', 83, false),array('function', 'getTransactionName', 'statements/all_transactions_internal.html', 87, false),array('function', 'getTransactionRStatus', 'statements/all_transactions_internal.html', 88, false),array('function', 'pagination', 'statements/all_transactions_internal.html', 97, false),)), $this); ?>
<style>
.empty_cell
{
display: none;
}
</style>
<!-- Start -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td valign="top" align="center" class="inves_top1" colspan="4" width="50%">RSA Details</td>
<td valign="top" align="right" class="inves_top1" colspan="2" width="50%">
</td>
</tr>
<tr class="row1">
<td valign="top" align="right" width="20%"><strong>Start Date :</strong> </td>
<td valign="top" align="left" width="13%"><?php echo $this->_tpl_vars['rate']['3']['0']; ?>
</td>
<td valign="top" align="right" width="24%"><strong>Originator ID :</strong> </td>
<td valign="top" align="left" width="10%"><?php echo $this->_tpl_vars['rate']['5']; ?>
</td>
<td valign="top" align="right" width=""></td>
<td valign="top" align="left" width="7%"></td>
</tr>
<tr class="row1">
<td valign="top" align="right" width="15%"><strong>Review Date :</strong> </td>
<td valign="top" align="left"><?php echo $this->_tpl_vars['rate']['3']['1']; ?>
</td>
<td valign="top" align="right"><strong>Purchase Payment :</strong>
</td>
<td valign="top" align="left"><?php echo ((is_array($_tmp=$this->_tpl_vars['rate']['6'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : smarty_modifier_number_format($_tmp, 2)); ?>
<?php if ($this->_tpl_vars['rate']['6'] != ''): ?>%<?php endif; ?></td>
<td valign="top" align="right"></td>
<td valign="top" align="left" width="10%"></td>
</tr>
<tr class="row1">
<td valign="top" align="right" ><strong>Payment Terms:</strong></td>
<td valign="top" align="left"><?php echo $this->_tpl_vars['rate']['4']; ?>
</td>
<td valign="top" align="right"><strong>Sell Rate Percentage :</strong>
</td>
<td valign="top" align="left"><?php echo ((is_array($_tmp=$this->_tpl_vars['rate']['1'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 3) : smarty_modifier_number_format($_tmp, 3)); ?>
<?php if ($this->_tpl_vars['rate']['1'] != ''): ?>%<?php endif; ?></td>
<td valign="top" align="right"></td>
<td valign="top" align="left" width="10%"></td>
</tr>
<tr class="row1">
<td valign="top" align="right"><strong>Avg. Discount:</strong></td>
<td valign="top" align="left"><?php echo $this->_tpl_vars['avg_discount']; ?>
%</td>
<td colspan="4"></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td valign="top" align="center" class="inves_top1" colspan="2">Payment/Credit Note Transaction Overview</td>
</tr>
</table>
<?php if (! empty ( $this->_tpl_vars['result'] )): ?>
<div class="success-msgbox">
<?php echo $this->_tpl_vars['result']; ?>
</div>
<?php endif; ?>
<table cellpadding="0" cellspacing="0" border="0" width="100%" id="listDebtor" class="table table-hover table-striped table-responsive">
<thead>
<tr>
<th valign="top" align="center">Created</th>
<th valign="top" align="left">ID</th>
<th valign="top" align="left">Counterparty</th>
<th valign="top" align="left">Type</th>
<th valign="top" align="left">Transaction Type</th>
<th valign="top" align="right">Amount</th>
<th valign="top" align="left"> </th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['item']):
?>
<tr>
<td><?php echo $this->_tpl_vars['item']['transaction_date']; ?>
</td>
<td align="left" valign="middle"><?php echo $this->_tpl_vars['item']['debtor_reference_id']; ?>
</td>
<td align="left" valign="middle" style="padding-left:10px !important;">
<?php if ($this->_tpl_vars['item']['debtor_name'] == ''): ?>
n\a
<?php else: ?>
<?php echo smarty_function_substr(array('string' => $this->_tpl_vars['item']['debtor_name'],'lenght' => 14), $this);?>
<?php endif; ?>
</td>
<td align="center" valign="middle"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['item']['type'])) ? $this->_run_mod_handler('substr', true, $_tmp, 0, 1) : substr($_tmp, 0, 1)))) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : ucfirst($_tmp)); ?>
</td>
<td><?php echo smarty_function_getTransactionName(array('transaction' => $this->_tpl_vars['item']), $this);?>
</td>
<td align="right"> <?php echo smarty_function_getTransactionRStatus(array('transaction' => $this->_tpl_vars['item']), $this);?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['item']['amount'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : smarty_modifier_number_format($_tmp, 2)); ?>
</td>
<td align="center"> </td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
<tfoot>
<tr>
<th colspan="7" style="text-align: center;" align="center">
<?php if ($this->_tpl_vars['xls'] == 0): ?>
<?php echo smarty_function_pagination(array('totalpages' => $this->_tpl_vars['totalpages']), $this);?>
<?php endif; ?>
</th>
</tr>
</tfoot>
</table>
<!-- End -->