
{literal}
<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>

{/literal}
{literal}
<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>

{/literal}
<div class="prntbl2">
    <center><h4 class="modal-title bold">{$listObj.name } Price List </h4></center>

    {if  $investsCount > 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>
            {assign var="i" value="1"}
            {foreach $invests as $data}
            <tr class="odd ">
                <td>{$i}</td>
                <td>{$data.name}</td>
                <td>{$data.contract_price}</td>
                <td>{$data.patient_hold}</td>
                <td>{$data.discount_type}</td>
            </tr>
            {assign var="i" value={$i+1}}
            {/foreach}
        </tbody>
    </table>
    {/if}


    {if  $offersCount > 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>
            {assign var="i" value="1"}
            {foreach $offers as $data}
            <tr class="odd ">
                <td>{$i}</td>
                <td>{$data->name}</td>
                <td>{$data->contract_price}</td>
                <td>{$data->patient_hold}</td>
                <td>{$data->discount_type}</td>
            </tr>
            {assign var="i" value={$i+1}}
            {/foreach}
        </tbody>
    </table>
    {/if}
</div>