Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <style type="text/css">
- * {margin: 0;padding: 0}
- body {background: #ffffff;font-family: Arial, sans-serif;font-size: 14px;color: #4b4b4b;text-transform: uppercase}
- td.seperator {height: 25px}
- h1 {font-size: 21px;color: #4b4b4b}
- h2 {font-size: 17px;color: #4b4b4b}
- h3 {font-size: 15px;color: #c8c8c8}
- h4 {font-size: 21px;color: #c8c8c8}
- p {text-transform: none}
- table#template {background: #ffffff;width: 100%;margin: 0 auto;padding: 25px}
- td#invoice {width: 50%}
- td#date {width: 50%;text-align: right}
- td#to {width: 50%}
- td#to span, td#from span {color: #4b4b4b}
- .right {text-align: right}
- td.legend {background: #4b4b4b;padding: 9px 12px;font-size: 15px;color: #ffffff}
- td#item {width: 50%}
- td#quantity {width: 12%;text-align: center}
- td#price {width: 19%;text-align: center}
- td#amount {width: 19%;text-align: right}
- td.items {width: 50%;padding: 11px 12px;border-bottom: 1px dashed #4b4b4b}
- td.items span {font-size: 12px;color: #777;margin: 5px 0 0;display: block}
- td.quantities {width: 12%;padding: 11px 12px;border-bottom: 1px dashed #4b4b4b;text-align: center}
- td.prices {width: 19%;padding: 11px 12px;border-bottom: 1px dashed #4b4b4b;text-align: center}
- td.amounts {width: 19%;padding: 11px 12px;border-bottom: 1px dashed #4b4b4b;text-align: right}
- td.total-amount {width: 50%;background: #f8f8f8;padding: 9px 12px;font-size: 15px}
- td.total-amount-2 {width: 50%;background: #f8f8f8;padding: 9px 12px;font-size: 15px;text-align: right}
- td.discount-percent {width: 50%;padding: 9px 12px;font-size: 15px}
- td.discount-amount {width: 50%;padding: 9px 12px;font-size: 15px;text-align: right}
- td.total-discount {background: #4b4b4b;padding: 9px 12px;font-size: 15px;color: #ffffff}
- td#total-discount-exkl {width: 50%}
- td#total-discount-amount {width: 50%;text-align: right}
- td#payment {width: 50%}
- td#vat {width: 50%;text-align: right}
- td#bank {width: 50%}
- td#account {width: 50%;text-align: right}
- td#logo img {border: none}
- </style>
- </head>
- <body>
- <table id="template" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td id="logo"><?php echo invoice_logo_pdf(); ?></td>
- <td id="from" colspan="3" class="right">
- <table border="0" cellspacing="0" cellpadding="0" width="100%" class="right">
- <tr>
- <td width="33%">
- <strong><?php echo $quote->user_name; ?></strong>
- <p>
- <?php echo $quote->user_address_1; ?><br />
- <?php if ($quote->user_address_2) { echo $quote->user_address_2); echo '<br />'; } ?>
- <?php echo $quote->user_city; ?>, <?php echo $quote->user_state; ?> <?php echo $quote->user_zip; ?>
- </p>
- </td>
- <td width="66%" class="right">
- <p>
- <?php echo $quote->user_email; ?><br />
- www.CJAerialPhotography.com<br />
- <?php echo $quote->user_phone; ?>
- </p>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td class="seperator" colspan="4"> </td>
- </tr>
- <tr>
- <td id="invoice" colspan="2">
- <h1><?php echo lang('quote'); ?></h1>
- <h3>#<?php echo $quote->quote_number; ?></h3>
- </td>
- <td id="date" colspan="2">
- <h1><?php echo lang('quote_date'); ?></h1>
- <h3><?php echo date_from_mysql($quote->quote_date_created, TRUE); ?></h3>
- </td>
- </tr>
- <tr>
- <td class="seperator" colspan="4"> </td>
- </tr>
- <tr>
- <td id="to" colspan="4">
- <h4><?php echo lang('bill_to'); ?></h4>
- <p>
- <?php echo $quote->client_name; ?><br />
- <?php echo $quote->client_address_1; ?><br />
- <?php if ($quote->client_address_2) { echo $quote->client_address_2; echo '<br />'; } ?>
- <?php echo $quote->client_city; ?>, <?php echo $quote->client_state; ?> <?php echo $quote->client_zip; ?><br />
- <?php echo $quote->client_phone; ?>
- </p>
- </td>
- </tr>
- <tr>
- <td class="seperator" colspan="4"> </td>
- </tr>
- <tr>
- <td id="item" class="legend"><?php echo lang('item'); ?></td>
- <td id="quantity" class="legend"><?php echo lang('qty'); ?></td>
- <td id="price" class="legend"><?php echo lang('price'); ?></td>
- <td id="amount" class="legend"><?php echo lang('total'); ?></td>
- </tr>
- <?php foreach ($items as $item) { ?>
- <tr>
- <td class="items"><strong><?php echo $item->item_name; ?></strong><br /><span><?php echo $item->item_description; ?></span></td>
- <td class="quantities"><?php echo $item->item_quantity; ?></td>
- <td class="prices"><?php echo $item->item_price; ?></td>
- <td class="amounts"><?php echo $item->item_subtotal; ?></td>
- </tr>
- <?php } ?>
- <tr>
- <td class="total-amount" colspan="2"><?php echo lang('subtotal'); ?></td>
- <td class="total-amount-2" colspan="2"><?php echo $quote->quote_item_subtotal; ?></td>
- </tr>
- <?php if ($quote->quote_item_tax_total > 0) { ?>
- <tr>
- <td class="discount-percent" colspan="2"><?php echo lang('item_tax'); ?></td>
- <td class="discount-amount" colspan="2"><?php echo format_currency($quote->quote_item_tax_total; ?></td>
- </tr>
- <tr>
- <td id="total-discount-exkl" class="total-discount" colspan="2"><?php echo lang('total'); ?></td>
- <td id="total-discount-amount" class="total-discount" colspan="2"><?php echo format_currency($quote->quote_total); ?></td>
- </tr>
- <tr>
- <td class="seperator" colspan="4"> </td>
- </tr>
- <tr>
- <td id="payment" colspan="2">
- <h2>Payment Information</h2>
- <p>
- This is a quote for the final value of services rendered
- <br>
- Cash In Person: Exact Change Only!
- <br>
- Check To: Excellent Exposures Photography
- <br>
- Credit Card: Discover, VISA, Mastercard, American Express
- <br>
- PayPal: PayPal@CJAerialPhotography.com
- </p>
- </td>
- <td id="vat" colspan="2">
- <h2>Thank You!</h2>
- <p>
- For considering CJ Aerial Photography
- </p>
- </td>
- </tr>
- <?php } ?>
- </table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement