Merge pull request #2711 from jitendra-webkul/1.0

Issue #2707 fixed
This commit is contained in:
Jitendra Singh 2020-03-20 16:13:54 +05:30 committed by GitHub
commit 6de80fff2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -164,6 +164,8 @@
* #2693 [fixed] - Booking product page - add to cart button js error
* #2707 [fixed] Getting exception when generate invoice in appointment booking
## **v1.0.0 (24th of February 2020)** - *Release*

View File

@ -128,6 +128,10 @@ class Booking extends Virtual
{
$bookingProduct = $this->getBookingProduct($this->product->id);
if (! $bookingProduct) {
return false;
}
if (in_array($bookingProduct->type, ['default', 'rental', 'table'])) {
return true;
}