1#line 2 "src/Gui/Customer/Invoices.cpp"
3#include <Wt/WHBoxLayout.h>
14 auto m_hlw =
setLayout( std::make_unique< Wt::WHBoxLayout >() );
18 std::vector< Wt::WFormModel::Field > fields =
26 m_model = std::make_shared< GCW::Eng::InvoicesModel >( fields );
48 m_model-> setCustomerGuid( _guid );
50 std::cout << __FILE__ <<
":" << __LINE__ <<
" " << m_model-> rowCount() << std::endl;
52 m_tableView-> setModel( m_model );
auto setCustomerGuid(const std::string &_guid) -> void
std::shared_ptr< GCW::Eng::InvoicesModel > m_model
Wt::WTableView * m_tableView
const Wt::WFormModel::Field notes
const Wt::WFormModel::Field billing_id
const Wt::WFormModel::Field date_posted
const Wt::WFormModel::Field id