
                          
                          <table border=\"0\" style=\"margin:0 auto;background:0 0;border-collapse:collapse;border-spacing:0;float:none;margin:0 auto;padding:0;vertical-align:top;width:900px; color: #66767c;
    font-family: Arial,Helvetica,sans-serif; font-size: 12.5px;\">
    <tbody><tr>
        <td>
            <table width=\"100%\" cellspacing=\"0\" cellpadding=\"4\" style=\"-moz-box-sizing: border-box; -ms-text-size-adjust: 100%; -webkit-box-sizing: border-box; -webkit-text-size-adjust: 100%;
Margin: 0; box-sizing: border-box; color: #66767c; font-family: Arial,Helvetica,sans-serif; font-size: 16px; font-weight: 400; line-height: 20px; margin: 0; min-width: 100%; padding: 0; text-align: left;
width: 100%!important; width: 100%; border-collapse: collapse; border-spacing: 0; border-collapse: collapse; border-spacing: 0; font-size: 12.5px; color: rgba(27, 34, 44, 0.72); margin-top: 10px;     border: #e3e5e6 1px solid;\">
                <tbody><tr>
                    <td colspan=\"2\" rowspan=\"2\" width=\"60%\" style=\"border: #e3e5e6 1px solid;\">
                        {fpl_partner_bankname}
                        <br>
                        <br>
                        <br>
                        Банк получателя
                    </td>
                    <td style=\"vertical-align:top; border: #e3e5e6 1px solid;\">
                        БИК
                    </td>
                    <td rowspan=\"2\" style=\"vertical-align:top; border: #e3e5e6 1px solid;\">
                        {fpl_partner_MFO}
                        <br>
                        <br>
                        <span style=\"margin-top:4px; display:block\">
                        {fpl_partner_correspondent_account}
                        </span>
                    </td>
                </tr>
                <tr>
                    <td style=\"vertical-align:top; border: #e3e5e6 1px solid;\">
                        Сч&nbsp;№
                    </td>
                </tr>
                <tr>
                    <td>
                        ИНН    {fpl_partner_DOC_INN}
                    </td>
                    <td>
                        КПП     {fpl_partner_ZKPO}
                    </td>
                    <td rowspan=\"2\" style=\"vertical-align:top; border: #e3e5e6 1px solid;\">
                        Сч&nbsp;№
                    </td>
                    <td rowspan=\"2\" style=\"vertical-align:top; border: #e3e5e6 1px solid;\">
                        {fpl_partner_accountnumber}
                    </td>
                </tr>
                <tr>
                    <td colspan=\"2\" style=\"border: #e3e5e6 1px solid;\">
                        {fpl_partner_name}
                        <br>
                        <br>
                        <br>
                        Получатель
                    </td>
                </tr>
            </tbody></table>
            <br>
        </td>
    </tr>
    <tr>
        <td style=\"padding-top: 20px;\">
            <h2 style=\"margin:0;\">
                Счет на оплату № {fpl_reservation_id} от {fpl_now_date}
            </h2>
            <hr style=\"border: 1px #f2f4f5 solid;margin-left: 0;margin-right: 0;margin-top: 15px;\">
            <table style=\"border-collapse:collapse;margin:0;padding:0;width:100%;font-size: 12.5px;margin-top: 15px;margin-bottom: 15px;\">
                <tbody><tr>
                    <td style=\" vertical-align:top; width: 13%;    padding-bottom: 10px;\">
                        Поставщик:
                    </td>
                    <td style=\" vertical-align:top\">
                        <b>{fpl_partner_name}, ИНН {fpl_partner_DOC_INN}, КПП {fpl_partner_ZKPO}, {fpl_partner_region}, {fpl_partner_city}, {fpl_partner_addrLine1} </b>
                    </td>
                </tr>
                <tr>
                    <td style=\" vertical-align:top\">
                        Покупатель:
                    </td>
                    <td style=\" vertical-align:top\">
                        <b>{fpl_customer_company_name} ИНН {fpl_customer_company_inn}, КПП {fpl_customer_company_kpp}</b>
                    </td>
                </tr>
                <tr>
                    <td style=\" vertical-align:top\">
                        Основание:
                    </td>
                    <td style=\" vertical-align:top\">
                        <b>Бронирование № {fpl_reservation_id} на проживания гостя  {fpl_guest_lastname} {fpl_guest_firstname} {fpl_guest_middlename} в {fpl_hotel_name} с  {fpl_datein} по {fpl_dateout}, номер категории {fpl_categories_name}</b>
                    </td>
                </tr>
            </tbody></table>
            <br>
            <table width=\"100%\" style=\"-moz-box-sizing: border-box; -ms-text-size-adjust: 100%; -webkit-box-sizing: border-box; -webkit-text-size-adjust: 100%;
