
                          
                          
                          
                          
                          <style type=\"text/css\">
@page {

  margin: 20pt 20pt;
}
</style>

<table width=\"900px\" align=\"center\" style=\"border-collapse:collapse;border-spacing:0;float:none;margin:0 auto;text-align:center;vertical-align:top; width:900px;\">
    <tbody>
        <tr style=\"padding:0;text-align:left;vertical-align:top\">
            <td width=\"300px\" style=\"color:#000;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:20px; text-align:left; vertical-align: top;\">
                <div style=\"width: 300px;\">
                    <b>{fpl_hotel_name}</b><br>
                    <b>Address:</b> {fpl_hotel_address}<br>
                    {fpl_hotel_city}, {fpl_hotel_state},<br>
                    {fpl_hotel_country}, {fpl_hotel_zip}<br>
                    <b>Tel:</b> {fpl_hotel_phone}<br>
                    <b>Email:</b> {fpl_hotel_mail}<br>
                    <b>VAT#:</b> {fpl_vat_id}
                </div>
            </td>
            <td width=\"300px\" style=\"text-align: center; vertical-align: top;\">
                <div style=\"width: 300px\">
                    <img src=\"https://{fpl_hotel_logo}\" style=\"-ms-interpolation-mode:bicubic;clear:both;display:block;max-width:100%;outline:0;text-decoration:none;width:132px;text-align: center; margin: 0 auto;\">
                </div>
            </td>
            <td width=\"300px\" style=\"color:#000;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:20px; text-align:right; vertical-align: top;\">
                <div style=\"font-size: 14px; text-align: left; width: 300px\">
                    <b>Buyer:</b> {fpl_guest_firstname} {fpl_guest_lastname}<br>
                    <b>Address:</b> {fpl_guest_address}<br>
                    {fpl_guest_addrhousing}<br>
                    {fpl_guest_city}, {fpl_guest_state},
                    {fpl_guest_citizenship},
                    {fpl_guest_postcode}
                </div>
            </td>
        </tr>
    </tbody>
</table>

<table width=\"900px\" align=\"center\" style=\"border-collapse:collapse;border-spacing:0;float:none;margin:0 auto;text-align:center;vertical-align:top; width:900px;     margin-bottom: 30px;\">
    <tbody>
        <tr style=\"padding:0;text-align:left;vertical-align:top\">
            <td width=\"250px\" style=\"color:#000;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:20px; text-align:left; vertical-align: top;\">
            </td>
            <td width=\"400px\" style=\"text-align: center; vertical-align: top; border-bottom: 2px solid #000; padding-bottom: 5px;padding-top: 20px;\">
                <div style=\"text-align: center;text-transform: uppercase;width: 400px;margin: 0 auto;font-weight: bold;font-size: 20px;  font-family:Arial,Helvetica\">
                    Invoice
                </div>
            </td>
            <td width=\"250px\" style=\"color:#000;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:20px; text-align:left; vertical-align: top;\">
            </td>
        </tr>
        <tr style=\"padding:0;text-align:left;vertical-align:top\">
            <td width=\"250px\" style=\"color:#000;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:20px; text-align:left; vertical-align: top;\">
            </td>
            <td width=\"400px\" style=\"text-align: center; vertical-align: top; padding-bottom: 5px;padding-top: 5px;margin-bottom: 30px;\">
                <div style=\"text-align: center;text-transform: uppercase;width: 400px;margin: 0 auto;font-weight: bold;font-size: 16px;  font-family:Arial,Helvetica\">
                    No:{fpl_reservation_id}, {fpl_now_date}
                </div>
            </td>
            <td width=\"250px\" style=\"color:#000;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:20px; text-align:left; vertical-align: top;\">
            </td>
        </tr>
    </tbody>
</table>

