<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
    <t t-name="pos_restaurant.ProductScreen" t-inherit="point_of_sale.ProductScreen" t-inherit-mode="extension">
        <xpath expr="//OrderWidget/t[@t-set-slot='details']" position="inside">
            <button t-if="showBookButton()" class="btn btn-primary py-2 rounded-0 book-table" style="border:none; font-size: 20px;" t-on-click="bookTable">Book table</button>
        </xpath>
        <xpath expr="//OrderWidget" position="attributes">
            <attribute name="isConfigRestaurant">pos.config.module_pos_restaurant</attribute>
            <attribute name="isOrderBooked">currentOrder.isBooked</attribute>
        </xpath>
    </t>
</templates>
