<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<form col="6">
    <label name="party"/>
    <field name="party" colspan="2"/>
    <button name="update_holder" string="Create/Update Holder"
      icon="tryton-open"/>
    <label name="number"/>
    <field name="number"/>
    <label name="contact"/>
    <field name="contact"/>
    <label name="lead_origin"/>
    <field name="lead_origin" widget="selection"/>
    <label name="booking_date"/>
    <field name="booking_date"/>
    <label name="responsible_payment"/>
    <field name="responsible_payment"/>
    <label name="media"/>
    <field name="media"/>
    <label name="plan"/>
    <field name="plan"/>
    <label name="rate_plan"/>
    <field name="rate_plan" widget="selection"/>
    <label name="payment_term"/>
    <field name="payment_term" widget="selection"/>
    <label name="space"/>
    <field name="space" widget="selection"/>
    <label name="channel"/>
    <field name="channel" widget="selection"/>
    <label name="ota_booking_code"/>
    <field name="ota_booking_code"/>
    <label name="channel_payment_method"/>
    <field name="channel_payment_method"/>
    <group col="5" id="actions" colspan="4">
      <button name="do_payment" string="Pay / Advance" icon="tryton-currency"/>
      <button name="select_rooms" string="Rooms" icon="tryton-board"/>
      <button name="send_email_booking" string="Send Email" icon="tryton-email"/>
    </group>
    <group col="6" id="add_info_group_taxes" colspan="2">
      <label name="group"/>
      <field name="group"/>
      <label name="corporative"/>
      <field name="corporative"/>
      <label name="link_web_checkin"/>
      <field name="link_web_checkin" widget="url"/>
    </group>
    <notebook colspan="6">
        <page string="Lines" id="lines">
            <field name="lines" colspan="4"
                view_ids="hotel.booking_folio_view_tree"/>
        </page>
        <page string="Payments and Invoices" id="invoices_vouchers">
            <field name="payments" colspan="4"/>
            <field name="invoices" colspan="4"/>
            <field name="vouchers" colspan="4"/>
        </page>
        <page string="Stock" id="stock_moves">
            <field name="stock_moves" colspan="4"/>
        </page>
        <page string="Additional Info" id="additional_info">
            <label name="company"/>
            <field name="company"/>
            <label name="currency"/>
            <field name="currency"/>
            <label name="price_list"/>
            <field name="price_list" widget="selection"/>
            <label name="agent"/>
            <field name="agent" widget="selection"/>
            <label name="credit_card"/>
            <field name="credit_card"/>
            <label name="guarantee"/>
            <field name="guarantee"/>
            <label name="reason"/>
            <field name="reason"/>
            <label name="vip"/>
            <field name="vip"/>
            <group col="6" id="people_num" colspan="4">
              <label name="guests_num"/>
              <field name="guests_num"/>
              <label name="adult_num"/>
              <field name="adult_num"/>
              <label name="children_num"/>
              <field name="children_num"/>
            </group>
            <label name="complementary"/>
            <field name="complementary"/>
            <label name="type_complementary"/>
            <field name="type_complementary"/>
            <label name="cancellation_policy"/>
            <field name="cancellation_policy" widget="selection"/>
            <label name="vehicles_num"/>
            <field name="vehicles_num"/>
            <newline/>
            <separator name="notes" colspan="4"/>
            <field name="notes" colspan="4"/>
        </page>
        <page string="Channel Manager" id="channel_manager">
            <label name="channel_manager"/>
            <field name="channel_manager"/>
            <label name="reservation_code"/>
            <field name="reservation_code"/>
            <label name="collection_mode"/>
            <field name="collection_mode"/>
            <label name="created_channel"/>
            <field name="created_channel"/>
            <label name="channel_commission"/>
            <field name="channel_commission"/>
            <label name="channel_invoice"/>
            <field name="channel_invoice"/>
            <field name="extra_commissions"  colspan="4"/>
        </page>
        <page string="Notifications" id="notifications">
            <field name="emails" colspan="4"/>
        </page>
        <page string="Account Moves" id="account_moves">
            <field name="income_moves" colspan="4"/>
        </page>
    </notebook>
    <group col="4" colspan="3" id="buttons">
      <button name="cancel" string="Cancel" icon="tryton-cancel"/>
      <button name="not_show" string="Not Show" icon="tryton-cancel"/>
      <button name="offer" string="Offer" icon="tryton-clear"/>
      <button name="confirm" string="Confirm" icon="tryton-forward"/>
      <label name="state"/>
      <field name="state"/>
      <button name="bill" string="Bill"/>
    </group>
    <group col="6" colspan="3" xfill="1" id="amounts">
      <label name="untaxed_amount"/>
      <field name="untaxed_amount"/>
      <label name="tax_amount"/>
      <field name="tax_amount"/>
      <label name="total_amount"/>
      <field name="total_amount"/>
      <label name="total_advances"/>
      <field name="total_advances"/>
      <label name="pending_to_pay"/>
      <field name="pending_to_pay"/>
    </group>
</form>
