GnuCashew ~ GnuCash Enabled Web
GCW
CustomerReportWidget.cpp
Go to the documentation of this file.
1 #line 2 "src/Gui/CustomerReportWidget.cpp"
2 
3 #include <Wt/WText.h>
4 #include <Wt/WVBoxLayout.h>
5 
6 #include "../define.h"
7 #include "../GnuCashew.h"
8 #include "CustomerReportWidget.h"
9 
11 CustomerReportWidget( const std::string & _customerGuid )
12 : m_customerGuid( _customerGuid )
13 {
14  addStyleClass( "CustomerReportWidget" );
15 
16  /*
17  ** Apply a layout so everything will fit in the window
18  **
19  */
20  auto lw = setLayout( std::make_unique< Wt::WVBoxLayout >() );
21  lw-> setSpacing( 0 );
22 
23 } // endGCW::Gui::CustomerReportWidget::CustomerReportWidget()
24 
25 
26 
CustomerReportWidget(const std::string &_customerGuid)