{foreach $showData as $row}
<tr></tr>
<tr>
    <td style="text-align: center;">{$row@iteration}</td>
    <td style="text-align: right; font-weight: bold; background-color: #f8f9fa;">{$row.name}</td>
    <td>0</td>
     <td class="edit_cell" data-id="{$row.id}" data-column="salary">{$row.salary}</td>
    <td></td><td class="edit_cell" data-id="{$row.id}" data-column="value">{$row.value}</td>
    <td></td><td class="edit_cell" data-id="{$row.id}" data-column="service_box">{$row.service_box}</td>
    <td></td><td style="font-weight: bold; background-color: #f1f1f1;" data-id="{$row.id}" data-column="earn">{$row.earn}</td>
    <td></td><td class="edit_cell" data-id="{$row.id}" data-column="stamp">{$row.stamp}</td> 
    <td></td><td class="edit_cell" data-id="{$row.id}" data-column="total_deductions">{$row.total_deductions}</td> 
    <td></td><td class="edit_cell" data-id="{$row.id}" data-column="total_earns">{$row.total_earns}</td> 
    <td class="edit_cell" data-id="{$row.id}" data-column="notes">{$row.notes}</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="engineerallowance.php?do=deleteFinaly&id={$row.id}" type="button" class="btn btn-default btn-lg deleteicon"></a></td>
</tr>
{/foreach}