\!/ KyuuKazami \!/

Path : /home/kohli/public_html/application/views/email_templates/
Upload :
Current File : /home/kohli/public_html/application/views/email_templates/invoice_print_tpl.php

<?php
$th_style = "border-bottom: 1px solid #888888;border-top: 1px solid #888888;font-size: 12px;padding: 8px 2px;";
$td_style = "border-bottom:1px solid #ecebeb;padding: 10px 0px;vertical-align: top;";
$base_color = "color:#c4235b;";
$big_font = "font-size:16px;";
$no_margin = "margin:0px;";
$td_border = "border-bottom:1px solid #444444;";
$top_align = "valign='top'";
$bottom_align = " valign='bottom'";
$text_right = "text-align:right;";
$text_center = "text-align:center;";
$text_left = "text-align:left;";
?>
<div style="width:700px;">    

    <table summary="Shopping cart" style="font-size:13px;width:100%;border-collapse:collapse;border-spacing:0;background-color:transparent;">
        <tbody>
            <tr>
                <td colspan="2">
                    <table>
                        <tr>
                            <td style="text-align: center;">
                            <p style="<?php echo $no_margin ?>">INVOICE</p>
                            <p style="<?php echo $no_margin ?>">Elle Belle</p>
                            <p style="<?php echo $no_margin ?>">dba Glamour Costumes</p>
                            <p style="<?php echo $no_margin ?>">3 Commercial St., Hicksville, NY 11801</p>
                            <p style="<?php echo $no_margin ?>">Tel: (516) 719-0996 Fax: (516) 719-0997</p>
                            </td>
                        </tr>
                    </table>
                </td>                
            </tr>
            <tr style="height: 20px;"><td colspan="2"></td></tr>
            <tr <?php echo $bottom_align ?>>
                <td style="width: 50%;">
                    <table style="width: 80%;">
                        <tr <?php echo $top_align ?>>
                            <td><strong>Contact</strong></td>
                            <td><p style="<?php echo $td_border ?>">{ship_first_name} {ship_last_name}</p></td>
                        </tr>
                        <tr <?php echo $top_align ?>>
                            <td><strong>Company</strong></td>
                            <td><p style="<?php echo $td_border ?>">{ship_company}</p></td>
                        </tr>
                        <tr <?php echo $top_align ?>>
                            <td><strong>Address</strong></td>
                            <td>
                                <p style="<?php echo $td_border ?>">{ship_address}</p>
                                <p style="<?php echo $td_border ?>">{ship_address1}</p>
                                <p style="<?php echo $td_border ?>">{ship_city}, {ship_state}, {ship_country} - {ship_zipcode}</p>                                 
                            </td>
                        </tr>
                        <tr <?php echo $top_align ?>>
                            <td><strong>Email</strong></td>                            
                            <td>
                                <p style="<?php echo $td_border ?>">{email}</p>                                 
                            </td>
                        </tr>
                        <tr <?php echo $top_align ?>>
                            <td><strong>Phone</strong></td>                            
                            <td>
                                <p style="<?php echo $td_border ?>">{ship_mobile}</p>                                 
                            </td>
                        </tr>
                        <tr <?php echo $top_align ?>>
                            <td><strong>Fax</strong></td>                            
                            <td>
                                <p style="<?php echo $td_border ?>">{ship_fax}</p>                                 
                            </td>
                        </tr>                        
                    </table>
                </td>
                <td style="width: 50%;">
                    <table style="width: 100%;" align="right">
                        <tr <?php echo $top_align ?>>
                            <td style="width:50%"><strong>Date</strong></td>
                            <td><p style="<?php echo $td_border ?>">{order_date}</p></td>
                        </tr>
                        <tr <?php echo $top_align ?>>
                            <td><strong>Order No.</strong></td>
                            <td><p style="<?php echo $td_border ?>">{order_id}</p></td>
                        </tr>
                        <tr <?php echo $top_align ?>>
                            <td><strong>Invoice No.</strong></td>
                            <td>
                                <p style="<?php echo $td_border ?>">{invoice_id}</p>                                                               
                            </td>
                        </tr>
                        <tr style="height: 20px;"><td colspan="2"></td></tr>                        
                        <tr <?php echo $top_align ?>>
                            <td><strong>Order Total</strong></td>                            
                            <td>
                                <p style="<?php echo $td_border.$text_right ?>">{order_amount}</p>                                 
                            </td>
                        </tr>
                        <tr <?php echo $top_align ?>>
                            <td><strong>Shipping & Handling</strong></td>                            
                            <td>
                                <p style="<?php echo $td_border.$text_right ?>">{shipping}</p>                                 
                            </td>
                        </tr>
                        <tr <?php echo $top_align ?>>
                            <td><strong>Invoice Subtotal</strong></td>                            
                            <td>
                                <p style="<?php echo $td_border.$text_right ?>">{sub_total}</p>                                 
                            </td>
                        </tr>
                        <tr <?php echo $top_align ?>>
                            <td><strong>Deposits Received</strong></td>                            
                            <td>
                                <p style="<?php echo $td_border.$text_right ?>">{amount_received}</p>                                 
                            </td>
                        </tr>
                        <tr <?php echo $top_align ?>>
                            <td><strong>Balance Due</strong></td>                            
                            <td>
                                <p style="<?php echo $td_border.$text_right ?>">{amount_remaining}</p>
                            </td>
                        </tr>
                                                
                    </table>
                </td>
            </tr>
            <tr style="height: 20px;"><td colspan="2"></td></tr>
            <tr style="height: 20px;"><td colspan="2"></td></tr>
            <tr>
                <td colspan="2">
                    <table style="font-size:13px;width:700px;border-collapse:collapse;border-spacing:0;background-color:transparent;">
                    <tbody>
                        <tr>
                            <th style="<?php echo $th_style.$text_left ?>">Date Shipped</th>                        
                            <th style="<?php echo $th_style.$text_left ?>">Style</th>
                            <th colspan="3" style="<?php echo $th_style.$text_left ?>">Description</th>
                            <th style="<?php echo $th_style.$text_center ?>">Orig Qty</th>
                            <th style="<?php echo $th_style.$text_center ?>">Shipped Qty</th>
                            <th style="<?php echo $th_style.$text_right ?>">Price</th>
                            <th style="<?php echo $th_style.$text_right ?>">Total</th>                            
                        </tr>
                        {invoice_items}
                        <tr style="border-bottom: 1px solid #aaaaaa;">
                            <td style="<?php echo $td_style ?>">{invoice_date}</td>
                            <td style="<?php echo $td_style ?>">{sku}</td>
                            <td style="<?php echo $td_style ?>">{product_name}</td>
                            <td style="<?php echo $td_style ?>">{color}</td>
                            <td style="<?php echo $td_style ?>">
                                {item_sizes}
                                <div style="float: left;margin-right:2px;text-align:center;"><span style="border-bottom: 1px solid;">{item_size}</span><br />{item_qty}</div>
                                {/item_sizes}                                
                            </td>
                            <td style="<?php echo $td_style.$text_center ?>">{original_qty}</td>
                            <td style="<?php echo $td_style.$text_center ?>">{shipped_qty}</td>
                            <td style="<?php echo $td_style.$text_right ?>">{price}</td>
                            <td style="<?php echo $td_style.$text_right ?>">{total_price}</td>
                        </tr>
                        {/invoice_items}
                    </tbody>
                </td>
            </tr>
        </tbody>
    </table>
</div>

@KyuuKazami