6 #define FN_ACCOUNTGUID "accountGuid"
7 #define FN_DUEDAY "dueDay"
8 #define FN_MINIMUM "minimum"
9 #define FN_BUDGET "budget"
10 #define FN_NICKNAME "nickname"
11 #define FN_GROUP "group"
12 #define FN_LIMIT "limit"
13 #define FN_ACTUAL "actual"
16 #define FN_ISACTIVE "isActive"
17 #define FN_ISVISIBLE "isVisible"
18 #define FN_AUTOPAY "autoPay"
19 #define FN_PAYNOW "payNow"
20 #define FN_LAST4 "last4"
21 #define FN_NOTE "note"
26 : m_varItem( _varItem )
35 std::string sortvalue =
"0";
41 sortvalue +=
"." + dueDay();
43 return std::stof( sortvalue );
106 m_varItem-> getVarString(
FN_GROUP );
115 m_varItem-> getVarString(
FN_LIMIT );
130 url () const->
std::
string
133 m_varItem-> getVarString(
FN_URL );
139 ap () const->
std::
string
142 m_varItem-> getVarString(
FN_AP );
187 m_varItem-> getVarString(
FN_LAST4 );
196 m_varItem-> getVarString(
FN_NOTE );
203 cb(
int _index )
const-> std::string
212 setVar(
const std::string & _key,
const Wt::WString & _value )->
void
214 Wt::Dbo::Transaction t(
GCW::app()-> gnucashew_session() );
215 m_varItem.modify()-> setVar( _key, _value );
229 set_dueDay(
const Wt::WString & _value )->
void
245 set_budget(
const Wt::WString & _value )->
void
261 set_group(
const Wt::WString & _value )->
void
269 set_limit(
const Wt::WString & _value )->
void
277 set_actual(
const Wt::WString & _value )->
void
285 set_url(
const Wt::WString & _value )->
void
293 set_ap(
const Wt::WString & _value )->
void
295 setVar(
FN_AP, _value );
325 set_payNow(
const Wt::WString & _value )->
void
333 set_last4(
const Wt::WString & _value )->
void
341 set_note(
const Wt::WString & _value )->
void
349 set_cb(
int _index,
const Wt::WString & _value)->
void
auto set_url(const Wt::WString &_value) -> void
auto url() const -> std::string
auto set_last4(const Wt::WString &_value) -> void
auto note() const -> std::string
Item(GCW::Dbo::Vars::Item::Ptr _varItem)
auto limit() const -> std::string
auto setVar(const std::string &_key, const Wt::WString &_value) -> void
auto guid() const -> std::string
auto payNow() const -> std::string
auto set_autoPay(const Wt::WString &_value) -> void
auto isVisible() const -> std::string
auto set_limit(const Wt::WString &_value) -> void
auto last4() const -> std::string
auto cb(int _index) const -> std::string
auto set_budget(const Wt::WString &_value) -> void
auto set_note(const Wt::WString &_value) -> void
auto nickname() const -> std::string
auto set_actual(const Wt::WString &_value) -> void
auto set_payNow(const Wt::WString &_value) -> void
auto autoPay() const -> std::string
auto set_nickname(const Wt::WString &_value) -> void
auto dueDay() const -> std::string
auto isActive() const -> std::string
auto sortValue() const -> float
Sort Value.
auto set_ap(const Wt::WString &_value) -> void
auto accountGuid() const -> std::string
auto set_group(const Wt::WString &_value) -> void
auto set_accountGuid(const Wt::WString &_value) -> void
auto minimum() const -> std::string
auto set_isVisible(const Wt::WString &_value) -> void
auto actual() const -> std::string
auto group() const -> std::string
auto set_minimum(const Wt::WString &_value) -> void
auto budget() const -> std::string
auto set_dueDay(const Wt::WString &_value) -> void
auto ap() const -> std::string
auto set_cb(int _index, const Wt::WString &_value) -> void
auto set_isActive(const Wt::WString &_value) -> void
Wt::WFormModel::Field keyField
auto toString(int _value) -> std::string
Convert Integer to String.