45 #include <Wtx/Sys/Lookup/Lookup.h> 51 std::shared_ptr<Wt::WAbstractItemModel> getStatusModel(
int sid,
int tid,
const std::string & filter,
Wtx::Dbo::Session & session )
56 std::shared_ptr<Wt::WAbstractItemModel> getTermsModel(
int sid,
int tid,
const std::string & filter,
Wtx::Dbo::Session & session )
63 Wtx::Crm::Company::Definition::Definition()
64 :
Wtx::Dbo::PermissionTableDef(
"crmCompany")
69 ChargeDiffDaysFieldDef .setLabel(
"Diff Days" );
70 ChargeLtDaysFieldDef .setLabel(
"LT Days" );
71 ChargeStartFieldDef .setLabel(
"Start" );
72 ChargeMinInvChgInFieldDef .setLabel(
"MinInvChgIn" );
73 ChargeMinInvChgOutFieldDef .setLabel(
"MinInvChgOut" );
75 StatusFieldDef .setLabel(
"Status");
76 StatusFieldDef .getLookupModel = &::getStatusModel;
78 TermsFieldDef .setLabel(
"Terms");
79 TermsFieldDef .getLookupModel = &::getTermsModel;
81 MemoFieldDef .setLabel(
"Credit Card Info");
Wtx::Dbo::FieldDefLineEdit CfyFieldDef
Item Clarify Field.
Wtx::Dbo::FieldDefLineEdit KeyFieldDef
Item KEY field.
std::shared_ptr< Wt::WAbstractItemModel > getComboBoxModel(int tid, const std::string &group, Wtx::Dbo::Session &session, bool includeBlank=false)
Get a Combo-Box Model.