Creating pdf report button.

This commit is contained in:
ruidajo 2023-07-25 20:24:52 -05:00
parent f82728d159
commit 625e66f006
2 changed files with 8 additions and 0 deletions

View File

@ -46,6 +46,10 @@ asCardElement
aptitude: BrGlamorousButtonWithLabelAptitude new; aptitude: BrGlamorousButtonWithLabelAptitude new;
label: 'Web view'; label: 'Web view';
action: [ self webView ]. action: [ self webView ].
BrButton new
aptitude: BrGlamorousButtonWithLabelAptitude new;
label: 'PDF report';
action: [ WebBrowser openOn: self pdfReportFile fullName ].
}. }.
^ BrHorizontalPane new ^ BrHorizontalPane new

View File

@ -0,0 +1,4 @@
accessing
pdfReportFile
^ self folder / self userName , 'pdf'