{if $programesetting->system_type == 2 || $programesetting->system_lang == 2 } {else} {/if}
اسم {if $programesetting->system_type == 2 || $programesetting->system_lang == 2} الحالة {else} المريضة {/if}
{if $programesetting->system_lang != 2}
{/if}

يرجى إختيار حالة اولاً

{if $showBtn1 == 1 } {/if} {if $showBtn2 == 1 } {/if}
زيارات اليوم
{if $smarty.session.role_id eq 3 || $smarty.session.role_id eq 1}
{if $allvisit}
الكل {foreach $departs as $depart} {$depart->name} {/foreach}
{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} {capture assign=i}{$i+1}{/capture} {/foreach}
{$value->patientName} {$value->statusno} {$value->for_department_name} {$value->detectionType}
{else}

لا توجد زيارات بعد

{/if}
{else}
{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} {if $value->for_department eq 12 && $value->view == 1 } {else if $value->for_department eq 12 && $value->view != 1} {/if} {capture assign=i}{$i+1}{/capture} {/foreach}
{$value->patientName} طباعة طباعة {$value->statusno} {$value->detectionType}
{else}

لا توجد زيارات بعد

{/if}
{/if}