ateP[product_index]" class="ui input"><input r-model="pBarCode[product_index]"
                                                                      value="{product.bar_code}"></div>
      </td>
      <td>
        <div r-hide="updateP[product_index]">{this.formatNum(product.cost,2)}</div>
        <div r-hide="!updateP[product_index]" class="ui input {cerror[product_index]?'error':''}"><input
            r-model="pCost[product_index]" value="{product.cost}"></div>
      </td>
      <td>
        <div r-hide="