
<div class="row text-right" style="direction: rtl;width: 5cm ; height: 2.5cm;float: right">
    <div class="col-md-12">
        <table style="width: 100%;border: 1px solid black;">
            <tr>
                <td colspan="2">
                    <h4 style="margin-top: 3px;" class="arbfnt" >
                        <span  style="float: right;margin-right: 5px;">
                            <span>  
                                {if !empty($patient->wifename) && $patient->wifename != ""}
                                {$patient->wifename}
                                {else}
                                {$patient->husdandname} 
                                {/if} 
                            </span>
                        </span>
                    </h4>
                </td>
            </tr>
            <tr>
                <td>
                    <h4 style="   margin-top: 3px;" class="arbfnt" >
                        <span  style="float: right;margin-right: 5px;">
                            <img style="width: 50% ; height: 50%;"    src="{$hosturl}/../upload/qrcodes/{$patient->statusno}.png">
                        </span>
                    </h4>
                </td>

                <td>
                    <h4 style="margin-top: 3px;" class="arbfnt" >
                        <span  style="margin-left:  5px;">
                            <span> No :     </span>
                            <span> {$patient->statusno} </span>
                        </span>
                    </h4>
                </td>
            </tr>
        </table>
    </div>
</div>

{literal}
<style>

    .noborder tr { height: 10mm; }
    .bold { font-weight: bold;}
    .h1 { font-weight: 900; font-size: 28px;}
    .h2 { font-weight: 700; font-size: 24px;}
    .h22 { font-size: 26px;display: block;}

    .form-group.form-md-line-input .help-block {
        position: absolute;
        margin: 2px 0 0 0;
        opacity: 1;
        filter: alpha(opacity=0);
        font-size: 13px;
    }

    @media print {
        #patient_profile_print {
            transform: scale(.9);
        }

        .noborder tr { height: 10mm; }

        .bold { font-weight: bold;}
        .h1 { font-weight: 900; font-size: 28px;}
        .h2 { font-weight: 700; font-size: 24px;}
        .h22 { font-size: 26px;display: block;}
    }
</style>
{/literal}

<style>

    @page {ldelim}
    size: auto;
    margin-top: {$programesetting->above2}cm !important;
    margin-bottom: {$programesetting->buttom2}cm !important;
    {rdelim}

    .arbfnt {ldelim}
    font-size: {$programesetting->fontsizear2}px !important;
    {rdelim}

    .enfnt {ldelim}
    font-size: {$programesetting->fontsizeen2}px !important;
    {rdelim}

    #content, #page {
        width: 100%; 
        margin: 0; 
        float: none;
    }


    /* Unnötige Elemente ausblenden für den Druck */

    #header-widgets, nav, aside.mashsb-container, 
    .sidebar, .mashshare-top, .mashshare-bottom, 
    .content-ads, .make-comment, .author-bio, 
    .heading, .related-posts, #decomments-form-add-comment, 
    #breadcrumbs, #footer, .post-byline, .meta-single, 
    .site-title img, .post-tags, .readability 
    {
        display: none;
    }



</style>