File: /www/exchange0old/exchange/admin/cache/%%92^925^925DFF8F%%allocation_report_reconciled.html.php
<?php /* Smarty version 2.6.19, created on 2024-08-14 16:53:07
compiled from reports/allocation_report_reconciled.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'number_format', 'reports/allocation_report_reconciled.html', 41, false),array('function', 'getTransactionName', 'reports/allocation_report_reconciled.html', 62, false),)), $this); ?>
<table class="table table-hover table-striped table-responsive table-bordered">
<?php $_from = $this->_tpl_vars['report']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['debtor']):
?>
<?php if ($this->_tpl_vars['debtor']['allocation']): ?>
<tr>
<th colspan="9" style="text-align: center">
<?php echo $this->_tpl_vars['debtor']['debtor']['debtor_reference_id']; ?>
<?php echo $this->_tpl_vars['debtor']['debtor']['debtor_name']; ?>
</th>
</tr>
<tr>
<th nowrap="nowrap">Traded</th>
<th nowrap="nowrap">Issued</th>
<th nowrap="nowrap">Trade ID</th>
<th nowrap="nowrap">EDSO</th>
<th nowrap="nowrap">Ref.</th>
<th nowrap="nowrap">Value(<?php echo $this->_tpl_vars['debtor']['debtor']['currency_code']; ?>
)</th>
<th nowrap="nowrap">Expected</th>
<th nowrap="nowrap">ADSO</th>
<th nowrap="nowrap">RDSO</th>
</tr>
<?php $_from = $this->_tpl_vars['debtor']['allocation']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['payment']):
?>
<?php $_from = $this->_tpl_vars['payment']['invoices']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['invoice']):
?>
<tr>
<td nowrap="nowrap" align="center">
<?php echo $this->_tpl_vars['invoice']['traded_date']; ?>
</td>
<td nowrap="nowrap" align="center">
<?php echo $this->_tpl_vars['invoice']['item_date']; ?>
</td>
<td nowrap="nowrap" align="left">
<?php echo $this->_tpl_vars['invoice']['trade_reference_id']; ?>
</td>
<td nowrap="nowrap" align="center">
<?php echo $this->_tpl_vars['invoice']['edso']; ?>
</td>
<td align="right">
<?php echo $this->_tpl_vars['invoice']['reference_prefix']; ?>
<?php echo $this->_tpl_vars['invoice']['item_reference']; ?>
</td>
<td align="right">
<?php echo ((is_array($_tmp=$this->_tpl_vars['invoice']['value'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : smarty_modifier_number_format($_tmp, 2)); ?>
</td>
<td nowrap="nowrap" align="center">
<?php echo $this->_tpl_vars['invoice']['expected_date']; ?>
</td>
<td nowrap="nowrap" align="center">
<?php echo $this->_tpl_vars['invoice']['adso']; ?>
</td>
<td nowrap="nowrap" align="center">
<?php echo $this->_tpl_vars['invoice']['rdso']; ?>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
<tr>
<td nowrap="nowrap" align="center">
<?php echo $this->_tpl_vars['payment']['payment']['traded_date']; ?>
</td>
<td nowrap="nowrap" align="center">
<?php echo $this->_tpl_vars['payment']['payment']['item_date']; ?>
</td>
<td nowrap="nowrap" align="left">
<?php echo smarty_function_getTransactionName(array('transaction' => $this->_tpl_vars['payment']['payment']), $this);?>
-
<?php echo $this->_tpl_vars['payment']['payment']['item_index']; ?>
</td>
<td></td>
<td></td>
<td align="right">
<?php echo ((is_array($_tmp=$this->_tpl_vars['payment']['payment']['value'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : smarty_modifier_number_format($_tmp, 2)); ?>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<?php $_from = $this->_tpl_vars['payment']['transactions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['transaction']):
?>
<tr>
<td nowrap="nowrap" align="center">
<?php echo $this->_tpl_vars['transaction']['traded_date']; ?>
</td>
<td nowrap="nowrap" align="center">
<?php echo $this->_tpl_vars['transaction']['item_date']; ?>
</td>
<td nowrap="nowrap" align="left">
<?php echo smarty_function_getTransactionName(array('transaction' => $this->_tpl_vars['transaction']), $this);?>
-
<?php echo $this->_tpl_vars['transaction']['item_index']; ?>
</td>
<td></td>
<td></td>
<td align="right">
<?php echo ((is_array($_tmp=$this->_tpl_vars['transaction']['value'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : smarty_modifier_number_format($_tmp, 2)); ?>
</td>
<td></td>
<td></td>
<td></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
<tr>
<td colspan="5"></td>
<td align="right"><?php echo ((is_array($_tmp=$this->_tpl_vars['payment']['payment']['summary'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2) : smarty_modifier_number_format($_tmp, 2)); ?>
</td>
<td colspan="3"></td>
</tr>
<tr>
<td colspan="9"></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
</table>