File: /www/exchange0old/exchange/admin/cache/%%C5^C5E^C5E5D401%%debtors_list.html.php
<?php /* Smarty version 2.6.19, created on 2024-06-17 10:34:22
compiled from common/debtors_list.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'count', 'common/debtors_list.html', 7, false),)), $this); ?>
<select class="cmb_bx1" name="debtor_id" id="debtor_id">
<option value="" selected="selected">Select</option>
<?php $_from = $this->_tpl_vars['debtors']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['item']):
?>
<option value='<?php echo $this->_tpl_vars['item']['debtor_id']; ?>
' <?php if ($this->_tpl_vars['values']['debtor_id'] == $this->_tpl_vars['item']['debtor_id']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['item']['debtor_name']; ?>
(<?php echo $this->_tpl_vars['item']['debtor_reference_id']; ?>
)</option>
<?php endforeach; endif; unset($_from); ?>
</select>
<?php if (isset ( $this->_tpl_vars['all_history']['debtor_name'] ) && count($this->_tpl_vars['all_history']['debtor_name']) > 1): ?>
<button class="btn btn-default btn-sm" title="Change Log" href="#" onclick="window.open('?do=get-invoice-changes-history&id=<?php echo $this->_tpl_vars['invoice_id']; ?>
&field=debtor_name','debtor_name_changes','width=400,height=400');return false;" style="margin-top: -5px;padding: 0;border: none;"><i class="glyphicon glyphicon-list-alt" ></i></button>
<?php endif; ?>
<br/>
<span style="color:#FF0000;">
<?php echo $this->_tpl_vars['errmsg']['debtor_id']; ?>
</span>