Compare commits

..

No commits in common. "19527c1673a8933235e0d8aa4d0641f191da6f29" and "2a8930f3606b64a78c75831b535dd90ead15af0f" have entirely different histories.

2 changed files with 2 additions and 24 deletions

View File

@ -268,28 +268,6 @@ class TableReservationController(http.Controller):
'end_time': end_time,
'state': 'confirmed' # Direct confirmation from website
})
# Send Email
try:
mail_values = {
'subject': f"New Table Reservation: {customer_name}",
'body_html': f"""
<p>A new table reservation has been submitted successfully.</p>
<ul>
<li><b>Customer Name:</b> {customer_name}</li>
<li><b>Phone:</b> {phone}</li>
<li><b>Email:</b> {email}</li>
<li><b>Number of Guests:</b> {num_people}</li>
<li><b>Time:</b> {start_time_str}</li>
</ul>
""",
'email_to': 'alaguraj0361@gmail.com',
}
mail = request.env['mail.mail'].sudo().create(mail_values)
mail.send()
except Exception:
pass
return request.render("dine360_reservation.reservation_success_template", {
'reservation': reservation,
})

View File

@ -736,7 +736,7 @@ section h2.display-4 {
left: 0;
width: 100%;
height: 100%;
background: #fecd4fd4;
background: #e9ecef;
z-index: 0;
border-radius: 4px;
}
@ -745,7 +745,7 @@ section h2.display-4 {
position: relative;
z-index: 1;
width: 100%;
// border-radius: 50%;
border-radius: 50%;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
}