td>
      <td>{this.formatDate(product.date)}</td>
    </tr>

    <tr csv="false">
      <td>{product_index+1}</td>
      <td>
        <div r-hide="updateP[product_index]">{product.name}</div>
        <div r-hide="!updateP[product_index]" class="ui input"><input r-model="pName[product_index]"
                                                                      value="{product.name}"></div>
      </td>
      <td>
        <div r-hide="updateP[product_index]">{product.bar_code}</div>
        <div r-hide="!upd