Skip to content

Commit

Permalink
feat: add name and family for book onclick event
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirhBeigi committed Oct 21, 2024
1 parent f95c2f8 commit f56166b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/booking/views/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ const BookingSteps = (props: BookingStepsProps) => {
request_code: reserveId,
selected_national_code: user?.national_code,
selected_cell: user?.cell,
selected_name: user?.name,
selected_family: user?.family,
user_id: router.query?.userId,
provider_id: router.query?.providerId,
});
Expand Down Expand Up @@ -330,6 +332,8 @@ const BookingSteps = (props: BookingStepsProps) => {
slug: slug,
selected_national_code: user?.national_code,
selected_cell: user?.cell,
selected_name: user?.name,
selected_family: user?.family,
user_id: router.query?.userId,
provider_id: router.query?.providerId,
book_id: data.book_info.id,
Expand Down

0 comments on commit f56166b

Please sign in to comment.