Margin: 0; box-sizing: border-box; color: #66767c; font-family: Arial,Helvetica,sans-serif; font-size: 16px; font-weight: 400; line-height: 20px; margin: 0; min-width: 100%; padding: 0; text-align: left;
width: 100%!important; width: 100%; border-collapse: collapse; border-spacing: 0; border-collapse: collapse; border-spacing: 0; font-size: 12.5px; color: rgba(27, 34, 44, 0.72); margin-top: 10px;\">
                <tbody><tr>
                    <th style=\"vertical-align: bottom; border-bottom: 2px solid #f2f4f5; padding: 8px; line-height: 1.54; text-align: left;\">
                        №
                    </th>
                    <th style=\"vertical-align: bottom; border-bottom: 2px solid #f2f4f5; padding: 8px; line-height: 1.54; white-space: nowrap; text-align: left;\">
                        Товары (работы, услуги)
                    </th>
                    <th style=\"vertical-align: bottom; border-bottom: 2px solid #f2f4f5; padding: 8px; line-height: 1.54;\">
                        Кол-во
                    </th>
                    <th style=\"vertical-align: bottom; border-bottom: 2px solid #f2f4f5; padding: 8px; line-height: 1.54;\">
                        Ед.
                    </th>
                    <th style=\"vertical-align: bottom; border-bottom: 2px solid #f2f4f5; padding: 8px; line-height: 1.54;\">
                        Цена
                    </th>
                    <th style=\"vertical-align: bottom; border-bottom: 2px solid #f2f4f5; padding: 8px; line-height: 1.54;\">
                        Сумма
                    </th>
                </tr>
                <!-- tr><td>{fpl_custom_ServicesList} </td/</tr-->
                <tr>
                    <td style=\"padding: 8px; line-height: 1.54; vertical-align: top;\">
                        {fpl_counter}
                    </td>
                    <td style=\"padding: 8px; line-height: 1.54; vertical-align: top;\">
                        {fpl_services_name}
                    </td>
                    <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: right\">
                        {fpl_services_services_count}
                    </td>
                    <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: right\">
                        {fpl_services_measure}
                    </td>
                    <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: right\">
                        {fpl_servicesamount_perunit}
                    </td>
                    <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; text-align: right\">
                        {fpl_servicesamount}
                    </td>
                </tr>
<!-- tr><td>{/fpl_custom_ServicesList} </td/</tr-->
                <tr>
                    <td colspan=\"5\" align=\"right\" style=\"padding: 8px; line-height: 1.54; vertical-align: top; border-top: 1px solid #f2f4f5; text-align: right;\">
                        <b>Итого:</b>
                    </td>
                    <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; border-top: 1px solid #f2f4f5; text-align: right\">
                        <b>{fpl_custom_ServicesList_amount}</b>
                    </td>
                </tr>
                <tr>
                    <td colspan=\"5\" align=\"right\" style=\"padding: 8px; line-height: 1.54; vertical-align: top; border-top: 1px solid #f2f4f5; text-align: right;\">
                        <b>{fpl_is_VAT_included}:</b>
                    </td>
                    <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; border-top: 1px solid #f2f4f5; text-align: right\">
                        <b>{fpl_custom_servicesList_vat_summ}</b>
                    </td>
                </tr>
                <tr>
                    <td colspan=\"5\" align=\"right\" style=\"padding: 8px; line-height: 1.54; vertical-align: top; border-top: 1px solid #f2f4f5; text-align: right;\">
                        <b>Всего к оплате:</b>
                    </td>
                    <td style=\"padding: 8px; line-height: 1.54; vertical-align: top; border-top: 1px solid #f2f4f5;text-align: right;\">
                        <b>{fpl_custom_ServicesList_amount}</b>
                    </td>
                </tr>
                
            </tbody></table>
            <p style=\"line-height: 20px;\">
                Всего наименований {fpl_custom_ServicesList_quantity}, на сумму <u> {fpl_custom_ServicesList_amount} </u>  {fpl_caption_currency}
                <br>
                {fpl_custom_ServicesList_amount_string}
            </p>
        </td>
    </tr>
    <tr>
        <td>
            <hr style=\"border: 1px #f2f4f5 solid;margin-left: 0;margin-right: 0;margin-top: 15px; margin-bottom: 10px;\">
        </td>
    </tr>

</tbody></table>

                        