Zip Ties, RAZCC 1200pcs Black Cable Zip Ties 12 Inch, Heavy Duty Plastic Wire Ti
Zip Ties, RAZCC 1200pcs Black Cable Zip Ties 12 Inch, Heavy Duty Plastic Wire Ties with 70lb Tensile Strength, Self-Locking Black Nylon Tie Wraps for Indoor and Outdoor
import { bookServiceWithMember } from 'backend/bookService'; import { getPricingPlan } from 'backend/pricingPlan'; $w.onReady(function () { $w('#bookButton').onClick(async () => { const memberId = $w('#memberIdInput').value; const serviceId = $w('#serviceIdInput').value; const otherMemberId = $w('#otherMemberIdInput').value; const planId = await getPricingPlan(memberId); if (planId) { const bookingResult = await bookServiceWithMember(memberId, serviceId, otherMemberId, planId); if (bookingResult.success) { console.log('Service booked successfully with another member'); } else { console.log('Failed to book service:', bookingResult.error); } } else { console.log('No valid pricing plan found for this member'); } }); });