osu-cascades / neap

Online application system for the NeighborImpact Energy Assistance Program.
0 stars 1 forks source link

EnergyApplication: Create simple printable pdf proof of concept #95

Closed ybakos closed 3 years ago

ybakos commented 3 years ago

Add a "print" button to the admin/energy_applications/show view. Use a 'print' route and action in Admin::EnergyApplicationsController.

Use some ruby libraries to just create a simple pdf doc with the words "example" on it.

WireHallMedic commented 3 years ago

Underlying functionality in place, but in place of show rather than an option under show. Will communicate with team as to best way to implement.

ybakos commented 3 years ago

@WireHallMedic I recommend having both an html view of the application (via #show) and a printable pdf view.

ybakos commented 3 years ago

@WireHallMedic This is kick ass, nice proof of concept here. Now for the details... :)

ybakos commented 3 years ago

See https://github.com/osu-cascades/neap/commit/21abeb3be13ff55e851b0b7020a32d53b489ee73 for a tip.

ybakos commented 3 years ago

@WireHallMedic Been waiting on this one - it is blocking other work. Where are you at? This is a quick change.