[Skip to main content](#vessel-content)

#   Deposit calculation on invoice

##

- **[JIK](/forum/user/362-jik "View JIK's Profile")**
- [![JIK's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/362-jik "View JIK's Profile") Topic Author
- [ Offline](/forum/user/362-jik)

Less More

- Posts: 209
- Thank you received: 18
-
-

13 years 3 months ago [\#120153](#120153) by [JIK](/forum/user/362-jik "View JIK's Profile")  *[Deposit calculation on invoice](/forum/35-orders-management/861360-deposit-calculation-on-invoice#120153 "Hi, I'm using Hikashop just for customers to request quotes for manufactured products. Once the quote is verbally accepted I produce a PDF of the final invoice from the HS back end in PDF format and...")* was created by *[JIK](/forum/user/362-jik "View JIK's Profile")*

Hi, I'm using Hikashop just for customers to request quotes for manufactured products. Once the quote is verbally accepted I produce a PDF of the final invoice from the HS back end in PDF format and email it to them. Customers are required to pay a deposit before manufacturing commences (40% of invoice total). Hence, they do not complete the payment process through the website. Is there anyway I can show at the bottom of the invoice the amount of the deposit? I have looked at the deposit plugin but this does not suit my purposes. I just need it to be "Final Total" /100 * 40.

I have made the following change to the invoice view after the regular table finishes:

&lt;h2&gt;Payment details&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;40% deposit required. Please send your remittance advice via email.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Bank transfer details&lt;br /&gt;
Account Name: xxxx&lt;br /&gt;
Account Number: xxxx&lt;br /&gt;
SWIFT Code: xxxx&lt;br /&gt;
Bank Code: xxxx&lt;br /&gt;
Bank Name: xxx&lt;br /&gt;
Bank Address: xxxx&lt;/p&gt;

I need to be able to calculate the 40% dollar amount and show it somewhere within this text.

Any way of doing this?

cheers

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2MTM2MC1kZXBvc2l0LWNhbGN1bGF0aW9uLW9uLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 3 months ago [\#120212](#120212) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Deposit calculation on invoice](/forum/35-orders-management/861360-deposit-calculation-on-invoice#120212 "Hi, I'm using Hikashop just for customers to request quotes for manufactured products. Once the quote is verbally accepted I produce a PDF of the final invoice from the HS back end in PDF format and...")*

Hi there,

I think you can achieve what you want with this:
Code:

&lt;?php if($this-&gt;config-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_subtotal,$this-&gt;order-&gt;order_currency_id); }else{ echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_subtotal_no_vat,$this-&gt;order-&gt;order_currency_id); } ?&gt;

This code is used in the invoice view to display the full price of the order.
According to what you would like to see, you can multiply it by 0.4 to have the amount paid and by 0.6 to have the amount to pay. So you can copy this code in your customized part and give it the form you want ![:)](/media/kunena/emoticons/3.png ":)").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2MTM2MC1kZXBvc2l0LWNhbGN1bGF0aW9uLW9uLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[JIK](/forum/user/362-jik "View JIK's Profile")**
- [![JIK's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/362-jik "View JIK's Profile") Topic Author
- [ Offline](/forum/user/362-jik)

Less More

- Posts: 209
- Thank you received: 18
-
-

13 years 2 months ago [\#120451](#120451) by [JIK](/forum/user/362-jik "View JIK's Profile")  Replied by *[JIK](/forum/user/362-jik "View JIK's Profile")* on topic *[Deposit calculation on invoice](/forum/35-orders-management/861360-deposit-calculation-on-invoice#120451 "Hi, I'm using Hikashop just for customers to request quotes for manufactured products. Once the quote is verbally accepted I produce a PDF of the final invoice from the HS back end in PDF format and...")*

Thanks Eliot, that worked a treat!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2MTM2MC1kZXBvc2l0LWNhbGN1bGF0aW9uLW9uLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.046 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
