<?php /* Smarty version Smarty-3.1.11, created on 2024-05-22 00:30:13
         compiled from "..\views\obgy\store\show.html" */ ?>
<?php /*%%SmartyHeaderCode:9009664d9f05a2cf45-61485697%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '559a92103f030ed103f60b7c6fa1ed384b0bcdc2' => 
    array (
      0 => '..\\views\\obgy\\store\\show.html',
      1 => 1542464240,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9009664d9f05a2cf45-61485697',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'shcontrollname' => 0,
    'breadcrumbs' => 0,
    'drugstore' => 0,
    'datastore' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_664d9f05b734e8_68374559',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_664d9f05b734e8_68374559')) {function content_664d9f05b734e8_68374559($_smarty_tpl) {?><!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">
        <!-- BEGIN PAGE HEADER-->
        <h3 class="page-title">
            <?php echo $_smarty_tpl->tpl_vars['shcontrollname']->value;?>

        </h3>
        <div class="page-bar">
            <ul class="page-breadcrumb">
                <?php echo $_smarty_tpl->tpl_vars['breadcrumbs']->value;?>

            </ul>
        </div>
        <!-- END PAGE HEADER-->
        <!-- BEGIN PAGE CONTENT-->
        <div class="row">
            <div class="col-md-12">
                <div class="portlet light bg-inverse">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="icon-equalizer font-red-sunglo"></i>
                            <span class="caption-subject font-red-sunglo bold uppercase">Add Import medicine</span>
                        </div>
                    </div>
                    <table class="table" id="datatable_1">
                        <thead>
                            <tr>
                                <th>Drug Name</th>
                                <th>Amount Before</th>
                                
                                <th>Amount Cash</th>
                                <th>Amount After</th>
                                <th>Operation Date</th>
                                <th class="wds1">Type</th>

                            </tr>
                        </thead>
                        <tbody>

                            <?php  $_smarty_tpl->tpl_vars['datastore'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['datastore']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['drugstore']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['datastore']->key => $_smarty_tpl->tpl_vars['datastore']->value){
$_smarty_tpl->tpl_vars['datastore']->_loop = true;
?>
                            <tr>
                                <td><?php echo $_smarty_tpl->tpl_vars['datastore']->value->drugname;?>
</td>
                                <td><?php echo $_smarty_tpl->tpl_vars['datastore']->value->amountbefore;?>
</td>

                                
                                <td><?php echo $_smarty_tpl->tpl_vars['datastore']->value->amountvary;?>
</td>
                                <td><?php echo $_smarty_tpl->tpl_vars['datastore']->value->amountafter;?>
</td>
                                <td><?php echo $_smarty_tpl->tpl_vars['datastore']->value->opdate;?>
</td>

                                <td>
                                    <?php if ($_smarty_tpl->tpl_vars['datastore']->value->optype==0){?>
                                    <p  class="btn red btn-xs"> Import </p>
                                    <?php }elseif($_smarty_tpl->tpl_vars['datastore']->value->optype==1){?>
                                    <p class="btn btn-xs green">Export</p>
                                    <?php }elseif($_smarty_tpl->tpl_vars['datastore']->value->optype==2){?>
                                    <p class="btn btn-xs blue">Update</p>
                                    <?php }elseif($_smarty_tpl->tpl_vars['datastore']->value->optype==3){?>
                                    <p class="btn btn-xs yellow">Delete</p>
                                    <?php }?>
                                </td>

                            </tr>
                            <?php } ?>
                        </tbody>
                    </table>




                </div>
            </div>
        </div>
    </div>
    <!-- END PAGE CONTENT-->
</div>

<!-- END CONTENT --><?php }} ?>