{foreach $showData as $row}
<tr>
    <td style="text-align: center;">{$row@iteration}</td>
    <td style="text-align: right; font-weight: bold; background-color: #f8f9fa;"> {$row.employee_real_name|default:$row.employee_name}</td> 
    <td class="edit_cell" data-id="{$row.id}" data-column="basic_salary">{$row.basic_salary}</td>
    <td class="edit_cell" data-id="{$row.id}" data-column="percentage">{$row.percentage}</td>
    <td class="edit_cell" data-id="{$row.id}" data-column="total">{$row.total}</td>
    <td class="edit_cell" data-id="{$row.id}" data-column="other_additions">{$row.other_additions}</td>
    <td class="edit_cell" data-id="{$row.id}" data-column="other_discounts">{$row.other_discounts}</td>
    <td class="hidden-print"><a href="distributionofprofits.php?do=deleteFinaly&id={$row.id}" type="button" class="btn btn-default btn-lg deleteicon"></a></td>
</tr>
{/foreach}