<table width=\"900px\" align=\"center\" style=\"border-collapse:collapse;border-spacing:0;float:none;margin:0 auto;text-align:center;vertical-align:top; width:900px;     margin-bottom: 30px;\">
    <tbody>
        <tr style=\"padding:0;text-align:left;vertical-align:top\">
            <td width=\"900px\" style=\"color:#000;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:20px; text-align:left; vertical-align: top;\">
                <b>Arrival:</b> {fpl_datein}<br>
                <b>Departure:</b> {fpl_dateout}<br>
                <b>No. Room:</b> {fpl_room_name}<br>
            </td>
        </tr>
    </tbody>
</table>

<table width=\"900px\" align=\"center\" style=\"border-collapse:collapse;border-spacing:0;float:none;margin:0 auto;text-align:center;vertical-align:top; width:900px; font-family: Arial,Helvetica,sans-serif; font-size: 14px; margin-bottom: 50px;\">
    <thead>
        <tr>
            <th style=\"vertical-align: bottom; border-bottom: 2px solid #000; border-top: 2px solid #000; padding: 8px; line-height: 1.54; text-align: left;\">Date</th>
            <th style=\"vertical-align: bottom; border-bottom: 2px solid #000; border-top: 2px solid #000; padding: 8px; line-height: 1.54; text-align: left;\">Description</th>
            <th style=\"vertical-align: bottom; border-bottom: 2px solid #000; border-top: 2px solid #000; padding: 8px; line-height: 1.54; text-align: left;\"></th>
            <th style=\"vertical-align: bottom; border-bottom: 2px solid #000; border-top: 2px solid #000; padding: 8px; line-height: 1.54; text-align: right;\">Charges</th>
            <th style=\"vertical-align: bottom; border-bottom: 2px solid #000; border-top: 2px solid #000; padding: 8px; line-height: 1.54; text-align: right;\">Credits</th>
        </tr>  
    </thead>                                    
    <tbody><!--tr><td>{fpl_daily_profit}</td></tr-->
        <tr>
            <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: left;\">{date}</td>
            <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: left;\">{action_name}</td>
            <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: left;\">{fpl_event_description}</td>
            <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: right;\">{accrual_price}</td>
            <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: right;\">{payment_price}</td>
        </tr><!--tr><td>{/fpl_daily_profit}</td></tr-->
    </tbody>
    <tfoot>
        <tr>
            <th style=\"padding: 8px; line-height: 1.54; vertical-align: top; border-top: 2px solid #000;\"></th>
            <th style=\"padding: 8px; line-height: 1.54; vertical-align: top; border-top: 2px solid #000;\"></th>
            <th style=\"padding: 8px; line-height: 1.54; vertical-align: top; border-bottom: 2px solid #000; border-top: 2px solid #000; text-align: left;\"><b>Total</b></th>
            <th style=\"padding: 8px; line-height: 1.54; vertical-align: top; border-bottom: 2px solid #000; border-top: 2px solid #000; text-align: right;\"><b>{fpl_total_charges}</b></th>
            <th style=\"padding: 8px; line-height: 1.54; vertical-align: top; border-bottom: 2px solid #000; border-top: 2px solid #000; text-align: right;\"><b>{fpl_total_credits}</b></th>
        </tr>
        <tr>
            <th style=\"padding: 8px; line-height: 1.54; vertical-align: top;\"></th>
            <th style=\"padding: 8px; line-height: 1.54; vertical-align: top;\"></th>
            <th style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: left;\"><b>Balance</b></th>
            <th colspan=\"2\" style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: center;\"><b>{fpl_daily_profit_balance}</b></th>
        </tr>
    </tfoot>
</table>
                                                

