1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/website_appointment/views/appointment_templates_registration.xml
2024-12-10 09:04:09 +07:00

25 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="appointment_form" name="Website Appointment: Your Data" inherit_id="appointment.appointment_form">
<xpath expr="//t[@t-call='portal.portal_layout']" position="attributes">
<attribute name="t-call">website.layout</attribute>
</xpath>
<xpath expr="//div[@id='wrap']" position="attributes">
<attribute name="class">o_wappointment_wrap h-100 overflow-x-hidden</attribute>
</xpath>
<xpath expr="//t[@t-set='o_portal_fullwidth_alert']" position="replace"/>
<xpath expr="//div[hasclass('o_appointment')]" position="before">
<nav class="o_wappointment_navbar d-print-none d-flex justify-content-between mb-4">
<a t-if="appointment_type.category in ['punctual', 'recurring'] and len(available_appointments) != 1"
class="o_wappointment_navbar_link text-truncate"
t-attf-href="/appointment?#{keep_query('filter_appointment_type_ids', 'filter_staff_user_ids', 'invite_token')}">
<i class="fa fa-long-arrow-left me-2"/>All Appointments
</a>
<t t-call="website_appointment.appointment_progress_bar">
<t t-set="step" t-value="30"/>
</t>
</nav>
</xpath>
</template>
</odoo>