Opens payment details form on button click.Form Submission: Stores details in PaymentDetails table.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 12:22 PM
Create a table called PaymentDetails with the following fields:
- Amount: Default value should be 500 and should be read-only.
- patient id: Auto-populated from the Patient table and read-only.
- patient name: Auto-populated from the Patient table and read-only.
- payment options Choice field with options "Cash" and "Card".
- card number :This field should be visible only if the payment option is "Card".
Add Payment Button on Patient Details Form
- Add a button on the Patient Details form called "Payment Button".
- When the button is clicked, a dialog window should open displaying the payment details form.
- The form should allow entering the payment details and submitting them.
- On submission, the details should be stored in the PaymentDetails table.
11 REPLIES 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 12:49 PM
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 02:45 PM - edited 07-30-2024 02:45 PM
Can you also share the UI page(u_payment_details) script to take a look.
Thanks,
Sanjay