Disable transaction creation in wash certificate generation

Commented out the transaction creation step for bookings to prevent unnecessary or redundant transactions. This ensures the booking process focuses solely on wash certificate completion and status updates without altering the transactional state.
This commit is contained in:
Jepp9350
2025-04-28 08:11:03 +02:00
parent e140c3242f
commit 941ed2dce6
@@ -82,7 +82,7 @@ class generate_booking_wash_certificate_f extends form_helper_c
// Send the wash certificate to the customer
$bookings->sendWashCertificateToCustomer();
// Create the transaction based on the booking
$transaction = $bookings->createTransaction();
//$transaction = $bookings->createTransaction();
// Mark the booking as completed
$bookings->status->set('completed');
$bookings->washCertificateStatus->set('completed');