<?php $func = new FunctionsK(); if ($res = $func->getUsedVoucher($_GET['voucher_name'])) { //dump($res); ?> <table id="table_list" class="uk-table uk-table-hover uk-table-striped uk-table-condensed"> <thead> <tr> <th><?php echo Yii::t('default', "Voucher name"); ?> </th> <th><?php echo Yii::t('default', "Customer Name"); ?> </th> <th><?php echo Yii::t('default', "Transaction Type"); ?> </th> <th><?php echo Yii::t('default', "Order No."); ?> </th> <!--<th><?php echo Yii::t('default', "Total Discount in amount"); ?> </th>--> <th><?php