"Disable vehicle selection view in PosDepartmentStepMobile2.vue when primary product is set."
This commit is contained in:
@@ -138,6 +138,8 @@ const applyPendingBookingFromSelection = async () => {
|
||||
try {
|
||||
await SessionUser.objects.orders.set.po(order_id.value, booking.po);
|
||||
console.warn('Applied PO from booking:', booking.po);
|
||||
// If the primary product is set, do not show the vehicle selection view
|
||||
vehicleSelection.value = false;
|
||||
} catch (e) {
|
||||
console.error('Failed to set PO on order from booking', e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user