Return Home

Invoice Single

<a href="{path="invoices"}">Return to Invoice List</a>
{exp:channel:entries channel="invoices" limit="1" disable="pagination|categories|category_fields"}
{if invoice_client == "{embed:user_id}"} 
 <br/>
 <div align="center">
  <table width="600" border="0" cellspacing="0" cellpadding="5" style="margin-bottom: 4px;">
    <tr>
      <td width="300"><font color="#BE3030" size="6" face="Arial, Helvetica, sans-serif" style="letter-spacing: -3px;"><strong>Widget Corp</strong></font></td>
      <td><div align="right"><font size="2" face="Arial, Helvetica, sans-serif"><strong>Widget Corp</strong><br/>
        123 Somewhere St<br/>
        Villa, CA 12345 <br/>
      999-555-7777</font></div></td>
    </tr>
  </table>
  <table width="600"  border="0" cellpadding="0" cellspacing="0" style="background-color: #D3EDF9;">
    <tr>
      <td width="40"> </td>
      <td width="300"><div align="right"></div></td>
      <td width="848"> </td>
      <td width="302"> </td>
      <td width="40"> </td>
    </tr>
    <tr>
      <td> </td>
      <td><div align="left"><font size="2" face="Arial, Helvetica, sans-serif">Invoice #: <strong><font size="2" face="Arial, Helvetica, sans-serif">
        {invoice_number}
      </font></strong></font></div></td>
      <td> </td>
      <td><div align="right"><font size="2" face="Arial, Helvetica, sans-serif">Total Amount Due</font></div></td>
      <td> </td>
    </tr>
    <tr>
      <td> </td>
      <td><div align="left"><font size="2" face="Arial, Helvetica, sans-serif">Invoice Date: <strong><font size="2" face="Arial, Helvetica, sans-serif">{invoice_date format="%d %m %Y"}
      </font></strong></font></div></td>
      <td> </td>
      <td><div align="right"><font color="#BE3030"><strong><font size="3" face="Arial, Helvetica, sans-serif">
         ${invoice_total}
      </font></strong></font></div></td>
      <td> </td>
    </tr>
    <tr>
      <td> </td>
      <td><div align="left"><font size="2" face="Arial, Helvetica, sans-serif">Currency: <strong><font size="2" face="Arial, Helvetica, sans-serif">
        USD
      </font></strong></font></div></td>
      <td> </td>
      <td><div align="right"><strong><font size="2" face="Arial, Helvetica, sans-serif">Due Date:
                  {invoice_due format="%d %m %Y"}
      </font></strong></div></td>
      <td> </td>
    </tr>
    <tr>
      <td> </td>
      <td> </td>
      <td> </td>
      <td> </td>
      <td> </td>
    </tr>
  </table>
  <table width="600" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><div align="right"><font color="#999999" size="2px" face="Arial, Helvetica, sans-serif"><br>
    Invoice created for
          {invoice_client}{username}{/invoice_client}.</font></div></td>
    </tr>
  </table>
  <!--byproject-->
  <table width="600" border="0" cellspacing="0" cellpadding="0" style="margin-bottom: 3px;">
    <tr>
      <td><font size="2" face="Verdana"><b>
        {invoice_project}
      </b></font></td>
    </tr>
  </table>
  <table width="600" border="0" cellspacing="2" cellpadding="8" style="background-color: #E3E3E3;">
    <tr>
      <td width="100"><div align="left"><font size="1" face="Verdana">Rate</font></div></td>
      <td width="30%"><div align="left"><font size="1" face="Verdana">Hours</font></div></td>
      <td><div align="left"><font size="1" face="Verdana">Description</font></div></td>
      <td width="90"><div align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Amount</font></div></td>
    </tr>
    {invoice_tasks}
    <tr>
      <td width="100" bgcolor="white"><font size="-2" face="Verdana">
        {rate}
      </font></td>
      <td width="30%" bgcolor="white"><font size="-2" face="Verdana">
        <!--itemtype-->
        <!--hourly-->
        <font size="1" face="Verdana, Arial, Helvetica, sans-serif">({hours} hours) </font>
        <!--/hourly-->
      </font></td>
      <td bgcolor="white"><font size="-2" face="Verdana">
        {description}
      </font></td>
      <td bgcolor="white" width="90"><div align="right"><font size="-2" face="Verdana">
          {total}
      </font></div></td>
    </tr>
    {/invoice_tasks}
  </table>
  <table width="600" border="0" cellspacing="2" cellpadding="8" style="background-color: #E3E3E3;">
    <tr>
      <td><div align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>Project Subtotal</b></font></div></td>
      <td width="90"><div align="right"><font size="-2" face="Verdana">
          {invoice_total}
      </font></div></td>
    </tr>
  </table><br/>
  <!--/byproject-->
 <!--taxes-->
 	<table width="600" border="0" cellspacing="2" cellpadding="8">
    	<tr>
     	 <td><div align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>Taxes</b></font></div></td>
     	 <td width="90"><div align="right"><font size="-2" face="Verdana">
          $0.00
    	  </font></div></td>
   		</tr>
 	</table>
<!--/taxes-->
<!--received-->
  	<table width="600" border="0" cellspacing="2" cellpadding="8">
    	<tr>
      		<td><div align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>Received to Date
      		</b></font></div></td>
      		<td width="90"><div align="right"><font size="-2" face="Verdana">
	  		$0.00
      		</font></div></td>
    	</tr>
  	</table>
<!--/received-->
  <table width="600" border="0" cellspacing="2" cellpadding="8">
    <tr>
      <td><div align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>Total</b></font></div></td>
      <td width="90"><div align="right"><font color="#BE3030" size="-2" face="Verdana">${invoice_total}
      </font></div></td>
    </tr>
  </table>
  </div>
 <p align="center"><font size="-2" face="Verdana">
  To Pay Your Invoice: {exp:simple_commerce:purchase entry_id="{entry_id}" success="{segment_1}/{segment_2}/success"}<a href="{buy_now_url}" onclick="window.open(this.href);return false;">Pay Now</a>{/exp:simple_commerce:purchase} <br>
  Visit our website: http://widgetcorp.com
</font></p>
{/if}
{/exp:channel:entries}
Return to Invoice List

Login



Auto-login on future visits

Show my name in the online users list

Forgot your password?

View Template Code