<table width=\"900px\" align=\"center\" style=\"border-collapse:collapse;border-spacing:0;float:none;margin:0 auto;text-align:center;vertical-align:top; width:900px; font-family: Arial,Helvetica,sans-serif; font-size: 14px; margin-bottom: 50px;\">
    <thead>
        <tr>
            <th style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: left; border-bottom: 2px solid #000; border-top: 2px solid #000;\">&nbsp;</th>
            <th style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: right; border-bottom: 2px solid #000; border-top: 2px solid #000; color: #000\">NET</th>
            <th style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: right; border-bottom: 2px solid #000; border-top: 2px solid #000;color: #000\">VAT</th>
            <th style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: right; border-bottom: 2px solid #000; border-top: 2px solid #000; color: #000\">GROSS</th>
        </tr>
    </thead>
    <tbody><!--tr><td>{fpl_vat_block}</td></tr-->
        <tr>
            <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; color: #000; text-align: left;\"> Services {fpl_vat_rate}% VAT </td>
            <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; color: #000; text-align: right;\"> {fpl_net_value} </td>
            <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; color: #000;  text-align: right;\"> {fpl_vat_value} </td>
            <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; color: #000; text-align: right;\">{fpl_brutto_value} </td>
        </tr>
    <!--tr><td>{/fpl_vat_block}</td><tr--></tbody>
</table>

<table width=\"900px\" align=\"center\" style=\"border-collapse:collapse;border-spacing:0;float:none;margin:0 auto;text-align:center;vertical-align:top; width:900px;\">
    <tbody>
        <tr style=\"padding:0;text-align:left;vertical-align:top\">
            <td width=\"450px\" style=\"color:#000;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:20px; text-align:left; vertical-align: top;\">
                <table style=\"margin-bottom: 30px;\">
                    <tbody><tr>
                        <td width=\"200px\" height=\"70px;\" style=\"text-align: left; font-family:Arial,Helvetica,sans-serif; font-weight:400;line-height:20px; border-bottom: 2px solid #000; font-size: 12.5px;\">
                                Front Desk Agent:
                        </td>
                        <td width=\"250px\">
                            
                        </td>
                    </tr>
                </tbody></table>
            </td>
            <td width=\"450px\" style=\"color:#000;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:20px; text-align:left; vertical-align: top;\">
                <table style=\"margin-bottom: 30px;\">
                    <tbody><tr>
                        <td width=\"250px\">
                            
                        </td>
                        <td width=\"200px\" height=\"70px;\" style=\"text-align: left; font-family:Arial,Helvetica,sans-serif; font-weight:400;line-height:20px; border-bottom: 2px solid #000; font-size: 12.5px;\">
                                Guest signature:
                        </td>
                    </tr>
                </tbody></table>
            </td>
        </tr>
    </tbody>
</table>
<table width=\"900px\" align=\"center\" style=\"border-collapse:collapse;border-spacing:0;float:none;margin:0 auto;text-align:center;vertical-align:top; width:900px;\">
    <tbody>
        <tr style=\"padding:0;text-align:left;vertical-align:top\">
            <td>
                </td></tr><tr>
                    <td style=\"text-align: left; font-family:Arial,Helvetica,sans-serif; font-weight:400;line-height:20px;\">
                    <div style=\"font-size: 12.5px; text-align: left; padding-top: 10px; color: #000;\">
                        <b>To pay your invoice online  please visit <a href=\"{fpl_aquiring_url}\">Payment page</a>
                        <br> or you can remit payment using following credentials:</b><br><br>
                        <b>Name of Beneficiary</b>: {fpl_partner_name}
                        <br>{fpl_bank_details} <b>{fpl_caption_key}:</b> {fpl_caption_value}<br>
                        {/fpl_bank_details}
                        <br><br>
                        Please include your invoice number when remitting payment.
                    </div>
                    </td>
                </tr>
            

            <tr><td width=\"450px\" style=\"color:#000;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:20px; text-align:left; vertical-align: top; text-align: right;\">
                <div style=\"font-size: 12.5px; text-align: right;\">
                    We hope you had an exceptional stay at the {fpl_hotel_name}
                    <br>and look forward to hearing your feedback.
                    <br><br>

                    Please email your comments to:<br>
                    {fpl_hotel_mail}<br>
                    Phone {fpl_hotel_phone}<br>
                </div>
            </td>
        </tr>
    </tbody>
</table>

                        
                        
                        
                        
                        