{if $patTotalDeptId > 0 }
Patient Total Dept {$patTotalDept}
{/if} {if $showBranchCol == 1} {/if} {if $organizations != 1 } {/if} {if $organizations == 3 } {/if} {if $login_role != 19 } {/if} {if $share == 1 } {/if} {if $referDrShow == 1 && $share != 1 } {/if} {if $referDrShow == 1 } {/if} {if $assDrShow == 1 } {/if} {if $share == 2 } {/if} {assign var="i" value="1"} {foreach $allData as $data} {if $showBranchCol == 1} {/if} {if $organizations != 1 } {/if} {if $organizations == 3 } {/if} {if $login_role != 19 } {/if} {if $share == 1 } {if $data.for_husband == 1 } {else} {/if} {/if} {if $referDrShow == 1 && $share != 1 } {/if} {if $referDrShow == 1 } {/if} {if $assDrShow == 1 } {/if} {if $share == 2 } {/if} {assign var="i" value={$i+1}} {/foreach}
# Rec. No. Patient Name Patient No. الفرع Wife National No. Husband National No. Dept. Type Belong To Contract Price Total Discount Cash Visa Debt RFC Refer Dr. DoctorVisit Dr Dr Fee Refer Dr Refer Fee Assistant Fee Notes User name Visit Date Visit Hour
{$i} {$data.printserial} {if $data.for_husband == 1 } {$data.husdandname} {else if $data.for_husband == 2} طفل / {$data.wifename} {else} {$data.wifename} {/if} {$data.statusno} {$data.branch_name}{$data.wifenationalid} {$data.husbandnationalid} {$data.deptName} {$data.type}{$data.orgName}{$data.contract_price} {$data.totaldetectionvalue} {$data.discount} {$data.detectionvalue_cash} {$data.detectionvalue_visa} {$data.restdetectionvalue} {$data.rfc} {$data.refer} {$data.h_doctor} {$data.doctor} {$data.visitDoctor} {if $drDeptName == 1 } - {$data.deptName} {/if} {$data.drFees} {$data.refer} {$data.refer_salary} {$data.assistant_salary} {$data.vnotes} {$data.insert_user} {$data.visitdate}{$data.visitHour}
{if $login_role != 19 }
{if !empty($allData)}
Cost Discount Cash Visa Debt Dr Fee
New Visits {$totalCost} {$totalDiscount} {$totalCash} {$totalVisa} {$totalDept}
Old Debts {$totalOldCash} {$totalOldVisa}
Refund {$totalRefundCash} {$totalRefundVisa}
Total {$totalC} {$totalV} {$totalDrFees}
{/if}
{/if} {literal} {/literal}