From 3c85c420c521417d11b839c53deb34054b1832c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81bastien?= Date: Fri, 15 May 2020 15:05:30 +0200 Subject: [PATCH] Fix sercice details display on booking page. --- application/views/appointments/book.php | 2 +- assets/js/frontend_book.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/application/views/appointments/book.php b/application/views/appointments/book.php index 3ac56825..5dee71c8 100755 --- a/application/views/appointments/book.php +++ b/application/views/appointments/book.php @@ -156,7 +156,7 @@ - +
diff --git a/assets/js/frontend_book.js b/assets/js/frontend_book.js index 2c78d362..4e2988f0 100644 --- a/assets/js/frontend_book.js +++ b/assets/js/frontend_book.js @@ -737,7 +737,9 @@ window.FrontendBook = window.FrontendBook || {}; 'text': service.description }) .appendTo($serviceDescription); + } + if (service.duration || Number(service.price) > 0 || service.location) { $('
') .appendTo($serviceDescription); }