in

Dotnetpanel Forums

Community support forums for DotNetPanel products

Taxes always appear as zero on invoice

Last post 05-25-2008 5:09 AM by samant. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 05-25-2008 5:09 AM

    • samant
    • Top 75 Contributor
    • Joined on 10-25-2006
    • Sydney, Australia
    • Posts 67

    Taxes always appear as zero on invoice

    HI All, 

    I have taxes set for all countries at 10% tax inclusive. The created invoice has the percentage as 10 but the dollar amount is $0. Why?

     The html template for invoice is shown below: <html xmlns="http://www.w3.org/1999/xhtml"><head>    <title>Received Payment Summary Information</title>    <style type="text/css">                        .Summary { background-color: ##ffffff; padding: 5px; }                        .Summary .Header { padding: 10px 0px 10px 10px; font-size: 16pt; background-color: ##E5F2FF; color: ##1F4978; border-bottom: solid 2px ##86B9F7; }        .Summary A { color: ##0153A4; }        .Summary { font-family: Tahoma; font-size: 9pt; }        .Summary H1 { font-size: 1.7em; color: ##1F4978; border-bottom: dotted 3px ##efefef; }        .Summary H2 { font-size: 1.2em; }         .Summary TABLE { border: solid 1px ##e5e5e5; }        .Summary TH,        .Summary TD.Label { padding: 5px; font-size: 8pt; font-weight: bold; background-color: ##f5f5f5; }        .Summary TD { padding: 8px; font-size: 9pt; }        .Summary UL LI { font-size: 1.1em; font-weight: bold; }        .Summary UL UL LI { font-size: 0.9em; font-weight: normal; }    </style></head><body><div class="Summary"> <a name="top"></a> <div class="Header">            Received Payment Information</div> <p>Hello #Customer["FirstName"]#,</p> <p>We've received your payment successfully. You can find this payment details under your user account and below is the summary information.</p><h1>Payment Overview</h1> <table>    <tr>        <td class="Label">Payment ##:</td>        <td>#payment.paymentid#</td>    </tr>    <tr>        <td class="Label">Invoice ##:</td>        <td>#payment.invoiceid#</td>    </tr>            <tr>        <td class="Label">Transcation ID ##:</td>        <td>#payment.transactionid#</td>    </tr>    <tr>        <td class="Label">Created:</td>        <td>#payment.created#</td>    </tr>    <tr>        <td class="Label">Payment Method:</td>        <td>#payment.methodname#</td>    </tr>    <tr>        <td class="Label">Payment Status:</td>        <td>#payment.status.ToString()#</td>    </tr>     <tr>        <td class="Label">Payment Total:</td>        <td>#payment.currency# #format(payment.total, "0.00")#</td>    </tr></table> <p>If you have any questions regarding your hosting account, feel free to contact our sales department at any time.</p> <p>Best regards,<br />Samant Consulting Pty Ltd<br />Web Site: <a href="http://www.samant.com.au">www.samant.com.au</a><br />E-Mail: <a href="mailto:support@samant.com.au">support@samant.com.au</a></p> </div></body></html> 

     

Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems