
<div    id="patient_profile_print">

    <div class="row text-right" style="direction: rtl;">
        <div class="col-md-12">
            <h1 class="h1" style="text-align: center;">إذن قبول دخول المركز </h1>              
        </div>

        <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 style="float: right;margin-right: 5px;margin-left: 20%">
                                <span class="bold">  RFC ( للزوجة  ) : </span>
                                <span id="prt_rfc_w" > {$patient.wrfc} </span>
                            </span>
                        </h4>
                    </td>
                    <td>
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span style="float: right;margin-right: 5px;margin-left: 20%">
                                <span class="bold">  RFC ( للزوج )  : </span>
                                <span id="prt_rfc_h" >{$patient.rfc}</span>
                            </span>
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span   style="float: right;margin-right: 5px;margin-left: 20%">
                                <span class="bold">    التاريخ  :    </span>
                                <span id="prt_date">{$smarty.now|date_format:"%Y-%m-%d"}</span></span>
                        </h4>
                    </td>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span  style="float: right;margin-right: 5px;">
                                <span class="bold">  وسيلة المعرفة بالمركز :      </span>
                                <span id="prt_knownfrom">{$patient.knownfrom }</span></span>
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span   style="float: right;margin-right: 5px;margin-left: 20%">
                                <span class="bold"> اسم الزوجه:       </span>
                                <span id="prt_w_name">{$patient.wifename }</span></span>
                        </h4>
                    </td>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span   style="float: right;margin-right: 5px;">
                                <span class="bold">  اسم الزوج :      </span>
                                <span id="prt_h_name">{$patient.husdandname }</span></span>
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span  style="float: right;margin-right: 5px;margin-left: 20%">
                                <span class="bold">  السن:      </span>
                                <span id="prt_wage">{$patient.wAge }</span></span>
                        </h4>
                    </td>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span  style="float: right;margin-right: 5px;">
                                <span class="bold">   السن :     </span>
                                <span id="prt_hage">{$patient.hAge }</span></span>
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span  style="float: right;margin-right: 5px;margin-left: 20%">
                                <span class="bold">  رقم قومى :      </span>
                                <span id="prt_wnational">{$patient.wifenationalid }</span></span>
                        </h4>
                    </td>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span  style="float: right;margin-right: 5px;">
                                <span class="bold">  رقم قومى  :      </span>
                                <span id="prt_hnational">{$patient.husbandnationalid }</span></span>
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span   style="float: right;margin-right: 5px;margin-left: 20%"> 
                                <span class="bold">  الوظيفة :     </span>
                                <span id="prt_wjob">{$patient.wifejob }</span></span>
                        </h4>
                    </td>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span   style="float: right;margin-right: 5px;">
                                <span class="bold">  الوظيفة  :      </span>
                                <span id="prt_hjob">{$patient.husbandjob }</span></span>
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span   style="float: right;margin-right: 5px;margin-left: 20%">
                                <span class="bold"> الجنسية / الديانة  :      </span>
                                <span id="prt_wreligion">{$patient.religion }/ {$patient.nationality }</span></span>
                        </h4>
                    </td>

                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span   style="float: right;margin-right: 5px;">
                                <span class="bold">  الجنسية / الديانة   :     </span>
                                <span id="prt_hreligion">{$patient.hreligion }/ {$patient.hnationality }</span></span>
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span  style="float: right;margin-right: 5px;margin-left: 20%">
                                <span class="bold">    الموبايل 1 :    </span>
                                <span id="prt_phone">{$patient.phone }</span></span>
                        </h4>
                    </td>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span   style="float: right;margin-right: 5px;">
                                <span class="bold">   الموبايل 2  :     </span>
                                <span id="prt_mobile">{$patient.mobile }</span></span>
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span   style="float: right;margin-right: 5px;">
                                <span class="bold">   العنوان  :     </span>
                                <span id="prt_address">{$patient.address }</span></span>
                        </h4>
                    </td>
                    <td style="width: 50%;">

                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span   style="float: right;margin-right: 5px;margin-left: 20%">
                                <span class="bold">   الطبيب المحول  :     </span>
                                <span id="prt_wrefer">{$patient.refer_doctor }</span></span>
                        </h4>
                    </td>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span  style="float: right;margin-right: 5px;">
                                <span class="bold">   الطبيب المحول   :     </span>
                                <span id="prt_hrefer">{$patient.h_refer_doctor }</span></span>
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span  style="float: right;margin-right: 5px;margin-left: 20%">
                                <span class="bold">   الطبيب المعالج (1)  :     </span>
                                <span id="prt_wdoc1">{$patient.doctor1 }</span></span>
                        </h4>
                    </td>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span   style="float: right;margin-right: 5px;">
                                <span class="bold">   الطبيب المعالج (1)   :     </span>
                                <span id="prt_hdoc1">{$patient.h_doctor1 }</span></span>
                        </h4>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span   style="float: right;margin-right: 5px;margin-left: 20%">
                                <span class="bold">   الطبيب المعالج (2)  :     </span>
                                <span id="prt_wdoc2">{$patient.doctor2 }</span></span>
                        </h4>
                    </td>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span  style="float: right;margin-right: 5px;">
                                <span class="bold">  الطبيب المعالج (2)   :      </span>
                                <span id="prt_hdoc2">{$patient.h_doctor2 }</span></span>
                        </h4>
                    </td>
                </tr>
                <tr>

                    <td colspan="2">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span  style="float: right;margin-right: 5px;margin-left: 20%">
                                <span class="bold">   الخدمة المطلوبة :     </span>
                                <span id="prt_service"></span></span>
                        </h4>
                    </td>

                </tr>

                <tr>

                    <td colspan="2">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span  style="float: right;margin-right: 5px;margin-left: 20%">
                                <span class="bold">   التشخيص  :     </span>
                                <span id="prt_service">{$patient.diagnosis }</span></span>
                        </h4>
                    </td>

                </tr>

                <tr class="emptyLine">
                    <td  colspan="2"> </td>
                </tr>

                <tr>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span class="bold"  style="margin-right: 20%">الطبيب المقيم       </span>
                        </h4>
                    </td>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >
                            <span class="bold"  style="float: left;    margin-left: 45%;">مدير عام المركز</span>
                        </h4>
                    </td>
                </tr>

                <tr>
                    <td style="width: 50%;">
                        </br>
                        </br>
                    </td>
                    <td style="width: 50%;">
                        <h4 style="direction: rtl" class="arbfnt" >

                        </h4>
                    </td>
                </tr>

                <tr>
                    <td style="width: 50%;">
                        <!--img id="xx"  src="{$hosturl}/../upload/barcodes/{$getOnePatient->statusno}.png"-->
                    </td>
                    <td style="width: 50%;text-align: center;">
                        <h4 style="direction: rtl">
                            <span id="prt_patient_no" style="font-weight: bolder; font-size: 75px;" >{$patient.statusno }</span>
                        </h4>
                    </td>
                </tr>


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

</div>

{literal}
<style>

    .noborder tr { height: 10mm; }
    .emptyLine{ height: 20mm !important; }
    .bold { font-weight: bold;}
    .h1 { font-weight: 900; font-size: 28px;}

    .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; }
        .emptyLine{ height: 20mm !important; }

        .bold { font-weight: bold;}
        .h1 { font-weight: 900; font-size: 28px;}
    }
</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>