mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-29 03:12:39 +03:00
Merge pull request #778 from popod/fix-service-details-display-in-booking-page
Fix display of service details when the service change in the booking process
This commit is contained in:
commit
6348b1af56
2 changed files with 3 additions and 1 deletions
|
@ -156,7 +156,7 @@
|
||||||
<select id="select-provider" class="col-xs-12 col-sm-4 form-control"></select>
|
<select id="select-provider" class="col-xs-12 col-sm-4 form-control"></select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="service-description" style="display:none;"></div>
|
<div id="service-description"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -737,7 +737,9 @@ window.FrontendBook = window.FrontendBook || {};
|
||||||
'text': service.description
|
'text': service.description
|
||||||
})
|
})
|
||||||
.appendTo($serviceDescription);
|
.appendTo($serviceDescription);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (service.duration || Number(service.price) > 0 || service.location) {
|
||||||
$('<br/>')
|
$('<br/>')
|
||||||
.appendTo($serviceDescription);
|
.appendTo($serviceDescription);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue