You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
6.0 KiB
114 lines
6.0 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Template for the Service booking page -->
|
|
<template id="car_service_booking_page" name="Service">
|
|
<t t-call="website.layout">
|
|
<div id="wrap" class="wrap website_fleet_service_widget">
|
|
<div class="container">
|
|
<div class="col-md-6">
|
|
<h1 class="head">
|
|
<b>Car Service Booking</b>
|
|
</h1>
|
|
<div class="image"/>
|
|
</div>
|
|
<div class="col-md-6 body">
|
|
<form action="/service_booking/submit">
|
|
<div id="vehicle">
|
|
<div class="form-group">
|
|
<label>Vehicle Model</label>
|
|
<select name="vehicle_model"
|
|
class="form-control link-style"
|
|
required="true">
|
|
<t t-foreach="vehicle_ids"
|
|
t-as="vehicle_id">
|
|
<option t-esc="vehicle_id.name"
|
|
t-att-value="vehicle_id.id"/>
|
|
</t>
|
|
</select>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Vehicle Number</label>
|
|
<input type="text"
|
|
placeholder='Enter Your Vehicle Number'
|
|
name="vehicle_no"
|
|
class="form-control link-style"
|
|
required="true"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Service Package</label>
|
|
<select name="service_type"
|
|
id="service_type"
|
|
class="form-control link-style"
|
|
required="true">
|
|
<option value="">Select Service
|
|
Package
|
|
</option>
|
|
<t t-foreach="service_type_ids"
|
|
t-as="service_type_id">
|
|
<option t-esc="service_type_id.name"
|
|
t-att-value="service_type_id.id"
|
|
t-att-amount="service_type_id.total"/>
|
|
</t>
|
|
</select>
|
|
<div class="form-group">
|
|
<label>Service Amount</label>
|
|
<input type="text" name="amount"
|
|
id="amount"
|
|
class=" form-control link-style"
|
|
required="true" readonly="1"/>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Any Special Instructions</label>
|
|
<input type="textarea"
|
|
placeholder='Any Special Instructions'
|
|
name="instruction"
|
|
class=" form-control link-style"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Location</label>
|
|
<input type="text"
|
|
placeholder='Enter Your Location'
|
|
name="location"
|
|
class=" form-control link-style"
|
|
required="true"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Mobile No</label>
|
|
<input type="text"
|
|
placeholder='Enter Your Mobile Number'
|
|
name="number"
|
|
class=" form-control link-style"
|
|
required="true"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Date</label>
|
|
<input type="date" name="date"
|
|
class="form-control link-style"
|
|
required="true"/>
|
|
</div>
|
|
<button type="submit" class="button">Confirm
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</template>
|
|
<!-- Template used to redirect the booking page into success -->
|
|
<template id="car_service_booking_success_page" name="ServiceBooking">
|
|
<t t-call="website.layout">
|
|
<div id="wrap">
|
|
<div class="container">
|
|
<div class="col-md-12">
|
|
<div class="success">
|
|
Booking have been Created Successfully.
|
|
</div>
|
|
</div>
|
|
<a href="/service_booking" class="link">Back to Booking</a>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</template>
|
|
</odoo>
|
|
|