{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 $viewAll == -1}
{if $allvisit}
{assign var=i value=1} {foreach $allvisit as $key=>$value} confirm_attend == 1 && $programesetting->confirm_attend == 1} style="background-color: #d0f09f !important;" {else if $value->confirm_attend == 2 && $programesetting->confirm_attend == 1} style="background-color: #d1a6d1 !important;" {else if $value->confirm_attend == 3 && $programesetting->confirm_attend == 1} style="background-color: #fd8591 !important;" {/if} > {capture assign=i}{$i+1}{/capture} {/foreach}
{$i} {if $value->link == -1 || $value->link == '' } {$value->patientName} {else} {$value->patientName} {/if} {$value->statusno} {$value->visit_time} {$value->doctorName} {$value->detectionType}
{else}

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

{/if}
{else}
{if $allvisit}
{assign var=i value=1} {foreach $allvisit as $key=>$value} confirm_attend == 1 && $programesetting->confirm_attend == 1} style="background-color: #d0f09f !important;" {else if $value->confirm_attend == 2 && $programesetting->confirm_attend == 1} style="background-color: #d1a6d1 !important;" {else if $value->confirm_attend == 3 && $programesetting->confirm_attend == 1} style="background-color: #fd8591 !important;" {/if} > {if $value->for_department eq 12 && $value->view == 1 } {else if $value->for_department eq 12 && $value->view != 1} {else } {/if} {capture assign=i}{$i+1}{/capture} {/foreach}
{$i} {if $value->link == -1 || $value->link == '' } {$value->patientName} {else} {$value->patientName} {/if} {$value->statusno} {$value->visit_time} طباعة طباعة {$value->doctorName} {$value->detectionType}
{else}

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

{/if}
{/if}