{if $programesetting->system_lang == 1} {/if} {if $programesetting->system_lang == 1} {/if} {if $showBranchCol == 1} {/if} {if $programesetting->regions == 1} {/if} {if $labSetting->job_order == 1} {/if} {if $programesetting->confirm_attend == 1} {/if} {if $programesetting->attend_today == 1} {/if} {if $programesetting->regions == 1} {/if} {if $allowPayVisit == 1} {/if} {assign var=i value=1} {foreach $allvisit as $row} detectionid == 9999}style="background-color: #efc9cc;" {else if $row->tempPatient == 1} style="background-color: #e1caf4;" {else if $row->customer_add == 1} style="background-color: #f1f16d;" {else if $row->confirm_attend == 1 && $programesetting->confirm_attend == 1} style="background-color: #d0f09f;" {else if $row->confirm_attend == 2 && $programesetting->confirm_attend == 1} style="background-color: #d1a6d1;" {else if $row->confirm_attend == 3 && $programesetting->confirm_attend == 1} style="background-color: #fd8591;" {/if} > {if $programesetting->system_lang == 1} {/if} {if $programesetting->system_lang == 1} {/if} {if $showBranchCol == 1} {/if} {if $programesetting->regions == 1} {/if} {if $labSetting->job_order == 1} {/if} {if $programesetting->confirm_attend == 1} {/if} {if $programesetting->attend_today == 1} {/if} {if $programesetting->regions == 1} {/if} {if $allowPayVisit == 1} {/if} {if $row->tempPatient == 1} {else} {if $allowEditVisit == 1 || ($row->customer_add == 1 && $row->service_edit != 1 )} {if $row->detectionid == 9999} {else if $row->detectionid == 999} {else} {/if} {else} {/if} {/if} {if $allowDeleteVisit == 1 || ($row->customer_add == 1 && $row->service_edit != 1 )} {else} {/if} {capture assign=i}{$i+1}{/capture} {/foreach}
# Name Pat No. Pat Id. Husband Mobile Date Patient User Branch Region Notes Barcode Receipt Bill Job Order Attend Whatsapp Collect Attended Follow To Dr Pay Edit Del
{$i} {$row->patientName} {$row->patientstatusno} {$row->patientNatNo} {$row->husbandname}
  • {$row->phone}
  • {$row->mobile}
{$row->visitdate} {if $row->for_husband eq 1} Husband {else if $row->for_husband eq 2} {if $row->child_gender eq 1} Boy {else} Girl {/if} {if $row->child_name != '' && $row->child_name != null } ({$row->child_name}) {/if} {else} Wife{/if} {$row->user_name} {$row->branch_name} {$row->subregion} {if $row->showRedirectNote == 1} Dr Note : {$row->redirect_note} {/if} {if $row->phone != '' && $row->phone != null } {/if} collect == 1 } style="display: none;" {/if} >Yes collect != 1 } style="display: none;" {/if} > No today_list != 1 } style="display: none;" {/if} >Cancel today_list == 1 } style="display: none;" {/if} > Done Follow {if $row->drPhone != '' && $row->drPhone != null } {/if} {if $row->visitDept > 0 } {/if} Profile
{if $smarty.session.role_id eq 12} {literal} {/literal} {/if} {if $smarty.session.role_id eq 5} {literal} {/literal} {/if} {literal} {/literal}