{* ********************************************************** * Developed by: Team Theme Metro * Website: http://www.thememetro.com ********************************************************** *} {if $themesettings.clientarea.viandq eq "outer-layout"} {$companyname} - {$LANG.quotenumber}{$id} {include file="templates/$template/includes/head.tpl"} {else} {include file="{$template}/header.tpl"} {/if}
{if $invalidQuoteIdRequested} {include file="$template/includes/panel.tpl" type="danger" headerTitle=$LANG.error bodyContent=$LANG.invoiceserror bodyTextCenter=true} {else}
{if $agreetosrequired} {include file="$template/includes/panel.tpl" type="danger" headerTitle=$LANG.error bodyContent=$LANG.ordererroraccepttos bodyTextCenter=true} {/if}
{$LANG.quotenumber}{$id} {if $stage eq "Delivered"} {$LANG.quotestagedelivered} {elseif $stage eq "Accepted"} {$LANG.quotestageaccepted} {elseif $stage eq "On Hold"} {$LANG.quotestageonhold} {elseif $stage eq "Lost"} {$LANG.quotestagelost} {elseif $stage eq "Dead"} {$LANG.quotestagedead} {/if}
{$LANG.quotedatecreated}
{$datecreated}
{$LANG.quotevaliduntil}
{$validuntil}

{$LANG.quoterecipient}

{if $clientsdetails.companyname}{$clientsdetails.companyname}
{/if} {$clientsdetails.firstname} {$clientsdetails.lastname}
{$clientsdetails.address1}, {$clientsdetails.address2}
{$clientsdetails.city}, {$clientsdetails.state}, {$clientsdetails.postcode}
{$clientsdetails.country} {if $customfields}

{foreach from=$customfields item=customfield} {$customfield.fieldname}: {$customfield.value}
{/foreach} {/if}

{$LANG.invoicespayto}

{$payto}
{if $proposal}

{$LANG.quoteproposal}

{$proposal}
{/if}

{$LANG.quotelineitems}

{foreach from=$quoteitems item=item} {/foreach} {if $taxrate} {/if} {if $taxrate2} {/if}
{$LANG.invoicesdescription} {$LANG.quotediscountheading} {$LANG.invoicesamount}
{$item.description}{if $item.taxed} *{/if} {if $item.discountpc > 0}{$item.discount} ({$item.discountpc}%){else} - {/if} {$item.amount}
{$LANG.invoicessubtotal} {$subtotal}
{$taxrate}% {$taxname} {$tax}
{$taxrate2}% {$taxname2} {$tax2}
{$LANG.quotelinetotal} {$total}
{if $taxrate}

* {$LANG.invoicestaxindicator}

{/if}
{if $notes}

{$LANG.invoicesnotes}

{$notes}
{/if}
{/if}
{if $themesettings.clientarea.viandq eq "outer-layout"} {else} {include file="{$template}/footer.tpl"} {/if}