Jump to content

Invoice Field codes - what are they, what will they display


ahillmale

Recommended Posts

Hi,

 

What is the list of Invoice field codes and their results that I can use to customise the invoice renewal notice templates etc.

 

Example: {$invoice_html_contents} - package- name and domain name

 

I am trying to set-up a form with field just showing the http://www.domianname.com without package name if this sort of thing is possablle and wher can I find the list?.

 

Thanks for your help.

Link to comment
Share on other sites

The list is present when editing the e-mail template, it is at the bottom.

 

Here it is:

 

Affiliate Related

No. of Referrals {$affiliate_total_visits}

Earning Balance {$affiliate_balance}

Withdrawn Amount {$affiliate_withdrawn}

Referrals Details {$affiliate_referrals_table}

Referral URL {$affiliate_referral_url}

 

Client Related

ID {$client_id}

Full Name {$client_name}

First Name {$client_first_name}

Last Name {$client_last_name}

Company Name {$client_company_name}

Email Address {$client_email}

Address 1 {$client_address1}

Address 2 {$client_address2}

City {$client_city}

State {$client_state}

Postcode {$client_postcode}

Country {$client_country}

Phone Number {$client_phonenumber}

Password {$client_password}

Signup Date {$client_signup_date}

Credit Balance {$client_credit}

CC Type {$client_cc_type}

CC Last 4 Digits {$client_cc_number}

CC Expiry Date {$client_cc_expiry}

Language {$client_language}

Custom Fields (Array) {$client_custom_fields.1}

Status {$client_status}

 

Other

Company Name {$company_name}

WHMCS URL {$whmcs_url}

WHMCS Link {$whmcs_link}

Signature {$signature}

 

Conditional Display

You can use conditionals to display text based on other values - for example:

 

{if $client_company_name eq "WHMCS"}

You are from WHMCS!

{else}

You are not from WHMCS!

{/if}

 

{if $client_name}

Hello {$client_name}

{/if}

Link to comment
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.

  • 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