  {foreach $showData as $row}
    <tr>
        <th colspan="13" style="text-align: center;"> {$row.employee_real_name|default:$row.employee_name}</th>
    </tr>
    <tr>
        <th rowspan="2" style="text-align: center;">البيان</th>
        <th style="text-align: center;">المبلغ</th>
        <th colspan="2" style="text-align: center;">حصة الجمعية</th>
        <th colspan="2" style="text-align: center;">حصة العامل</th>
        

        <th colspan="3" style="text-align: center;">اجمالى علاوات سابقة</th>
        <th colspan="3" style="text-align: center;">الدمغة</th>
    </tr>
    <tr><td>جنيه</td><td>قرش</td><td>جنيه</td><td>قرش</td><td>جنيه</td><td>ع.س.سابقة</td><td class="edit_cell" data-id="{$row.id}" data-column="prev_allowances">{$row.prev_allowances}</td><td></td><td>الصافي</td><td class="edit_cell" data-id="{$row.id}" data-column="net_salary">{$row.net_salary}</td><td colspan="1"></td></tr>
    <tr><td>الاجر الاساسى</td><td class="edit_cell" data-id="{$row.id}" data-column="basic_salary" >{$row.basic_salary}</td><td></td><td></td><td></td><td><td></td><td colspan="1"></td><td></td><td>حصة العامل</td><td class="edit_cell" data-id="{$row.id}" data-column="employee_share">{$row.employee_share}</td><td></td></tr>
    <tr><td>غلاء المعيشة</td><td class="edit_cell" data-id="{$row.id}" data-column="cost_of_living">{$row.cost_of_living}</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td class="edit_cell" data-id="{$row.id}" data-column="final_after_deduction">{$row.final_after_deduction}</td><td colspan="1"></td></tr>
    <tr><td>علاوة اجتماعية</td><td class="edit_cell" data-id="{$row.id}" data-column="social_allowance">{$row.social_allowance}</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td colspan="1"></td><td class="edit_cell" data-id="{$row.id}" data-column="stamp_bracket_1">{$row.stamp_bracket_1}</td><td class="edit_cell" data-id="{$row.id}" data-column="stamp_1">{$row.stamp_1}</td></tr>
    <tr><td>بدل التمثيل</td><td class="edit_cell" data-id="{$row.id}" data-column="representation">{$row.representation}</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td class="edit_cell" data-id="{$row.id}" data-column="stamp_bracket_2">{$row.stamp_bracket_2}</td><td class="edit_cell" data-id="{$row.id}" data-column="stamp_2">{$row.stamp_2}</td></tr>
    <tr><td>منحة شهرية</td><td class="edit_cell" data-id="{$row.id}" data-column="monthly_grant">{$row.monthly_grant}</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td class="edit_cell" data-id="{$row.id}" data-column="stamp_bracket_3">{$row.stamp_bracket_3}</td><td class="edit_cell" data-id="{$row.id}" data-column="stamp_3">{$row.stamp_3}</td></tr>
    <tr><td>حافز اثابة</td><td class="edit_cell" data-id="{$row.id}" data-column="incentive">{$row.incentive}</td><td></td><td></td><td></td><td></td><td>ع.س.سابقة حتي 2013</td><td class="edit_cell" data-id="{$row.id}" data-column="prev_allowances_2013">{$row.prev_allowances_2013}</td><td></td><td></td><td class="edit_cell" data-id="{$row.id}" data-column="stamp_bracket_4">{$row.stamp_bracket_4}</td><td class="edit_cell" data-id="{$row.id}" data-column="stamp_4">{$row.stamp_4}</td></tr>
    <tr><td>بدل ارشيف</td><td class="edit_cell" data-id="{$row.id}" data-column="archive_allowance">{$row.archive_allowance}</td><td></td><td></td><td></td><td></td><td>الصافي</td><td></td><td class="edit_cell" data-id="{$row.id}" data-column="final_net">{$row.final_net}</td><td></td><td class="edit_cell" data-id="{$row.id}" data-column="stamp_bracket_5">{$row.stamp_bracket_5}</td><td class="edit_cell" data-id="{$row.id}" data-column="stamp_5">{$row.stamp_5}</td></tr>
    <tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>الدمغة</td><td></td><td class="edit_cell" data-id="{$row.id}" data-column="stamp_total">{$row.stamp_total}</td></tr>
    
<tr><td colspan="6" style="height:20px;"></td></tr>
<tr>
    <td style="font-weight:bold;">الإجمالى</td>
    <td style="font-weight:bold;" class="edit_cell" data-id="{$row.id}" data-column="total_salary">{$row.total_salary}</td>
    <td colspan="1"></td>
    <td colspan="1" style="font-weight:bold;" class="edit_cell" data-id="{$row.id}" data-column="association_share">{$row.association_share}</td>
    <td colspan="1" style="font-weight:bold;"></td>
    <td colspan="1" style="font-weight:bold;" class="edit_cell" data-id="{$row.id}" data-column="employee_share">{$row.employee_share}</td>


