Files
nobat724_front/app
hamedandClaude Opus 4.8 59d29cd7c7 fix(appointment): correct payment flow and account-info prefill
- Booking response is double-nested: read appointment uuid/expires_at from
  res.data.data so the payment countdown and gateway redirect actually fire.
- Payment result page (/payment/[uuid]): unwrap res.data.data, use real
  backend fields (amount_rials, gateway, created_at, type) and statuses
  (pending/success/failed/canceled/refunded); the "pay" button now re-initiates
  via postAppointmentPayment instead of building a URL on the API origin.
- Add /payment/result interstitial that reads payment_uuid from the gateway
  callback and forwards to /payment/[uuid].
- Prefill account info correctly in the booking form: name from profile.label,
  insurances from *_id, gender as string, national_code editable unless approved.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 10:06:56 +03:30
..
2026-06-05 21:28:12 +03:30
2026-06-05 21:28:12 +03:30
2026-06-05 21:28:12 +03:30
2026-06-05 21:28:12 +03:30
2026-06-05 21:28:12 +03:30
2025-06-08 10:13:06 +03:30
2025-05-18 01:18:35 +03:30
2026-06-05 21:28:12 +03:30
2025-05-12 13:26:59 +03:30
2024-10-26 00:51:59 +03:30
2026-06-05 21:05:07 +03:30
2026-06-05 21:28:12 +03:30
2024-05-14 19:54:46 +03:30
2025-05-18 01:18:35 +03:30
2024-09-30 14:30:43 +03:30