<div class="inner-content">
    <!--<img src="{$path}/assets/images/logo.png" width="100" class="logo">-->
    <div class="card">
        <h5 class="text-center">الكشف الحالى /</h5>
        <hr>
        <h6 class="name-p red">{$last_entered->patient_name}</h6>
    </div>
    <div class="card">

        <ul>
            <h5 class="text-center">الكشف التالى /</h5>
            <hr>
            {assign var=itr value=1}
            {foreach $result as $single}
            <li class="name-p {if $itr eq 1}green{/if}">
                {$single->patient_name}
            </li>
            {capture assign=itr}{$itr+1}{/capture}
            {/foreach}

        </ul>
    </div>
</div>