{if $smarty.session.role_id eq 3 || $smarty.session.role_id eq 1 || $smarty.session.role_id eq 12 || $smarty.session.role_id eq 5 || $smarty.session.role_id neq 0}
إضافة مريضة جديدة
إضافة زيارة جديدة
{/if}
زيارات اليوم
{if $programesetting->entryorder == 1 }
{if $allvisit} {assign var=i value=1} {foreach $allvisit as $key=>$value} {if $value->view == 1}
  • {else}
  • {/if} {$i} {$value->detectionType} {$value->statusno} {$value->patientName}
  • {capture assign=i}{$i+1}{/capture} {/foreach}
    {else}

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

    {/if}
    {else} {/if} {if $smarty.session.role_id eq 3 || $smarty.session.role_id eq 1}
    {if $allvisit|@count gt 0} الكل عياده النساء عياده الذكوره معمل الاشعه معمل الاجنه معمل التحاليل عمليات اليوم
      {assign var=i value=1}{assign var=link_is value='index.php?'} {foreach $allvisit as $key=>$value} {if $value->for_department eq 3} {capture assign=link_is}patients.php?ac=edit&{/capture} {else} {capture assign=link_is}patients.php?ac=edit&{/capture} {/if} {if $value->for_department eq 4} {if $value->view == 1}
    • {$i}
      {$value->statusno}
      {$value->for_department_name}
      {$value->detectionType}
    • {else}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {/if} {elseif $value->for_department eq 5} {if $value->view == 1}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {/if} {elseif $value->for_department eq 8} {if $value->view == 1}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {/if} {elseif $value->for_department eq 11} {if $value->view == 1}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {/if} {elseif $value->for_department eq 12} {if $value->view == 1}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {/if} {elseif $value->for_department eq 13} {if $value->view == 1}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {else}
    • {$value->statusno}
      {$value->for_department_name} {if !empty($value->operation_time) }{/if}
      {$value->detectionType}
    • {/if} {/if} {capture assign=i}{$i+1}{/capture} {/foreach}
    {else}

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

    {/if}
    {else}
    {if $allvisit_for|@count gt 0} {if $smarty.session.role_id eq 4} عياده النسا عمليات اليوم
    {/if} {else}

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

    {/if}
    {/if}