Fix sercice details display on booking page.

This commit is contained in:
Sébastien 2020-05-15 15:05:30 +02:00
parent 14540bfb44
commit 3c85c420c5
2 changed files with 3 additions and 1 deletions

View file

@ -156,7 +156,7 @@
<select id="select-provider" class="col-xs-12 col-sm-4 form-control"></select>
</div>
<div id="service-description" style="display:none;"></div>
<div id="service-description"></div>
</div>
</div>

View file

@ -737,7 +737,9 @@ window.FrontendBook = window.FrontendBook || {};
'text': service.description
})
.appendTo($serviceDescription);
}
if (service.duration || Number(service.price) > 0 || service.location) {
$('<br/>')
.appendTo($serviceDescription);
}