{if $showBranchCol == 1} {/if} {if $login_role != 19 } {/if} {if $share == 1 } {/if} {if $referDrShow == 1 && $share != 1 } {/if} {if $share == 2 } {/if} {assign var="i" value="1"} {foreach $allData as $data} {if $showBranchCol == 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 $share == 2 } {/if} {assign var="i" value={$i+1}} {/foreach}
# Rec. No. Patient Name Patient No. الفرع Wife National No. Husband National No. Dept. Type Total Discount Cash Visa Debt RFC Refer Dr. DoctorVisit Dr Dr Fee Refer Dr Notes User name Visit Date Visit Hour
{$i} {$data.printserial}
  • {$data.wifename}
  • {$data.husdandname}
{$data.statusno} {$data.branch_name}{$data.wifenationalid} {$data.husbandnationalid} {$data.deptName} {$data.type}{$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.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}