| # | Patient Name | Patient Number | {if $showDate && $showDate == 1 }Visit Date | {/if}Type | Total | Discount | Cash | Visa | Debt |
|---|---|---|---|---|---|---|---|---|---|
| {$i} | {$data.wifename} | {$data.statusno} | {if $showDate && $showDate == 1 }{$data.visitdate} | {/if}{$data.type} | {$data.totaldetectionvalue} | {$data.discount} | {$data.detectionvalue_cash} | {$data.detectionvalue_visa} | {$data.restdetectionvalue} |
| Total | {if $showDate && $showDate == 1 } | {/if} | {$totalCost} | {$totalDiscount} | {$totalCash} | {$totalVisa} | {$totalDept} |
| # | Patient Name | Patient No. | Address | Register Date |
|---|---|---|---|---|
| {$i} | {if !empty($data.wifename) && $data.wifename != '' } {$data.wifename} {else} {$data.husdandname} {/if} | {$data.statusno} | {$data.address} | {$data.entrydate} |