{if $invoiceLogo|trim} {assign var=logowgs value=$invoiceLogo|trim} {else} {if $logo} {assign var=logowgs value=$logo} {else} {assign var=logowgs value="{$WEB_ROOT}/templates/{$template}/assets/images/login-logo.svg"} {/if} {/if} {assign var=colorArray value=['1'=>'','2'=>'yellow','3'=>'green','4'=>'pink']}
{$LANG.invoicesdatedue}: {strtotime($datedue)|date_format:"%d-%m-%Y"}
{/if}{$LANG.clientareacompanyname}: {$clientsdetails.companyname}
{/if} {if $clientsdetails.phonenumber}{$LANG.clientareaphonenumber}: {$clientsdetails.phonenumber}
{/if}{$LANG.clientareaemail}: {$clientsdetails.email}
{$LANG.viewInvoiceAddress}: {$clientsdetails.address1}, {$clientsdetails.address2}, {$clientsdetails.city}, {$clientsdetails.state}, {$clientsdetails.postcode}, {$clientsdetails.country}
{if $customfields} {if $gst_addon AND !$old_vat} {assign var="gstin" value="no"} {foreach from=$customfields item=customfield} {if $customfield.fieldname eq 'GSTIN'} {assign var="gstin" value="yes"} {/if} {if $customfield.fieldname eq 'GSTIN' OR $customfield.fieldname eq 'Place of supply'}{$customfield.fieldname}: {$customfield.value}
{else}{$customfield.fieldname}: {$customfield.value}
{/if} {/foreach} {if $gstin eq 'no'}GSTIN: Not Available
{/if} {else} {foreach from=$customfields item=customfield} {if $customfield.fieldname neq 'GSTIN' AND $customfield.fieldname neq 'Place of supply'}{$customfield.fieldname}: {$customfield.value}
{/if} {/foreach} {/if} {else} {if $gst_addon}GSTIN: Not Available
{/if} {/if}
{$payto}
{if $admin_gst_in AND $gst_addon}GSTIN: {$admin_gst_in}
{/if} {if $oldTaxNumber AND $gst_addon}Service tax number: {$oldTaxNumber}
{/if}| {$LANG.invoicesdescription} | Item type | SAC Code | Total | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {$item.description}{if $item.taxed eq "true"} *{/if} | {if $item.description|lower|strstr:'website design'} Website Design {elseif $item.description|lower|strstr:'web development'} Web Development {elseif $item.description|lower|strstr:'seo'} SEO {elseif $item.description|lower|strstr:'amc'} AMC {else} {$item.type} {/if} | {if $item.description|lower|strstr:'website design' OR $item.description|lower|strstr:'web development' OR $item.description|lower|strstr:'seo' OR $item.description|lower|strstr:'amc'} 998314 {elseif $item.type eq 'Hosting'} 998315 {elseif substr_count($item.type, 'Domain') OR substr_count($item.type, 'Addon')} 998319 {else} {*998313*} {/if} | {$item.amount} | ||||||||||||
| {$LANG.invoicessubtotal} | {$subtotal} | ||||||||||||||
| GST |
|
{$total_gst_tax} | |||||||||||||
| Total Amount Incl. GST : | {if $wgs_gst_credit and $wgs_gst_invoicetotal} {$wgs_gst_invoicetotal} {else} {$total} {/if} | ||||||||||||||
| Total Amount Incl. GST (in words): | {$totalinwords} | ||||||||||||||
| Funds Applied | {$credit} | ||||||||||||||
* {$LANG.invoicestaxindicator}
{/if} {/if}| {$LANG.invoicestransdate} | {$LANG.invoicestransgateway} | {$LANG.invoicestransid} | {$LANG.invoicestransamount} |
| {$transaction.date} | {$transaction.gateway} | {$transaction.transid} | {$transaction.amount} |
| {$LANG.invoicestransnonefound} | |||
| {$transaction.date} | {$transaction.gateway} | {$transaction.transid} | {$transaction.amount} |
| {$LANG.invoicestransnonefound} | |||
| {$LANG.invoicesbalance} | {$balance} | ||
| {$LANG.invoicesbalance} | {$balance} | ||
Authorized Signatory |
|||
| {$LANG.invoicesdescription} | {$LANG.invoicestotal} | |||
|---|---|---|---|---|
| {$quant} {$item.description}{if $item.taxed eq "true"} *{/if} | {$item.amount} | |||
* {$LANG.invoicestaxindicator} |
||||
{$LANG.invoicespayto}{$payto} |
{$LANG.invoicessubtotal}-
{if $taxrate}
{$taxrate}% {$taxname}-
{/if}
{if $taxrate2}
{$taxrate2}% {$taxname2}-
{/if}
{$LANG.invoicescredit}-
{$LANG.invoicestotal} |
{$subtotal}
{if $taxrate}
{$tax}
{/if}
{if $taxrate2}
{$tax2}
{/if}
{$credit}
{$total} |
||
| {$LANG.invoicestransdate} | {$LANG.invoicestransgateway} | {$LANG.invoicestransid} | {$LANG.invoicestransamount} | |
|---|---|---|---|---|
| {$transaction.date} | {$transaction.gateway} | {$transaction.transid} | {$transaction.amount} | |
| {$LANG.invoicestransnonefound} | ||||
|
{$LANG.invoicesbalance} |
{$balance}
|
|||