46 #ifndef __WTX_CRM_PERSON_H_234e0174_6b7d_11e8_b503_fb1ef3651ec0__ 47 #define __WTX_CRM_PERSON_H_234e0174_6b7d_11e8_b503_fb1ef3651ec0__ 49 #include <Wtx/Dbo/PermissionTableDef.h> 50 #include <Wtx/Dbo/FieldDefPhoneEdit.h> 52 #include <Wtx/Addons/Crm/Person/Item.h> 66 std::string key(
const std::string & lastName,
const std::string & firstName );
68 Wtx::Crm::Person::Item::Ptr load(
const std::string &
id,
Wtx::Dbo::Session & session );
69 Wtx::Crm::Person::Item::Ptr xfind(
const std::string & xid,
Wtx::Dbo::Session & session );
70 Wtx::Crm::Person::Item::Ptr
add(
const std::string & lastName,
const std::string & firstName,
Wtx::Dbo::Session & session );
72 std::shared_ptr<Wt::WAbstractItemModel> getComboBoxModel(
int sid,
int tid,
const std::string & where,
Wtx::Dbo::Session & );
78 #endif // __WTX_CRM_PERSON_H___ Wt::Dbo::ptr< Wtx::Crm::Activity::Item > add(const std::string &key, const Wt::WDate &date, Wtx::Dbo::Session &session)
Add an item to the lookup table.