<?php /* Smarty version Smarty-3.1.11, created on 2023-08-16 18:25:33
         compiled from "..\views\obgy\visits\print.html" */ ?>
<?php /*%%SmartyHeaderCode:146964dcf87d344c07-80321208%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0658b9be7362bcc8f19c9317ac76b160ebecdd77' => 
    array (
      0 => '..\\views\\obgy\\visits\\print.html',
      1 => 1638654756,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '146964dcf87d344c07-80321208',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'detectionId' => 0,
    'printserial' => 0,
    'visitdate' => 0,
    'pat_name' => 0,
    'detection' => 0,
    'detectionvalue_cash' => 0,
    'notes' => 0,
    'user_name' => 0,
    'programesetting' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_64dcf87d56bc00_29595784',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_64dcf87d56bc00_29595784')) {function content_64dcf87d56bc00_29595784($_smarty_tpl) {?>
<div class="row text-right" style="direction: rtl;">
    <!--<h4 style="direction: rtl" class="arbfnt bold" >  شركة رويال للرعاية الصحية ش.م.م </h4>     
    <h4 style="direction: rtl" class="arbfnt bold" >مركز رويال للخصوبة</h4>     -->
    <?php if ($_smarty_tpl->tpl_vars['detectionId']->value==9999){?>
    <h2 class="h2 col-md-12" style="text-align: center;">إيصال  صرف  </h2>      
    <?php }else{ ?>
    <h2 class="h2 col-md-12" style="text-align: center;">إيصال  إستلام </h2>      
    <?php }?>

    <h6 class="col-md-12 enfnt" style="text-align: center;">  
        <span class="bold">   No  :   </span>  
        <span> <?php echo $_smarty_tpl->tpl_vars['printserial']->value;?>
 </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> <?php echo $_smarty_tpl->tpl_vars['visitdate']->value;?>
 </span>
                    </h4>
                </td>
            </tr>

            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span class="bold">   اسم الحالة   :     </span>
                        <span>
                            <?php echo $_smarty_tpl->tpl_vars['pat_name']->value;?>

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

            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span class="bold">   نوع الخدمة   :     </span>
                        <span> <?php echo $_smarty_tpl->tpl_vars['detection']->value;?>
 </span>
                    </h4>
                </td>
            </tr>

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

                        <?php if ($_smarty_tpl->tpl_vars['detectionId']->value==9999){?>
                        <span class="bold">   المبلغ المصروف  (نقدا )  :     </span>  
                        <?php }else{ ?>
                        <span class="bold">   المبلغ المدفوع (نقدا )  :     </span>
                        <?php }?>

                        <span> <?php echo $_smarty_tpl->tpl_vars['detectionvalue_cash']->value;?>
 </span>
                    </h4>
                </td>
            </tr>
            <?php if ($_smarty_tpl->tpl_vars['detectionId']->value==9999){?>
            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span class="bold">  ملاحظات   :     </span>  
                        <span> <?php echo $_smarty_tpl->tpl_vars['notes']->value;?>
 </span>
                    </h4>
                </td>
            </tr>
            <?php }?>

        </table>
    </div>

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

        <table style="width: 98%;margin: 5px auto;" cellpadding="2" class="noborder">
            <?php if ($_smarty_tpl->tpl_vars['detectionId']->value==9999){?>
            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span class="bold">    توقيع المستلم   :     </span>
                        <span></span>
                    </h4>
                </td>
            </tr>
            <?php }?>

            <tr>
                <td>
                    <h4 style="direction: rtl" class="arbfnt" >
                        <span class="bold">   اسم المستخدم   :     </span>
                        <span> <?php echo $_smarty_tpl->tpl_vars['user_name']->value;?>
</span>
                    </h4>
                </td>
            </tr>
        </table>
    </div>
</div>


<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>


<style>

    @page {
    size: auto;
    margin-top: <?php echo $_smarty_tpl->tpl_vars['programesetting']->value->above2;?>
cm !important;
    margin-bottom: <?php echo $_smarty_tpl->tpl_vars['programesetting']->value->buttom2;?>
cm !important;
    }

    .arbfnt {
    font-size: <?php echo $_smarty_tpl->tpl_vars['programesetting']->value->fontsizear2;?>
px !important;
    }

    .enfnt {
    font-size: <?php echo $_smarty_tpl->tpl_vars['programesetting']->value->fontsizeen2;?>
px !important;
    }

    #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><?php }} ?>