# Melhoria na cópia do último pedido para atualizar valor de complementos

Ao copiar itens do último pedido, o Consumer não atualizava automaticamente os valores dos complementos, o que poderia levar a inconsistências no total do pedido.

Foi realizada uma melhoria que permite o recalculo automático ao copiar o último pedido. Além disso, o valor dos complementos agora é atualizado corretamente, garantindo que os totais reflitam os preços atuais.

<figure><img src="/files/HKwiP7vVfUUmpVwHTxii" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://atualizacoes.consumer.com.br/pdv/anteriores/14.8.1/14.8.1.10/melhoria-na-copia-do-ultimo-pedido-para-atualizar-valor-de-complementos.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
