
<div class="row text-right" style="direction: rtl;">
    <!--<h4 style="direction: rtl" class="arbfnt bold" >  شركة رويال للرعاية الصحية ش.م.م </h4>     
    <h4 style="direction: rtl" class="arbfnt bold" >مركز رويال للخصوبة</h4>     -->
    {if $detectionId == 9999 }
    <h2 class="h2 col-md-12" style="text-align: center;">إيصال  صرف  </h2>      
    {else}
    <h2 class="h2 col-md-12" style="text-align: center;">إيصال  إستلام </h2>      
    {/if}

    <h6 class="col-md-12 enfnt" style="text-align: center;">  
        <span class="bold">   No  :   </span>  
        <span> {$printserial} </span> 
    </h6>  

    <hr style="border: 1px solid black;">

    <div class="col-md-12">
        <table style="width: 98%;margin: 5px auto;" cellpadding="2" class="noborder">

            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span class="bold">   التاريخ   :     </span>
                        <span> {$visitdate} </span>
                    </h4>
                </td>
            </tr>

            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span class="bold">   اسم الحالة   :     </span>
                        <span>
                            {$pat_name}
                        </span>
                    </h4>
                </td>
            </tr>

            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span class="bold">   نوع الخدمة   :     </span>
                        <span> {$detection} </span>
                    </h4>
                </td>
            </tr>

            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >

                        {if $detectionId == 9999 }
                        <span class="bold">   المبلغ المصروف  (نقدا )  :     </span>  
                        {else}
                        <span class="bold">   المبلغ المدفوع (نقدا )  :     </span>
                        {/if}

                        <span> {$detectionvalue_cash} </span>
                    </h4>
                </td>
            </tr>
            {if $detectionId == 9999 }
            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span class="bold">  ملاحظات   :     </span>  
                        <span> {$notes} </span>
                    </h4>
                </td>
            </tr>
            {/if}

        </table>
    </div>

    <hr style="border: 1px solid black;">
    <div class="col-md-12">

        <table style="width: 98%;margin: 5px auto;" cellpadding="2" class="noborder">
            {if $detectionId == 9999 }
            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span class="bold">    توقيع المستلم   :     </span>
                        <span></span>
                    </h4>
                </td>
            </tr>
            {/if}

            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span class="bold">   اسم المستخدم   :     </span>
                        <span> {$user_name}</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: 26px;}

    .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: 26px;}
    }
</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>