<style>
    .fntSize { font-size: 23px;}
    .bold { font-weight: 900;}
    .center { text-align: center;}

    @media print {
        .fntSize { font-size: 23px;}
        .bold { font-weight: 900;}
        .center { text-align: center;}
        .break { page-break-after: always;}
    }
</style>

{if  $sampletypes_count > 0    }

{foreach $sampletypes as $data}

<div class="row break " style="direction: rtl;margin-top:10px !important; ">
    <div class="col-md-12">

        <table style="width: 98%;margin: 5px auto;    margin-top: 2%;" >
            <tr>
                <td class="center">
                    <span class="bold fntSize" style="margin-right:  2%;" >{$name}</span>
                </td>
            </tr>

            <tr>
                <td class="center">
                    <span class="bold fntSize" style="  margin-left: 2%;direction: ltr;">  
                        {$gender}-{$age}  {$visit->visittime}   {$visit->visitdate}
                    </span>
                </td>
            </tr>

            {if $data.showDocName == 1  }
            <tr>
                <td class="center">
                    <span class="bold fntSize" style="margin-right:  2%;" >  {$docName} </span>
                </td>
            </tr>
            {/if}

            <tr>
                <td class="center"> <img id="xx"  src="{$hosturl}/../upload/barcodes/{$statusNo}.png" height="20"></td>
            </tr>

            <tr>
                <td> <hr style="border-top: 1px solid #8c8b8b;margin: 5px 0;"> </td>
            </tr>

            <tr>
                <td>
                    <span class="bold" style="float: left;    margin-left: 5%; text-align: left;">{$data.invests }</span>
                </td>
            </tr>

            <tr>
                <td> <hr style="border-top: 1px solid #8c8b8b;margin: 5px 0;"> </td>
            </tr>

            <tr>
                <td>
                    <span class="bold" style="float: left; margin-right:  2%;margin-left: 5%;">{$data.samplename}</span>
                </td>
            </tr>

        </table>
    </div>
</div>
{/foreach}

{/if}

{if  $empty_count > 0    }

<div class="row break " style="direction: rtl;margin-top:10px !important; ">
    <div class="col-md-12">

        <table style="width: 98%;margin: 5px auto;    margin-top: 2%;" >
            <tr>
                <td class="center">
                    <span class="bold fntSize" style="margin-right:  2%;">{$name}</span>
                </td>
            </tr>

            <tr>
                <td class="center">
                    <span class="bold fntSize" style="   margin-left: 2%;direction: ltr;">  
                        {$gender}-{$age}  {$visit->visittime}   {$visit->visitdate}
                    </span>
                </td>
            </tr>

            {if $showDocName == 1  }
            <tr>
                <td class="center">
                    <span class="bold fntSize" style="margin-right:  2%;" >  {$docName} </span>
                </td>
            </tr>
            {/if}

            <tr>
                <td class="center"> <img id="xx"  src="{$hosturl}/../upload/barcodes/{$statusNo}.png" height="20"></td>
            </tr>

            <tr>
                <td> <hr style="border-top: 1px solid #8c8b8b;margin: 5px 0;"> </td>
            </tr>

            <tr>
                <td>

                    <span class="bold" style="float: left;    margin-left: 5%; text-align: left;">{$empty_invests}</span>

                </td>
            </tr>

            <tr>
                <td> <hr style="border-top: 1px solid #8c8b8b;margin: 5px 0;"> </td>
            </tr>

            <tr>
                <td>

                    <span style="margin-right:  2%;margin-left: 5%;"></span>

                </td>
            </tr>

        </table>
    </div>
</div>

{/if}







