3 #include "../../define.h"
14 #define FN_ACCOUNTGUID "accountGuid"
15 #define FN_DUEDAY "dueDay"
16 #define FN_MINIMUM "minimum"
17 #define FN_BUDGET "budget"
18 #define FN_NICKNAME "nickname"
19 #define FN_GROUP "group"
20 #define FN_LIMIT "limit"
21 #define FN_ACTUAL "actual"
24 #define FN_ISACTIVE "isActive"
25 #define FN_ISVISIBLE "isVisible"
26 #define FN_AUTOPAY "autoPay"
27 #define FN_PAYNOW "payNow"
28 #define FN_LAST4 "last4"
29 #define FN_NOTE "note"
34 : m_varItem( _varItem )
43 std::string sortvalue =
"0";
49 sortvalue +=
"." + dueDay();
51 return std::stof( sortvalue );
139 m_varItem-> getVarString(
FN_GROUP );
148 m_varItem-> getVarString(
FN_LIMIT );
163 url () const->
std::
string
166 m_varItem-> getVarString(
FN_URL );
172 ap () const->
std::
string
175 m_varItem-> getVarString(
FN_AP );
220 m_varItem-> getVarString(
FN_LAST4 );
229 m_varItem-> getVarString(
FN_NOTE );
236 cb (
int _index )
const-> std::string
245 cbtr (
int _index )
const-> std::string
248 TR8(
"gcw.billPay.tableView." + cb( _index ) );
254 setVar (
const std::string & _key,
const Wt::WString & _value )->
void
256 Wt::Dbo::Transaction t(
GCW::app()-> gnucashew_session() );
257 m_varItem.modify()-> setVar( _key, _value );
271 set_dueDay (
const Wt::WString & _value )->
void
287 set_budget (
const Wt::WString & _value )->
void
303 set_group (
const Wt::WString & _value )->
void
311 set_limit (
const Wt::WString & _value )->
void
319 set_actual (
const Wt::WString & _value )->
void
327 set_url (
const Wt::WString & _value )->
void
335 set_ap (
const Wt::WString & _value )->
void
337 setVar(
FN_AP, _value );
367 set_payNow (
const Wt::WString & _value )->
void
375 set_last4 (
const Wt::WString & _value )->
void
383 set_note (
const Wt::WString & _value )->
void
391 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
auto accountFullName() 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
Item GUID.
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
Check Box Value as text.
auto set_budget(const Wt::WString &_value) -> void
auto payFromGuid() const -> std::string
Pay-From Account.
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
Account GUID.
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 cbtr(int _index) const -> std::string
Check Box Value as Translated text.
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
auto fullName(const std::string &_guid) -> std::string
Account Fullname via GUID.
Wt::WFormModel::Field keyField
auto toString(int _value) -> std::string
Convert Integer to String.