</tr>
<tr>
    <td colspan="1"></td>
    <td style="font-weight:bold;" class="edit_cell" data-id="{$row.id}" data-column="total_with_rep">{$row.total_with_rep}</td>
</tr>
    <tr>
        <th colspan="12" style="text-align: center;">الضرائب</th>
    </tr>
    <tr>
        <th style="text-align: center;">البيان</th>
        <th style="text-align: center;">القيمة</th>
        <th></th>
        <th style="text-align: center;">السنوى</th>

        <th style="text-align: center;">البيان</th>
        <th style="text-align: center;">القيمة</th>
        <th></th>
        <th style="text-align: center;">السنوى</th>

        <th colspan="4" style="text-align: center;">ملخص</th>
    </tr>
    <tr>
        <td>الاجر الاساسى</td><td class="edit_cell" data-id="{$row.id}" data-column="basic_salary">{$row.basic_salary}</td><td>×12</td><td class="edit_cell" data-id="{$row.id}"data-column="tax_basic_annual">{$row.tax_basic_annual}</td>
        <td>ص.خ</td><td class="edit_cell" data-id="{$row.id}" data-column="skh">{$row.skh}</td><td>×12</td><td class="edit_cell" data-id="{$row.id}" data-column="tax_health_insurance">{$row.tax_health_insurance}</td>
        <td colspan="2"></td><td colspan="1"></td><td colspan="1" class="edit_cell" data-id="{$row.id}" data-column="taxable_annual">{$row.taxable_annual}</td>
        
    </tr>

    <tr>
        <td>الحوافز</td><td class="edit_cell" data-id="{$row.id}" data-column="incentive">{$row.incentive}</td><td>×12</td><td class="edit_cell" data-id="{$row.id}" data-column="tax_incentives_annual">{$row.tax_incentives_annual}</td>
        <td>دمغة</td><td class="edit_cell" data-id="{$row.id}" data-column="stamp_total">{$row.stamp_total}</td><td>×12</td><td class="edit_cell" data-id="{$row.id}" data-column="tax_stamp_annual">{$row.tax_stamp_annual}</td>
        <td colspan="2"> الاعفاء الضريبي</td><td colspan="1"></td><td colspan="1" class="edit_cell" data-id="{$row.id}" data-column="tax_exemption">{$row.tax_exemption}</td>
    </tr>

    <tr>
        <td>منصرف عاملين</td><td></td><td></td><td class="edit_cell" data-id="{$row.id}" data-column="tax_disbursed">{$row.tax_disbursed}</td>
        <td>حصة العامل</td><td class="edit_cell" data-id="{$row.id}">{$row.employee_share}</td><td>×12</td><td class="edit_cell" data-id="{$row.id}" data-column="tax_employee_share_annual">{$row.tax_employee_share_annual}</td>
        <td colspan="2"> الاعفاء الوظيفي</td><td colspan="1"></td><td colspan="1" class="edit_cell" data-id="{$row.id}" data-column="job_exemption">{$row.job_exemption}</td>
    </tr>

    <tr>
        <td><b>الاجمالى</b></td><td></td><td></td><td class="edit_cell" data-id="{$row.id}" data-column="tax_gross_annual"><b>{$row.tax_gross_annual}</b></td>
        <td>ع.س سابقة</td><td class="edit_cell" data-id="{$row.id}" data-column="prev_allowances_2013">{$row.prev_allowances_2013}</td><td>×12</td><td class="edit_cell" data-id="{$row.id}" data-column="tax_prev_allowances_annual">{$row.tax_prev_allowances_annual}</td>
        <td colspan="2"></td><td colspan="1"></td><td colspan="1" class="edit_cell" data-id="{$row.id}" data-column="net_after_exemptions">{$row.net_after_exemptions}</td>
    </tr>
    <tr>
        <td colspan="4"></td>
        <td>ص.خ منصرف</td><td></td><td></td><td class="edit_cell" data-id="{$row.id}" data-column="tax_health_disbursed">{$row.tax_health_disbursed}</td>
        <td colspan="2">10%</td><td colspan="1" class="edit_cell" data-id="{$row.id}" data-column="net_after_exemptions">{$row.net_after_exemptions}</td><td colspan="1" class="edit_cell" data-id="{$row.id}" data-column="tax_10_percent">{$row.tax_10_percent}</td>
    </tr>

    <tr>
        <td colspan="4"></td>
        <td>دمغة منصرف</td><td></td><td></td><td class="edit_cell" data-id="{$row.id}" data-column="tax_stamp_disbursed">{$row.tax_stamp_disbursed}</td>
         <td colspan="2"></td><td colspan="1"></td><td colspan="1" class="edit_cell" data-id="{$row.id}" data-column="tax_monthly">{$row.tax_monthly}</td>
    </tr>

    <tr><td colspan="4"></td><td>الصافي</td><td></td><td></td><td class="edit_cell" data-id="{$row.id}" data-column="taxable_annual">{$row.taxable_annual}</td></tr>
    {/foreach}