public String getOrdenCompraTotal() {
    int total = 0;

    for (Sale sale : getDetalleOC()) {
      total += sale.getPrecioTotal();
    }

    return new DecimalFormat("###,###").format(total);
  }
  public String getLastYearTotal() {
    int total = 0;

    for (Sale sale : getDetalleOC()) {
      total += sale.getNroOrden();
    }

    return new DecimalFormat("###,###").format(total);
  }