# Quotes and Invoices Sample project

**URL:** <https://forums.knack.com/t/quotes-and-invoices-sample-project/11699>\
**Category:** Ask the Community\
**Created:** [December 10, 2021, 3:48pm UTC](https://forums.knack.com/t/quotes-and-invoices-sample-project/11699 "2021-12-10T15:48:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterG](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@PeterG](https://forums.knack.com/u/PeterG)\
**Post date:** [December 10, 2021, 3:48pm UTC](https://forums.knack.com/t/quotes-and-invoices-sample-project/11699/1 "2021-12-10T15:48:09Z")

</div>

When I add a Line item to Orders, the Total in the Orders detail above does not get updated. Well actually, it does get updated but it doesn’t display the new total until you refresh the page.

Is this a bug? Has this been fixed or is it just al old sample that doesn’t play perfectly?

---

<div class="post-metadata">

**Author:** ![CarlHolmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/carlholmes/32/2814_2.png) [@CarlHolmes](https://forums.knack.com/u/CarlHolmes)\
**Post date:** [December 10, 2021, 10:32pm UTC](https://forums.knack.com/t/quotes-and-invoices-sample-project/11699/2 "2021-12-10T22:32:26Z")

</div>

If you have your “add form” embedded in the page it does not refresh the parent total on the page view. It updates in the table but the page doesn’t refresh automatically when you submit an embedded add new record form.

When you add your new form in the builder, check the box that allows you to link it to a menu rather than having it embedded. Set the form as a modal popup and change the submit rule to redirect to parent, rather than displaying a confirmation message.

When the form submits and redirects to the parent it will refresh the underlying page displaying the revised total.

> **[About Views](https://learn.knack.com/article/pexqbfnv3l-about-views#menus)**

> **[Using Submit Rules](https://learn.knack.com/article/sckkvxzzdp-using-submit-rules#redirect_to_the_parent_page)**

---

<div class="post-metadata">

**Author:** ![PeterG](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@PeterG](https://forums.knack.com/u/PeterG)\
**Post date:** [December 11, 2021, 4:17am UTC](https://forums.knack.com/t/quotes-and-invoices-sample-project/11699/3 "2021-12-11T04:17:28Z")

</div>

Thanks
