{literal} {/literal}
| # | 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} |