ohcnetwork / care_fe

Care is a Digital Public Good enabling TeleICU & Decentralised Administration of Healthcare Capacity across States.
https://care.ohc.network
MIT License
205 stars 379 forks source link

Enhancement to the prescrition print module #8275

Open nihal467 opened 1 month ago

nihal467 commented 1 month ago

follow-up : https://github.com/coronasafe/care_fe/pull/8259

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

photo_2024-08-08_15-53-24

Screenshot

image image

Fredrick2503 commented 1 month ago

How can I reproduce this issues?

nihal467 commented 1 month ago

@Fredrick2503

How can I reproduce this issues?

  1. Login to the care
  2. go to the patient tab using the side bar
  3. click on the patient card with active consultation
  4. in the consultation page, below the diagnosis card, click on the medicine tab in the nav bar
  5. on your the medicine pages, click on the edit prescription button
  6. now you will be seeing the page mention related to first point
  7. now click on the print button
  8. now you will be seeing the page mention related to second point
kushalbhana commented 1 month ago

Would love to work on it..

Fredrick2503 commented 1 month ago

Can I be assigned to the issues as I would like to work on this issues

nihal467 commented 1 month ago

@Fredrick2503 / @kushalbhana are you still interested in working on this issue?

kushalbhana commented 1 month ago

working on it...

kushalbhana commented 1 month ago

just let me know Do I have to modify the css of all the components in this print preview to make it responsive or is there any better way to do it

rithviknishad commented 1 month ago

@kushalbhana No, scaling the inner contents of the PrintPreview contents manually using tailwindcss modifiers could be difficult to maintain. Instead you could use the scale-* tailwind class (or CSS equivalent) at the section-to-print of the reusable generic PrintPreview component instead.

I've opened a separate issue for this with a more detailed description here: https://github.com/coronasafe/care_fe/issues/8323

Feel free to take that up

cc: @kushalbhana @Fredrick2503