<?php /* Smarty version Smarty-3.1.11, created on 2024-08-12 09:22:23
         compiled from "../views/obgy/organizations/list_print.html" */ ?>
<?php /*%%SmartyHeaderCode:31425512466b9aa1fe07c39-12688325%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e197856ca29efffd8d4062ae44eac8f0178c747d' => 
    array (
      0 => '../views/obgy/organizations/list_print.html',
      1 => 1723443628,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '31425512466b9aa1fe07c39-12688325',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'listObj' => 0,
    'investsCount' => 0,
    'invests' => 0,
    'i' => 0,
    'data' => 0,
    'offersCount' => 0,
    'offers' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66b9aa1fe6d4a0_45364798',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66b9aa1fe6d4a0_45364798')) {function content_66b9aa1fe6d4a0_45364798($_smarty_tpl) {?>

<style>


    .prntbl2 {
        padding:0px !important;
        width:95% !important;
        margin:0px auto !important;
    }
    .prntbl2 table{
        border-collapse: collapse !important;
        width:100% !important;
        margin:0px !important;
        padding:0px !important;
    }
    .prntbl2 table th {
        background-color: #2D2D2D !important;
        background: #2D2D2D !important;
        border:0px solid #000000 !important;
        border-width:0px 0px 1px 1px !important;
        font-size:15px !important;
        font-family:Arial !important;
        font-weight:bold !important;
        color: #FFFFFF !important;
        text-align: center !important;
    }
    .prntbl2 tr:hover td{

    }
    .prntbl2 tr:nth-child(odd){
        background-color: #E0E0E0 !important;
    }
    .prntbl2 tr:nth-child(even)    {
        background-color:#ffffff !important;
    }
    .prntbl2 td{
        border:1px solid #000000 !important;
        padding: 0px 3px !important;
        font-size: 13px !important;
        font-family: tahoma !important;
        color:#000000 !important;
        text-align: left !important;
    }


    .prntbl2 th, .prntbl2 tt, .prntbl2 td {
        line-height: 20px !important;
        padding: 1px 5px !important;


    }

    .prntbl2 span {
        font-weight: 700;
    }

</style>



<style>


    .prntbl2 {
        padding:0px !important;
        width:95% !important;
        margin:0px auto !important;
    }
    .prntbl2 table{
        border-collapse: collapse !important;
        width:100% !important;
        margin:0px !important;
        padding:0px !important;
    }
    .prntbl2 table th {
        background-color: #2D2D2D !important;
        background: #2D2D2D !important;
        border:0px solid #000000 !important;
        border-width:0px 0px 1px 1px !important;
        font-size:15px !important;
        font-family:Arial !important;
        font-weight:bold !important;
        color: #FFFFFF !important;
        text-align: center !important;
    }
    .prntbl2 tr:hover td{

    }
    .prntbl2 tr:nth-child(odd){
        background-color: #E0E0E0 !important;
    }
    .prntbl2 tr:nth-child(even)    {
        background-color:#ffffff !important;
    }
    .prntbl2 td{
        border:1px solid #000000 !important;
        padding: 0px 3px !important;
        font-size: 13px !important;
        font-family: tahoma !important;
        color:#000000 !important;
        text-align: left !important;
    }


    .prntbl2 th, .prntbl2 tt, .prntbl2 td {
        line-height: 20px !important;
        padding: 1px 5px !important;


    }

    .prntbl2 span {
        font-weight: 700;
    }

</style>


<div class="prntbl2">
    <center><h4 class="modal-title bold"><?php echo $_smarty_tpl->tpl_vars['listObj']->value['name'];?>
 Price List </h4></center>

    <?php if ($_smarty_tpl->tpl_vars['investsCount']->value>0){?>
    <table class="table" style="margin-top:15px  !important;">
        <thead>
            <tr><td colspan="5" class="txtc"><h5 class="bold">Tests </h5> </td></tr>
            <tr>
                <td style="width: 10px !important;">#</td>
                <td> Name</td>
                <td> Contract Price </td>
                <td> Hold </td>
                <td> Type (0 for value , 1 for % ) </td>
            </tr>
        </thead>
        <tbody>
            <?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("1", null, 0);?>
            <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['invests']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
            <tr class="odd ">
                <td><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['data']->value['name'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['data']->value['contract_price'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['data']->value['patient_hold'];?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['data']->value['discount_type'];?>
</td>
            </tr>
            <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable($_tmp1, null, 0);?>
            <?php } ?>
        </tbody>
    </table>
    <?php }?>


    <?php if ($_smarty_tpl->tpl_vars['offersCount']->value>0){?>
    <table class="table" style="margin-top:15px  !important;">
        <thead>
            <tr><td colspan="5" class="txtc"><h5 class="bold">Offers </h5> </td></tr>
            <tr>
                <td style="width: 10px !important;">#</td>
                <td> Name</td>
                <td> Contract Price </td>
                <td> Hold </td>
                <td> Type (0 for value , 1 for % ) </td>
            </tr>
        </thead>
        <tbody>
            <?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable("1", null, 0);?>
            <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['offers']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
            <tr class="odd ">
                <td><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['data']->value->contract_price;?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['data']->value->patient_hold;?>
</td>
                <td><?php echo $_smarty_tpl->tpl_vars['data']->value->discount_type;?>
</td>
            </tr>
            <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["i"] = new Smarty_variable($_tmp2, null, 0);?>
            <?php } ?>
        </tbody>
    </table>
    <?php }?>
</div><?php }} ?>