<table class="display table-black" id="">
    <tfoot>

    </tfoot>
    <thead>
        <tr>


            <th>الباركود</th>
            <th>اسم المنتج</th>
            <th class="hidden-print">
                الغاء الحذف
            </th>
            <th class="hidden-print">التعديل</th>
        </tr>
    </thead>
    <tbody>

        {foreach $productsData as $data}
        {if {$data->conditions} eq 1}

        <tr style="background:#C99">
            {else}
        <tr>
            {/if}
            <td> {$data->parcode} </td>
            <td> {$data->productName} </td>
            <td class="hidden-print ">
                <a href="productController.php?do=returndelete&id={$data->productId}&optic={$data->isOptic}"
                    type="button" class="btn btn-default btn-lg correcticon"> </a>
            </td>
            <td class="hidden-print"><a href="productController.php?do=edit&id={$data->productId}" type="button"
                    class="btn btn-default btn-lg editicon"></a></td>
        </tr>
        {/foreach}


    </tbody>

</table>