<?php
/* Smarty version 5.4.2, created on 2024-11-25 07:40:53
  from 'file:../default/ps_modal_list.tpl' */

/* @var \Smarty\Template $_smarty_tpl */
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
  'version' => '5.4.2',
  'unifunc' => 'content_67447055e25d59_06117601',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '28922b0027f2d53e655211867c10f5d37a5299e9' => 
    array (
      0 => '../default/ps_modal_list.tpl',
      1 => 1730635718,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
))) {
function content_67447055e25d59_06117601 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = '/Users/razib/Herd/suite/ui/theme/default';
?><div class="mx-auto" style="max-width: 800px;">
    <div class="panel mb-0 rounded-0">
        <div class="panel-hdr">
            <h2><?php echo $_smarty_tpl->getValue('_L')['Products n Services'];?>
</h2>
        </div>
        <div class="panel-container">
            <div class="panel-content">
                <table class="table table-striped table-bordered" id="modal_items_table">
                    <thead>
                    <tr>
                        <th width="10%">#</th>
                        <th width="20%"><?php echo $_smarty_tpl->getValue('_L')['Item Code'];?>
</th>
                        <th><?php echo $_smarty_tpl->getValue('_L')['Item Name'];?>
</th>

                        <th width="15%"><?php echo $_smarty_tpl->getValue('_L')['Price'];?>
</th>
                        <th><?php echo $_smarty_tpl->getValue('_L')['Tax Code'];?>
</th>
                    </tr>
                    </thead>
                    <tbody>

                    <?php
$_from = $_smarty_tpl->getSmarty()->getRuntime('Foreach')->init($_smarty_tpl, $_smarty_tpl->getValue('d'), 'ds');
$foreach0DoElse = true;
foreach ($_from ?? [] as $_smarty_tpl->getVariable('ds')->value) {
$foreach0DoElse = false;
?>
                        <tr>
                            <td><input type="checkbox" class="si"></td>
                            <td><?php echo $_smarty_tpl->getValue('ds')['id'];?>
</td>
                            <td><?php echo $_smarty_tpl->getValue('ds')['name'];?>
</td>

                            <td class="price"><?php echo $_smarty_tpl->getSmarty()->getModifierCallback('formatCurrency')($_smarty_tpl->getValue('ds')['sales_price'],$_smarty_tpl->getValue('config')['home_currency'],$_smarty_tpl->getValue('format_currency_override'));?>
</td>
                            <td class="tax_code"><?php echo $_smarty_tpl->getValue('ds')['tax_code'];?>
</td>
                        </tr>
                    <?php
}
$_smarty_tpl->getSmarty()->getRuntime('Foreach')->restore($_smarty_tpl, 1);?>


                    </tbody>
                </table>

                <div class="mb-3">
                    <button type="button" data-bs-dismiss="modal" class="btn"><?php echo $_smarty_tpl->getValue('_L')['Close'];?>
</button>
                    <button class="btn btn-primary update"><?php echo $_smarty_tpl->getValue('_L')['Select'];?>
</button>
                </div>
            </div>
        </div>
    </div>
</div>
<?php }
}
