{if $showBtn1 == 1 }
{/if}
{if $showBtn2 == 1 }
{/if}
{if $smarty.session.role_id eq 3 || $smarty.session.role_id eq 1}
{else}
{/if}
زيارات اليوم
{if $allvisit}
{assign var=i value=1}{assign var=link_is value='index.php?'}
{foreach $allvisit as $key=>$value}
{if $smarty.session.role_id eq 1}
{capture assign=link_is}patients.php?ac=edit&{/capture}
{/if}
{else}
الكل
{foreach $departs as $depart}
{$depart->name}
{/foreach}
| {$value->patientName} | {$value->statusno} | {$value->for_department_name} | {$value->detectionType} |
لا توجد زيارات بعد
{/if}
{if $allvisit_for}
{if $smarty.session.role_id eq 4}
عياده النسا
عمليات اليوم
{/if}
{assign var=i value=1}{assign var=link_is value='index.php?'}
{foreach $allvisit_for as $key=>$value}
{if $value->for_department eq 12}
{capture assign=link_is}invsdept.Php?ac=index&patientid={/capture}
{elseif $value->for_department eq 5}
{capture assign=link_is}raysdept.php?ac=index&patientid={/capture}
{elseif $value->for_department eq 8}
{capture assign=link_is}and_visits.php?ac=index&patientid={/capture}
{elseif $value->for_department eq 4}
{capture assign=link_is}patienthistory.php?ac=show&patientid={/capture}
{elseif $value->for_department eq 13}
{capture assign=link_is}patienthistory.php?ac=show&patientid={/capture}
{elseif $value->for_department eq 11}
{capture assign=link_is}patienthistory.php?ac=show&patientid={/capture}
{elseif $value->for_department eq 2}
{capture assign=link_is}receipt.php?ac=show&patientid={/capture}
{else}
{capture assign=link_is}patienthistory.php?ac=show&patientid={/capture}
{/if}
{else}
| {$value->patientName} | {if $value->for_department eq 12 && $value->view == 1 }طباعة | {else if $value->for_department eq 12 && $value->view != 1}طباعة | {/if}{$value->statusno} | {$value->detectionType} |
لا توجد زيارات بعد
{/if}