Jump to content
Sign in to follow this  
code47

Invoice template customization.

Recommended Posts

Hello,

I am trying to customize viewinvoice.tpl I have almost finished customization but I have stuck in adding qty and item price of product and configurable options. I have attached screenshot of what i want to achieve.

invoice .png

Share this post


Link to post
Share on other sites
On 18/10/2020 at 15:22, code47 said:

I am trying to customize viewinvoice.tpl I have almost finished customization but I have stuck in adding qty and item price of product and configurable options. I have attached screenshot of what i want to achieve.

WHMCS wouldn't store quantity as a separate value - it would have to be calculated.

Share this post


Link to post
Share on other sites
15 hours ago, brian! said:

WHMCS wouldn't store quantity as a separate value - it would have to be calculated.

Yes I know that WHMCS wouldn't store quantity as a seperate value but is there any way by which we can use database helper in viewinvoice.tpl so we can can count the number of times product was stored in invoiceitems table in database. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By SwiftModders
      A powerful and beautiful WHMCS client theme by SwiftModders
      Take your customer’s user experience to another level with the most powerful and customizable WHMCS theme available. The Allure Theme comes with a custom-built WHMCS module that allows full control over the look and feel of your WHMCS client area. With 20+ editable options, easy adjustments for over 20 different colors, built-in favicon support, RTL, and much more!
      Learn More | View Demo | Documentation | Order Now
      Feature Highlights
          
      Additional Features
      Fully Responsive: This theme comes with a fully responsive design framework built around Bootstrap 3 and an easy to use mobile menu. SwiftModders Theme Installer: Easily manage all of your SwiftModders WHMCS Themes from one module. The Theme Installer will offer you insight into available updates, problems with your install, debugging tools, and much more! Fast & Friendly Support: One of my missions is to ensure that every client who purchases this team is well-supported and most importantly, happy! Favicon Support: Take advantage of the excellent service over at RealFaviconGenerator and add favicon support quickly and easily to your WHMCS client area. Menu Manager: As of version 1.1.0, you can now manage your WHMCS menu directly from the Theme Installer! This powerful feature comes FREE with all WHMCS Client Theme’s and makes customizing your WHMCS installation even easier. Unencoded TPL Files: There is nothing more annoying for a developer than not having access to source files. Luckily this theme offers unencoded TPL files. Three Custom Order Forms: This theme provides its own set of custom order forms that are integrated into the look and feel of your customizations. Automatic Updates: As of version 1.3.0, you can automatically update your SwiftModders WHMCS Themes from the Theme Installer. Save your time, save your effort, and leave all the work to the module! License Pricing
      LIMITED TIME OFFER: We’re keeping the summer season hot with 35% OFF all SwiftModders products! No promotional code required.
      Personal (1 Site) - $70 $45.50 per year Pro (5 Sites) - $175 $113.75 per year Agency (Unlimited Sites) - $315 $204.75 per year Personal+ (1 Site) - $140 $91 one-time Pro+ (5 Sites) - $350 $227.50 one-time Agency+ (Unlimited Sites) - $630 $409.50 one-time ORDER NOW
      All licenses will remain active for the lifetime of the product. All non-"+" licenses will require a yearly subscription for continued access to downloads and support. Before purchasing, be sure to read our License Agreement.
      Need Help? Available Services
      Theme Installation ($15): If you're not confident in your ability to install the theme yourself, I can do it for you! Give yourself peace of mind by hiring me to do the process for you. It's quick, easy, and best of all inexpensive. Theme Customization ($100): Want to make sure that your client theme matches your branding? You can hire me to adjust your theme settings to match your brand colors, fonts, logo and more. The "Theme Customization" service is NOT an integration service. I will not integrate anything from your current website design. I will match your brand colors, logo and additional style assets. Nothing additional will be done outside of that.
      Refund Policy
      You will find the refund policy for all SwiftModders products in the License Agreement.
      Browser Support
      Microsoft Edge 12+ Google Chrome 29+ Mozilla Firefox 29+ Apple Safari (iOS) 9+ SwiftModders does not provide technical support for older, outdated browsers. Please update your browser and browse safer.
       
    • By mohd
      the problem is when the cust buys 2 item and only of them has promo but the invoice somehow calculate both it together in the same promo.
      this is not promotion setting problem. Can anyone help out? 
    • By Nelson Neoh
      Hi there.
      After a long search in Google and this community, I didn't really able to find a clue on how to handle this, if there is a product which upgrade will incurs a full charge, rather than default prorated charge in WHMCS.  Do you guys has any hints or workaround?
      Here's the full list of issues I am experiencing now, hope will get any help from you here.  Thanks in advance.
      1. What's the proper procedures to take, if there is a product/service renewal or upgrade will incurs a full charge rather than prorated according to remaining days?
      2. When a product/service renewed (recurring auto CC charged or invoice paid), which hook or function in Addons/Provisions can use to trigger follow up actions?  Like post an API request to principle for such renewal action.
      3. When a Renewal button being click, either on Admin/Client Panel, it will triggers invoice and charge directly on client deposited funds if sufficient fund available.  Which localAPI should I call?
      4. I noticed if the Product/Service being created with recurring terms, for example monthly or annually, it will automatically triggered an invoice by WHMCS cron.  Wish to know if there is sufficient fund in client account, will the cron direct credited its balance and send a paid invoice?  Which hook should I use if the invoice send is a paid invoice?
      Best Regards,
      Nelson
    • By Cartitarul
      Hi, i live in Romania and in our country is mandatory to have the total of the invoice in the local currency also for example if the total is 5 Euro, to display under the currency in RON also.
      Plz help me configure this invoice so i can start my buissnes.
       
    • By vpshove
      Hello,
      It's almost half year, our customers complain on Paid Invoice getting terminated (Whether it is on time/due/suspended).
      It is not sure what causes it, the customer is increasing leading to increasing complains on service terminated (Which cannot be recovered) although that it has been paid.
      For example of Use Case: For Subscription A, due is on today and knowing termination date is 2 days after. I managed to paid it before termination date. However, the system still terminate my service on specified termination date. End of Use Case  
      Known changes made last year:
      - Installed LiteSpeed Web Server.
      - Upgraded to php73 (from ea-php56 to ea-php73) of Apache + (Cloudlinux Uninstalled)
      - Updated CronJob accordingly for php73
      [Note: I've also removed all custom hooks made to see if it is the causes, it doesn't seems like it]
      [Current version of WHMCS: 8.1.3 (Manual Update)]
      Modules Extension used:
      1. ASPnix License Manager
      2. Braintree Advacne Fraud Helper
      3. Braintree Transaction Lookup
      4. EunaRede Core (GA Ecommerce Tracking)
       
      Thank you. I try my best to give more details if needed.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated