---
Zeno wants to add
(My question is: Remove it from the print page or in the edit page, too)
Having a look at gem rqrcode from http://whomwah.github.io/rqrcode/ which has over 250K installations.
But first pushed commits to remove details. Had to change a few watir tests because of changed description from epha.
Improving the the watir tests for printing a prescription, as neither the first nor the family name showed up in the printed output.
Now they appear, but I remarked that my watir test did not work correctly. As printing opens a new tab, I must tell watir to switch to this new windows. Therefore add the line @browser.windows.last.use if @browser.windows.size != oldWindowsSize
.
Must still fix the problem, why the prescription comment is not shown in the print dialog. Analysing the POST-data via HttpFox. This is okay and they appear like this prescription_comment[0] Eins
. Fixed this problem with commit Fix printing prescription.
Now must correct wrong indent of comment field when displaying prescription. Must also fix:
Simplified the layout in view/prescription. Now the comment is correctly aligned, but the interactions don't show up as they should. Fixed this problem. Now must correct printing the descriptions. Fixed this problem, too. Running rspec spec
(Watir-Tests) before pushing commit. I see an error when running the spec for medical_products, but doing a slightly different manual check works. Therefore pushing commit Fixing comment in prescription and printing