<?php /* Smarty version Smarty-3.1.11, created on 2023-08-26 22:56:35
         compiled from "..\views\screen\screen_ordering\show.html.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2581564ea4bd69a5aa7-51304539%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5c4c91cc5d83d76bacf10196538576ecc0e0c85b' => 
    array (
      0 => '..\\views\\screen\\screen_ordering\\show.html.tpl',
      1 => 1693078272,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2581564ea4bd69a5aa7-51304539',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_64ea4bd6e981c2_47888338',
  'variables' => 
  array (
    'path' => 0,
    'roles' => 0,
    'role' => 0,
    'visit' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_64ea4bd6e981c2_47888338')) {function content_64ea4bd6e981c2_47888338($_smarty_tpl) {?><html>

    <head>
        <meta charset="UTF-8">
        <!-- CSS only -->
        <link href="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/screen_ordering/bootstrap.css" rel="stylesheet">

        <!-- JavaScript Bundle with Popper -->
        <script src="<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/screen_ordering/bootstrap.js"></script>
        <style>
            @font-face {
                font-family: "DroidSansArabic";
                src: url('<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/screen_ordering/fonts/DroidSansArabic.eot');
                src: url('<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/screen_ordering/fonts/DroidSansArabic.woff');
                src: url('<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/screen_ordering/fonts/DroidSansArabic.woff2'),
                    url('<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/screen_ordering/fonts/DroidSansArabic.svg#DroidSansArabic') format('svg'),
                    url('<?php echo $_smarty_tpl->tpl_vars['path']->value;?>
/screen_ordering/fonts/DroidSansArabic.ttf') format('truetype');
                font-weight: normal;
                font-style: normal;
            }

            *,
            ion-label {
                font-family: 'DroidSansArabic';
            }

            .card {
                margin: 2px 0;
            }

            h5.card-title {
                background-color: #2c2b4b;
                color: #fff;
                text-align: center;
                padding: 18px 0 10px;
                font-size: 24px;
                border-radius: 5px 5px 0 0;
            }

            .card-title span {
                font-weight: bold;
                width: 30px;
                height: 30px;
                background-color: #ffffff;
                border-radius: 50%;
                display: inline-block;
                color: #2c2b4b;
                margin-left: 9px;
            }

            .card-body {
                padding: 0;
            }

            .col-md-3 {
                padding: 1px 3px;
            }

            h6.card-subtitle.text-muted {
                text-align: center;
                margin: 10px !important;
                font-weight: bold;
                font-size: 20px;
                color: #2c2b4b !important
            }

            body {
                background: #c850c0;
                background: -webkit-linear-gradient(45deg, #4158d0, #c850c0);
                background: -o-linear-gradient(45deg, #4158d0, #c850c0);
                background: -moz-linear-gradient(45deg, #4158d0, #c850c0);
                background: linear-gradient(45deg, #4158d0, #c850c0);
                direction: rtl;
                margin-top: 5px;
            }
        </style>
    </head>

    <body>

        <div class="container-fluid">
            <div class="row justify-content-md-center">

                <?php  $_smarty_tpl->tpl_vars['role'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['role']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['roles']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['role']->key => $_smarty_tpl->tpl_vars['role']->value){
$_smarty_tpl->tpl_vars['role']->_loop = true;
?>
                    <?php if ($_smarty_tpl->tpl_vars['role']->value->visits_count>0){?>
                        <div class="col-md-3">
                            <div class="card">
                                <div class="card-body">
                                    <h5 class="card-title"><span><?php echo $_smarty_tpl->tpl_vars['role']->value->visits_count;?>
</span><?php echo $_smarty_tpl->tpl_vars['role']->value->name;?>

                                    </h5>
                                    <?php  $_smarty_tpl->tpl_vars['visit'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['visit']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['role']->value->visits; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['visit']->key => $_smarty_tpl->tpl_vars['visit']->value){
$_smarty_tpl->tpl_vars['visit']->_loop = true;
?>
                                        <h6 class="card-subtitle text-muted">
                                            <?php echo $_smarty_tpl->tpl_vars['visit']->value->patient_name;?>

                                            <?php if ($_smarty_tpl->tpl_vars['visit']->value->for_department==13){?>
                                                &nbsp;  ( <span style="color: blue;"><?php echo $_smarty_tpl->tpl_vars['visit']->value->for_doctor_name;?>
 </span> )
                                            <?php }?>
                                        </h6>
                                    <?php } ?>
                                </div>
                            </div>
                        </div>
                    <?php }?>
                <?php } ?>

            </div>
        </div>


    </body>

</html><?php }} ?>